Commit graph

2167 commits

Author SHA1 Message Date
Noel Grandin
5ab3015aae fdo#46808, Clean up old usages of ExtToolkit
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-21 08:23:59 +02:00
Noel Grandin
be50ad28f5 fdo#46808, Convert awt::XUnoControlDialog to new style
Change-Id: I40d2e2ddd92186a2ba22ebfbdda8367391e8d355
2013-05-21 08:23:59 +02:00
Noel Grandin
6c61b20a8d fdo#46808, Convert awt::UnoControlDialogModel to new style
Change-Id: I4b912034ef3f4855b87d6d6f18ff13bd1ecc8f72
2013-05-21 08:23:58 +02:00
Michael Meeks
2b5d1c9bf6 Move to MPLv2 license headers, with ESC decision and author's permission.
Change-Id: Ie154eadd9960b159f5a250cde93c4bd7a8a948cf
2013-05-16 12:43:11 +01:00
Noel Grandin
33b4dc22f8 fdo#46808, Use service constructor
Change-Id: I31a812dfd84a33e3b5f6f44bbd786e14a465886e
2013-05-15 08:25:36 +02:00
Michael Stahl
32b9ff8866 svx: remove Package_sdi
Change-Id: I0c648ca1b1f3cc22244d660e032bacbdbe0f642e
2013-05-08 17:49:55 +02:00
Michael Stahl
429a850d0d sfx2: remove Package_sdi
There are just a handful of sdi files in sfx2 anyway so just put
sfx2/sdi on include path.

Change-Id: Ia9be889a63ba9a2f330b505613ae38158a4b7bdf
2013-05-08 17:49:55 +02:00
Michael Stahl
368e06b05a officecfg: remove Package_cppheader
Instead include generated headers directly from workdir.

Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65
2013-05-07 17:07:43 +02:00
Armin Le Grand
96004917df Related: #i120515# fixed memory leak
(cherry picked from commit b24737fc55e797d03002d44a1fa325a101617c55)

Change-Id: Ib59957fb2c9e198012898293aaa2e5afbe561ef4
2013-05-02 11:27:00 +01:00
Caolán McNamara
26bda9f4a8 convert message box return types to an enum
Change-Id: I20889dc94aac1119c1ee9da873ce911887c1c335
2013-05-01 14:42:04 +01:00
Michael Meeks
72e5d0c8fb Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-30 13:34:06 +01:00
David Tardon
c042cd05e9 gbuild: drop uses of removed packages
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-24 05:18:03 +00:00
anuragkanungo
97f6625d9a Replace chained O(U)StringBuffer::append() with operator+
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-22 07:40:47 +00:00
Marcos Paulo de Souza
0f200cc30e fdo#63154: Change Min/Max/Abs for std::min/max/abs
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-20 11:09:54 +00:00
Tor Lillqvist
9be3e8e8d5 Should initialise Module::mpModule to 0
Change-Id: Ie4648b82a524a7ddcd427d7d2543bc7691eddcf8
2013-04-12 22:54:00 +03:00
Tor Lillqvist
8dba30fcf6 Get rid of GetAppData(SHL_IDE)
It seems to be used only locally in basctl so there is really no reason for
it.

