Philipp Weissenbacher
de45e00439
Translate German comments
...
Change-Id: I3c4b8fa5b80bdd4a38dc9ea15ad805e9430a6e68
Reviewed-on: https://gerrit.libreoffice.org/2540
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-03-04 16:54:45 +00:00
Jiri Blecha
66f426b8fa
The macro FEAT_FSYS_DOUBLESPEED has been removed and the related #if / #endif have been removed too.
...
Bug: 61516
Change-Id: Id347e87a8789ddbe550dde7d7281d9c1cad0c199
2013-03-04 10:33:40 +00:00
Marcos Paulo de Souza
2962aaa008
fdo#61513: Remove FSysFailOnErrorImpl macro
...
This patch removes all used of this useless macro.
Change-Id: Ib3842ef28ea676e75b18c192f8d9610dcb3c3d0c
2013-03-04 10:01:46 +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
Jean-Noël Rouvignac
875c997c7d
fdo#39446 - Bloat Removal. Removing uncallable code with callcatcher
...
Removed several unused methods.
Could not remove ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent() and ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun:⭐ :uno::Any const&) because it breaks compilation (they are implementing pure virtual methods).
Should Test::test1Table1Page() really be removed? (test class)
Conflicts:
unusedcode.easy
Change-Id: I98a761f66f28e3a82661c10a5fa1dc7e109fff2f
2013-02-27 15:40:16 +01:00
Michael Meeks
3e1dea5948
tools: move FileCopier out of public headers, and remove unused bits.
...
Change-Id: Iccd052ae2587bb4448ecb5bc94aeba5dd2a2291e
2013-02-27 09:09:03 +00:00
Michael Meeks
a82f7b2053
port horrible tools temp directory abstraction to sal.
...
Change-Id: I3688c8babf7719091404317b13014283a8ce9492
2013-02-27 09:09:02 +00:00
Thomas Arnhold
d5caf6898b
loplugin: unused variables
...
Change-Id: I7fc203900256839e679bf73b717d121fedc42087
2013-02-24 17:44:31 +01:00
Jean-Noël Rouvignac
63b0ce97ba
fdo#38838 searched, replaced and removed String::CreateFromInt32().
...
I ran the following code replace:
s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/
And finally removed String::CreateFromInt32().
Change-Id: I53b26a59c68511ae09f0ee82cfade210d0de3fa5
Reviewed-on: https://gerrit.libreoffice.org/2279
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-02-24 12:59:02 +00:00
Thomas Arnhold
c4cc63badc
sal: update log areas
...
Change-Id: Id7b2c7e871abf19b70f427095371c6a6c0208607
2013-02-23 13:31:09 +01:00
Julien Nabet
1443a9f7ab
[Uu]sefull -> [Uu]seful
...
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-22 11:12:33 +01:00
Tor Lillqvist
616c6924f1
s/the the/the/
...
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22 09:58:19 +02:00
Michael Meeks
93363ff6ba
fix snafu that crept in with 5da5cd60ac
...
Change-Id: I391a415e0f4bf3813637191ef04c0b5f72a2c470
2013-02-21 17:21:36 +00:00
Radu Ioan
ef1d096ddc
fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERT
...
- replaced osl_trace with sal_info
- added new log areas to log-area.dox
Change-Id: Ib47c4b4c9604bca1f8a635dd01bb89702b47b591
Reviewed-on: https://gerrit.libreoffice.org/2010
Reviewed-by: Thorsten Behrens <tbehrens@suse.com >
Tested-by: Thorsten Behrens <tbehrens@suse.com >
2013-02-19 16:02:40 +00:00
Julien Nabet
42f03b7568
Reduce scope
...
Change-Id: I6bdff92cee194d79af98227d48c68304ee56593b
2013-02-13 20:56:39 +01:00
Luboš Luňák
895f272ed9
fix incorrect string conversion in 9e310cc329
...
Change-Id: Ia1ddf969f876ce47b4195c60039b38f2a47f3470
2013-02-08 18:50:02 +01:00
Jean-Noël Rouvignac
9e310cc329
fdo#38838 Some removal/replacement of the String/UniString with OUString
...
Change-Id: I6daea312198fae3a9717bd8d4fea6371aa4cd275
Reviewed-on: https://gerrit.libreoffice.org/1962
Reviewed-by: Tor Lillqvist <tml@iki.fi >
Tested-by: Tor Lillqvist <tml@iki.fi >
2013-02-08 14:57:16 +00:00
Stephan Bergmann
e63bfb3035
Get rid of STAR_RESOURCEPATH
...
...the only remaining use was for CppunitTest to find the .res files in
$(OUTDIR)/bin/. Get that solved by delivering the .res files also to
$(OUTDIR)/unittest/install/program/resource/ (new
gb_ResTarget_get_unittest_target).
Change-Id: I370e7cab4223256356c7511b88ae63d9c0dbf215
2013-01-30 13:47:12 +01:00
Jean-Noël Rouvignac
0dc532bffc
fdo#38838 Some removal/replacement of the String/UniString with OUString
...
Changed SfxItemPool::GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText ) const; to use OUString.
Change-Id: I656c1d321ff96f1f2e5b77f6adc103ef0a6fdf66
2013-01-28 17:36:20 +01:00
Stephan Bergmann
f1bca26afc
Remove redundant braces around for loops
...
...that had once been workarounds for compilers that did not yet support the
C++98 scoping rules for declarations in for-init-statements.
Change-Id: I51dc42982b30bf3adea6de1a10a91c0b4b4acfbe
2013-01-26 16:36:09 +01:00
Julien Nabet
87f9d7da00
Fix Variable 'nMode' is reassigned
...
See http://nabble.documentfoundation.org/Cppcheck-Variable-nMode-is-reassigned-in-fstat-cxx-td4030405.html
Thank you Stephan!
Change-Id: I780d422fe03c4c125cc89fee778d820a20553c1c
2013-01-21 21:19:02 +01:00
Jean-Noël Rouvignac
63bcb139b9
Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()
...
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de
Reviewed-on: https://gerrit.libreoffice.org/1784
Reviewed-by: Luboš Luňák <l.lunak@suse.cz >
Tested-by: Luboš Luňák <l.lunak@suse.cz >
2013-01-21 15:04:17 +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
Julien Nabet
c4b2921fc2
Some cppcheck cleaning
...
Change-Id: Id027823617d2328b9e827268825812634731a828
2012-12-29 18:25:56 +01:00
Tor Lillqvist
f98407403f
Revert "String Cleanup and news OUString methods/constructors"
...
Broke a unit test and made all tinderboxes red.
This reverts commit 3179055dc3
.
2012-12-29 12:50:32 +02:00
Ricardo Montania
3179055dc3
String Cleanup and news OUString methods/constructors
...
Change-Id: Ia6142020330d0e12650fdc519b66f00e607eac42
Reviewed-on: https://gerrit.libreoffice.org/1491
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2012-12-28 18:16:04 +00:00
Tor Lillqvist
d72a0b5c61
Check for __GNUC__ instead of GCC in sources
...
We still have checks for $(COM) being GCC or MSC in makefiles, of
course. But there is no reason to pass -D$(COM) to compilations.
Checking the built-in compiler-specific macros __GNUC__, _MSC_VER
(etc) is the right thing to do.
Change-Id: Ia961a29ba74e2c4977e5300a92318f38104c6592
2012-12-27 13:38:15 +02:00
Tor Lillqvist
c318f3b022
Check for _MSC_VER instead of MSC in sources
...
Change-Id: Ibaf2501e6b655913963a53c1cd63668f1c4cccb2
2012-12-27 13:18:24 +02:00
Markus Mohrhard
5c0e79f821
remove unused ifndef
...
Change-Id: I759d2c7cea6a27fe676d1c1a17586445aa013ee9
2012-12-17 23:57:22 +01:00
Caolán McNamara
0d5644bbe9
UniString::Fill -> OUStringBuffer::padToLength
...
none of these strings starts out before "Fill" longer than the size they are
asked to be filled to so there are no trailing unfilled bits to consider
all of which means that we can get rid of UniString::Fill now
Change-Id: I8da21e9787017da9243a2c1d7118d3fbcca2a7fb
2012-12-17 09:35:24 +00:00
Caolán McNamara
55b3794950
callcatcher: update unused code list
...
Change-Id: Ie975cd2df17461de1bb94a23d4daf081f6588fe7
2012-12-14 11:37:22 +00:00
Caolán McNamara
d0b590fe19
callcatcher: remove unused rtf filter and associated methods
...
update and remove newly unused code, mostly original rtf filter
Change-Id: I2dd302851ee6fad62d79fbc81cb8a61a861396db
2012-12-10 09:28:16 +00:00
Luboš Luňák
81e16cea9a
mvoe rtl_(u)string_alloc to sal
...
No point in hidding something useful like this in some helper lib.
Change-Id: I7332d7f6bd428378cd19e7e95ad130771a541140
2012-12-06 13:35:18 +01:00
Tor Lillqvist
34a5932cd2
Fix comment
2012-12-05 11:31:50 +02:00
Tor Lillqvist
d9cf110dae
Bye bye ODMA
...
SUSE has no interest in it any longer, and I doubt anybody else has
either.
2012-12-05 08:56:52 +02:00
Luboš Luňák
c94b9c4866
tools String support for fast operator+
...
Change-Id: I13f49a49f86a7097fce115d62271ad82609036f1
2012-12-03 18:04:24 +01:00
Eike Rathke
c8209ae6ae
added FIXME markers
...
Change-Id: I7f9b5f9843c6f20fec17cec1e43d49624922b4fe
2012-11-27 22:28:56 +01:00
Tor Lillqvist
160cfb5e5e
Bin the HACK() sillyness
...
Change-Id: Ieeebc4098404fa006d66bb8b656172a4348b1dc1
2012-11-19 21:23:27 +02:00
Caolán McNamara
3b23870673
callcatcher: remove another layer of binfilter-released methods
...
Change-Id: Id5bedd660b2ada460ffc48ce28d4f8ab9cd89226
2012-11-17 20:10:50 +00:00
Eike Rathke
e055182f27
use LanguageTag
...
Change-Id: I5138eb613ba78c2bc876e45e6845eef4d1212314
2012-11-16 17:20:20 +01:00
Caolán McNamara
690ce9f1b9
callcatcher: more binfilter freed up methods
...
Change-Id: Iea3716e5c7a21f083f36ce4b8d43ae9fc85227f7
2012-11-14 10:11:33 +00:00
Caolán McNamara
a94b6ec2d5
callcatcher: update unused code post binfilter death
...
Change-Id: I5b25d14ef2769126f98523551597f43812b9feb7
2012-11-14 10:11:32 +00:00
Cédric Bosdonnat
4cc2571e49
CMIS urls: remove +atom in the internal URLS as the binding is guessed
...
Change-Id: I9ae0704f1e5203778e97de5843efe777ba717271
2012-10-31 12:03:28 +01:00
Ivan Timofeev
cda6b4e991
fdo#56366: INetURLObject::decode: do not clip utf-32 to 16-bit
...
Change-Id: Iaedc9f5b9f25f43b8b8deaf28129423abbb91672
2012-10-29 14:20:10 +04:00
Caolán McNamara
0dd085f8f3
UniString->rtl::OUStringBuffer
...
Change-Id: I9938d7c4ab5594baeb10f405f0aa0964ef84d6c5
2012-10-28 23:09:32 +00:00
Caolán McNamara
c348df5635
loplugin: various warnings
...
Change-Id: I605bffb518d804ee69edda5e7641e13e4c14ef01
2012-10-22 20:20:39 +01:00
Caolán McNamara
9d2cfee5e9
some more clang warnings
...
Change-Id: I4359784279875dc9dac99bc4d2db95dccf094b20
2012-10-22 09:11:40 +01:00
Caolán McNamara
a7efb9b8dd
loplugin: fix some indents and unused OUStrings
...
Change-Id: I1d7256eea7a79453d3cdb85d1edcf824d58d775e
2012-10-14 16:37:00 +01:00
Caolán McNamara
1f9f8f4f40
loplugin: some log, indent and unused variable warnings
...
fix up some indents, remove some unused OUStrings and add some log areas
Change-Id: I5c50807aff7a726b03b72522975d9b75e6685b9b
2012-10-13 20:34:54 +01:00
Noel Grandin
58528348fa
String->OUString in tools::ErrorContext
...
Change-Id: Ibd0cd3e8d7281b5abde420df5cc1d51e9354069c
Reviewed-on: https://gerrit.libreoffice.org/769
Reviewed-by: Michael Stahl <mstahl@redhat.com >
Tested-by: Michael Stahl <mstahl@redhat.com >
2012-10-09 21:15:07 +00:00