Ivan Timofeev
9c323a4bbe
fix windows build
2012-04-11 22:18:22 +04:00
Rafael Dominguez
f1c9be8706
Export chart X,Y errorbars.
...
- Remove using older properties to get errorbars data.
- Only export X errorbars when using ODF VERSION >= 1.2.
- Use the dimension attribute to set errorbar direction.
2012-04-11 17:55:41 +02:00
Rafael Dominguez
181a7d7512
Move exporting chart errorbars code to its own method.
2012-04-11 17:55:41 +02:00
Brennan Vincent
7a1c5e54af
Partial fix for bug 30711
2012-04-10 14:32:27 +02:00
Jan Holesovsky
1ae4c87367
char[] -> const char[].
2012-04-10 12:46:54 +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
Szabolcs Dezsi
f770c5d6bc
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
...
Pattern used:
find . -name "*.cxx" -exec sed -i 's/\( *\)return \([^()]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *);/\1return \2 == \3;/' \{\} \;
2012-04-06 12:48:32 +02:00
Caolán McNamara
53600134ec
no use is made of FmFormObj::m_nType
2012-04-05 13:59:06 +01:00
Caolán McNamara
5688b51bcb
UniString::CreateFromInt32 -> rtl::OUString::valueOf
2012-04-05 13:59:05 +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
b26df89e6c
callcatcher: remove some unused code
2012-04-02 14:53:47 +01:00
Caolán McNamara
1889728897
remove static OUStrings from static_initialization_and_destruction chain
2012-03-30 14:07:20 +01:00
Santiago Martinez
c576a5c483
Remove unused code in xmloff.
2012-03-26 14:59:36 +01:00
Caolán McNamara
8a539e49c4
ditch some UniStrings and intermediate temporaries
2012-03-26 12:18:08 +01:00
Fridrich Štrba
7a19798c73
Compatibility option for incorrect relative moves after closePath (fdo#47406)
2012-03-26 12:55:59 +02:00
Thorsten Behrens
a2ee8055e9
Fix fdo#47406 incorrect relative moves after closePath
...
I missed the fact that odf export still uses the old exporter in
xmloff/source/draw/xexptran.cxx, which was not fixed wrt. the update
of current position in basegfx/source/polygon/b2dsvgpolypolygon.cxx
2012-03-26 12:15:32 +02:00
Michael Stahl
9429bbb0c4
.component files don't need executable bits
2012-03-23 21:58:14 +01:00
Tor Lillqvist
2a1171929e
chmod -x
2012-03-21 13:00:45 +02:00
Caolán McNamara
260ed4ed03
map of kind+name -> new-name
2012-03-20 12:57:33 +00:00
Julien Nabet
b1b4f699fc
Prefer prefix ++/-- operators for non-primitive types
2012-03-18 17:58:35 +01:00
Julien Nabet
9032c7f63e
Some cppcheck cleaning
2012-03-18 17:55:24 +01:00
Stephan Bergmann
6e67c03dc0
Enable -Wnon-virtual-dtor for GCC 4.6
...
...which has the necessary features to support it.
Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.
cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.
Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +01:00
Miklos Vajna
9f4bb5bd4f
xmloff: implement contextual spacing import/export
2012-03-12 18:42:34 +01:00
Caolán McNamara
e939c272a0
remove unused VisAreaContext.[c|h]xx
2012-03-12 11:43:50 +00:00
Stephan Bergmann
c361ef8650
Compiler-generated code is just fine
...
...now that member is Sequence instead of pointer to Sequence.
2012-03-08 20:40:00 +01:00
Caolán McNamara
bbc6d8506d
remove various unused methods and source files
2012-03-07 11:06:45 +00:00
Markus Mohrhard
8f2d3c47ad
don't create uno::Sequence with new, fdo#46825
...
The uno::Sequence copy c'tor creates a flat copy and increments the ref
count. So if you use new and later delete together with the copy
constructor you get a double delete.
2012-03-03 00:58:38 +01:00
Markus Mohrhard
5e8628e45c
make this variable const
...
there are some lifetime problems related to SchXMLCell and therefore
this helps to limit the scope of possible problems
2012-03-03 00:58:38 +01:00
Szabolcs Dezsi
2b179ca174
Removed unused code
2012-02-27 11:23:51 +00:00
Thomas Arnhold
a3fccd27de
unusedcode.easy: remove unused code
2012-02-24 05:33:53 +01:00
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