Caolán McNamara
cc6f2fe9a9
coverity#983942 coverity gold, busted throw spec
...
Change-Id: Id8e024df91e99f327386571ea4773bc5c7991aee
2014-05-23 14:16:01 +01:00
Caolán McNamara
461af81291
coverity#1210079 Uncaught exception
...
Change-Id: I135e6f7e744afbf6acdb1cfd636e301219ef1420
2014-05-23 14:16:01 +01:00
Caolán McNamara
c5d6aab137
coverity#1215279 Explicit null dereferenced
...
Change-Id: I543cde8225a78be9a9cefeaa7ebf6a5674caf9d0
2014-05-23 14:16:01 +01:00
Caolán McNamara
6a2017b9e9
coverity#1215280 Unchecked dynamic_cast
...
Change-Id: Ie03bb8a870c544eef656594f5ebab35bc61b9030
2014-05-23 14:16:01 +01:00
Caolán McNamara
505c7801bc
coverity#1215289 Resource leak
...
Change-Id: Ie4a0334ddb393726d982e9f4e51a45e391a1b1f0
2014-05-23 14:16:00 +01:00
Caolán McNamara
56152538a8
coverity#1215290 Resource leak
...
Change-Id: Ia49f4e99e6663ea95dc85d4dd09e161413a2f419
2014-05-23 14:16:00 +01:00
Caolán McNamara
354411e83a
coverity#1215291 Resource leak
...
Change-Id: Ia62459945cd45f493754a1412b74242d3994f7f0
2014-05-23 14:16:00 +01:00
Caolán McNamara
16e425425f
coverity#1215292 Resource leak
...
Change-Id: Ibabd73d06135a3ee500ce9d52fef42caa3ad7f35
2014-05-23 14:16:00 +01:00
Caolán McNamara
b89524f740
coverity#1215293 Resource leak
...
Change-Id: I4a74eb76e5fcda915e5d12257fedf3ee84b62baa
2014-05-23 14:15:59 +01:00
Caolán McNamara
be02c2b458
coverity#1215294 Resource leak
...
Change-Id: I6fc18afd6189060de6943b003dea933713e19773
2014-05-23 14:15:59 +01:00
Caolán McNamara
6ab75ecf62
coverity#1215298 Resource leak
...
Change-Id: I50d248cea3d209e133f0c87d98304d4e80309a57
2014-05-23 14:15:59 +01:00
Caolán McNamara
1eb3c57ad1
coverity#1215302 Arguments in wrong order
...
Change-Id: I197e9abda098ef842f9a4d3d1bf96fbf51b5b178
2014-05-23 14:15:59 +01:00
Caolán McNamara
cb30efc79f
coverity#1215314 Uncaught exception
...
Change-Id: I1e3e7db0a9dc29c991f4f8ddbdcb4f3564410fba
2014-05-23 14:15:58 +01:00
Caolán McNamara
9b62a52077
coverity#1215315 Uncaught exception
...
Change-Id: I0313bfc4f2d8cb30d98c32c55fd25a98f2f84f77
2014-05-23 14:15:58 +01:00
Caolán McNamara
1e19c72ff1
coverity#1215316 Uncaught exception
...
Change-Id: Ifb688e60ef613a3735260f978dd3ae46a95430f5
2014-05-23 14:15:58 +01:00
Caolán McNamara
b01f64852c
inherit the other DAVException from std::exception too
...
Change-Id: I692ad423b2fea0cc38b2859855f32f286423f02d
2014-05-23 14:15:58 +01:00
Caolán McNamara
9de3fd2da6
coverity#1215398 Uninitialized scalar field
...
Change-Id: I5e18b4d824931e489af3d8625e06974f2b488e75
2014-05-23 14:15:57 +01:00
Caolán McNamara
5030424290
coverity#1215399 Uninitialized scalar field
...
Change-Id: If043310b3a4ac8dcc0ed63aeeeaffdfc9af8b46f
2014-05-23 14:15:57 +01:00
Chris Sherlock
e76dc5b422
vcl: add paint.cxx
...
Change-Id: I1ab01c1acec9147812841c1deee17413cee88962
2014-05-23 23:13:28 +10:00
Noel Grandin
e7bc3cab01
remove boilerplate in UNO Exception constructor calls
...
Now that we have default values for Exception constructor params,
remove lots of boilerplate code.
Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23 15:06:00 +02:00
Noel Grandin
c5d47c327a
add default value for Context param in uno::Exception constructors
...
and all it's subtypes, which is almost never used, so this allows us to
simplify lots of call sites.
Change-Id: I0b05793ea2bdd1027679f63252d42ce4af89433b
2014-05-23 15:05:59 +02:00
Chris Sherlock
66fc6d223f
vcl: change to sal_True and sal_False in comments in window.cxx
...
Change-Id: Ie42eb45e05a928a59b51e0546e212dc938967eb4
2014-05-23 22:57:10 +10:00
Chris Sherlock
f2ce0d9a71
vcl: change to true and false in Window::ImplGetCanvas()
...
Change-Id: I0cf18a87f85c62d3f8b92af8f1ccda3d2b2f93f1
2014-05-23 22:55:12 +10:00
Chris Sherlock
58021e8866
vcl: change to true and false in Window::SetCallHandlersOnInputDisabled()
...
Change-Id: Id6af99e1dfbf6bce68794027700eb500b7f3a8dc
2014-05-23 22:54:16 +10:00
Chris Sherlock
fd95975a46
vcl: change to true and false in Window::Show()
...
Change-Id: I299dcb649d40514c16e41b138def0ad67894cd6d
2014-05-23 22:52:43 +10:00
Chris Sherlock
23eb4435ed
vcl: change to true and false in Window::ImplTestMousePointerSet()
...
Change-Id: I5184b9bf7d080f65a702a88214906264b9d88e2f
2014-05-23 22:48:14 +10:00
Chris Sherlock
ec1d05d9fb
vcl: change to true and false in Window::ImplGetWinData()
...
Change-Id: I7e4c664bf867b43f121b6c37bfe8e470cab2cfd3
2014-05-23 22:46:13 +10:00
Chris Sherlock
c72635e020
vcl: change to true and false in Window::IsTopWindow()
...
Change-Id: Id8ef10950ea5034cf5a7e497843fe996a2c322f2
2014-05-23 22:44:17 +10:00
Chris Sherlock
657481f2ff
vcl: moved paint functions from window.cxx to paint.cxx
...
Change-Id: Ie039c971d9d015e20d814fdda67bd489e6aa7501
2014-05-23 22:42:04 +10:00
Stephan Bergmann
8949bcad40
Remove circular references between unoidl::Manager and its providers
...
Change-Id: Ic6ad3e2c7f69dd123077a913f35f1971f1e8ca13
2014-05-23 13:44:03 +02:00
Stephan Bergmann
d0322208bc
Combine unoidl::loadProvider and unoidl::Manager::addProvider
...
Change-Id: I1240656cc2a4d713c838eb80fa90ce3485aad614
2014-05-23 13:44:03 +02:00
Tor Lillqvist
8928a4f6dc
Try to fix Windows build
...
Change-Id: Ib73cc86f9f14397b296324e14562278b5f8a2144
2014-05-23 14:29:59 +03:00
Tor Lillqvist
43bea0e2f7
Avoid including <config_features.h> in <sfx2/objsh.hxx>
...
Change-Id: I36969367e47c1ed1368ed46638ff9e7768e8a008
2014-05-23 14:29:59 +03:00
Takeshi Abe
87e81e4e52
boost::checked_deleter serves the purpose
...
Change-Id: I22b4ea752e32b449dcc07b70cc5dc0ba52ad7c45
2014-05-23 19:52:22 +09:00
Takeshi Abe
7e6052f218
catch exception by const ref
...
... redoing 8d52cd0b32
Change-Id: If4935cf5f9adecbc6b42d7440747ae2ba09e9e5a
2014-05-23 19:52:22 +09:00
Takeshi Abe
74c3aded1a
catch exception by const ref
...
... redoing 0292b4269e
Change-Id: Ie869d8cd011cdc64c87363a4c31e6afbd439808c
2014-05-23 19:52:21 +09:00
Chris Sherlock
1cda4728bf
vcl: move mouse functions from window.cxx to mouse.cxx
...
Change-Id: I4cd0769cd20869e9316c35ff20e4fa477b5aab16
2014-05-23 20:40:12 +10:00
Tor Lillqvist
7933b269ba
Reintroduce Win_GetShortPathName()
...
Change-Id: Id15d1d4d9b7fb9bb2a0a5f52b5ec1928c38bd27b
2014-05-23 13:12:22 +03:00
Miklos Vajna
2c66056bec
DOCX import: detect document signature
...
Change-Id: Ic84b1f1446d6ab1a1529de4e0a435afbf62915a7
2014-05-23 11:52:56 +02:00
Chris Sherlock
938a070f5d
move lcl_createWindowInfo to correct spot in window.cxx
...
Change-Id: Icfcfe379db2ba8eee89314108df47bae024e060e
2014-05-23 19:46:13 +10:00
Luboš Luňák
7772b310aa
MSWord uses \xb for linebreaks in DB fields (bnc#878854)
...
Change-Id: I9b1e4f8dc44d3f6f41e395f6e5f3c1fdeff52441
2014-05-23 11:36:09 +02:00
Tor Lillqvist
f98eab9fa1
Fix typo
...
Change-Id: I7ee0eecc36659ac8ee9a62698923a90e96b7f302
2014-05-23 12:31:28 +03:00
Chris Sherlock
d1f97479da
vcl: rearrange window.cxx functions
...
Change-Id: I3f59b87554b858e400056d74e04cd7ca361cf758
2014-05-23 19:27:45 +10:00
Tor Lillqvist
38d7b82c27
OleObjectInfo is used from the scfilt library so must be public
...
Change-Id: Ib80278e52640b0c132bcc5b303d277a4e7ae2024
2014-05-23 12:17:50 +03:00
Tor Lillqvist
cf287f4e3f
WaE: passing class rtl::OUString by value, rather pass by reference
...
Change-Id: I05aa9a5ad5d97a1ead3d30298f45e7aeb62d0652
2014-05-23 11:47:51 +03:00
Takeshi Abe
57320f34b5
Avoid possible memory leaks in case of exceptions
...
Change-Id: Ifd98e11380bf00f6126e4c81bcd0cbaf5b22f70d
2014-05-23 17:23:45 +09:00
Stephan Bergmann
77bc28be2d
Always use CPPUNIT_ASSERT_DOUBLES_EQUAL when comparing floating point values
...
Change-Id: I2ea94a510fd79f6fe3dcc5021d142b7b5f99f67f
2014-05-23 10:07:07 +02:00
Jacobo Aragunde Pérez
b5f6a5cfc5
ooxml: Do not repeat wdp files in artistic effects
...
When two pictures apply different effects to the same picture, it is
only saved once in the original document. Added a cache to DrawingML
to know if the picture has already been exported, and added a test
for it.
Change-Id: Ia25f3d8f2f46d61f18aefc22fdfdbcdc72f2d916
2014-05-23 10:04:00 +02:00
Jacobo Aragunde Pérez
2e68a1468c
ooxml: Preserve the original picture in artistic effects
...
When Word applies an artistic effect, it creates two embedded files;
one contains the bitmap with the effect and the other one contains the
original bitmap to be able to undo the effect.
This patch reads the original bitmap, stores it in the shape grab bag
and saves it back to the docx file. Added unit tests too.
TODO: right now, if two effects point to the same original bitmap it
is stored twice, we should improve this.
Change-Id: Ia72034a257739abe4ffafa0f42b2a912e4bf9436
2014-05-23 10:04:00 +02:00
Jacobo Aragunde Pérez
642a252cf1
ooxml: preserve artistic effects on shapes.
...
Bitmaps can define artistic effects like in the following example:
<a:blip r:embed="rId5">
<a:extLst>
<a:ext uri="{BEBA8EAE-BF5A-486C-A8C5-ECC9F3942E4B}">
<a14:imgProps
xmlns:a14="http://schemas.microsoft.com/office/drawing/2010/main ">
<a14:imgLayer r:embed="rId6">
<a14:imgEffect>
<a14:artisticMarker trans="14000" size="80" />
</a14:imgEffect>
</a14:imgLayer>
</a14:imgProps>
</a:ext>
</a:extLst>
</a:blip>
LO core doesn't support them, but I'm preserving them using the shape
grab bag. Bitmaps must not be transformed to a SwXTextGraphicObject
so the grab bag of the XShape is not discarded.
Added several Context and Properties objects on the import side to
traverse and save the relevant tags, and added the corresponding code
on the export side to extract the grab bag and output the effect back.
Also added a unit test for a selection of artistic effects.
TODO: Word saves the original bitmap as an embedded wdp file so the
effect can be undone. We must preserve it too and add the reference to
the a14:imgLayer tag.
Change-Id: I61d427f83e4c8f353eb073da0114cd73ba50ba4b
2014-05-23 10:03:59 +02:00