Commit graph

2137 commits

Author SHA1 Message Date
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
Norbert Thiebaud
bb82f5c1e9 coverity#982443 Explicitt null dereferenced
Change-Id: I470c34c38eda673e6663b23cdb28ea4be0bef914
Reviewed-on: https://gerrit.libreoffice.org/2218
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-22 07:42:27 +00:00
Norbert Thiebaud
d1ccb1eea8 coverity#735665 Dereference after null check
Change-Id: I9d217789116602838dabbf93e81ab8d0467c5c7b
Reviewed-on: https://gerrit.libreoffice.org/2217
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-22 07:36:11 +00:00
Norbert Thiebaud
f0300c1ade coverity#735664 coverity#736134 coverity#736135 Dereference Null
Change-Id: I1a5c7d7bb2d60a43bb6197fc04a01d981a1396d1
Reviewed-on: https://gerrit.libreoffice.org/2215
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-22 07:35:31 +00:00
Caolán McNamara
aa0b9d13b5 change lib:widget delimiter from : to -
because glade catalogs don't allow : in widgetnames
which blocks making a catalog for our custom widgets

Change-Id: I3d590ce7451264b49fa5a82a752dac44e47bbd81
2013-02-21 10:53:15 +00:00
Norbert Thiebaud
6d76752bb1 coverity#735601 coverity#736164
Change-Id: I5805d749ba32bec778ae98e9b30ba68d74cc44c3
Reviewed-on: https://gerrit.libreoffice.org/2219
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-02-18 15:17:47 +00:00
Andras Timar
c16e9f4ed9 Move SyntaxHighlighter class from svtools to comphelper
We use this class in helpcompiler, and it is not desirable to
compile svtools (thus half of LibreOffice) for a build tool
in cross-compiling environment.

Change-Id: I5e6bc3e576af41eb03c1420dd347c542306f69fa
2013-02-16 12:55:03 +01:00
Andras Timar
fb1f3db03d String to OUString
Change-Id: Ibb0b1808532622ffb2dfc55d533428f6d72b890c
2013-02-13 10:19:20 +01:00
Noel Grandin
851067c268 fdo#46808, use constructor for datatransfer::MimeContentTypeFactory
Change-Id: I576a472e22ad0e3798f4b34d808ac320f13d3e6d
2013-02-12 10:14:46 +02:00
Noel Grandin
a74854cb9a fdo#46808, script::DocumentDialogLibraryContainer needed a new constructor
Change-Id: I44184dc45150e9b3b8ca4b838ea88ad260578b93
2013-02-12 10:14:45 +02:00
Noel Grandin
b0e7466f9d fdo#46808, script::DocumentScriptLibraryContainer needed a new constructor
Change-Id: I9a657cf3fd7715b4890257e1aa4d97d0cf79cecc
2013-02-12 10:14:45 +02:00
Noel Grandin
4b51374a70 fdo#46808, Adapt ui::dialogs::FilePicker UNO service to new style
Change-Id: I1cafbfc53994e5d74241042dbd1d292ddbda67d5
2013-02-12 10:14:45 +02:00
Noel Grandin
591ef78440 fdo#46808, Use singleton util::theMacroExpander new-style constructor
And deprecate the old-style service util::MacroExpander

Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
2013-02-11 08:02:13 +02:00
Thomas Arnhold
c12ab867f2 Remove unused methods
GetOptimalSizePixel and GetHCtrlWidth are never called

Change-Id: Ib2ce1445447e85de66683f8b0fdf4fc8aa464084
2013-02-09 11:29:37 +01:00
Joren De Cuyper
57151df80e Move close button to most left of the findbar
I had a conversation with some UX-members, they all agree the close button needs to be on the far most left of the findbar.

Change-Id: I3c13df4821f3f4f86fec02fa5427b2277fa10c19
Reviewed-on: https://gerrit.libreoffice.org/2025
Reviewed-by: Jan Holesovsky <kendy@suse.cz>
Tested-by: Jan Holesovsky <kendy@suse.cz>
2013-02-07 15:35:40 +00:00
Michael Stahl
fc81393c7f gbuild: remove various pointless calls that don't add anything
Change-Id: I7eccac4fa8890c2873c6bbd7f8f5bf5b0dd006d2
2013-01-26 22:20:07 +01:00
Michael Stahl
a53586f4ef gbuild: do not copy boost headers around
- do not use gb_UnpackedTarball_copy_header_files for boost
- adapt the optimization in concat-deps.c for new path
- use boost_headers in all LinkTargets that require it
- add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus

Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-26 22:20:06 +01:00
Jean-Noël Rouvignac
e13a3d566e fdo#38838 Some removal/replacement of the String/UniString with OUString
Also used the new OUString::number(...) methods.

