Commit Graph

331 Commits

Author SHA1 Message Date
83991055ee can actually manage to ask createStream for missing streams
writerperfect::(anonymous namespace)::OLEStorageImpl::createStream(rtl::OUString const&) (WPXSvInputStream.cxx:260)
writerperfect::WPXSvInputStreamImpl::getSubStreamByName(char const*) (WPXSvInputStream.cxx:201)
MWAWInputStream::unzipStream()
MWAWInputStream::MWAWInputStream

valgrind + bff

Change-Id: Iaecb8b7f05ed4369ddd37b34166dc3c3388ffb4d
2014-08-19 09:01:09 +01:00
7de2366a97 use consistent style for writerperfect
Change-Id: I47089586094b58c39a128e44e2671d69c2d50177
2014-08-15 09:03:51 +02:00
46f52010e0 fdo#81787 attrs are already XML-encoded by libodfgen
Change-Id: Icee62e1ec9cee71930bcd52dbab850396fc96efa
2014-08-13 10:06:44 +02:00
8b518739e4 make keynote detection a bit more robust
Change-Id: I947bc5867a6b61a923d47cad48d04ab5fc2769c9
2014-07-16 15:32:07 +02:00
c10390a681 fdo#81113 always run the actual detection
The old code only run detection if an UCBContent property was passed.
That means that any time the function got only InputStream, it claimed
that it was a Keynote presentation.

Change-Id: I377828229e7e95384257bde247612d7768307581
2014-07-16 15:32:07 +02:00
516fb340b1 integrate libpagemaker
Change-Id: I077d7c9a41793abdf5f001386f44ac407f94a6d3
2014-06-27 10:39:29 +02:00
f18548eb68 oops, libwpd -> librevenge
Change-Id: I17562f0231d54ba46d009f3270af1d5e729f40a9
2014-06-07 19:04:09 +02:00
ea2537d5ea Fix memory leak
Change-Id: I74001eb033abd7ceb10da60ea707f876d9f22c08
2014-06-05 18:32:31 +02:00
72d7d1f33b ensure writerperfect::DirectoryStream only works for dirs
Change-Id: I588d295d72a600710324ee936d0c2291872c1d73
2014-06-04 15:48:39 +02:00
31ba2cb2fc add convenience functions to handle dirs
Change-Id: I81c94565e09e0d839d95bf4f09b029838bb37ad5
2014-06-04 15:48:39 +02:00
d3ddcbaeef drop useless const_cast
Change-Id: Ie5e6f519a511931b383b6131a4a188abb3396946
2014-06-03 10:11:53 +02:00
9533611f41 drop useless const_cast
Change-Id: I8a14faf56303b986c3e6c8e9bec53210ae86fc87
2014-06-03 10:00:23 +02:00
1031dba9e2 getDataStream() returns non-const ptr now
Change-Id: I6d1e811622cda61575464df8e4036b388a4ab706
2014-06-03 09:59:20 +02:00
ee016fbbe3 reading from a stream must start at the beginning
Change-Id: I0c668244fffcda04a8fe34ef629754f5935cab4b
2014-05-30 12:53:45 +02:00
aa81b089d3 generalize this for Zip too
Change-Id: I9ca0676f056fe3f09821c208ff095beb1f3c19ac
2014-05-30 12:53:44 +02:00
78fe1a5edf fix creation of substreams for OLE2
Change-Id: Idade93bcc1981543357e849b2faf075e7a021d3e
2014-05-30 12:53:44 +02:00
696c8edf7a Add new libmwaw's database/spreadsheet formats...
Change-Id: If07a9e548e1db15b403126263f63d9d09575eb95
2014-05-29 16:22:30 +02:00
e1fa08fe92 Try to add support for WKS/WDB files...
Change-Id: I0ff1cd35be0e1546a156bc673770a920ad2ca444
2014-05-29 15:36:13 +02:00
243e6a98d8 use the right XML import service
Change-Id: I45637984f02e3363812ff8c9f0cbd3464786f4de
2014-05-29 15:36:13 +02:00
5fde8e38c1 fix return value for libe-book import filter
Change-Id: Idd84489a3123d506166a24ff5c85a4e7f75ee676
2014-05-29 13:33:49 +02:00
ba0b63869a add new libmwaw drawing formats (forgotten files)
Change-Id: Ib9ecd643a552063e2a09874776b3ea0f30e8440a
2014-05-29 13:33:46 +02:00
0e17d7bb8a Add new libmwaw drawing format...
Change-Id: I7fa7a46143126bdf27cf7cb30245dbcb244645ef
2014-05-29 13:33:46 +02:00
6cae6d682c enable new handlers
Change-Id: I1c07a44e7d318478bcb2561d29ea53a9475e4b1f
2014-05-29 08:02:27 +02:00
48c9d7ac7c rebase all import libs
Change-Id: I9e1fc613816c943f4fb1033185e34e3acf317f1d
2014-05-26 18:49:04 +02:00
c320dc7fe5 coverity#1215311 Uncaught exception
Change-Id: Ic000d3a3920dddb8cc8585bb31127d14cfc35eb7
2014-05-23 08:54:38 +01:00
83d77931e0 writerperfect: remove SAL_INFO's that only mark function entry
Change-Id: I551d3d6b44845bb324b4afcef17fdae0e0fc88e2
2014-05-14 16:54:26 +02:00
a86ad4d11c writerperfect: sal_Bool->bool
Change-Id: Ic51f9ed2c2c2fced13c8b279912410f9c1638ff9
2014-05-02 08:49:20 +02:00
8657b48af4 refactor to decrease the amount of copypasta
Change-Id: Ib540d79034f1963905685c1282d091bc034cf4f3
2014-04-25 20:26:46 +02:00
192eaec65f Sprinkle SAL_OVERRIDE
Change-Id: Ifad2710470fc41257f616d716eb9323094a69de1
2014-04-24 19:44:39 +03:00
d6aa639fbb WaE: class 'PropertyValue' was previously declared as a struct
Change-Id: If3975942dcd53b5df6612d812f2f1f25fa666ab1
2014-04-24 19:17:57 +03:00
ec544e5329 refactor to decrease the amount of copypasta
Change-Id: Iedfa2a358bf098f6a5e28b994c4c340654a7c295
2014-04-24 16:27:43 +02:00
b7fa9950a9 change libwriterperfect to shared library
There are already 3 libs linking with it and there will be another one
in near future. It is time to stop the duplication :-)

