Commit Graph

690 Commits

Author SHA1 Message Date
880c18f230 Resolves fdo#83278: Missing type of directory at "Tools/Options/LODev/Paths"
Revert "remove unused optpath.src"

This reverts commit b11d0a4d2b3b65a9ca06fd1de4ec4502eef2baa9.

Change-Id: I9c5f8c15b36c38e94603186cb9d2bb316bf31674
2014-08-31 01:06:43 +02:00
30ae83c268 fdo#82577: Handle KeyCode
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11
KeyCode typedef.

Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-23 22:33:30 +03:00
f4246fab77 fdo#56456 fdo#75578 fdo#63271 fdo#75805 Improve hyperlink dialog
Changes made:

* Rename "Back" to "Reset" like in other dialogs (eg. Writer - Format - Character).
* Apply-Button, which reflects the old behavior of the dialog, and doesn't
  close it automatically.
* Added an OK-Button, which applies the changes made and automatically closes the
  dialog.

With this both use cases should be handled:

* Inserting one single URI with simple close.
* Modifying multiple URIs without closing the dialog.

Hopefully all users are happy with this ;)

Change-Id: I1881dee083945cd165fbb8f8444395c1b04a0607
Reviewed-on: https://gerrit.libreoffice.org/10946
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-22 21:33:06 -05:00
8b62a475f7 QueryBox RID_SFXQB_SET_LANGUAGE -> MessageDialog + string
Change-Id: Ic1b5233563ff9ce3e3453b47fe86138ae2497a18
2014-08-21 14:07:55 +01:00
566e6fe58e QueryBox RID_SVXQB_DELETE_COLOR_CONFIG -> MessageDialog + string
Change-Id: I3ae71cf2fd4a8cf0db76845c60f633285bd00e27
2014-08-21 14:07:54 +01:00
d27cdf1caf QueryBox QUERY_DELETE_CONFIRM -> MessageDialog + string
Change-Id: Ieae9977fd77f7b28991771a31c18e15be4a4f0dd
2014-08-21 14:07:54 +01:00
8fce2ef6c3 QueryBox QBX_CONFIRM_RESTORE_DEFAULT -> MessageDialog + string
Change-Id: I93911342a316beaba0d33b35bda1bfa4355befe2
2014-08-21 14:07:54 +01:00
24e76b6506 QueryBox QBX_CONFIRM_DELETE_TOOLBAR -> MessageDialog + string
Change-Id: If03a966ab6519d1335903b7d76cb44c38113a4a3
2014-08-21 10:17:48 +01:00
06a485f02b InfoBox IBX_MNUCFG_ALREADY_INCLUDED to String
Change-Id: I343948a9a5e093f210cae1049caa92eeb614a2d7
2014-08-18 02:18:20 +02:00
4376c524a3 remove unused strings
Change-Id: I1665bb72203964be071835547c50440f86e1761d
2014-08-17 13:42:27 +02:00
b11d0a4d2b remove unused optpath.src
all definitions are not used and the file is never included.

Change-Id: If88fab7843122bf6b5649808ea16c5fe0cc30b12
2014-08-17 13:42:26 +02:00
0ad58a0a45 WarningBox RID_SVX_MSGBOX_LANGUAGE_RESTART to String
As it's like RID_SVX_MSGBOX_LANGUAGE_RESTART

Change-Id: I49c68537c22b348dd165fd1cfb78b67d8f3f7c88
2014-08-15 23:30:32 +02:00
18f3a1a71d InfoBox RID_SVX_MSGBOX_LANGUAGE_RESTART to String
Change-Id: Ideeb3ae8aa6493fc2d2a761d46f95baf0158c6e8
2014-08-15 23:30:31 +02:00
2f46431fd0 ErrorBoxes from optjava to String
Change-Id: Ia3e200277a8a47b62a1ecbc21d9a83ba35c7ef7e
2014-08-15 23:30:28 +02:00
b64d7c9ecc remove unused RID_SVXERR_OPT_DOUBLEPATHS
Change-Id: I08cf8a3ecfa181fafe03e27fdbe0c43739bd4ad3
2014-08-15 23:30:26 +02:00
18b0e91e6c ErrorBox RID_SVXERR_OPT_PROXYPORTS to String
Change-Id: I1ab70b37d54c11023c161f76363a36acad78de62
2014-08-15 23:30:26 +02:00
5a23c290b5 Removed hardcoded strings.
Replaced the hardcoded strings with their CUI_RES equivalents.

