1680 Commits

Author SHA1 Message Date
Caolán McNamara
c975d6b751 Related: fdo#38838 remove String::CompareToAscii
Change-Id: Ie853747ec693bce34e5be3940c236be5e5544b00
2013-10-17 09:18:18 +01:00
Caolán McNamara
255cfbbeaa Related: fdo#38838 remove unused String::Append varients
Change-Id: I158c171d39756d1949427b3a45d685a194d9fb63
2013-10-16 11:59:48 +01:00
Caolán McNamara
7e7a487e90 Related: fdo#38838 remove UniString::AppendAscii
Change-Id: I0f929843d73eb445c8b1aa56d59cbbce844b9008
2013-10-14 11:54:59 +01:00
Stephan Bergmann
015c00b62f -Werror,-Wunused-variable
Change-Id: Ia49c97f3ccecf42852e21f0a3690352b9620e16c
2013-10-11 10:07:47 +02:00
Stephan Bergmann
f58ee783ee Improve ErrorCodeIOException messages
...and clean up some includes.

Change-Id: Ia5843cd38f967722d7173a6c87fba26064e3ffd6
2013-10-09 21:02:11 +02:00
Caolán McNamara
ae95703819 Related: fdo#38838 remove UniString::SetToken & UniString::SearchAscii
Change-Id: I5219578fbeb40a0fe363f03c64021a83f7e505fb
2013-10-09 16:59:42 +01:00
Caolán McNamara
5089bdb234 Related: fdo#38838 remove UniString::EqualsAscii
Change-Id: I55c85c1c44452c7fb6ac40591aea7177d054affe
2013-10-09 13:17:27 +01:00
Caolán McNamara
832e5aadbf Related: fdo#38838 remove UniString::SearchAndReplaceAll
Change-Id: I093c95b8700b628375d69293022f7d4b8da2af9c
2013-10-08 14:05:58 +01:00
Caolán McNamara
4b96089c09 CID#1079187 try and silence this warning
Change-Id: Iee35eea6c9729e933feb9fa1c781c8b89566b7d8
2013-10-08 10:00:04 +01:00
Caolán McNamara
b8cf30e93f Related: fdo#38838 remove UniString::SearchAndReplaceAscii
Change-Id: I86019d7ab248679cd8518a621fe8e3721b44aeb0
2013-10-07 11:46:58 +01:00
Stephan Bergmann
8c045e633c -Werror,-Wunused-function
Change-Id: I8167a8134b043fa1737d9a1ea67c9401de1a38da
2013-10-02 16:49:27 +02:00
Stephan Bergmann
da4a916fa4 -Werror,-Wunused-const-variable
Change-Id: I12fcd2ec83101117eda03de04789e6bce5371b54
2013-10-02 16:49:27 +02:00
Caolán McNamara
d05a9ae25e Related: fdo#38838 remove UniString::AssignAscii
Change-Id: I263ef2594080ff7d47d5499c2b62e60e1689d2d6
2013-10-01 14:19:25 +01:00
Arnaud Versini
89de6ba4c6 Introduce ASCII case conversion and use more/rtl/character.hxx.
Also remove all others implementations.

Change-Id: I1dc108a9103f087bd8ce591dff2ac5dd254746f8
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-09-30 11:49:22 +02:00
Caolán McNamara
b3a8056a49 Related: fdo#38838 remove UniString::SearchBackward
Change-Id: Ia474ee07b1bd411eae8cd1ddd55c4fa83dbd5f47
2013-09-27 11:16:11 +02:00
Caolán McNamara
98de5b40c8 Related: fdo#38838 remove UniString::EqualsIgnoreCaseAscii
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-25 19:24:23 +02:00
Caolán McNamara
81202ae748 Related: fdo#38838 remove UniString::CompareIgnoreCaseToAscii
Change-Id: I4a9b34d63d2534a35aa9a878b8c2bec15262c2be
2013-09-22 20:32:02 +01:00
Caolán McNamara
28c9207da4 Related: fdo#38838 remove UniString::InsertAscii
Change-Id: I949b62842d77fe83caed2cc79784fe1e3f3ae400
2013-09-22 12:21:35 +01:00
Caolán McNamara
5167539b10 Related: fdo#38838 one UniString::Search variant now unused
Change-Id: Id0b7b9bf53985f0692cd446a528274fb2009d33e
2013-09-14 14:04:23 +01:00
Caolán McNamara
8b3cbc7115 Related: fdo#38838 remove UniString::ToLowerAscii
Change-Id: Iecb8104ea2891d5229e3ecace54e12287d9b0ac6
2013-09-13 15:24:45 +01:00
Thomas Arnhold
4f702470a2 Related: fdo#38838 Remove String::SearchChar()
Change-Id: Ide40e0ef91aec04c2ae274aaf2a957dd5064854c
Reviewed-on: https://gerrit.libreoffice.org/5894
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-11 11:31:06 +00:00
Caolán McNamara
02740cbe0a Related: fdo#38838 drop String::EmptyString now as well
Change-Id: I849dbf3a40189e700036249b15dd8bde493083b6
2013-09-08 20:44:26 +01:00
Caolán McNamara
7fd6d43c1d Related: fdo#38838 String::GetBufferAccess is now no more
Change-Id: I9fdd600fd0a530c0763875109eee6600e4a77879
2013-09-08 20:44:25 +01:00
Caolán McNamara
ce9c390e1a Related: fdo#38838 String::ReleaseBufferAccess is now no more
Change-Id: Ib5390183e3d98a23f9243debfe3624561ca92535
2013-09-08 14:52:59 +01:00
Eike Rathke
e13fd39593 getFallbackStrings() with bIncludeFullBcp47 parameter
so the various places that check the full tag first do not have to get
it just to delete it again.

