Commit Graph

131 Commits

Author SHA1 Message Date
40961d7bcd Remove visual noise from oox
Change-Id: Ie25838f20f00dc32d9d22959308c118cef688e94
Reviewed-on: https://gerrit.libreoffice.org/8288
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 09:37:22 -06:00
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
fb84710151 simplify - use OUString::startsWith where possible
Convert code like
   if( !aStr.isEmpty() && aStr[0] == 'x' )
to
   if( aStr.startsWith("x") )

Change-Id: Iabc3a44ed3be2d29eed876e0eeef212ccd271edf
2013-12-12 13:15:24 +02:00
24cad6a649 Move MediaDescriptor from comphelper to unotools
...so it will be able to use SvtSecurityOptions internally.

Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
2013-11-14 11:13:24 +01:00
99a1f38156 remove unnecessary sal_Unicode casts in OOX module
Change-Id: I2b9f26cb500a9e56f5860bd1b483ed284b84f50d
2013-11-14 08:17:31 +02:00
52be14b80d -Werror,-Wunused-const-variable
Change-Id: I4e0f9b935171b65b20a40c4dec8d769d202cf4b8
2013-10-02 16:49:37 +02:00
ec40dd8ec1 -Werror,-Wunused-const-variable
Change-Id: Ia8f7c1bbf18bbe3dbd84df5a05c450361b7c8578
2013-10-02 16:49:37 +02:00
64b993e046 finish deprecation of O(U)String::valueOf()
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.

Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-21 15:10:35 +02:00
fbd11a2a94 fixup nanosecond precision
Change-Id: Id62d3b994ece9cdf3b5f085e94f612cf62fc906b
2013-04-23 20:09:47 +02:00
3810c9cc78 fixup nanosecond precision
Change-Id: I9ab4c199632a5f5ad94dc01aa383e26f48bbf631
2013-04-23 19:28:19 +02:00
9830fd36db date/time IDL datatypes incompatible change
- nanosecond precision
 - signed (allowed negative) year

Also: assorted improvements / bugfixes in date/time handling code.
Some factorisation of copy/pasted code.

Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-18 21:34:46 +02:00
4c0c23af21 Simplify equalsIgnoreAsciiCaseAscii[L] calls
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19 11:32:20 +01:00
9be25f14bd avoid Wundef for various FIXME, FEATURE_NOT_DONE_YET and what not
Change-Id: I8e409ba63d32dca9a1c7f09d143165d1d702d642
2013-03-18 17:15:56 +01:00
fbd4588afd fdo#46808, convert io::TextOutputStream service to new-style
Change-Id: I12af47afc21c2b646197893a77698f4e0818f94f
2013-02-11 08:02:15 +02:00
63bcb139b9 Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de
Reviewed-on: https://gerrit.libreoffice.org/1784
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-21 15:04:17 +00:00
b08ded38b0 oox: kill no longer needed CREATE_OUSTRING 2013-01-04 16:11:57 +01:00
9a30ab1b99 rtl:: prefixes removal in oox
This commit removes some ::rtl:: prefixes and macros in oox

Change-Id: I8b24535775df85cc5bb87cc808afcd338ec52df6
Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1334
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-12-17 12:44:45 +00:00
78fc1e1b95 PCH for Library_oox 2012-12-13 21:49:59 +01:00
5837402fb1 fdo#46808, use service constructor for ucb::SimpleFileAccess
I upgraded the service to return XSimpleFileAccess3, since it
already implemented that interface, and it's backwards
compatible.

Change-Id: I40001a46048bd21a23b6a2f58a95376f06fc634b
2012-11-15 08:28:44 +01:00
65f2d5c9f7 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: Idea1fd2769c2431906d4898c0ec935f20bddc391
2012-08-31 09:04:16 +02:00
6aff971742 Bogus warning C4701: potentially uninitialized local variable
Change-Id: I51caaca911f71788940260bd63d3854526d7473f
2012-07-23 10:28:03 +02:00
6eeb0942c3 re-base on ALv2 code. Includes:
retain presence of MPL licensed nssrenam.h symbol renamer.
2012-07-17 11:51:17 +01:00
e5c28b86be Remove commented out code (includes)
Change-Id: I0a11d09544c10d78a2036a5c3c94132b17fbfbe8
2012-06-27 13:32:44 +02:00
b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
d08578912f fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
Update calls to factories to use new SimpleFileAccess::create method

