Commit Graph

2742 Commits

Author SHA1 Message Date
cd10d4e8a6 Remove SbErrorStack[Entry] 2012-01-16 20:47:40 -05:00
9a2859df2d Remove invalid friend declaration 2012-01-16 11:37:35 -05:00
ad5bc7a1ec String->OUString 2012-01-16 11:37:34 -05:00
0ced88ad44 Remove unused enum SbLanguageMode 2012-01-16 11:37:34 -05:00
2a3d61a0be Remove unused enum SbTextType 2012-01-16 11:37:34 -05:00
a29901ae32 Remove unused struct SbTextPortion 2012-01-16 11:37:34 -05:00
64c8a11cc5 Remove unnecessary using declaration 2012-01-16 11:37:33 -05:00
746b39e4d1 Remove uses of pLine in scanner 2012-01-15 23:30:30 -05:00
d54349233f remove useless misleading macros 2012-01-15 20:27:18 +01:00
09f8d4f75a WaE: deleting object of abstract class type with non-virtual destructor 2012-01-15 20:27:17 +01:00
ed68d602f5 Comment out test that current fails on 64-bit systems 2012-01-14 19:21:01 -05:00
244382e62e Add tests for hex/octal numbers for basic scanner 2012-01-14 18:39:58 -05:00
944140ae44 Remove uses of pLine in scanner 2012-01-14 18:39:58 -05:00
e4d6dfae33 Remove use of pLine in scanner 2012-01-14 18:39:57 -05:00
679a8e1cfd Remove use of pLine in scanner 2012-01-14 18:39:57 -05:00
440a7c9b92 SV_DECL_PTRARR_DEL->boost::ptr_vector 2012-01-14 15:13:05 -05:00
26712ff5a6 WaE: d shadows another d 2012-01-13 09:06:00 +00:00
629cd5caad callcatcher: update list 2012-01-10 10:09:29 +00:00
45b19123a6 simplify CharClass
multiple variants of toUpper (etc)
some that take a non-const OUString or String and modify it
some that take a const OUString or String and return a new one
some that take part of a const OUString or String and return a new one
2012-01-09 13:28:37 +00:00
9df90559d4 restore special DATE handling code for SbxValue::Compute
restore code that seemed to be erroneously moved as part of the currency enhancement feature
2012-01-09 13:12:38 +00:00
28f16e4c25 Only set bSpaces once here 2012-01-09 00:54:30 -05:00
ed5b6ace89 Remove use of pLine in scanner 2012-01-09 00:54:30 -05:00
c3259776aa Prefer prefix increment 2012-01-09 00:54:30 -05:00
dd7eeed27d Remove uses of pLine in scanner 2012-01-08 11:48:08 -05:00
d3a52bd7b3 scanner cleanup for consistency 2012-01-07 18:33:32 -05:00
1e04280bce Refactor readLine in scanner 2012-01-07 18:33:31 -05:00
db1faf4868 Remove unused class SttResId 2012-01-07 18:33:31 -05:00
809438ad92 Remove unused code 2012-01-07 17:47:06 -05:00
e0cf30f54a Remove unused code 2012-01-07 17:47:05 -05:00
5845c5b6ec Removed unnecessary tools/link.hxx includes. 2012-01-06 23:55:50 +01:00
2d3203b2db make ReadUniOrByteString return a string 2012-01-06 09:52:42 +00:00
25e84ee959 fdo#44172: Basic function VAL produces bad result 2012-01-05 14:46:09 -05:00
53d27eb207 Removed unnecessary tools includes. 2012-01-05 15:38:51 +01:00
571ad11bc0 Removed unnecessary tools includes. 2012-01-05 15:36:41 +01:00
79646372a0 Removed unnecessary tools includes.
Hello lo-devs,

this patch series removes a lot of unnecessary includes for the various
tools header. The patches without suffix should be applied to the core
repository, the .binfilter.patch suffix should be applied to the
binfilter repository. I've tested the build with the configuration
--enable-binfilter --enable-dbgutil --enable-debug, is this sufficient
or did I miss another important configuration, that enables some
conditional compiled code? I've only build this on linux-x86_64, but the
patch also touches some of the mac specific code like
fpicker/source/aqua/SalAquaFilePicker.mm so it would be maybe a good
idea to test this patch.

regards Marcel Metz
2012-01-05 15:31:29 +01:00
bacfd2dc4c add a comphelper::string::getTokenCount
suitable for conversion from [Byte]String::GetTokenCount
converted low-hanging variants to rtl::O[UString]::getToken loops
added unit test
2012-01-05 09:18:19 +00:00
1702bab54f add mode-lines to some new files 2012-01-05 09:18:16 +00:00
c1d49234e5 tweak for pre language-defect #77 2011-12-21 13:44:52 +00:00
5c24789ca3 disentangle Read/WriteByteString OUString variants
The ones which use a definite 8-bit encoding read/write pascal-style
strings with a 16bit length prefix.

The ones which use a definite 16-bit encoding read/write pascal-style
UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all

The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending
on the charset. Rename to ReadUniOrByteString like the other
similar horrors to flag this misery
2011-12-21 13:44:52 +00:00
c4f0efc237 convert ReadByteString/WriteByteString from ByteString to OString
Nobody ever used the return values anyway, so for reading just
return the string and for writing the number of bytes written

Doesn't need to be members, make standalone functions

Rename  to
read_lenPrefixed_uInt8s_ToO[U]String and
write_lenPrefixed_uInt8s_FromO[U]String, lengthy,
but much less unambiguous, seeing as a lot of users of it don't
seem to be aware that they read/write pascal-style length
prefixed strings, which isn't surprising given the
apparent simplicity of their original name.

added a unit test
2011-12-21 13:44:52 +00:00
6708977331 needs more work first
This reverts commit 92f396733ebc518bcb7a9eae2dd3169d333b82b9.
2011-12-21 10:30:10 +00:00
fffae28952 bah, need to tweak for pre c++0x
This reverts commit d00fc0e293852cfc019ffaffa65bee327397677b.
2011-12-21 10:29:33 +00:00
d00fc0e293 disentangle Read/WriteByteString OUString variants
The ones which use a definite 8-bit encoding read/write pascal-style
strings with a 16bit length prefix.

The ones which use a definite 16-bit encoding read/write pascal-style
UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all

The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending
on the charset. Rename to ReadUniOrByteString like the other
similar horrors to flag this misery
2011-12-21 10:10:58 +00:00
92f396733e convert ReadByteString/WriteByteString from ByteString to OString
Nobody ever used the return values anyway, so for reading just
return the string and for writing the number of bytes written

Doesn't need to be members, make standalone functions

Rename  to
read_lenPrefixed_uInt8s_ToO[U]String and
write_lenPrefixed_uInt8s_FromO[U]String, lengthy,
but much less unambiguous, seeing as a lot of users of it don't
seem to be aware that they read/write pascal-style length
prefixed strings, which isn't surprising given the
apparent simplicity of their original name.

added a unit test
2011-12-21 10:10:58 +00:00
815b7b39f2 EXTENDED_BINARY_MODULES is always defined 2011-12-19 20:34:53 +00:00
220b97fd14 SbTextPortions, etc can completely go 2011-12-13 10:11:45 +00:00
0d486af418 _BASIC_TEXTPORTIONS always defined 2011-12-13 10:11:44 +00:00
a15cdba6ef disassembler unused 2011-12-13 10:11:44 +00:00
90ca7d9e24 callcatcher: remove newly unused code 2011-12-13 10:11:44 +00:00
5258afdc70 bUsedForHilite always false 2011-12-13 10:11:43 +00:00