Commit Graph

1586 Commits

Author SHA1 Message Date
Brennan Vincent
7a1c5e54af Partial fix for bug 30711 2012-04-10 14:32:27 +02:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
743f22045c Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
Caolán McNamara
53600134ec no use is made of FmFormObj::m_nType 2012-04-05 13:59:06 +01:00
Takeshi Abe
643a582793 removed duplicate #includes
in vbahelper / writerfilter / writerperfect / xmlhelp / xmloff / xmlscript / xmlsecurity
2012-04-04 01:39:08 +09:00
Caolán McNamara
1889728897 remove static OUStrings from static_initialization_and_destruction chain 2012-03-30 14:07:20 +01:00
Fridrich Štrba
7a19798c73 Compatibility option for incorrect relative moves after closePath (fdo#47406) 2012-03-26 12:55:59 +02:00
Julien Nabet
b1b4f699fc Prefer prefix ++/-- operators for non-primitive types 2012-03-18 17:58:35 +01:00
Miklos Vajna
9f4bb5bd4f xmloff: implement contextual spacing import/export 2012-03-12 18:42:34 +01:00
Caolán McNamara
bbc6d8506d remove various unused methods and source files 2012-03-07 11:06:45 +00: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
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
Caolán McNamara
849a2471bd update unused list 2012-02-08 09:12:27 +00: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
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
Caolán McNamara
e216078272 reduce unnecessary includes 2012-01-30 13:18:36 +00: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
Caolán McNamara
141c1c7bc6 callcatcher: remove some unused code 2012-01-25 15:37:19 +00: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
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
August Sodora
f447156c00 SvStringsDtor->std::vector 2012-01-12 00:17:09 -05:00
August Sodora
bcb9ddaa7e Remove _SVSTDARR_STRINGSISORTDTOR 2012-01-10 23:18:14 -05:00
Marcel Metz
d59211357a Removed unnecessary tools/debug.hxx includes. 2012-01-06 23:55:51 +01:00
Marcel Metz
53d27eb207 Removed unnecessary tools includes. 2012-01-05 15:38:51 +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
Tzvetelina Tzeneva
062eaeffe7 sw: Improved document comparison based on RSIDs. 2011-12-22 17:53:53 +01:00
Jesse
6a8f6c4b13 Removed extra semicolons 2011-12-15 16:38:50 +00:00
Caolán McNamara
9cdb0ca46b there's no point to OUStringsSort_Impl 2011-12-14 09:52:49 +00: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
Norbert Thiebaud
2f27c67db3 remove include of pch header from xmloff 2011-11-27 13:27:50 -06:00
August Sodora
93253ee6ab Remove some uses of OUString::setCharAt 2011-11-26 00:49:26 -05:00
Caolán McNamara
328e09955a callcatcher: remove some unused code 2011-11-11 11:55:04 +00:00
Caolán McNamara
40fbc430fd callcatcher: some unused code 2011-11-02 09:58:53 +00:00
Michael Stahl
8666469d7b #i108468#: clean up xmluconv code duplication, measured approach:
modify sax::Converter::convertMeasure to use sal_Int64 instead of BigInt:
  should be sufficient, since the largest number is SAL_INT32_MAX * 10^7.
 remove duplicate methods from SvXMLUnitConverter:
  convertMeasurePx, convertMeasure (static variants)
 remove entirely duplicative class SvXMLExportHelper:
  GetConversionFactor, GetUnitFromString, AddLength
 change SvXMLUnitConverter interface from MapUnit to css::util::MeasureUnit.
 change SvXMLExport constructor params from MapUnit to css::util::MeasureUnit.
 rename some methods to turn compiler into merge conflict detector :)
2011-10-11 17:57:01 +02:00
Michael Stahl
ae3e2f1700 #i108468#: clean up xmluconv code duplication, DateTime edition:
remove duplicate methods from SvXMLUnitConverter:
  convertTime (all variants), convertDateTime (DateTime variants),
  convertTimeDuration.
 move convertAny from SvXMLUnitConverter to sax::converter.
2011-10-11 17:57:00 +02:00
Michael Stahl
3ca2bef768 #i108468#: clean up xmluconv code duplication, part 1:
move convertNumber64 from SvXMLUnitConverter to sax::converter.
 remove duplicate methods from SvXMLUnitConverter:
  convertBool, convertPercent, convertColor, convertNumber, convertDouble,
  indexOfComma, encodeBase64, decodeBase64, decodeBase64SomeChars,
  clearUndefinedChars
2011-10-11 17:57:00 +02:00
Caolán McNamara
871426533f just silence the auto_ptr deprecations in isolation 2011-09-22 15:01:05 +01:00
Caolán McNamara
f57baefbd3 add chaff to encrypted documents 2011-09-08 15:29:53 +01:00
Markus Mohrhard
0294fa0ea8 some more sal_Bool -> bool in sc/source/filter/xml 2011-08-28 22:48:05 +02:00
Marco Cecchetti
edb6e65cc9 Moved unointerfacetouniqueidentifiermapper.hxx under xmloff/inc/xmloff. The Package_inc.mk file has been modified in order to export the header under solver/*/*/inc/xmloff and the UnoInterfaceToUniqueIdentifierMapper class has been made visible from the outside by the XMLOFF_DLLPUBLIC macro. 2011-08-26 18:25:19 +02:00
Caolán McNamara
b3c8e4177d gsl_getSystemTextEncoding->osl_getThreadTextEncoding 2011-08-22 09:39:18 +01:00
Caolán McNamara
5298b1b32d callcatcher: ditch some more methods 2011-08-08 13:04:46 +01:00
Julien Nabet
5c82c9588e Revert a specific line. 2011-07-31 00:53:27 +02:00