Commit Graph

6307 Commits

Author SHA1 Message Date
Takeshi Abe
3006397439 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-21 01:07:21 +09:00
Santiago Martinez
9846e25d94 Remove unused code in XMLTextListAutoStylePool. 2012-02-20 11:56:00 +00:00
Elton Chung
d30b4e9fb6 Get rid of size() == 0 2012-02-19 17:07:46 +04:00
Thomas Arnhold
a8e35884d2 xmloff: use ::comphelper::UStringLess instead of less_functor 2012-02-18 21:33:05 +01:00
Elton Chung
23af031b09 Fix typos in comments 2012-02-18 09:35:43 +00:00
Catalin Iacob
4f82f1e076 Remove unused code in XMLTextImportHelper 2012-02-13 15:56:31 +00:00
Caolán McNamara
5416316840 catched -> caught 2012-02-13 14:04:42 +00:00
Jan Holesovsky
9951de4a10 fdo#42771: Fix crash when loading an invalid .fodt.
createTextCursorByRange() likes to throw runtime exception, even though it
just means 'we were unable to create the cursor'.
2012-02-10 17:56:32 +01:00
Takeshi Abe
e7e0455b02 Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("...")) to equalsAscii("...") 2012-02-10 01:59:26 +09:00
Noel Grandin
0979307bbf tools/table.hxx to std::map conversion in SV, SVL and SVX modules
This patch converts one use of tools/table.hxx in
svl/inc/svl/zforlist.hxx, whose use in turn spans 3 modules.
2012-02-08 13:15:30 +01:00
Caolán McNamara
849a2471bd update unused list 2012-02-08 09:12:27 +00:00
Stephan Bergmann
b87201e158 Some configmgr usage clean up 2012-02-07 09:06:25 +01:00
Elton Chung
9c06348b32 Remove unused code. 2012-02-05 16:40:03 +04:00
Michael Stahl
e0de9f832f fdo#45447: add an assertion when anchored to page 0
XMLTextParagraphExport::addTextFrameAttributes: detect invalid anchor
page number; this really should be fixed in Writer/writerfilter though.
2012-02-02 14:36:18 +01:00
Michael Stahl
6c15b85624 fdo#45534: ODF export: fix draw:fit-to-size
In ODF 1.1 and 1.2 this attribute is of type boolean, so only write the
new values if the extended format is selected.
(regression introduced with e479f47f7d)
2012-02-02 14:36:18 +01:00
Michael Stahl
0b7bba1020 fdo#45449: ODF export: frames: invalid "min-width"
XMLTextParagraphExport::addTextFrameAttributes: delay writing of the
fo:min-width and fo:min-height attributes so that they end up at the
draw:text-box element, and not at draw:frame where they are invalid.

Testing reveals that the ODF import can already handle reading the
attributes from the draw:text-box elements, so there doesn't seem to be
a backward compatibility problem.
2012-02-02 14:36:17 +01:00
Michael Stahl
4b85affdc4 fdo#38752: xmloff: add assertion for default-page-layout 2012-02-02 14:36:16 +01:00
Caolán McNamara
5833c182ed callcatcher: update list 2012-02-01 11:13:44 +00:00
Caolán McNamara
4995bccb95 callcatcher: update list 2012-01-31 11:37:25 +00:00
Stephan Bergmann
965f3ae45a Clean up 2012-01-31 11:32:56 +01:00
Caolán McNamara
e216078272 reduce unnecessary includes 2012-01-30 13:18:36 +00:00
Olivier Hallot
260054594c Fix for fdo43460 Part LIII getLength() to isEmpty()
Part LIII
Modules
xmloff (part 6)
2012-01-27 19:14:06 -02:00
Olivier Hallot
983de98081 Fix for fdo43460 Part LII getLength() to isEmpty()
Part LII
Modules
xmloff (part 5)
2012-01-27 19:14:06 -02:00
Olivier Hallot
596469d418 Fix for fdo43460 Part LI getLength() to isEmpty()
Part LI
Modules
xmloff (part 4)
2012-01-26 19:19:41 -02:00
Olivier Hallot
dfa8287f8b Fix for fdo43460 Part XLIX getLength() to isEmpty()
Part XLIX
Modules
xmloff (part 3)
2012-01-26 19:19:41 -02:00
Olivier Hallot
3dbb89e5a3 Fix for fdo43460 Part XLVIII getLength() to isEmpty()
Part XLVIII
Modules
xmloff (part 2)
2012-01-25 21:59:48 -02:00
Olivier Hallot
4228c5542b Fix for fdo43460 Part XLVII getLength() to isEmpty()
Part XLVII
Modules
xmloff (part 1)
2012-01-25 19:30:07 -02:00
Caolán McNamara
141c1c7bc6 callcatcher: remove some unused code 2012-01-25 15:37:19 +00:00
Stephan Bergmann
115a684b40 Unused #includes. 2012-01-23 23:29:39 +01:00
Marcel Metz
89f0655eba Replaced diagnore ENSURE_OR_CONTINUE with regular code. 2012-01-23 23:28:50 +01:00
Marcel Metz
f9e6d195db Replaced diagnore ENSURE_OR_BREAK with regular code. 2012-01-23 23:28:46 +01:00
Stephan Bergmann
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones.  To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
Michael Stahl
c82ed24c4e rhbz#746174: also export list restart for non root list 2012-01-20 15:18:32 +01:00
Marcel Metz
d2c8003ecb Replaced SAL_INFO with SAL_WARN were applicable. 2012-01-17 23:27:44 +01:00
Stephan Bergmann
7ca7690f84 Better fix for WaE signed/unsigned comparison. 2012-01-17 08:47:22 +01:00
Stephan Bergmann
69d9130054 WaE signed/unsigned comparison. 2012-01-16 21:42:09 +01:00
August Sodora
2070d9a298 SV_DECL_PTRARR_DEL->std::vector 2012-01-16 12:36:43 -05:00
Marcel Metz
a18123fb97 Replaced DBG_ERRORFILE with SAL_INFO. 2012-01-16 12:51:33 +01:00
August Sodora
f447156c00 SvStringsDtor->std::vector 2012-01-12 00:17:09 -05:00
August Sodora
ba47379b4a Remove unused forward declaration 2012-01-12 00:17:08 -05:00
August Sodora
bcb9ddaa7e Remove _SVSTDARR_STRINGSISORTDTOR 2012-01-10 23:18:14 -05:00
Caolán McNamara
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
Takeshi Abe
b35c0ae4ff catch exception by constant reference 2012-01-09 03:17:20 +09:00
Marcel Metz
5b031b4ea6 Remove superfluous _ZFORLIST_DECLARE_TABLE definition. 2012-01-07 22:14:05 +04:00
Marcel Metz
d59211357a Removed unnecessary tools/debug.hxx includes. 2012-01-06 23:55:51 +01:00
Cédric Bosdonnat
0100280a5c fdo#43862: reintroduce fo:margin-* on top of fo:margin for backward compat 2012-01-06 10:34:01 +01:00
Marcel Metz
53d27eb207 Removed unnecessary tools includes. 2012-01-05 15:38:51 +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
Michael Stahl
59a5c37d0d fdo#44082: fix hyphenation attributes:
These have type positiveInteger, so don't write 0 values:

20.191 fo:hyphenation-push-char-count
20.192 fo:hyphenation-remain-char-count
2011-12-22 23:57:45 +01:00