summaryrefslogtreecommitdiff
path: root/cui
AgeCommit message (Collapse)Author
2014-08-04suppress legacy locales, fdo#44112 relatedEike Rathke
With MsLangId::isLegacy() locales can be suppressed in language lists and are not offered unless actually used at the current position of the document. Language attribution now handles adding a language/locale to the list on the fly. For example, Serbian (Latin or Cyrillic) for "Serbia and Montenegro" are legacy locales, the confederation doesn't exist anymore. A further candidate would be pap-AN as the Netherlands Antilles ceased to exist, see fdo#44112. Suppressing "Serbian Cyrillic (Serbia and Montenegro)" also has the nice benefit of narrowing the language list box width a little ... Change-Id: Id05cce328622465016901524b759369c18bc4dbd
2014-08-04fdo#75757: remove inheritance to std::vectorTakeshi Abe
Change-Id: Ia2f03e08199f23fd1b226db2c7e0bfade07bf0f0 Reviewed-on: https://gerrit.libreoffice.org/10719 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-04Convert RID_SVXDLG_ASSIGNCOMPONENT to .uiPalenik Mihály
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-04Consistency around SdrMetricItem in svx/sdtditm.hxxStephan Bergmann
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: Ib0234883d441be668700df5ccd0e855973dc5426
2014-08-03mark numbers as untranslatableStanislav Horacek
Change-Id: I644f0df042dcf414b85514d5edb05cecc8f1537a Reviewed-on: https://gerrit.libreoffice.org/10711 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
2014-08-03Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: I9d8d7aabc111d3700fc121277c49eb0f48dc7e44
2014-08-02Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: I55f418ebcb96b44ab423a676881ffe8f455a923d
2014-08-01typo: more then -> more thanTakeshi Abe
Change-Id: I2e477d66f25bde7256938ccb1f95ab26add24922
2014-07-31Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: I8bdb8ca84b75efde4effba1ce76704d2c7c3f214
2014-07-30Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: I9783669a26fd9c9e2c890f430b29427ccf6bea77
2014-07-29loplugin:unreffunStephan Bergmann
Change-Id: I5986efd3d5690cb63ea44afaba7705c6f747e7f8
2014-07-29Converted RID_SVX_MDLG_HANGULHANJA to Widget Layout.Rachit Gupta
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-28fix a memory leakTakeshi Abe
Change-Id: I105f0ac40251122348ed86eaab5d99a023f5c09b Reviewed-on: https://gerrit.libreoffice.org/10588 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-26coverity#1228876 Uninitialized pointer fieldCaolán McNamara
Change-Id: I8de9efc5abfa01225aa6032bf68a32fed17aeb00
2014-07-27Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: I4c9d1746d43642e1be2dd1e72a1b689d3fae1ae6
2014-07-26Massive 'Dialogdiet fail' and similar to 'Dialog creation failed'Matteo Casalin
Change-Id: I6ca6914e80c186699df42253de46a3690c5130f2
2014-07-25Convert RID_SVX_MDLG_HANGULHANJA_EDIT to Widget Layout.Rachit Gupta
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-23convert SfxItemState constants to a proper enumNoel Grandin
and while we're at it - use the enum type all over the place instead of passing around sal_uInt16 - don't use bitwise logic on enum values - use enum values instead of numeric constants Change-Id: I7f24cb4d242e1c00703e7bbcf1a00c18ef1e9fd4
2014-07-22deleted superfluous controls that didn't exist before conversionSzymon Kłos
Change-Id: Iba700d79466c24395a6a0b07300cd4190ef03ff7 Reviewed-on: https://gerrit.libreoffice.org/10450 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-19XFillStyle -> css::drawing::FillStyleMiklos Vajna
Change-Id: I6b2fabd72fd34f4ac1b3a18f386c90794bc39ce4
2014-07-18coverity#1226482 Dereference after null checkCaolán McNamara
Change-Id: I2723812f960cde23c480651c9f8f5b26585fd51d
2014-07-16remove unused helpidCaolán McNamara
Change-Id: I01d7a56d9d90d015eb6c897e4d3fca359961b01b
2014-07-16extensions aren't layout enabled yetCaolán McNamara
so give them the known final size to work with via a non-layout aware tabpage Change-Id: Iaae3abfacd78ebc8bcc3ece54ed0603a4b28b9e9
2014-07-16no need to check for null before deleteCaolán McNamara
Change-Id: Ie8a93a51096471d9d40644741fe3359ee016efe1
2014-07-16Convert RID_OFADLG_OPTIONS_TREE to .uiPalenik Mihály
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-16fdo#80373: change wording to 'Area Transparency Mode'Adolfo Jayme Barrientos
... in order not to be imprecise. Also, restore Title Case: enough trouble (for l10n teams especially) is this case thing, let's be consistent. See https://bugs.freedesktop.org/80373#c12 Change-Id: Icdd61c42ed294c41d9ec5f671168a606d0f93532 Reviewed-on: https://gerrit.libreoffice.org/10314 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-15Related: fdo#80633 we can retain cached size for visibility changeCaolán McNamara
we still need to invalidate the layout of our parents, but we can keep the cached optimal size Change-Id: I8e77366bd61ff45d34f9d411c7f501a3a9ccbd4e
2014-07-11add adjustments for spinbuttonsCaolán McNamara
Change-Id: I11e8ce8fcbf468797b08a1a3101030fd07397c98
2014-07-11Convert RID_CUI_DIALOG_COLORPICKER to .uiPalenik Mihály
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-11return early for empty bitmapCaolán McNamara
Change-Id: I768ffe9dc1226bbcca706e0c56c6103e043b2401
2014-07-11Related: fdo#81147 check if colorlist is validCaolán McNamara
Change-Id: Ifd48526974b7fcb10872d53d42e26add3fe878d1
2014-07-10drop unused helpidsCaolán McNamara
Change-Id: Id6e35a11711cc2c044b48050a39037119de19f0d
2014-07-10Convert MD_ICONSELECTOR and MD_ICONCHANGE to .uiPalenik Mihály
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-10remove SvRefBase::ReleaseReferenceNoel Grandin
because no-one is using the return value of ReleaseRef, but everyone is calling ReleaseRef, so make ReleaseRef void-returning and remove ReleaseReference Change-Id: I0bedcb65a887ba7a4953132b4c1ccefbdd554a43
2014-07-09Resolves: fdo#73806 reduce the size-request of the expert config dialogCaolán McNamara
the optimal size was set to be 1024x800, reduce this down to effectively the same size as the options dialog itself. This dialog just isn't ever going to be right given the huge length of the strings and the number of strings. We need something more like a file picker dialog view here Change-Id: I019e951601c3df769a609b8b439b535b6d5e254f
2014-07-09use define rather than raw numbersCaolán McNamara
Change-Id: I62802256780abe92f89a8cde066b26353fc3362a
2014-07-09have expert config dialog survive exceptionsCaolán McNamara
Change-Id: I78a8cd4fff8fb134679d2223a379b6eb799d6f05
2014-07-09Related fdo#67642: remove redundant 'Preferences' label to save some spaceAdolfo Jayme Barrientos
This label is redundant now that the dialog has a title. Change-Id: I628cc99594f7c42e9484f31d64779881e17c8f02 Reviewed-on: https://gerrit.libreoffice.org/10119 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-04coverity#735300-1 Unchecked return valueNorbert Thiebaud
Change-Id: I9cb69643ba43adc76ef38db61da2b7c1c3d3e3c1
2014-07-03Avoid null this pointers in member function callsStephan Bergmann
Change-Id: Iada6d8fcd261ddfb02b4dbc2f628ef0738c4ea01
2014-07-01loplugin:literaltoboolconversionStephan Bergmann
Change-Id: I05c4c964e88f9123d75751c1eb7c8aae4d41f524
2014-07-01hook up new drawing support to .uisCaolán McNamara
Change-Id: Id441a91e86b89bf8fe6bfd778ca09e732e054103
2014-07-01Related: #i124638# Second step of DrawingLayer FillAttributes...Armin Le Grand
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-06-27remove SFX_APP() macro that was a mer wrapper for SfxGetApp()Norbert Thiebaud
Change-Id: I480a789c767dd671775c9d70d96bf71908f21f5b
2014-06-25Resolves: fdo#80423 string resources not built and includedCaolán McNamara
Change-Id: Ib8ece5b151325b473f896294fe059b5b0d166cc6
2014-06-24-Werror,-Wunused-function -Werror,-Wunused-private-fieldStephan Bergmann
... -Werror,-Wunused-variable loplugin:bodynotinblock Change-Id: I64742401e22b4b83364411a7454c755daa78d00c
2014-06-24fdo#80373 Updated label to read "Image background transparency"Joel
Currently the "transparency" tab only covers image background transparency. Updated label so that users know that this tab has no impact on the transparency of the image itself. Conflicts: cui/uiconfig/ui/transparencytabpage.ui Change-Id: Ib488974b0965ee54288092b1e9ca2dc4c040547c
2014-06-24tweak sizesCaolán McNamara
Change-Id: Ica7275696b3f7e59d0db5d27811905710dce32e1
2014-06-24hide old page on showing new pageCaolán McNamara
and showing/hiding pages during Paint seems crazy to me, doing it during ShowPage makes sense. Change-Id: Ifd0c3c50812157cfa793da86715d58818e944e6b
2014-06-24loop through all pages to get optimal sizeCaolán McNamara
Change-Id: Ie565ec33c8eaacb490eebcacec7662fde511e98a