Change-Id: Ie5b0696fe2228a9033b19969245a53c21a61aa14
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-06 10:01:22 +02:00
98bced0d35 oox: strict aliasing warning:
/oox/source/dump/dumperbase.cxx:345:69: error: dereferencing type-punned
pointer will break strict-aliasing rules [-Werror=strict-aliasing]
2012-05-08 11:31:51 +02:00
c797a11a4d callcatcher: remove freshly unused code 2012-04-25 11:58:26 +01:00
119b0a666d callcatcher: update list 2012-04-16 15:21:38 +01:00
b5dbfd61f0 callcatcher: update unused code 2012-04-16 15:21:35 +01:00
be3ee9c889 callcatcher: update unused code list 2012-04-12 09:46:23 +01:00
bb7d331ecd callcatcher: update list 2012-04-11 12:06:24 +01:00
aefbfc7101 callcatcher: update and remove newly unused methods 2012-04-07 15:54:16 +01:00
942acfd678 Some cleaning in oox::dump :
oox::dump::InputObjectBase
oox::dump::Output
2012-04-07 01:40:42 +02:00
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
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
07ff032c80 remove unused code (oox) 2012-04-05 13:01:22 +02:00
45e4f9e99b callcatcher: regenerate unused code list 2012-03-30 14:07:20 +01:00
4b7e6d6eab remove unused code (oox) 2012-03-29 20:33:22 +01:00
21ca084795 callcatcher: update list 2012-03-29 12:44:23 +01:00
8ae666c4fc remove left-over class stub 2012-03-28 16:45:16 +01:00
21628c6397 remove unused code (oox, sc) 2012-03-28 16:45:15 +01:00
16410cdcb9 remove unused code (oox, sc) 2012-03-27 16:52:46 +01:00
04919d8f9c remove unused code (oox, sc) 2012-03-20 13:48:12 +00:00
8ada1cd284 move excel related oox bits to sc 2012-03-16 12:31:01 +00:00
96cb767123 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-19 23:28:55 +09:00
0536df54d5 Remove unused code 2012-02-13 16:16:34 +00:00
6af59644d6 Fix for fdo43460 Part XXV getLength() to isEmpty()
Please find attached a partial fix for Easy Hack FDO43460

Part XXI
Module
oox
2012-01-02 19:17:17 +01:00
d31f1fa381 fix compilation with debug enabled 2011-10-05 17:42:02 +02:00
a1a205eda8 makeStringAndClear 2011-10-05 10:56:28 +01:00
e959581b2d Merge remote-tracking branch 'origin/integration/dev300_m106'
Conflicts:
	filter/source/graphicfilter/epict/epict.cxx
	filter/source/svg/svgexport.cxx
	filter/source/svg/svgfontexport.cxx
	filter/source/svg/svgwriter.cxx
	lotuswordpro/source/filter/lwpchartstreamtools.cxx
	lotuswordpro/source/filter/lwpfrib.cxx
	lotuswordpro/source/filter/lwpgrfobj.cxx
	lotuswordpro/source/filter/lwpidxmgr.cxx
	lotuswordpro/source/filter/lwpobjid.cxx
	lotuswordpro/source/filter/lwpparaproperty.cxx
	lotuswordpro/util/makefile.mk
	oox/prj/d.lst
	oox/source/drawingml/chart/chartdrawingfragment.cxx
	oox/source/drawingml/makefile.mk
	oox/source/drawingml/shape.cxx
	oox/source/ppt/slidepersist.cxx
	oox/source/token/namespaces.hxx.tail
	oox/source/xls/drawingfragment.cxx
	oox/source/xls/excelfilter.cxx
	oox/source/xls/makefile.mk
	oox/source/xls/workbookhelper.cxx
	writerfilter/source/ooxml/makefile.mk
	writerfilter/source/resourcemodel/makefile.mk
2011-05-27 20:45:30 +02:00