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
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
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
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
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
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
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
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
Caolán McNamara
166d825797
Resolves: fdo#57469 allow tab to traverse into custom widgets
...
The magic WB_TABSTOP bit is the one that allows a widget to be accepted as a
candidate for getting focus when pressing tab
Change-Id: I7d964bae6b84184ccbc4652d66cf3d2637566405
2012-12-12 13:27:12 +00:00
Noel Grandin
773ad75b0d
fdo#46808, Adapt util::NumberFormatsSupplier UNO service to new style
...
Change-Id: I58436d9eea0c38d14cde2dc01aa463d5d71912e9
2012-12-06 13:20:31 +02:00
Noel Power
ab96b65e0d
fix for fdo#57836 throw when attempting to store basicide model
...
Change-Id: I8769a63be61d45817757be3ad23ffc7b01173041
2012-12-04 10:55:16 +00:00
Thorsten Behrens
66a175834c
c++ API: use css alias in generated headers, adds global css decl
...
This changes all generated API headers (.hpp and .hdl) to use a
namespace alias 'css' instead of the pointlessly long com::sun::star
Makes the change in cppumaker & associated tools, adds a global
namespace alias definition in sal/types.h, and removes a kiloton
of local, now pointless-to-harmful versions of that alias from all
over the code.
Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30 14:36:36 +01:00
Noel Grandin
f96db7d0dd
fdo#46808, use service constructor for i18n::Collator
...
Change-Id: I15a360723e335345aad09e73fcb0f6815ed9e0d4
2012-11-30 13:59:46 +01:00
Kohei Yoshida
251dab0145
Pass pointer to view data entry to Paint() instead of its raw flag value.
...
We need to hide these flags away.
Change-Id: I112003a88a92174f5012b3356ba261a039eeccc1
2012-11-29 16:34:43 -05:00
Norbert Thiebaud
ad6f9f2f00
String=>OUString of svl's urihelper
...
Change-Id: Ib4d9175ce4661140a147962b8f45be40f800d85a
2012-11-27 23:00:04 -06:00
Eike Rathke
41956321ce
get rid of Svx...Locale...() double conversion nonsense
...
Change-Id: I21d14ff6087d1adb0ce769f2e8f8060a005250cc
2012-11-24 18:56:43 +01:00
Eike Rathke
af60316514
some i18n wrappers with LanguageTag
...
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-23 23:09:16 +01:00