Change-Id: I3174c43d56d1ae359901bb8a13fe0096f2c74808
Reviewed-on: https://gerrit.libreoffice.org/1766
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-22 14:25:15 +00:00
Chr. Rossmanith
e3f11c10d8 Changed SetText() / GetText() to take/return OUString
replaced lots of Len() with isEmpty()

Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0
Reviewed-on: https://gerrit.libreoffice.org/1795
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-21 20:48:35 +00:00
Joren De Cuyper
3ceff21427 Add close findbar button also on other LO components
Change-Id: I8a18d0459d9584d00b8d7c747b0bb500e02988d9
Reviewed-on: https://gerrit.libreoffice.org/1727
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-01-17 14:24:35 +00:00
Andras Timar
bf442dcaa0 fdo#59212 UI elements were untranslatable in Basic Macro dialog
Change-Id: Ic8d2287db947f298c0492845b7a618c540a9c8df
2013-01-15 16:18:52 +01:00
Markus Mohrhard
200e0c8d88 fix a bunch of more crashes when setting personas
Change-Id: I6c2c398e074a41c3173bff57bc12496b4c2032b4
2013-01-12 06:42:47 +01:00
Caolán McNamara
d9e3efbc0e add a CloseButton to vcl for convenience
does exactly the same default action as a CancelButton except with "Close" as
the label

Change-Id: I538e8fc761cde4a1050d066ef935df1ecd930414
2013-01-09 11:40:53 +00:00
Matteo Casalin
a4c7ded1fd Cleanup: #include <tools/gen.hxx>
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530
Reviewed-on: https://gerrit.libreoffice.org/1484
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-07 13:14:57 +00:00
Marcos Paulo de Souza
f6b4d0313d fdo#57950: Remove chained append and simplify strings
No need to two strings here, since just destFolder is used.

Change-Id: Ie1bfd5744113764caaec11d9fb9c771f9c67e1c4
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-03 18:29:11 +01:00
Radu Ioan
e4429d43f5 fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERT
Changed some OSL_ and DBG_ to SAL_

Change-Id: I192994238b949ffc51697a356a2f49072d5cedb2
Reviewed-on: https://gerrit.libreoffice.org/1519
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2012-12-31 12:22:42 +00:00
Marcos Paulo de Souza
1d1abd28c2 Remove last usage of RTL_CONSTASCII_STRINGPARAM in basctl
Change-Id: I5bc79699e794de47611d785b9ae48b4badf9f2f6
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1502
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-12-29 15:37:12 +00:00
Marcos Paulo de Souza
47139512bc fdo#57950: remove consecutive append in basctl with StringBuffer
Change-Id: I43464dd702c6b4a63df39b6a4b35bec63712d5e6
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1486
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2012-12-27 09:46:12 +00:00
Noel Grandin
bb121c864c fdo#46808, Convert frame::Desktop to new style service.
I had to drop XEventBroadcaster from the merged interface
because it introduced method name conflicts (addEventListener).

Shouldn't be an issue since it was scheduled to be dropped anyhow,
and the service implementation still implements it, so existing clients
will be fine.

I dropped the interface XPropertySet from the combined IDL because nobody
seems to be using it, and it's primary purpose appears to be to set weird
flags.

I dropped the optional interfaces
   XStatusIndicatorFactory
   XDispatchInformationProvider
from the combined IDL because the service does not implement them, and
nobody seems to be using them. I suspect they were mistakenly copied
from XFrame.

I also did not convert the Title, UserDefinedAttributes and LayoutManager
properties to attributes, again because no-one is using them.

Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-21 10:57:09 +02:00
Cédric Bosdonnat
b4c18dc0ea Templates Manager: removed the old dialogs and menu entries
Change-Id: I5aa9dd8c0bfb95c26bca14962f60041e892ea2ea
2012-12-20 18:02:52 +01:00
Christos Strubulis
5198c4a41f Replace chained O(U)StringBuffer::append() with operator+
Change-Id: I0fcd70cff092c7d90b57b9af9dcec99f23750f1c
Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
2012-12-18 17:26:54 +01:00