Change-Id: I1f4e0451839cd9fe10aa9d1c5ae82af9fa13dc4e
2014-08-14 19:43:34 +02:00
48ccd80566 remove some more unused resource ids
Change-Id: Ife159630b7e68e8e346619853b8285f46dcf275b
2014-08-06 10:11:47 +02:00
c6f4f70b24 Convert RID_SVXDLG_ASSIGNCOMPONENT to .ui
Change-Id: Id38ee64e22684905c1a0809d3649e54e893580e1
Reviewed-on: https://gerrit.libreoffice.org/10710
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-08-04 10:41:22 +00:00
e6caeefce4 Converted RID_SVX_MDLG_HANGULHANJA to Widget Layout.
Also, removed the unused hrc/src files.

Change-Id: Ice45dde1af7492e40e0847ead06bb26f4e58ed9c
Reviewed-on: https://gerrit.libreoffice.org/10595
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-07-29 11:59:06 +00:00
fe951dc06a coverity#1228876 Uninitialized pointer field
Change-Id: I8de9efc5abfa01225aa6032bf68a32fed17aeb00
2014-07-26 21:25:15 +01:00
e153510659 Convert RID_SVX_MDLG_HANGULHANJA_EDIT to Widget Layout.
Change-Id: I63d61a9caeb356e6b5bd340c1f9a5415869a91a1
Reviewed-on: https://gerrit.libreoffice.org/10518
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-25 09:19:09 +00:00
08416eb7aa remove unused helpid
Change-Id: I01d7a56d9d90d015eb6c897e4d3fca359961b01b
2014-07-16 17:04:43 +01:00
73d790d0ca Convert RID_OFADLG_OPTIONS_TREE to .ui
Conflicts:
	cui/source/inc/treeopt.hxx
	cui/source/options/treeopt.cxx

Change-Id: I971c7760e7252321aeca8a4f403515562a9057bb
Reviewed-on: https://gerrit.libreoffice.org/10323
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-16 12:29:26 +00:00
65ecb0d8f4 Related: fdo#80633 we can retain cached size for visibility change
we still need to invalidate the layout of our parents, but we can
keep the cached optimal size

Change-Id: I8e77366bd61ff45d34f9d411c7f501a3a9ccbd4e
2014-07-15 11:56:09 +01:00
de8648c3c8 Convert RID_CUI_DIALOG_COLORPICKER to .ui
Conflicts:
	extras/source/glade/libreoffice-catalog.xml.in

Change-Id: I161681859c924cc97afa9886b80005e70fa2a87c
Reviewed-on: https://gerrit.libreoffice.org/10210
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-11 14:39:28 +00:00
919fbc4d7b drop unused helpids
Change-Id: Id6e35a11711cc2c044b48050a39037119de19f0d
2014-07-10 13:46:14 +01:00
9586554cae Convert MD_ICONSELECTOR and MD_ICONCHANGE to .ui
I implemented multiple row ToolBox in MD_ICONSELECTOR.

Change-Id: I0f275b2332a15f3ba37952f6a104099e4f1f1678
Reviewed-on: https://gerrit.libreoffice.org/10112
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-10 12:40:03 +00:00
7d9bb549d4 Related: #i124638# Second step of DrawingLayer FillAttributes...
for Writer objects, now added support for Paragraph and PageStyle (including
Header and Footer) for direct attributes and style attributes

(cherry picked from commit cc25c58f7052827bfebdc9fbeec668c8fa29ed1b)