Change-Id: Ib4e3cf1b16988464db875f1b6ac5cf4a0ab60fe5
2013-09-05 16:51:28 +02:00
Marcos Paulo de Souza
1d3483ed27 Remove some unused code from unusedcode.easy
Change-Id: Ic3e96eebbb914c5b905a8c58532ead9cb01dd41d
Reviewed-on: https://gerrit.libreoffice.org/5721
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-01 09:15:44 +00:00
Stephan Bergmann
11d743af10 Some OSL_WARN -> SAL_WARN_IF
Change-Id: I076adcd2f94c38a74f2dce618bc16efec577ed91
2013-08-31 00:09:48 +02:00
Caolán McNamara
74929bba73 Related: fdo#38838 remove UniString::ToUpperAscii
things got a little out of hand and I ended up
converting quite a bit of calc to OUString

Change-Id: I056326d37ffefa8c120cb2e564d166dd9f20f216
2013-08-30 11:39:01 +01:00
Takeshi Abe
eb6ab3bc04 Mark as const
Change-Id: If20ac542f31dd650d6d1cc22ced618f73e1ce773
2013-08-28 04:55:33 +09:00
Caolán McNamara
a720ff09d8 Related: fdo#38838 AllocBuffer is now unused
Change-Id: Ib2cf99f3dd9ce5e3acc7364d07d6b6e5d03de423
2013-08-27 10:01:19 +01:00
Caolán McNamara
f00cd93a66 callcatcher: update unused code, esp unused Resource based ctor
e.g. no ImageRadioButton is now loaded from any res/rsc file, so
that ctor and associated code paths can be stripped out

Change-Id: Ic4cf19d45adb7c734f150e0b89eef193157a74a7
2013-08-27 09:58:35 +01:00
Luboš Luňák
64b993e046 finish deprecation of O(U)String::valueOf()
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.

Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-21 15:10:35 +02:00
Tor Lillqvist
c6a7300974 Use subfolder names from <config_folders.h>
Change all instances of hardcoded "program", "share" etc subfolder names to
use those from <config_folders.h> instead. In normal builds, the end result
will not change.

Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-08-18 21:11:16 +03:00
Caolán McNamara
d69d6f4dc8 Related: fdo#38838 ToInt64 and a EqualsIgnoreCaseAscii variant are now unused
Change-Id: I2a2cc56cf005f564c798b8d43ef7e8c4b7f9eeff
2013-08-16 13:59:30 +01:00
Caolán McNamara
9891cb881b Related: fdo#38838 remove String::Equals(const sal_Unicode* ...)
Change-Id: I6eeede3261e7b6f5ad81a4d2fa9ecc6c07002dbb
2013-08-10 21:51:42 +01:00
Lionel Elie Mamane
8ee69b0ba1 fdo#67235 adapt form control code to time nanosecond API change, step 3
Change-Id: I4899c89ee5b2a54c9c05b531ab284365f1558e3d
Reviewed-on: https://gerrit.libreoffice.org/5270
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-08-04 06:51:31 +00:00
Stephan Bergmann
44ddacb232 fdo#33605: Handle http etc. URLs with no path but fragment
Change-Id: I8c47cc55e7ad53e514c0bd46130cbbe6a1bb0357
2013-07-26 17:41:08 +02:00
Michael Meeks
03993b47c5 targetted clean of redundant header piece from 62badf3828
Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48
2013-07-26 14:18:52 +01:00
Takeshi Abe
029c630a66 Mark as const
Change-Id: I59ac01eacf31061093b83ab3057963de7ea4a2e7
2013-07-17 16:44:10 +09:00
Palenik Mihály
9c0a390489 fdo#63133: Write tools/tempfile.hxx out
I deleted TempFile class and changed it to utl::TempFile class
-which in unotools/tempfile.hxx- in the followings: Storage,
StgTmpStrm, SwXMailMerge classes; and RenderAsEMF function.
I modified header in precompiled_sw.hxx.

