summaryrefslogtreecommitdiff
path: root/basctl
AgeCommit message (Collapse)AuthorFilesLines
2013-05-22Use the new type-checking Reference constructor to reduce code noiseNoel Grandin2-11/+7
Also create a Clang compiler plugin to detect such cases. Change-Id: I61ad1a1d6b1c017eeb51f226d2dde0e9bb7f1752 Reviewed-on: https://gerrit.libreoffice.org/4001 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-05-21fdo#46808, Clean up old usages of ExtToolkitNoel Grandin1-3/+3
This service no longer exists in LO, and no-one seems to know what this service was, so convert it to use the awt::Toolkit service, since that service returns the interface the code expects. Change-Id: I761effbd49a9a3a15ec9c8716c72d4220a3e987e
2013-05-21fdo#46808, Convert awt::XUnoControlDialog to new styleNoel Grandin1-1/+3
Change-Id: I40d2e2ddd92186a2ba22ebfbdda8367391e8d355
2013-05-21fdo#46808, Convert awt::UnoControlDialogModel to new styleNoel Grandin6-184/+121
Change-Id: I4b912034ef3f4855b87d6d6f18ff13bd1ecc8f72
2013-05-16Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2-6/+0
Change-Id: Ie154eadd9960b159f5a250cde93c4bd7a8a948cf
2013-05-15fdo#46808, Use service constructorNoel Grandin1-6/+3
Change-Id: I31a812dfd84a33e3b5f6f44bbd786e14a465886e
2013-05-08svx: remove Package_sdiMichael Stahl2-3/+4
Change-Id: I0c648ca1b1f3cc22244d660e032bacbdbe0f642e
2013-05-08sfx2: remove Package_sdiMichael Stahl2-2/+7
There are just a handful of sdi files in sfx2 anyway so just put sfx2/sdi on include path. Change-Id: Ia9be889a63ba9a2f330b505613ae38158a4b7bdf
2013-05-07officecfg: remove Package_cppheaderMichael Stahl1-0/+4
Instead include generated headers directly from workdir. Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65
2013-05-02Related: #i120515# fixed memory leakArmin Le Grand1-1/+4
(cherry picked from commit b24737fc55e797d03002d44a1fa325a101617c55) Change-Id: Ib59957fb2c9e198012898293aaa2e5afbe561ef4
2013-05-01convert message box return types to an enumCaolán McNamara1-1/+1
Change-Id: I20889dc94aac1119c1ee9da873ce911887c1c335
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2-46/+15
2013-04-24gbuild: drop uses of removed packagesDavid Tardon1-5/+0
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-22Replace chained O(U)StringBuffer::append() with operator+anuragkanungo1-7/+3
modified: basctl/source/basicide/basides2.cxx Change-Id: I681188553058ac8712365bc2de39b0453fd19ed9 Reviewed-on: https://gerrit.libreoffice.org/3546 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza1-1/+1
Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-12Should initialise Module::mpModule to 0Tor Lillqvist1-1/+1
Change-Id: Ie4648b82a524a7ddcd427d7d2543bc7691eddcf8
2013-04-12Get rid of GetAppData(SHL_IDE)Tor Lillqvist2-2/+4
It seems to be used only locally in basctl so there is really no reason for it. Change-Id: I9ad0a67621e190257e028fd3689f692e639eaf56
2013-04-11deliver all uiconfig files by UIConfigDavid Tardon3-43/+19
Change-Id: Ie78b7ce399ba34485146ca7622c59d31f8105d02 Reviewed-on: https://gerrit.libreoffice.org/3229 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-11rename UI to UIConfigDavid Tardon2-3/+3
I plan to use it to deliver all */uiconfig files, not just .ui, as a preliminary step to get rid of postprocess/packconfig. Change-Id: Ie7b4434b2f247165e3ab69a4d0c193418720a149 Reviewed-on: https://gerrit.libreoffice.org/3225 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-09use common image from res/ folderAndras Timar1-1/+1
Change-Id: I89203c277277d409cfe46f62af82b2621c9101b2
2013-04-08fdo#46808, Convert frame::Frame to new styleNoel Grandin2-16/+8
Change-Id: I74427d1e0059808f04960c648b93245b06c20f7f
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2-4/+4
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05new module i18nlangtagEike Rathke1-1/+1
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-03remove obsolete helpids and cleanup uiconfig XMLMichael Meeks1-6/+6
/usr/bin/perl -pi.bak s/\s+statusbar:helpid="helpid:\d+"\s*/ /g; s/\s+toolbar:helpid="helpid:\d+"\s*/ /g; s|" />|"/>|g; Change-Id: Iebb40c7e168835e02a63c17b93adee4139069ee0
2013-04-03remove obsolete helpids and cleanup uiconfig XMLMichael Meeks6-67/+67
/usr/bin/perl -pi.bak s/\s+statusbar:helpid="helpid:\d+"\s+/ /g; s/\s+toolbar:helpid="helpid:\d+"\s+/ /g; s|" />|"/>|g; Change-Id: I3489a943476f9dae1bd6009e3cd2ea7ea04b6275
2013-04-01write even better codeThomas Arnhold2-5/+5
Change-Id: I0f193b9c17da5855fd515251543afc68b8885b9b
2013-04-01remove boilerplate commentsThomas Arnhold4-7/+3
Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
2013-04-01remove unused GetCurDocViewWinThomas Arnhold2-9/+0
Change-Id: I7fe825cd1fb9e988eb8037e1f5dca7252c192f33
2013-03-30Use OUString in basctl(basicide)Chr. Rossmanith4-28/+28
Change-Id: I176088d3d33f02a1721e4027571a1f22dc6bd986 Reviewed-on: https://gerrit.libreoffice.org/3116 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-29ResMgr with LanguageTagEike Rathke1-2/+1
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-28Use OUString and sal_Int32 in GetTextWidth()Chr. Rossmanith3-4/+4
Change-Id: I0b3cdbe8576300d098027cc98d7dff841d148f18 Reviewed-on: https://gerrit.libreoffice.org/3097 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-03-27-Wunused-macrosStephan Bergmann1-3/+0
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-22String::AppendAscii cleanupRicardo Montania1-2/+2
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-19further OUString cleanupThomas Arnhold2-4/+4
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-15various efforts to consistently apply HIG rulesCaolán McNamara1-24/+11
Change-Id: I786227d89cc441990d6bdce0acf872a73be51a7c
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-3/+0
2013-03-13make sure basic IDE cut/copy buttons on toolbar are refreshed fdo#30545Noel Power1-0/+8
Change-Id: I483469f0b76ade7fb107c6f4ae5c28a4b03877b1
2013-03-12Abbreviate Rectangle as Rect, not RecTor Lillqvist1-3/+3
Change-Id: If38a5d23150bcd19a6eb6024c2ef1eea826898f5
2013-03-11fdo#38838: Converting String/UniString to OUStringelixir1-2/+2
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-11remove remaining UTF bomBorim2-2/+2
Change-Id: I3a24a7af782f538cdfad4cc58328c5ab7412c2cc Reviewed-on: https://gerrit.libreoffice.org/2644 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim20-0/+53
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-05fdo#38838, replacement of String with OUStringÁdám Csaba Király3-14/+14
Replaced String with OUString in mediawindow.cxx, basdoc.cxx, basdoc.hxx and bastype3.cxx. In other files I only replaced, what was necessary for the changes in basdoc to work. Change-Id: I1ad0e7e262f8becdf57f182853aaa914a88895a4 Reviewed-on: https://gerrit.libreoffice.org/2554 Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com> Tested-by: Muthu Subramanian K <muthusuba@gmail.com>
2013-03-04fdo#38838, change String to OUStringÁdám Csaba Király2-14/+14
Change-Id: I373f5d2f453dff83141a4cdaeed94ce0268bf70c Reviewed-on: https://gerrit.libreoffice.org/2497 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-03-04remove unused and commented out codeThomas Arnhold2-9/+0
This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold1-2/+2
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-03coverity#736107: nesting level mismatchMarkus Mohrhard1-0/+2
Change-Id: I24655d0e87335ac0356a1082fd993a87613e213e
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-25loplugin: improve indentationThomas Arnhold1-4/+2
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-25loplugin: unused variablesThomas Arnhold4-20/+0
aErrorText usage was commented out since 2000. Change-Id: Ic4d81c2d48e59a36e2f4280ceb36ea8148b9dc9d
2013-02-23sal: update log areasThomas Arnhold1-1/+1
Change-Id: Id7b2c7e871abf19b70f427095371c6a6c0208607