Commit graph

551 commits

Author SHA1 Message Date
Caolán McNamara
2d3203b2db make ReadUniOrByteString return a string 2012-01-06 09:52:42 +00:00
Caolán McNamara
d6aa26c8a2 tweak this a little 2012-01-05 22:41:56 +00:00
Caolán McNamara
9999eab5fe getPropertyMap can return a reference instead of a pointer 2012-01-05 22:41:56 +00:00
Christina Rossmanith
62d86ff550 Remove Fill() usage 2012-01-05 22:08:58 +01:00
Marcel Metz
53d27eb207 Removed unnecessary tools includes. 2012-01-05 15:38:51 +01:00
Marcel Metz
a1cfce768f Removed unnecessary tools includes. 2012-01-05 15:38:11 +01:00
Marcel Metz
571ad11bc0 Removed unnecessary tools includes. 2012-01-05 15:36:41 +01:00
Marcel Metz
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
Caolán McNamara
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
Ivan Timofeev
b9f58ba85f resurrect autocorrection 2011-12-27 00:32:52 +04:00
August Sodora
7b97c7731b DECLARE_TABLE->boost::ptr_map 2011-12-24 15:55:32 -05:00
David Tardon
80e977a34b std::map* -> std::map 2011-12-24 06:38:12 +01:00
David Tardon
93d3f6258f make the line work as intended again
At least I suppose memory corruption is not intended behavior .-)
2011-12-24 06:29:30 +01:00
August Sodora
c9f68b6d23 Fix the build so that this is recognized as an initializer list 2011-12-23 19:45:13 -05:00
August Sodora
4586cd7564 DECLARE_TABLE->std::map 2011-12-23 16:17:40 -05:00
August Sodora
4d4a67748e SV_DECL_VARARR->std::vector 2011-12-23 14:52:09 -05:00
Gustavo Buzzatti Pacheco
b575f4b1a2 Fix for fdo43460 Part XIV getLength() to isEmpty()
Part XIV
Modules
drawinglayer, dtrans, editeng
2011-12-23 22:04:44 +04:00
August Sodora
dfbf0cabfa SV_DECL_VARARR->std::vector 2011-12-23 01:25:20 -05:00
August Sodora
6df7cfaa3f callcatcher: Remove unused code 2011-12-22 23:49:16 -05:00
Thorsten Behrens
f277d0c88a Correctly handle empty paragraphs in slideshow animation fdo#43684
Fix a problem with empty paragraphs, that previously did not get
proper end-of-para / end-of-line markup, thus the slideshow mis-
counting them when getting index-based animation targets.
2011-12-22 23:52:29 +01:00
Thorsten Behrens
fe1998c194 Revert "aw084: #i108052# Added code to mimic old behaviour and call user layout link when empty paragraph is rendered"
This reverts commit 9d40293f14.

The change was causing extra paragraph markers to be emitted, e.g.
leading to fdo#43837 and fdo#43684.
2011-12-22 23:52:05 +01:00
Tzvetelina Tzeneva
062eaeffe7 sw: Improved document comparison based on RSIDs. 2011-12-22 17:53:53 +01:00
Caolán McNamara
80a11f0d43 ByteString->rtl::OString 2011-12-22 09:07:47 +00:00
Caolán McNamara
c1d49234e5 tweak for pre language-defect #77 2011-12-21 13:44:52 +00:00
Caolán McNamara
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
Caolán McNamara
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
Caolán McNamara
6708977331 needs more work first
This reverts commit 92f396733e.
2011-12-21 10:30:10 +00:00
Caolán McNamara
fffae28952 bah, need to tweak for pre c++0x
This reverts commit d00fc0e293.
2011-12-21 10:29:33 +00:00
Caolán McNamara
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
Caolán McNamara
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
Jesse
6a8f6c4b13 Removed extra semicolons 2011-12-15 16:38:50 +00:00
Michael Stahl
41927a4f2f editeng: EE_ITEMS_START:
This evidently depends on the values of OWN_ATTR_VALUE_START and
OWN_ATTR_VALUE_END, so define it that way.
2011-12-12 21:53:46 +01:00
Takeshi Abe
9262039e90 catch exception by constant reference 2011-12-09 09:59:02 +09:00
Michael T. Whiteley
dcfd4beb21 childs -> children 2011-12-08 11:32:41 +02:00
Stephan Bergmann
400b458911 Unused includes. 2011-12-07 16:43:08 +01:00
Bjoern Michaelsen
2acd8fbac9 in modules, when we have a env we are in stage gbuild 2011-12-07 15:53:06 +01:00
Armin Le Grand
9d40293f14 aw084: #i108052# Added code to mimic old behaviour and call user layout link when empty paragraph is rendered
# HG changeset patch
# User Armin Le Grand <armin.le.grand@oracle.com>
# Date 1300894213 -3600
# Node ID 773a354b3c4694565fa5ef4588c21c6b2b2eed7f
# Parent  1e5618c51d1690a7c619f75d6b79c220c39854f8
aw084: #i108052# Added code to mimic old behaviour and call user layout link when empty paragraph is rendered
2011-12-05 13:00:13 +01:00
Eike Rathke
86adb5cacb get rid of class Date and Time default ctor with system time penalty 2011-12-01 21:04:29 +01:00
Bjoern Michaelsen
d73e574d8a move reconfigure into gbuild 2011-11-29 17:25:14 +01:00
Caolán McNamara
6f33482f8f ByteString->rtl::OUStringToOString 2011-11-28 09:55:03 +00:00
Norbert Thiebaud
c0bed9c72e remove precompiled_xxx.hxx/cxx 2011-11-27 18:07:55 -06:00
Norbert Thiebaud
3f2ff54778 remove pch from the include list 2011-11-27 15:24:45 -06:00
Norbert Thiebaud
cabc96dc05 remove include of pch header in editeng 2011-11-27 13:07:15 -06:00
Norbert Thiebaud
992757cc5e remove pre-compiled header support in gbuild and gbuildified module 2011-11-27 11:49:38 -06:00
Bjoern Michaelsen
f2f0dbd273 make gbuild makefiles run independant of pwd again 2011-11-25 12:04:40 +01:00
David Tardon
fba911fea7 gsl_getSystemTextEncoding -> osl_getThreadTextEncoding 2011-11-25 09:07:49 +01:00
Cédric Bosdonnat
f4f4a899f0 RTF import: partly fixed the WMF images scaling. 2011-11-24 16:08:46 +01:00
Caolán McNamara
a9edd1267e callcatcher: remove newly unused code 2011-11-23 13:56:36 +00:00
Caolán McNamara
5e283a80cd callcatcher: remove recently unused code 2011-11-23 10:10:10 +00:00
Caolán McNamara
4d1c57a00e callcatcher: update list 2011-11-21 09:17:11 +00:00