summaryrefslogtreecommitdiff
path: root/cui
AgeCommit message (Collapse)Author
2013-03-25cui: replace DBG_ASSERTs with bogus messagesMichael Stahl
Change-Id: I0646224e50d36db0171c063bd68e8eb6b4b6519c
2013-03-22String::AppendAscii cleanupRicardo Montania
Change-Id: I3c1ff291488b7747e143982aa7ea95169175c2c2 Reviewed-on: https://gerrit.libreoffice.org/2914 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-20Replace String with OUString (unotools)Chr. Rossmanith
Change-Id: I9a0677cb36805d0a27514824c937901f73fee1c8 Reviewed-on: https://gerrit.libreoffice.org/2864 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-03-20use #if instead of #ifdef for testing config_xxx.hxx macrosLuboš Luňák
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
2013-03-19fix the 'warning' icon in .ui filesAndras Timar
Images in .ui files can be loaded from resources (images.zip). However, only those images are packed into images.zip, which are used in traditional .src resources. We need to tweak packimages.pl one day. Change-Id: Ic954f2561e66880c7f7ff3ed941ccb28a86d83e1
2013-03-19converted cui/source/options/optsave.src to .uiKrisztian Pinter
Change-Id: Ieaef10684f45dc699e7d2c56dffca5483f0a30cc Reviewed-on: https://gerrit.libreoffice.org/2816 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19sal_Bool to boolTakeshi Abe
Change-Id: I0a8d0f11c45aba1d34a0098e6a371bd616b08b72
2013-03-18coverity#735372 Copy-paste errorJulien Nabet
Change-Id: Id25a5216a3814fbb3f4f1d7ac88cd87270b63fde Reviewed-on: https://gerrit.libreoffice.org/2795 Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz> Tested-by: Tomáš Chvátal <tchvatal@suse.cz>
2013-03-18String::AppendAscii cleanupRicardo Montania
Change-Id: I33d7a6b704cbb9a5a410b99237643c05a9c1cb9c Reviewed-on: https://gerrit.libreoffice.org/2755 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-03-18resolve fdo#57905 - Autocorrect Options can not be closed using 'Close-X'Joren De Cuyper
Change-Id: I0421253d363fbe82a833011d22eb86e61d3ad264 Reviewed-on: https://gerrit.libreoffice.org/2809 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-16"show logo" in slideshow settings doesn't do anythingCaolán McNamara
This wants to load about.png which doesn't exist anymore. "about.svg" does, but is a rather abstract background image for the about dialog these days, so use "flat_logo.svg" instead. Which requires moving the svg loader out of cui into sfx2 for re-use. Change-Id: I8654f0f93766556ef4ed4b87eff35b45d8189761
2013-03-16Bin more pointless comments and ASCII graphicsTor Lillqvist
Suggested Easy Hack: Replace all instances of // -------- comments including surrounding newlines with a single newline. Another Easy Hack, slightly harder to automate: Remove all the pointless comments that just tell the class name right before the declaration of that class. Change-Id: Ia890ed613b53c5d719988697e20a983d62334123
2013-03-15various .ui fixes caught by linter toolJack Leigh
Change-Id: Ic92ddc9550b33358a3bb0458b31a23f2c32fd46f Reviewed-on: https://gerrit.libreoffice.org/2763 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-03-15Related: #i119125# change XFillBitmapItem to work with GraphicObjectArmin Le Grand
Completely changed XFillBitmapItem to work with GraphicObject, removed XOBitmap class, adapted all usages (also the pretty old 8x8 pixel editor). All Bitmap fill styles will now accept transparent bitmaps as fillings in all variations (tiled, etc.). LoadSave is no problem, ODF defines graphic as content for fill. Backward means that OOs before this change will use a white background of fill with transparent, same as the fallback all the time when using a transparent fill. This is also a preparation to e.g. offer SVG or Metafiles as fill style. Conflicts: cui/source/tabpages/backgrnd.cxx cui/source/tabpages/tparea.cxx cui/source/tabpages/tpbitmap.cxx filter/source/msfilter/msdffimp.cxx filter/source/msfilter/svdfppt.cxx sc/source/filter/excel/xiescher.cxx sd/source/ui/func/fupage.cxx svx/inc/svx/dlgctrl.hxx svx/inc/svx/xbitmap.hxx svx/inc/svx/xbtmpit.hxx svx/inc/svx/xtable.hxx svx/source/customshapes/EnhancedCustomShape2d.cxx svx/source/dialog/dlgctrl.cxx svx/source/svdraw/svdograf.cxx svx/source/tbxctrls/fillctrl.cxx svx/source/unodraw/XPropertyTable.cxx svx/source/xoutdev/xattrbmp.cxx svx/source/xoutdev/xtabbtmp.cxx Change-Id: Id838bfbacc863695d078fb3cf379d1c0cd951680
2013-03-15various efforts to consistently apply HIG rulesCaolán McNamara
Change-Id: I786227d89cc441990d6bdce0acf872a73be51a7c
2013-03-15fdo#38838, String to OUString, in dbaccess/source/ui/browserGergő Mocsi
Applied fdo#38838 in dbaccess/source/ui/browser, + RTL_CONSTASCII_USTRINGPARAM removals Change-Id: I8a565cdae7fd9da1de05525c602ce011542ab4d5 Reviewed-on: https://gerrit.libreoffice.org/2538 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks
2013-03-13vcl: make Region ctors explicit to prevent overloading desastersMichael Stahl
Change-Id: Id36d125b4940418833bec31a4710d6cd545629e0
2013-03-13String::AppendAscii cleanupRicardo Montania
Change-Id: If9e57c77d39597db78739a7886d76ee0197f6461 Reviewed-on: https://gerrit.libreoffice.org/2703 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11fdo#38838: Converting String/UniString to OUStringelixir
Change-Id: If64db96005fcd8a42e4fa24041867b99183965f9 Reviewed-on: https://gerrit.libreoffice.org/2586 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11fdo#47011 autosave featureKrisztian Pinter
removed unnecessary prop. name "Document/UserAutoSave" from saveopt.cxx fixed autosave feature setting "losing its value" set autosave feature default value to False Change-Id: I473154b21bab53bf595a5a59e87dc16e472dcbf9 Reviewed-on: https://gerrit.libreoffice.org/2663 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-08give the numbering format listbox a fixed widthCaolán McNamara
Change-Id: I038cb5650adf9173c971e358aa6b20c782fb0ae7
2013-03-08update sizegroupCaolán McNamara
Change-Id: I4b89859c6898071209bd3864a32487f5bf8e728c
2013-03-08Small improvement in page widget uiOlivier Hallot
Save a coupe of bytes and better use of widget features Change-Id: I6860339a8b62c7e95605a0abc47e99d7ef49696b Reviewed-on: https://gerrit.libreoffice.org/2590 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-03-08some further OUString cleanupThomas Arnhold
Change-Id: I13eb94092e29ececc9fbf494074acde5f893b605
2013-03-07rename setInitialLayoutSize to setOptimalLayoutSizeCaolán McNamara
and add a mechanism to know that we're in true initial layout mode Change-Id: I4ff61160ae67a7ccf1cb8b25c41870c195d32b94
2013-03-07WIP: fdo#47011 autosave featureKrisztian Pinter
Change-Id: Ib2cbcc33e6188c60c183b5f47e9ae9c9d4c91b95
2013-03-07fdo#46808, Convert ui::UIConfigurationManager to new-styleNoel Grandin
Change-Id: I62c37eb6d0e0b2a681a84e1fa0067d0a9f967cf2
2013-03-06merge isLayoutEnabledsCaolán McNamara
Change-Id: I67e55fd6aac3e0c9b80c63ca682d3aca7be7d815
2013-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-05fix for fdo#61801Noel Grandin
... "crash on Tools - Options - LibreOffice - Personalization - Select Background Image" The root cause of this is my conversion of the UNO code to use the new-style FilePicker service constructor in commit 4b51374a7021d52f7f1be1861e2ee6a011b30ecd Unfortunately, the new-style service constructor will always call initialize(Sequence<Any>), which the old code did not do. And initialize does not like being called without any arguments. The cleanest fix for this is to simply remove the createDefault() service constructor method and make all the call sites explicitly choose the style of FilePicker dialog they want. As a bonus, this simplifies some of the call sites. Change-Id: I75f5e03cff4e39abe22cd9650a079ec78ab636c4 Reviewed-on: https://gerrit.libreoffice.org/2553 Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-04typoThomas Arnhold
Change-Id: I7fda2616fe8f609167ab2caa5eddade5527b4900
2013-03-04audit GetParent harder wrt GetParentDialogCaolán McNamara
weed out assumption that widgets are direct children of Dialogs Change-Id: Ib2cf0c8862bd5e82b13380634ed82ca7fcc746b8
2013-03-04SvxZoomDialog: m_pColumnsEdit can be a NumericFieldMiklos Vajna
Change-Id: Ic5469c89587b509822be8e29febc9047548c07ab
2013-03-04sal_Bool to boolTakeshi Abe
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
2013-03-04remove unused and commented out codeThomas Arnhold
This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
2013-03-04vcl: don't assert when lack of unit is intentionalMiklos Vajna
The Writer zoom dialog had this issue. Also change the drawinglayer gradient background tabpage to stop using a custom unit text, when the real unit text will be set from code anyway. Change-Id: Ib2e12572abb5c407b7c49dfa4a34dbdd6b6068d4
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-03-03loplugin: unused variables and commented codeThomas Arnhold
Change-Id: I01f1f1d112767b576d7cfc6e25fe95385de2c0cf
2013-03-02coverity#982967: fix memory leakMarkus Mohrhard
Change-Id: Ie96353daa1947297eff417d32ba4c67964489a16
2013-03-02coverity#736322: fix memory leakMarkus Mohrhard
Change-Id: I63037b8f128ed9249580cabfe9aab898ead0f89d
2013-03-02changed mnemonics to C_ategory and Fo_rmatEike Rathke
Alt+O and Alt+C were assigned twice (Ok,Cancel), Alt+C did not jump to the category listbox no matter how often pressed, Alt+O alternated between fOrmat and Ok. Still, Alt+C does not trigger Cancel!? Change-Id: I89b027fb33f39a929cc0fc3345a08c711558505e
2013-03-01Monarch is apparently #7 3/4 not #8Caolán McNamara
Change-Id: I1664065e9fee3db5b900051ea3bf086c61ef0cee
2013-02-28added mnemonic_widget to jump to lists and edits on shortcutsEike Rathke
Change-Id: I2f048d06bccae7a55dc403eb58f80a165265d2a0
2013-02-28remove all d.lstMichael Stahl
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28Remove unused variableOlivier Hallot
Shuffle some assignments Change-Id: I054ad7642ed4fcc66ce24923a1c945bedb01ef27 Reviewed-on: https://gerrit.libreoffice.org/2457 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>