Commit Graph

874 Commits

Author SHA1 Message Date
Noel Grandin
f36861d4a3 Convert SV_DECL_PTRARR_SORT_DEL to boost::ptr_set 2012-04-18 15:30:04 +02:00
Noel Grandin
a1a6e8e285 Convert SV_DECL_PTRARR to std::vector 2012-04-18 15:30:04 +02:00
Szabolcs Dezsi
e4fb171d3a Replaced a few equal calls with == 2012-04-08 19:24:00 +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
Szabolcs Dezsi
8a01ee6243 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 14:30:05 +02:00
Takeshi Abe
643a582793 removed duplicate #includes
in vbahelper / writerfilter / writerperfect / xmlhelp / xmloff / xmlscript / xmlsecurity
2012-04-04 01:39:08 +09:00
Santiago Martinez
c576a5c483 Remove unused code in xmloff. 2012-03-26 14:59:36 +01:00
Caolán McNamara
260ed4ed03 map of kind+name -> new-name 2012-03-20 12:57:33 +00:00
Julien Nabet
9032c7f63e Some cppcheck cleaning 2012-03-18 17:55:24 +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
Szabolcs Dezsi
2b179ca174 Removed unused code 2012-02-27 11:23:51 +00:00
Stephan Bergmann
b87201e158 Some configmgr usage clean up 2012-02-07 09:06:25 +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
4228c5542b Fix for fdo43460 Part XLVII getLength() to isEmpty()
Part XLVII
Modules
xmloff (part 1)
2012-01-25 19:30:07 -02: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
Marcel Metz
d2c8003ecb Replaced SAL_INFO with SAL_WARN were applicable. 2012-01-17 23:27:44 +01:00
Marcel Metz
a18123fb97 Replaced DBG_ERRORFILE with SAL_INFO. 2012-01-16 12:51:33 +01: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
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
Fridrich Štrba
dc0f9dab10 The ODG should have office:drawing after office:body, not office:graphics 2011-12-05 11:15:35 +01:00
Eike Rathke
7613359985 handle dates with year < 1000
* Read dates with years consisting of less than 4 digits.
  ISO 8601 specifies that years are to be written with a minimum of 4 digits.
  However, be lenient in what we accept.
* Write years < 1000 with leading zeros to comply with ISO 8601 YYYY.
2011-11-30 02:05:25 +01:00
Radek Doulik
7bf1fa3757 switch source and target units, so that it works right with sax conversions 2011-11-28 18:25:54 +01:00
Norbert Thiebaud
2f27c67db3 remove include of pch header from xmloff 2011-11-27 13:27:50 -06:00
Kohei Yoshida
1e39e93af9 Added handler to handle the new <table:filter-set-item> elements.
The export is working, while the import part is still in progress.
2011-11-18 14:13:21 -05:00
Stephan Bergmann
b11bd0323e Removed comphelper -> unotools processfactory.hxx duplication. 2011-11-14 11:50:26 +01:00
Caolán McNamara
58692c30e3 callcatcher: remove unused methods 2011-11-10 09:28:40 +00:00
Caolán McNamara
56d5a48099 callcatcher: drop unused methods 2011-11-03 12:18:17 +00:00
Michael Stahl
30e1eaabc4 #i108468#: clean up xmluconv: add a pImpl to SvXMLUnitConverter 2011-10-11 17:57:01 +02: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
af6980b1c7 make xmloff ByteString free 2011-10-10 08:51:14 +01:00
Matúš Kukan
1fe85161e4 callcatcher: comphelper's unused code 2011-10-03 16:11:11 +02:00
Tor Lillqvist
42fe8b9f11 WaE: Mark SvXMLExport_Impl and SvXMLImport_Impl as SAL_DLLPRIVATE
Fixes warnings: 'SvXML*_Impl' declared with greater visibility than
the type of its field 'SvXMLExport_Impl::mpRDFaHelper'.
2011-09-29 10:52:54 +03:00
Stephan Bergmann
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
Tor Lillqvist
226a5ddda1 WaE: control reaches end of non-void function 2011-09-26 21:35:20 +03:00
Regina Henschel
3e5edf6ca9 Add missing chart data point ODF1.2 standard symbols 2011-09-20 12:14:13 -04:00
Caolán McNamara
98ae11bcd4 pointless foo 2011-09-14 09:54:09 +01:00
Caolán McNamara
f57baefbd3 add chaff to encrypted documents 2011-09-08 15:29:53 +01: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
Michael Meeks
74881f6a87 export the source storage to import filter, to mirror TargetStorage for export 2011-08-26 17:20:39 +01:00
Caolán McNamara
0a9fa3d840 ditch some junk 2011-08-16 09:04:08 +01:00
Nigel Hawkins
40283f019e Replace SvArray stuff with vector in xmloff/xmlcnimp.hxx and refactor
LGPLv3+/MPL1.1
2011-08-11 22:18:38 +01:00