5e21a413c7
cppuhelper: retrofit std::exception into overriding exception specs
...
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
e23ea87cb3
Remove visual noise from xmloff
...
Change-Id: I205d4e555f5b88654a90007eb7ac05bc7b00a904
Reviewed-on: https://gerrit.libreoffice.org/8346
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-26 04:32:34 -06:00
b7259532d8
Remove unnecessary bool2any
...
Change-Id: Ie2caee1d5a7912011d76172539c2f8f37eaee5cf
2014-02-24 08:08:00 +01: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
05f742d28b
comphelper: sal_Bool -> bool
...
Change-Id: I6fc331ae0706f4bb193543011c8d4ae0a385fcc0
2014-02-17 17:55:19 +01:00
8b34d05cb1
sal_Bool->bool
...
Change-Id: Iab0165ef642dfee5bd315fc1f42f4bad8e86aa47
2014-02-14 14:15:15 +02:00
fd3c9e16e1
sal_Bool->bool
...
Change-Id: Ia453c7868e030e3f10a7f69c1e2d28244758fdef
2014-02-14 14:15:14 +02:00
a9cb2af8c2
cid#705344 missing break in switch
...
Change-Id: I734d4ed0dbb7b1cdf7640b76d88ea1ff2d19da4c
2014-02-12 08:59:08 +02:00
503b719173
fdo#73281: Why!?
...
This restriction makes absolutely no sense. It was likely someone's
temporarily hack that was totally forgotten in the past 10 years...
Not to mention removing this fixes my bug.
Change-Id: I7394cccdc9fe486fda6cdd9b7eaf98fd291895a9
2014-02-07 21:55:51 -05:00
72b2fafebf
Remove this duplicate and use the UNO constant values instead.
...
Change-Id: Id81aacc6c594ad25d97f6f6dc578ed9ca16549ab
2014-02-02 18:24:46 -05:00
fa189d7447
bool improvements
...
Change-Id: I238ab0ebe54cc804c85356a3de9fbdcc396057d3
2014-01-28 20:26:18 +01:00
0df3ba835d
coverity#736746 Resource leak
...
Change-Id: I01fc15563b57560fd503f66abf2e2fc07301feb7
2014-01-24 14:02:00 +00:00
b663316e83
Resolves: fdo#73355 reconcile legacy path bug detection
...
reconcile
"223f6b631c1b087754c0f9051fb55f029f2503ce
Resolves: #i123433# Detect pseudo-vertices at svg import..."
with
"7a19798c73fd39d8d69ff6364f0696e68cdd1381"
Compatibility option for incorrect relative moves after closePath (fdo#47406)
and
"a2ee8055e9c136923f0244fe289cac6377933c31"
Fix fdo#47406 incorrect relative moves after closePath
Change-Id: I1221099a40500aeb4165a3350d8ae2df1fd3111b
2014-01-24 12:56:09 +00:00
77637324ab
warning C4805: '|=' : unsafe mix of type 'bool' and type 'sal_Bool'
...
Change-Id: I9a23865f7b1cf9d88f5b4f754b15e95554da3fda
2014-01-22 17:15:11 +01:00
bbd9668d5f
bool improvements (related to mixing bool/sal_Bool in &=, |=, ^=)
...
Change-Id: I9869d9709f28b68ef7b518527175589d80644668
2014-01-22 15:00:54 +01:00
9f76437548
Removed unused solar.h reference
...
Change-Id: I1ff7d4bad068a8bc8cdc7f27dbfaee199d0f2e5f
Reviewed-on: https://gerrit.libreoffice.org/7513
Reviewed-by: Michael Stahl <mstahl@redhat.com >
Tested-by: Michael Stahl <mstahl@redhat.com >
2014-01-20 21:32:27 +00:00
0c9d002ecd
bool improvements
...
Change-Id: I42127c096aa4310e3c8b6c9b6487b4de63e7ac9a
2014-01-14 21:28:09 +01:00
82625bb98e
remove unnecessary sal_Unicode casts in OUStringBuffer::append calls
...
Convert code like:
buf.append( static_cast<sal_Unicode>('!') );
to:
buf.append( '!' );
Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2014-01-07 09:43:37 +02:00
06824ff1de
cppcheck: const_cast instead of C cast
...
Change-Id: I9b4a01364ff8b8c82fec687ab0cbd73952b3e237
2014-01-04 12:46:59 +01:00
b55259eeb5
typo fixes
...
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01:00
ebc1b2fe50
added bool bForExport parameter to XMLPropertySetMapper ctor
...
Set to true for export, false for import. If export true, an
XMLPropertyMapEntry with mbImportOnly==true is not added to the
mappings. This to be able to have more than one mappings for import
(for example a current extension namespace and the future namespace
proposed to the ODF-TC, or corrected typos in element or attribute
names), but map only to one entry on export, of course.
Change-Id: Ia01ea949c88eda2f8a6c10f51c59e35e7abdcaf3
2013-12-20 03:26:57 +01:00
9dd7ee88bd
prepared XMLPropertyMapEntry with mbImportOnly flag
...
Change-Id: Id5a54a591a42c836884af1fd09dc055f2fce6db5
2013-12-20 03:26:56 +01:00
dd902b8e25
reordered member variables for 4 byte alignment
...
Change-Id: Iaae7689d1ed3c74e261fcc90fa88b5521468e376
2013-12-20 03:26:53 +01:00
22355042a6
fdo#72452: ODF import/export: fix handling of style:page-number
...
Class XMLNumberWithAutoInsteadZeroPropHdl (which appears to be used only
for this attribute) needs to be adapted to the change that
"PageNumberOffset" value 0 is no longer invalid; use "void" value for
invalid instead, which appears more appropriate anyway.
Unfortunately the type of style:page-number is positiveInteger so
writing 0 would be invalid; write "auto" instead for now.
Change-Id: I9621ea201fd928087b863c562607c3d77a3b0269
2013-12-18 00:12:09 +01:00
ed22381566
Drop duplicate #include
...
Change-Id: I63612bc5bd4e13fcc5c4e57ac73bd9c7bbf4f0e6
2013-12-13 12:52:20 +09:00
9f87de91ce
resolved fdo#72537 write <loext:fill-character>
...
... instead of <number:fill-character> but read both.
Change-Id: Ia620fad575782f6174a9ee5fbbd8b396b21948e3
2013-12-09 21:28:45 +01:00
b0926378ac
Clean up includes of comphelper/stl_types.hxx
...
Change-Id: I00a8e794189d17ad91a90beb9ce6cb89b7bab2aa
2013-12-06 17:56:11 +01:00
895e6e7bb7
Get rid of comphelper::UStringLess
...
...default std::less<OUString> is just fine.
Change-Id: Ib9d3c10f2817d757f3c19eb3d4607095883af91a
2013-12-05 18:36:22 +01:00
d9a5a84e6d
typo: intarnal -> internal
...
Change-Id: Ib7803de02d41440668b1e7410dfe0fa40ca2a536
2013-12-02 19:56:46 +01:00
610b2b94b3
remove unnecessary use of OUString constructor when assigning
...
change code like
aStr = OUString("xxxx");
to
aStr = "xxxx";
Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19 10:29:31 +02:00
ab5d1fbfb4
SAL_WARN_UNUSED com::sun: ⭐ :uno::Any
...
Change-Id: I9058044d13f696e07667dce706f6c311af6dbea0
2013-11-14 21:02:40 +01:00
99bd37faa5
-Werror,-Wunused-member-function
...
Change-Id: Ibfc721a819c044b5e6ec06e5bbad694662fe9e3f
2013-11-14 10:15:00 +01:00
39c8da8c86
remove unnecessary sal_Unicode casts in XMLOFF module
...
Change-Id: I836c7a28d5ec9039c0b185e8db2aa6d01ac62566
Reviewed-on: https://gerrit.libreoffice.org/6665
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2013-11-14 06:16:12 +00:00
46b934679a
clear c++11ish
...
Change-Id: I4eea774206a5bd1de1c10a69aceb6476c5feecbf
2013-11-13 15:48:04 +00:00
5ce50b8d17
Respect svg:font-face-format element.
...
Call libeot to parse font if value "embedded-opentype" is found.
Change-Id: I03a072fd4db47d151a3934e959ad17c1e24fcf09
Reviewed-on: https://gerrit.libreoffice.org/6144
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2013-11-13 14:37:53 +00:00
21123da759
xmloff: include <> for external includes
...
Change-Id: Ic92d0121e928041bcff00b12706f794a4d8e25c8
2013-11-11 22:37:28 -06:00
fcd1637d51
convert OUString compareToAscii == 0 to equalsAscii
...
Convert code like
aStr.compareToAscii("XXX") == 0
to
aStr.equalsAscii("XXX")
which is both easier to read and faster.
Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
2013-11-11 12:58:13 +02:00
0a9ef5a18e
convert OUString 0==compareToAscii to equalsAscii
...
Convert code like:
0 == aStr.compareToAscii("XXX")
to
aStr.equalsAscii("XXX")
which is both clearer and faster.
Change-Id: I2e906d7d38494db38eb292702fadb781b1251e07
2013-11-11 12:58:12 +02:00
e52779d2f8
remove unnecessary use of OUString constructor
...
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-11 11:21:26 +02:00
c87a8fc648
remove unnecessary use of OUString constructor in XMLOFF module
...
Change-Id: I3bb704d2b1063cd8c2c903cbfa237a7723c321d2
2013-11-07 13:22:56 +02:00
f8f0f18d71
check for empty string
...
as demonstrated by kde246118-4.odp
Change-Id: Idf1224555e0d7be9a679862da9ff256cf7a4d128
2013-11-06 15:16:38 +00:00
223f6b631c
Resolves: #i123433# Detect pseudo-vertices at svg import...
...
unify svg:d handling, correct svg:d import for relative sub-polygons in svg
import; changed default for moveto writes for svg:d in ODF to absolute
(cherry picked from commit f15874d8f976f3874bdbcb53429eeefa65c28841)
Conflicts:
basegfx/inc/basegfx/polygon/b2dpolygontools.hxx
basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx
basegfx/inc/basegfx/polygon/b3dpolypolygontools.hxx
basegfx/source/polygon/b2dpolypolygontools.cxx
basegfx/source/polygon/b2dsvgpolypolygon.cxx
basegfx/source/polygon/b3dpolypolygontools.cxx
basegfx/source/tools/makefile.mk
basegfx/test/boxclipper.cxx
basegfx/test/clipstate.cxx
basegfx/test/genericclipper.cxx
canvas/source/tools/surfaceproxy.cxx
sdext/source/pdfimport/tree/drawtreevisiting.cxx
sdext/source/pdfimport/tree/writertreevisiting.cxx
xmloff/inc/xexptran.hxx
xmloff/source/draw/XMLImageMapContext.cxx
xmloff/source/draw/XMLImageMapExport.cxx
xmloff/source/draw/shapeexport2.cxx
xmloff/source/draw/shapeexport3.cxx
xmloff/source/draw/xexptran.cxx
xmloff/source/draw/ximp3dobject.cxx
xmloff/source/draw/ximpshap.cxx
xmloff/source/style/MarkerStyle.cxx
xmloff/source/text/XMLTextFrameContext.cxx
xmloff/source/text/txtparae.cxx
Change-Id: I5171b4a3559ea116bea45152e1f2685666463635
2013-10-31 15:56:14 +00:00
a45953ed7c
fixincludeguards.sh: xmloff
...
Change-Id: I0e7d9daac1ad88fad8d240373e91ef323966bb47
2013-10-23 23:22:32 +02:00
8396cce9b5
clean up places accessing the NULL at the of an OUString
...
There were only a couple of real bugs fixed, but we're a little
bit safer now.
This also fixes the assert and the comment in OUString::operator[]
about this.
Change-Id: Ibe16b5794e0ba7ecd345fa0801586d25b015974c
2013-10-23 13:12:55 +02:00
a7724966ab
Bin comments that claim to say why some header is included
...
They are practically always useless, often misleading or obsolete.
Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22 16:56:28 +03:00
ce69f5d2ce
Test _WIN32 instead of UNX as it's Windows that is the more specific case
...
Change-Id: Ifa5b522603a0ea592d873ae79b266091163e993f
2013-10-13 14:08:45 +03:00
d22ee5be41
sal_Bool to bool
...
Change-Id: I3db66690f9eaa809bcbf2257804d319aaec0f975
2013-10-13 02:35:48 +09:00
57d8250a96
std::vector elements are default-initialized in constructor
...
Change-Id: I593c6c3236172f33b3e58fb44a41e079c3c8b0c4
2013-10-01 08:20:59 +02:00
ab31465944
fix Mac OSX build
2013-10-01 02:43:55 +02:00
d74ca89ae8
Include <algorithm> for std::sort()
...
Hopefully helps a Gentoo tinderbox.
Change-Id: I2e83b867113ba04a708c9fbb46c728368c4328c0
2013-09-30 20:00:30 +03:00