Change-Id: I3dae5333dc42538e1b905f6a6bbc85534c591dc1
Reviewed-on: https://gerrit.libreoffice.org/4938
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2013-07-16 18:40:45 +00:00
Palenik Mihály
c66e9cd24c Delete SvCacheStream class
I changed SvCacheStream class to SvMemoryStream class in
the following:  MSE40HTMLClipFormatObj, SfxLockBytesItem,
SwEditShell, INetMIMEMessageStream classes,
MakeLockBytes_Impl function and SwUnoCursorHelper namespace.
I modified header the precompiled_sw.hxx, wrtsh1.cxx, unoobj2.cxx.
I added two functions in SvMemoryStream class: GetBuffer and
GetSize, and I renamed the old GetSize function to GetBufSize.
I deleted SvCacheStream class.

Change-Id: I929236538dfbe23cccfd1eb85f10c1d5411baa8d
Reviewed-on: https://gerrit.libreoffice.org/4847
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2013-07-16 13:31:53 +00:00
Caolán McNamara
c162a4c8e4 remove String::ReplaceAscii
last remaining users used it as a complicated way to do a simple thing

Change-Id: I810b1542b03bd6faa54f6f076b58cb7d3e680ab0
2013-07-14 20:05:19 +01:00
Caolán McNamara
82937ce3d7 String::SearchAndReplaceAllAscii -> OUString::replaceAll
Change-Id: I5091835c9f71c712f15996e5c6263fc5f21f6f96
2013-07-14 14:04:03 +01:00
Michael Stahl
3835dee3c7 SvStream: remove the error prone operator<</>>(sal_Int64)
As the recent regression after merging AOO patch adding code serializing
"long" variables has shown, this overload (which was added in
7b2a0e541567be9750dfc7d98374555967da3470) is a bad idea.

In a unxlngx build, nm finds uses of the symbols _ZN8SvStreamrsERl
and _ZN8SvStreamlsEl in these files:

- sbxvalue.cxx: this appears to be a legitimate use with sal_Int64

- dateitem.cxx: this was accidentally changed by commit
  9830fd36dbdb72c79703b0c61efc027fba793c5a

- atrfrm.cxx: this was added for Table Autoformat enhancement in
  7e8c0bd73ee59ff3041e55268c77203373962e51, which is after the
  sal_Int64 operators were added, so the file format is now
  platform dependent

Change-Id: I78352b5429b53612c4831cdb81b587b5de5180a9
2013-07-02 16:30:01 +02:00
Thomas Arnhold
d70786a761 Revert "resmgr: bInUse is useless"
This was pretty lame. It's static. To be sure revert it.

This reverts commit 504499ad9f17be5350b878fa99e814612eaffb5f.
2013-06-30 20:46:58 +02:00
Thomas Arnhold
504499ad9f resmgr: bInUse is useless
Change-Id: I619d5d1ff9f6242be652674e4df54ad5c5ddc017
2013-06-30 20:28:58 +02:00
Norbert Thiebaud
ea862e1ed0 WaE clang unhappy with an ambiguous if/else
Change-Id: I1e419793454ad5401a2d55a2c709bab08f4cf053
2013-06-30 02:21:31 -05:00
Norbert Thiebaud
710f41b7ae Clean String and sal_Bool in tools
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655
Reviewed-on: https://gerrit.libreoffice.org/4627
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-06-30 04:58:49 +00:00
David Tardon
9e8e5568e2 make this more resilient to stream problems
The metafile stream read in ooxmlexport test for fdo51550.odt is broken
for some reason, so mnTotalSize is not initialized. That means that we
try to seek by an arbitrary value in the destructor.

Change-Id: I3bd5ef3708c816fc8a749b446cecf98c3aa52f65
2013-06-20 12:43:59 +02:00
Jelle van der Waa
733d88433c fdo#43460 tools: use isEmpty()
Change-Id: I832473cab555d8ac5c6b2a47d51124ac63e996e9
Reviewed-on: https://gerrit.libreoffice.org/4333
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-06-18 17:15:41 +00:00