Change-Id: I9ad0a67621e190257e028fd3689f692e639eaf56
2013-04-12 22:42:08 +03:00
David Tardon
bec67a2e7f deliver all uiconfig files by UIConfig
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-11 03:39:16 +00:00
David Tardon
ed72983131 rename UI to UIConfig
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-11 03:37:30 +00:00
Andras Timar
648895f9de use common image from res/ folder
Change-Id: I89203c277277d409cfe46f62af82b2621c9101b2
2013-04-09 16:24:22 +02:00
Noel Grandin
b248624126 fdo#46808, Convert frame::Frame to new style
Change-Id: I74427d1e0059808f04960c648b93245b06c20f7f
2013-04-08 13:53:04 +02:00
Luboš Luňák
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
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-07 14:23:11 +02:00
Eike Rathke
876c619b94 new module i18nlangtag
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-05 19:10:48 +02:00
Michael Meeks
126f29c474 remove obsolete helpids and cleanup uiconfig XML
/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-03 21:37:13 +01:00
Michael Meeks
15175a00c9 remove obsolete helpids and cleanup uiconfig XML
/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-03 21:34:50 +01:00
Thomas Arnhold
c0fde06562 write even better code
Change-Id: I0f193b9c17da5855fd515251543afc68b8885b9b
2013-04-01 22:45:37 +02:00
Thomas Arnhold
2b7ee1db28 remove boilerplate comments
Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
2013-04-01 22:45:36 +02:00
Thomas Arnhold
08b91c6313 remove unused GetCurDocViewWin
Change-Id: I7fe825cd1fb9e988eb8037e1f5dca7252c192f33
2013-04-01 13:20:10 +02:00
Chr. Rossmanith
b3c914ffff Use OUString in basctl(basicide)
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-30 21:37:07 +00:00
Eike Rathke
5be14df244 ResMgr with LanguageTag
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-29 14:09:01 +01:00
Chr. Rossmanith
91c1161dd9 Use OUString and sal_Int32 in GetTextWidth()
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-28 13:48:02 +00:00
Stephan Bergmann
aa753f01ba -Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27 09:36:53 +01:00
Ricardo Montania
9c281fda84 String::AppendAscii cleanup
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-22 17:17:18 +00:00
Thomas Arnhold
5bb4a2ba1d further OUString cleanup
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-19 14:18:10 +01:00
Caolán McNamara
0f47c848ed various efforts to consistently apply HIG rules
Change-Id: I786227d89cc441990d6bdce0acf872a73be51a7c
2013-03-15 10:14:13 +00:00
Michael Meeks
79b0046ba0 remove legacy build.pl prj/build.lst files. 2013-03-14 17:05:51 +00:00
Noel Power
56f30adffa make sure basic IDE cut/copy buttons on toolbar are refreshed fdo#30545
Change-Id: I483469f0b76ade7fb107c6f4ae5c28a4b03877b1
2013-03-13 17:24:53 +00:00
Tor Lillqvist
5a2cfa6773 Abbreviate Rectangle as Rect, not Rec
Change-Id: If38a5d23150bcd19a6eb6024c2ef1eea826898f5
2013-03-12 09:46:46 +02:00
elixir
7d1f4cdec3 fdo#38838: Converting String/UniString to OUString
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-11 15:50:44 +00:00
Borim
b3c81cb3aa remove remaining UTF bom
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-11 10:16:03 +00:00
Borim
a0296296fb fdo#60691 add modelines to *.src and *.hrc files
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-08 21:02:26 +00:00
Ádám Csaba Király
10bb5b8e24 fdo#38838, replacement of String with OUString
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-05 12:48:36 +00:00
Ádám Csaba Király
30e14d7d3a fdo#38838, change String to OUString
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-04 18:20:24 +00:00
Thomas Arnhold
5b04c9063c remove unused and commented out code
This code gets never called.

Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
2013-03-04 11:34:07 +00:00
Thomas Arnhold
f5ca04caca Related to fdo#60724: correct spelling
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-03 17:14:16 +01:00
Markus Mohrhard
30975b96e8 coverity#736107: nesting level mismatch
Change-Id: I24655d0e87335ac0356a1082fd993a87613e213e
2013-03-03 04:35:14 +01:00
Michael Stahl
b768611724 remove all d.lst
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28 18:40:06 +01:00
Thomas Arnhold
4f4e4e40f5 loplugin: improve indentation
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-25 17:59:40 +01:00
Thomas Arnhold
1bda31ac13 loplugin: unused variables
aErrorText usage was commented out since 2000.

Change-Id: Ic4d81c2d48e59a36e2f4280ceb36ea8148b9dc9d
2013-02-25 03:14:00 +01:00
Thomas Arnhold
c4cc63badc sal: update log areas
Change-Id: Id7b2c7e871abf19b70f427095371c6a6c0208607
2013-02-23 13:31:09 +01:00
Caolán McNamara
805f1ed598 fix editeng and basctl build
Change-Id: I0d70449ad9b42219969c82e2054694c4a5830dcf
2013-02-22 10:40:16 +00:00