ad07270f80
warning C4189: local variable is initialized but not referenced
...
Change-Id: Idc096dd366284503b397a51e708647d026b64eb0
2014-08-13 10:10:40 +02:00
23c5a5362b
remove some unused headers from svgfilter.hxx
...
Change-Id: Ide1319b0b3504f8084d2dfb999b5ece35b95be8f
2014-07-24 00:34:49 +02:00
cd3d26b7ed
vcl consitent use of long for corrdinate
...
most of length in vcl are calculated in 'long'
but array of X position tend to be in sal_Int32.
As a prep work to be able to support 'double'
as the base type of Device Coordinate, harmonize
the use of 'long' for non-float coordinate.
Change-Id: I7cb33301ff6a5e2c62247b36a4e07e168a58a323
2014-07-20 22:10:59 +02:00
e110726bab
don't terminate via unhandled exception on loading rhbz1013280-2.ppt
...
Change-Id: Ie2bff125f6839d99280d441b823eb6e0a712844d
2014-07-07 15:44:00 +01:00
1a0b8d8e6c
Resolves: #i124825# secure usage of object ID...
...
in preparation of names for line start/end geometry
(cherry picked from commit 246d1ce469c155b81743cb6eaa065da2b19d7dcc)
Conflicts:
filter/source/svg/svgwriter.cxx
Change-Id: I1a267b33f87cbb935c783670a51853832d483b1a
2014-07-04 16:17:07 +01:00
4ff115b3e7
drop UniReference in favour of rtl::Reference
...
since they're doing the same thing.
Change-Id: I76134b6b848db8628f315fe5bd9eb972a6bf0cb6
2014-07-02 15:23:52 +02:00
e50ef195bc
New loplugin:stringconcat
...
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
2014-07-01 15:45:52 +02:00
533c6cb6ba
fixes for up-casting to Reference<XInterface>
...
Fix regressions introduced with
6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 "Use the new type-checking
Reference constructor to reduce code noise"
Change-Id: I85662856f21c810a7db497fe3b0e116f075b1687
Signed-off-by: Stephan Bergmann <sbergman@redhat.com >
2014-06-25 17:10:43 +02:00
f162b156b0
coverity#736036 Missing break in switch
...
someone's odd ": ;" habit
Change-Id: I4a3e3b89bb31764056c844286561e31ae4621036
2014-06-17 10:58:00 +01:00
3e82897353
improve the inlinesimplememberfunctions clang plugin
...
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
dfb908c07b
loplugin:staticcall
...
Change-Id: I447500c4695b45afe86a8b8d6b6294507f58cd3f
2014-06-13 17:54:26 +02:00
8778b5b37e
fdo#79078 restore transparency in SVG export
...
Change-Id: I5bdf6c3b313a73126cb692e5101836f424a2fc08
2014-05-23 01:11:07 +02:00
47169087c1
Remove unnecessary GZCodec derivation
...
Change-Id: Id710a1fe4a3c1593add69bb2a7014d26f9499e87
2014-05-21 15:30:16 +02:00
7249ba6877
remove external header guards
...
that's the problem with those: none of them was actually defined...
Change-Id: I496140e43cf8ff8a5712394023d98516aaf21adc
2014-05-14 18:12:57 +02:00
c91e07e45b
coverity#707858 Uninitialized scalar field
...
Change-Id: I098842dcf6bbee41d3ef9d2b17bcb94e2cc65bf6
2014-04-23 14:28:06 +01:00
d83dfeb5e5
filter: sal_Bool->bool
...
Change-Id: Icf20f23cb46ad3cb147d8c6a743f1d25a23fbca5
2014-04-22 09:56:06 +02:00
52494aad92
Clean up function declarations and some unused functions
...
Change-Id: I68b488d45c77ebf82029bfede98dca2400e02f2f
2014-04-14 12:25:30 +02:00
4e939b9599
Avoid possible memory leaks in case of exceptions
...
Change-Id: I4f1e00dd275976cdba8490f35ccbb491914829b7
2014-04-12 01:34:45 +09:00
f864c09a9d
Resolves: i124608 when exporting selection...
...
use selection boundrect as svg canvas
(cherry picked from commit bfc1aa46b9ee9ad37728389eb636fc9fb5b9827f)
Conflicts:
filter/source/svg/svgexport.cxx
filter/source/svg/svgfilter.cxx
filter/source/svg/svgfilter.hxx
Change-Id: Ib10e785ebb611f0e33ea3ae799dfea20b05d250a
2014-04-11 10:18:48 +01:00
09eacfbd91
loplugin:implicitboolconversion
...
Change-Id: I82ec1212b29d1e5b0e56e81952fb1b514b5798d0
2014-04-08 21:39:07 +02:00
de37aa18fa
Resolves: #i124608# functionality to export only selected objects...
...
in SVG export
(cherry picked from commit 42c2b0cecfae5845439e0392a399497062238b15)
Conflicts:
filter/source/svg/svgexport.cxx
filter/source/svg/svgfilter.cxx
filter/source/svg/svgfilter.hxx
Change-Id: Iac4fe6d93c95cc5ab25185245cf642703a02d0ed
2014-04-08 15:22:00 +01:00
362d4f0cd4
Explicitly mark overriding destructors as "virtual"
...
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."
Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01 19:22:54 +02:00
6ac6fb820f
xmloff: sal_Bool->bool
...
Change-Id: I64c33ae4c157e270acac9a1f820d3e6272ba0bea
2014-03-31 12:39:02 +02:00
567ef6d578
Second batch of adding SAL_OVERRIDE to overriding function declarations
...
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
d593f45886
filter,formula: prefer passing OUString by reference
...
Change-Id: I332f1a593853283b72ecf4dfd82b36cc091661b4
2014-03-17 09:00:07 +02:00
ee2befb862
filter: simplify deprecated XTypeProvider.getImplementationId
...
Change-Id: I56739de05cacebe93983bd27fcaa1ec7f27b5fa8
2014-03-10 17:39:55 +01:00
fc225f32d9
coverity#707857 Uninitialized scalar field
...
Change-Id: I5ac6a1807f1c7f9041b768c96e5f2ffdc3a07a86
2014-03-10 16:17:55 +00:00
5cab4411c9
warning C4310: cast truncates constant value
...
Change-Id: Id5535ec71c47ad29283607d1d1b9f3a502e34fe1
2014-03-04 16:03:47 +01:00
20b8944cd4
Remove SAL_CALL from isStreamSvg & isStreamGZip
...
Change-Id: Iec2954634cba674715029484917487ab1dac6439
2014-03-03 01:02:57 +01:00
4f7aa27c62
fdo#75487 Add support for svgz to SvgFilter and co.
...
Draw can open a svg file directly as a "document" not only as a
picture (which is handled by "graphicfilter" in vcl). This commit
adds support to also open svgz files by decompressing the stream
first.
Change-Id: I241e695076b380735dc9b9fc27f5416fff68f6ab
2014-03-02 22:12:07 +01:00
37021dfb3f
fdo#72448 fix gradient color/transparency pos. in SVG export
...
Change-Id: If65ffb9ac71eda95d8b5c4b35fd5828795b0469a
2014-03-02 12:25:37 +01:00
aeaded675c
Remove visual noise from filter
...
Change-Id: Ieab1d12204bcf917b2e1bf74f3145fc96d7b207c
Reviewed-on: https://gerrit.libreoffice.org/8261
Tested-by: Caolán McNamara <caolanm@redhat.com >
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
2014-02-27 06:10:36 -06:00
5e21a413c7
cppuhelper: retrofit std::exception into overriding exception specs
...
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
a53577e6ff
Replace deprecated std::auto_ptr with boost::scoped_ptr
...
Change-Id: I55292f5f0049e7c77d5bb0e5ef5fa187b815d159
2014-02-24 10:20:51 +09: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
2fdde893a7
coverity#738648 unused mbLinearBoundingBoxUnits
...
Change-Id: I25f6d4a4ed5e6d7c295c0a63b50de6540e960257
2014-02-21 12:40:27 +00:00
c240312721
coverity#738649 Uninitialized scalar field
...
Change-Id: I2725db20159c92b7cc1b06cd3f2902803bf8d376
2014-02-21 12:40:27 +00:00
e8f8f24c84
vcl: sal_Bool -> bool
...
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
a18a1a4545
Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
...
Added vcl/settings.hxx to all cxx files which require it.
This helps to speed up compilation after changes to the settings.
Conflicts:
sc/source/ui/dbgui/pvlaydlg.cxx
Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4
Reviewed-on: https://gerrit.libreoffice.org/7933
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-20 16:22:17 +00:00
2fe74d5685
coverity#984092 Uninitialized scalar field
...
Change-Id: I7411e5d53d2dd83eb36d94914a76d5f0370ee978
2014-02-18 15:18:06 +00:00
6891ed6728
coverity#984093 Uninitialized scalar field
...
Change-Id: I60233fdc8d03e2d0dae03eaa8f3ef47ad8bdf43e
2014-02-18 02:55:13 -06:00
f44024d1a0
sal_Bool->bool
...
Change-Id: Iadc9f9ef444fe36d58304c2d6219021173385118
2014-02-14 14:15:15 +02:00
8ad55179ea
Use string literal directly.
...
Change-Id: Ie5841f23c0056f9b9b306e65278f43f415d079b5
2014-02-13 20:43:40 +01:00
1b2333d1be
fdo#74218 add SVG header when exporting via mtf
...
Change-Id: Ia200fbf73c1464160ceddc705f72d77b5f1eff51
2014-02-13 20:24:19 +01:00
6bfb8f4571
cid#736039 missing break in switch
...
Change-Id: Icb3379a0f1019f7dea7eeda68a1987486d9b6456
2014-02-12 10:06:06 +02:00
5d38824834
cid#736038 missing break in switch
...
Change-Id: Icca673a955441da87921e530c4bfe6c8f0e79723
2014-02-12 08:59:09 +02:00
d99b187fb7
coverity#705173 missing break in switch
...
actually just some extra semi-colons
Change-Id: I859b03c98b3ccbb0320a85ed8ca7894ca51c36d6
2014-02-12 08:59:04 +02:00
186b4ebc99
convert specialised SvStream::operator>> methods to ReadXXX methods
...
as preparation for converting the SvStream::operator>> methods on
primitive types
Change-Id: I62f134bced15c687d6e0d46924f56e8d1c3d95b9
Reviewed-on: https://gerrit.libreoffice.org/7798
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Michael Stahl <mstahl@redhat.com >
2014-02-04 22:50:39 +00:00
ea2c7385fa
cppcheck: redundantAssignment
...
Change-Id: Iaa022b904fbde66ef65364cb675386057619455d
2014-02-01 21:56:14 +01:00
31911b3cdc
Consolidate XServiceInfo for classes derived from SvXMLExport
...
Change-Id: Ia3e2b5e682a64844bb6c713912c50c7681393d52
2014-01-08 14:11:58 +01:00