03bb5d52fe
sc: initial png export
...
Change-Id: Iae0e89646eab794879529274f09839ad34aa4696
2015-10-20 18:12:23 +02:00
1ee1d113fd
svg export: left mouse click is working again
...
Change-Id: I5a80fe3eb55caa6e57c7842e5ac74cd1abb93f0b
Reviewed-on: https://gerrit.libreoffice.org/19471
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Jan Holesovsky <kendy@collabora.com >
2015-10-20 14:53:04 +00:00
56e6f0da83
new loplugin: badvectorinit
...
look for places calling the 1-argument vector fill constructor and then
immediately called push_back, which is generally a sign that its
leaving empty slots.
Change-Id: I34e69b8d09cc48c0d409499faaf192b9f86bc517
Reviewed-on: https://gerrit.libreoffice.org/17525
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com >
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com >
2015-10-20 11:35:31 +00:00
e07d58cd65
loplugin:defaultparams
...
Change-Id: If7a81c87ebc2e7f72498fbee025b0e98bc84ce60
2015-10-20 11:45:30 +02:00
9000094034
loplugin:defaultparams
...
Change-Id: I380dd94c8ea48ab6dc1be074d9a5801501e24c18
2015-10-19 17:50:01 +02:00
e4ad5ed583
Writer image export: cmd. line, default to white background
...
This commit fixes the writer image export (jpeg, png) that didn't
work because the export pixel size was set to 0 by default. Now
the default is set to document size (which depends on system DPI).
When exporting to a PNG the background was transparent, which may
not be desired. The background color is now by default white and
can be changed for DocumentToGraphicRenderer, but the dialog or
command line don't support such an option - for now.
Change-Id: I16ffd3cd60c47b52768f43ae4c4c170fc821033b
2015-10-19 14:26:58 +02:00
367105e024
cleanup some local var declarations
...
found with
git grep -nP '(\w+)\s+=\s+\g1\(' | lots-of-hand-filtering
Change-Id: I598b0cfa6607823eaef09d95e610e05145c727f7
2015-10-19 13:08:29 +02:00
e0769daf7b
lok svg export: Default to exporting all slides, use the interactive SVG.
...
The slides to export can be tweaked via a "PagePos" parameter.
Change-Id: I66f19521bd8f699710eefafb29f54036d7e604c3
2015-10-16 17:05:34 +02:00
2cb172582a
svg export: Some whitespace cleanup, fix typos.
...
Change-Id: I0de8b5229a83d2ed1ccecbd5608c94881b9baad3
2015-10-16 17:05:26 +02:00
8e7306604d
coverity#1326215 Dereference after null check
...
and
coverity#1326214 Dereference after null check
coverity#1326213 Dereference after null check
coverity#1326212 Dereference after null check
Change-Id: I0596ace920dd4134f1a55272fdc60c761fefac16
2015-10-14 10:59:42 +01:00
cd79d5caf6
Reduce scope of variable
...
Change-Id: Ifa8cf3fcb7b33ffb03ef89d2f88cf4ab8287e43f
2015-10-13 13:15:03 +02:00
b076bb1da6
Reduce scope of variable
...
Change-Id: Id55865a539c90ef7e1fa1a2da2cc614e71115e6c
2015-10-13 13:15:03 +02:00
6fc3c9a50d
clang-analyzer-deadcode.DeadStores
...
since 1cbec9cd986100de185f6dc10301a54f6604e6af "Resolves: #i119480# Fixed import
of curves from PPT"
Change-Id: I90107e4163503fd83676c4e104d1c7db08f12a18
2015-10-13 13:15:02 +02:00
f7e7403644
clang-analyzer-deadcode.DeadStores
...
Change-Id: I8082afe49a568b1cba9ce25dde9cad5e283244e4
2015-10-13 13:15:02 +02:00
7a169c11be
Read this MSO_Anchor value as a sal_uInt32 too
...
...for consistency with 0fad62c2178d6b8157b07ff30fe9e2fc8173d393
"-fsanitize=enum"
Change-Id: I96e2a791811b5f45735d2ccb0686bcc12fe9a5a2
2015-10-13 13:15:01 +02:00
1716b3a338
remove some useless comments
...
found with git grep '// /'
Change-Id: I948cf9ae61bbbf2ec706ca5b0572c4f27c58c745
2015-10-13 10:07:49 +02:00
d6f97a2124
inline typedef
...
Change-Id: I6ec88fbdb9bc0e86f4e53eb765eabd5382a25b88
2015-10-13 10:07:49 +02:00
b36963c0a6
Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code
...
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12 17:52:29 +02:00
3c99f8500f
convert Link<> to typed
...
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb
Reviewed-on: https://gerrit.libreoffice.org/19305
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2015-10-12 10:48:13 +00:00
ccc5ea08d6
cppcheck:variableScope
...
Change-Id: I037feb335499629300309851dcda3bb661f03d4f
Reviewed-on: https://gerrit.libreoffice.org/19316
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-10-12 06:52:56 +00:00
70049dbeb2
ignore orcus::sax::malformed_xml_error etc too
...
e.g. kde323651-1.pptx etc
Change-Id: I59319733902a0c1298094bc1541d763938334ad4
2015-10-11 21:43:18 +01:00
2db1e34472
fix gnumeric import
...
Change-Id: I65e4d4df9b75304096ec51e07f5985023ad3071c
2015-10-10 01:26:17 +02:00
a8f053697c
filter: convert OSL_FAIL to SAL_WARN
...
That literal %s was irritating.
Change-Id: I2925b26b1f3d1c101106ca616d18b24b41210c72
2015-10-09 18:03:48 +02:00
4855e780dc
full fill mostly fulfill
...
Change-Id: I9dc05c6eea33ede422f6a4c7b76a41c496f3ceca
2015-10-08 10:43:55 +01:00
6eaf556542
clang-analyzer-deadcode.DeadStores
...
Change-Id: Ic9d76c173d3948c973a96a97debccc771c2c9ede
2015-10-07 12:49:42 +02:00
54bb1410ee
clang-analyzer-deadcode.DeadStores
...
Change-Id: I028994045b13625e09589190e3cc259c49714e20
2015-10-07 12:49:41 +02:00
5ab441664a
clang-analyzer-deadcode.DeadStores
...
Change-Id: I4c9013fca76b213a725e39a47e61775caf5e8519
2015-10-07 12:49:41 +02:00
c399caebe3
Add Microsoft Write conversion
...
Change-Id: I528fd1e83c2cdd89fb13504beb9f86da9e02122d
Reviewed-on: https://gerrit.libreoffice.org/19182
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2015-10-06 14:01:48 +00:00
7e776c0027
loplugin:unusedmethods
...
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
2015-10-06 10:17:02 +02:00
56a5734b06
cppcheck: noExplicitConstructor
...
Change-Id: I80950aaf1385bd76b012eab7866fd16848751f45
2015-10-05 20:30:59 +01:00
ba65cb97bc
Fix typos
...
Change-Id: Icde566ef79dc4ed8cb67a89c743f0a6c1b3c8f14
2015-10-03 07:08:53 -05:00
de47a96d3e
Revert "vcl event filter"
...
that's just a local toy for now, didn't intended to push that
This reverts commit 4afbd0292e09d9850a3cd0d1f169c73c5a3296db.
Change-Id: I20b758d4582022ffda35c4aed7251948e721f821
2015-10-02 09:12:22 +01:00
4afbd0292e
vcl event filter
...
Change-Id: Ib10dccec244f3168f1ac4a892a09012adf38a839
2015-10-02 09:09:39 +01:00
19b85e90ab
Fix typos
...
Change-Id: Ib30f4e5f16518cbbe71cf03998513ebd8c2a4d1a
Reviewed-on: https://gerrit.libreoffice.org/18949
Reviewed-by: Oliver Specht <oliver.specht@cib.de >
Tested-by: Oliver Specht <oliver.specht@cib.de >
2015-10-02 07:55:15 +00:00
317e5b5065
loplugin:refcounting
...
Change-Id: If98d81e37ee939feec70db737fdbdb5f53b555c4
2015-10-01 17:18:40 +02:00
326c93feaa
coverity#1242658 Untrusted loop bound
...
Change-Id: Idc3b3ce1174537039ce613e2f84f857e94299faa
2015-10-01 14:41:34 +01:00
6480d68afc
coverity#735748 Unchecked dynamic_cast
...
Change-Id: Id15888f32996dd2ce05bed6942ebebdb8223a85b
2015-10-01 14:41:32 +01:00
2cea241cb5
add 602 format to fftester
...
Change-Id: I52055dc66ab2119dce6e3df3a34c25a822dea166
2015-10-01 14:05:26 +01:00
58aea3f36c
loplugin:unusedmethods
...
- improvements to the plugin to find more method calls
- improvements to python script to remove more false+
- fix the FORCE_COMPILE_ALL build flag to include code in
the $WORKDIR
Change-Id: I4d6015dcb9b9d60c26f0bcee8abad807177a7836
Reviewed-on: https://gerrit.libreoffice.org/19064
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-10-01 10:43:24 +00:00
bd8a4ae223
com::sun::star->css in filter/
...
Change-Id: I3a5e6a349c903259698118542b0000b0f119859e
2015-10-01 12:20:41 +02:00
e209d115d4
remove old standalone Sun bug numbers
...
Sun bug numbers without any accompanying text are completely useless.
Fixed with
git grep -lP '//\s*#\d+#\s*$'
| xargs perl -i -ne'/\/\/\s*#\d+#\s*$/d or print'
And then hand-checking the result to restore places where it deleted code.
And then some more grepping and hand-editing to kill the others.
Change-Id: Ia96ce4466db8bb8da363ebf41f0ae7f45f28bf29
Reviewed-on: https://gerrit.libreoffice.org/19023
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2015-10-01 06:57:19 +00:00
66343a8aeb
shared_array->unique_ptr<[]>
...
where we don't need to share the data
Change-Id: I0edc9d62186d96095ee67e3c93f5cf186dffcb71
2015-09-30 13:35:43 +01:00
ac9671f948
tdf#94559: second step to remove rtti.hxx
...
replaced use of PTR_CAST, IS_TYPE, ISA in
chart2, connectivity, editeng, extensions, filter, forms, framework, idl
Change-Id: I6a2f9d8bbccb07088413f7552af4b5af8f0cad99
Reviewed-on: https://gerrit.libreoffice.org/18920
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Oliver Specht <oliver.specht@cib.de >
2015-09-30 06:07:57 +00:00
c50eb68af3
Renamed wrongly prefixed boolean variables
...
Fixed tdf#94269
Change-Id: I63109cc4e095bad680d7637a065080ea368860ae
Reviewed-on: https://gerrit.libreoffice.org/18851
Reviewed-by: Michael Stahl <mstahl@redhat.com >
Tested-by: Michael Stahl <mstahl@redhat.com >
2015-09-29 18:33:40 +00:00
34180700b2
loplugin:removeunusedmethods, remove unused stuff
...
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-09-29 15:08:43 +02:00
e77981764a
filter: the placeware filter is not entitled to its own createTempFile
...
Change-Id: Id4f4c23eab4aaf4d0f42827a89ecf90364605d97
2015-09-29 14:57:42 +02:00
97a2ca5d68
coverity#1242658 Untrusted loop bound
...
Change-Id: I0a279e47a4d87f561f39d5a8ca65fa17e2bc4a65
2015-09-29 11:10:34 +01:00
e72e8c59fb
OOXML with VBA needs to be a different filter type
...
The filter type also contains the file format, so we need to use a
different type to keep the xlsm extension during export.
Now the only missing part is the warning that saving as the non-VBA
version will loose the VBA stream.
Change-Id: I11f78d2c33cb2834086a4e9fad141b3e374b8991
2015-09-27 07:38:47 +02:00
c6726bdbd2
make gnumeric xml a real LibreOffice filter format
...
Change-Id: I502f4610718b5c1914a54346c46d4f998c4d370f
2015-09-27 07:38:47 +02:00
c52982e741
better OOXML VBA export
...
Change-Id: If02aa26e974b0f16b45c5476234c6425fd128ae4
2015-09-25 06:43:05 +02:00