Conflicts:
	cui/source/factory/dlgfact.cxx
	cui/source/factory/dlgfact.hxx
	cui/source/inc/bbdlg.hxx
	cui/source/inc/cuires.hrc
	cui/source/tabpages/bbdlg.cxx
	cui/source/tabpages/bbdlg.src
	cui/source/tabpages/page.cxx
	cui/source/tabpages/tparea.cxx
	include/svx/pagectrl.hxx
	include/svx/svxdlg.hxx
	include/svx/svxids.hrc
	include/xmloff/PageMasterStyleMap.hxx
	include/xmloff/prstylei.hxx
	include/xmloff/txtprmap.hxx
	svx/Package_inc.mk
	svx/inc/svx/hdft.hxx
	svx/source/dialog/hdft.cxx
	svx/source/dialog/pagectrl.cxx
	svx/source/tbxctrls/tbxcolorupdate.cxx
	svx/source/unodraw/unobrushitemhelper.cxx
	sw/Library_sw.mk
	sw/inc/fillattributes.hxx
	sw/inc/format.hxx
	sw/inc/frmatr.hxx
	sw/inc/frmfmt.hxx
	sw/inc/hintids.hxx
	sw/inc/hints.hxx
	sw/inc/ndtxt.hxx
	sw/inc/node.hxx
	sw/inc/swunohelper.hxx
	sw/inc/unobrushitemhelper.hxx
	sw/inc/unoprnms.hxx
	sw/source/core/attr/format.cxx
	sw/source/core/attr/hints.cxx
	sw/source/core/doc/docdesc.cxx
	sw/source/core/doc/docdraw.cxx
	sw/source/core/doc/docfmt.cxx
	sw/source/core/doc/docnew.cxx
	sw/source/core/doc/docredln.cxx
	sw/source/core/doc/poolfmt.cxx
	sw/source/core/doc/visiturl.cxx
	sw/source/core/docnode/node.cxx
	sw/source/core/inc/frame.hxx
	sw/source/core/inc/frmtool.hxx
	sw/source/core/inc/rolbck.hxx
	sw/source/core/layout/atrfrm.cxx
	sw/source/core/layout/fillattributes.cxx
	sw/source/core/layout/findfrm.cxx
	sw/source/core/layout/paintfrm.cxx
	sw/source/core/txtnode/ndtxt.cxx
	sw/source/core/txtnode/thints.cxx
	sw/source/core/txtnode/txtedt.cxx
	sw/source/core/undo/rolbck.cxx
	sw/source/core/unocore/swunohelper.cxx
	sw/source/core/unocore/unoframe.cxx
	sw/source/core/unocore/unomap.cxx
	sw/source/core/unocore/unoparagraph.cxx
	sw/source/core/unocore/unoprnms.cxx
	sw/source/core/unocore/unostyle.cxx
	sw/source/ui/chrdlg/paradlg.src
	sw/source/ui/chrdlg/pardlg.cxx
	sw/source/ui/fmtui/tmpdlg.cxx
	sw/source/ui/fmtui/tmpdlg.src
	sw/source/uibase/app/docst.cxx
	sw/source/uibase/app/docstyle.cxx
	sw/source/uibase/frmdlg/colex.cxx
	sw/source/uibase/shells/basesh.cxx
	sw/source/uibase/shells/textsh1.cxx
	sw/source/uibase/uiview/viewstat.cxx
	sw/source/uibase/utlui/uitool.cxx
	xmloff/inc/PageMasterImportContext.hxx
	xmloff/inc/xmloff/XMLShapeStyleContext.hxx
	xmloff/source/draw/XMLShapeStyleContext.cxx
	xmloff/source/draw/sdpropls.hxx
	xmloff/source/style/PageMasterExportPropMapper.cxx
	xmloff/source/style/PageMasterImportContext.cxx
	xmloff/source/style/PageMasterPropHdlFactory.cxx
	xmloff/source/style/PageMasterStyleMap.cxx
	xmloff/source/style/prstylei.cxx
	xmloff/source/text/txtexppr.cxx
	xmloff/source/text/txtprhdl.cxx
	xmloff/source/text/txtprmap.cxx
	xmloff/source/text/txtstyli.cxx

Conflicts:
	svx/source/dialog/hdft.cxx
	sw/source/core/doc/visiturl.cxx
	sw/source/core/txtnode/thints.cxx
	sw/source/core/txtnode/txtatr2.cxx
	sw/source/core/unocore/unostyle.cxx

Change-Id: I7e8779db6c0cbd1e242b63eab888f468f2de509a
2014-07-01 13:30:09 +02:00
56bbd70990 -Werror,-Wunused-function -Werror,-Wunused-private-field
... -Werror,-Wunused-variable loplugin:bodynotinblock

Change-Id: I64742401e22b4b83364411a7454c755daa78d00c
2014-06-24 13:21:05 +02:00
1579fc7930 hide old page on showing new page
and showing/hiding pages during Paint seems crazy to me, doing it
during ShowPage makes sense.