Change-Id: Ia7d24882c37a8bf49fa031b73fa1bd5296f78820
2014-04-24 16:27:43 +02: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
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
70cc2b191b First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
b1d00137f2 remove unnecessary util dir
Change-Id: I66e1882d14c59abeb6aa01b662dfc3a89238d3c0
2014-03-23 23:03:58 +01:00
c4d3ea46ab Call it noncopyable
Change-Id: If2e14b333868bb10867e54cd28c83d0d2c6a5e43
2014-03-01 00:33:28 +09:00
83f1151c70 catch exception by const ref
Change-Id: Id0a9e3b52cabff7be99a5bba6ddb0a108a325d42
2014-03-01 00:33:28 +09:00
6e9b859fa1 Drop useless const
Change-Id: Ifcdd921b08af10ff17dc3da7b811b6aed74baf98
2014-03-01 00:33:28 +09:00
29c71853c4 Remove unused struct
Change-Id: I217620ea99c809b7f3bf1a403170168ac01ed06a
2014-03-01 00:33:27 +09:00
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
05f742d28b comphelper: sal_Bool -> bool
Change-Id: I6fc331ae0706f4bb193543011c8d4ae0a385fcc0
2014-02-17 17:55:19 +01:00
b0bd6e9e6e coverity#1158271 Uncaught exception
Change-Id: I1a39ed2fb8542cb1bc5a56ce8f78cafe4618aa79
2014-02-06 11:57:45 +00:00
32b8c5c4a9 fdo#54938 Convert basctl, mysqlc, sdext, svgio, writerp. to cppu::supportsSer.
Change-Id: I60128dbb5bf83f25eea847fe655d7126c9077414
Reviewed-on: https://gerrit.libreoffice.org/7756
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-02 18:53:03 +00:00
aee7aa2b5c bool improvements
Change-Id: Iae9e3840b89b6204fc458226ba0e046d5303dd52
2014-01-28 20:26:18 +01:00
eb70c0993d fdo#73979 return 0 for unknown substreams
Change-Id: I8959891fc90544e2812651c0a2041f2760d90a83
2014-01-27 15:43:49 +01:00
04a9214fbf css::packages::Packages is a wrong choice
Change-Id: I7d27e7f320633c176fb9fb0a5f64e891fff6c4d7
2014-01-16 16:40:00 +01:00
9e5e7c9b55 libodfgen produces strings in utf8 encoding
Change-Id: Iad17f4b4786473205669bd5b080b0a64d4a6a441
Reviewed-on: https://gerrit.libreoffice.org/7455
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-01-16 07:33:49 +00:00
723863ff26 finish zip support in WPXSvInputStream
Change-Id: I48017873991abdc054e8be93912f2b2f5ae4383f
2014-01-15 21:27:47 +01:00
e9a036aca1 add BIPU support for zip to WPXSvInputStream
Change-Id: I14d6febcff49421b6ee3f2c463e78ff98660aab5
2014-01-15 21:27:46 +01:00