Change-Id: Ifd0c3c50812157cfa793da86715d58818e944e6b
2014-06-24 10:05:24 +01:00
5b98dcd94f loop through all pages to get optimal size
Change-Id: Ie565ec33c8eaacb490eebcacec7662fde511e98a
2014-06-24 10:05:23 +01:00
35ec23fa29 rename and rework SetCtrlPos to SetCtrlStyle
Change-Id: I5720f5f27ea5e7e9eefb6bfb53c30a52146c689e
2014-06-24 10:05:23 +01:00
88afb39fd1 drop Resize
Change-Id: Ie8546cf0eb54888627dc2dfa47257de63b382f9d
2014-06-24 10:05:22 +01:00
c8512315ba drop SetPosSizePages
Change-Id: I9835a4660ac9a9633ad81fc228b0e53b01fc85bf
2014-06-24 10:05:22 +01:00
f89ea2f4de strip SetPosSizeCtrls down to min required
Change-Id: I8c198f9d1b318b35e0dc6221291bb4a57805e3ae
2014-06-24 10:05:22 +01:00
80bf2654d7 meChoicePos is always PosLeft, simplify
Change-Id: I40085b0db89484f0d24ecaccf910f4399198294d
2014-06-24 10:05:21 +01:00
360796b491 RID_SVXDLG_NEWHYPERLINK conversion to .ui
Conflicts:
	cui/UIConfig_cui.mk

Change-Id: I8f06518f2d84e333b553c247ca3d9a28d1280eea
2014-06-24 10:05:21 +01:00
c4bf1f3540 Convert RID_SVXFLOAT_HYPERLINK_MARKWND to .ui
Change-Id: I58d21506ec17d1c0e73dd042b94ec2ee2e3ddf11
Reviewed-on: https://gerrit.libreoffice.org/9803
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-18 14:45:10 +00:00
b1d8df61b4 bnc#882627: Allow to edit spacing to contents even with no borders visible.
SfxItemSet::MergeValue changes some items from SFX_ITEM_DEFAULT state to
SFX_ITEM_SET which I think is a bug but this patch avoids the problem too.
The issue was: visible changes in some tables, after changing e.g.
borders spacing, because the cells had wrong SfxItemSet after the process.

Change-Id: I676b211e1a4a1d7341c385d63503aa740718ed5d
2014-06-17 12:04:19 +02:00
3e82897353 improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
bb761be472 Change SfxTabPage ctor SfxItemSet param from ref to pointer
...and also corresponding param of CreateTabPage function type and corresponding
Craete functions.  There were some call sites that passed undefined "null
pointer references" and SfxTabPage internally uses a pointer member pSet that is
checked for null anyway.

Change-Id: I4eb3636155eac46c9c9d26e6e6e842e85d7e95af
2014-06-11 14:39:04 +02:00
a92e973b6d Change SfxTabPage::Reset param from ref to pointer
...there was a call site that passed undefined "null pointer reference"
(apparently in a case where the passed argument was actually unused)

Change-Id: I663d4264b7a84f44ca69c732f3bc502f614b2b2a
2014-06-11 10:39:03 +02:00
4dbeadb9c1 Change SfxTabPage::FillItemSet param from ref to pointer
...there were a number of call sites that passed undefined "null pointer
references" (apparently in cases where the passed argument was actually unused)

Change-Id: I19799e90f0cd8e98367782441a5ea9df27b59830
2014-06-10 17:25:23 +02:00
184a00b962 loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-09 10:10:13 +02:00
0e507ae031 various: remove SAL_THROW macro
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-06-05 08:17:52 +02:00
07561068fe rather than use pixel widths, use appfont units
Change-Id: If9551f63ac59ffedd0bd614e4f4fe05c9047e1dc
2014-06-03 10:49:15 +01:00
d1f2e4d798 MD_UPDATE_BASELINKS conversion to .ui
Change-Id: I98b47dc20b341375c9caae264c2213aeba6e066a
Reviewed-on: https://gerrit.libreoffice.org/9620
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-03 09:48:53 +00:00
57b1bac23b loplugin:saloverride
Change-Id: Ie85ffc561de858eedafa062a89e0a9983aa20182
2014-05-23 23:47:07 +02:00
dbe8b3b6d4 finally switch the Western language list box to SvxLanguageComboBox
Change-Id: Ibf0cb4c0fa951adcd0a7f185d7dd45b06913a40d
2014-05-22 19:35:36 +02:00