Commit Graph

3523 Commits

Author SHA1 Message Date
Caolán McNamara
c26ba0d35e coverity#1209946 Uncaught exception
Change-Id: I875faea495a375b998c439a0c987b2241ca47ea8
2014-05-27 21:08:38 +01:00
Caolán McNamara
22b28fb784 coverity#1209949 Uncaught exception
Change-Id: I968c5cd5929e2587588f0e0547352acdc19e456a
2014-05-27 21:08:37 +01:00
Thomas Arnhold
92b447876d css already means ::com::sun::star
Change-Id: I48d7b746d7cc49246743c62480b0d225d2519342
2014-05-27 14:00:28 +02:00
Noel Grandin
9b6b260bcc cid#707139 Uncaught exception
Change-Id: I4d821c576fef09ca7935a931b1632238ae550df9
2014-05-27 10:50:04 +02:00
Noel Grandin
437a1f3925 cid#707192 Uncaught exception
Change-Id: Ibf6f8a4a405d089eb8bbdcf46269f2f78b2222a9
2014-05-27 10:50:03 +02:00
Noel Grandin
4a150c2d0c cid#707249 Uncaught exception
Change-Id: Ib8ae83da27b24962769737626a9b55489239bda9
2014-05-27 10:50:01 +02:00
Noel Grandin
f7679803da cid#707251 Uncaught exception
Change-Id: I77a606e3200da94fcf2268c5cd6c396068a82e47
2014-05-27 10:50:01 +02:00
Noel Grandin
616011663a cid#707271 Uncaught exception
Change-Id: I95d1e737004074a00100b4c7ba4f15f660df4ff5
2014-05-27 10:49:59 +02:00
Noel Grandin
388f1fc62b cid#707272 Uncaught exception
Change-Id: I4ff6b2fddc0cb96ec088cb0b123a9f6185db389c
2014-05-27 10:49:59 +02:00
Noel Grandin
cf5a067ab6 cid#707273 Uncaught exception
Change-Id: Ic9dcbcdc73a0e7b95d665e58db291fa50a287a3c
2014-05-27 10:49:59 +02:00
David Tardon
48c9d7ac7c rebase all import libs
Change-Id: I9e1fc613816c943f4fb1033185e34e3acf317f1d
2014-05-26 18:49:04 +02:00
Caolán McNamara
3ea1cdfa10 callcatcher: update unused code
a few more ResId using ctors going away

Change-Id: Ic956bc179c094d19989bf850657471192d042a01
2014-05-26 09:44:45 +01:00
Markus Mohrhard
dc91ebed1a react only to left mouse click
Change-Id: Ia4c2c52b8803cd36d7ed32be559ba446589377e7
2014-05-26 03:29:09 +02:00
Jan Holesovsky
8847171b6b vcl: Document GetTextBoundRect() / GetTextWidth() / GetTextHeight().
GetTextBoundRect() fits different situations than the GetTextWidth() /
GetTextHeight() combination, so make it clear in the documentation.

These are complex enough that people shouldn't read the code just to
understand the difference, and misunderstanding of purpose of each leads
to visually not nice results.

Change-Id: Ida71477cdffbd8290328551bd6ddb4805b96c415
2014-05-25 11:43:14 +02:00
Markus Mohrhard
fa97a8b91b some work on mouse scrolling and improved mouse dragging
Change-Id: I3265e26530183b2fc4fd7f67319f3dc124353c2e
2014-05-24 23:45:01 +02:00
Matteo Casalin
352158b811 Remove unused headers
Change-Id: I67cb5bf14114f9892d2680b7688092cafd9644f1
2014-05-24 22:09:09 +02:00
Matteo Casalin
f4166f967b sal_uInt16 to size_t
Change-Id: I46d85e82376a3135408ab77ad31b76a5edbe9ce7
2014-05-24 22:09:08 +02:00
Caolán McNamara
1413d6bc99 convert doc recovery save page to .ui
and a wizard with one page is just a dialog, so make
that simplification and conversion too

Change-Id: I9f6335007609893308d57d693a18a313bcbb9244
2014-05-24 18:07:41 +01:00
Michael Stahl
19b159416d SvxMSDffImportRec: these members are all 32bit "signed integers"
Change-Id: Iee1dab4895970628e5f5c4ee6070f7f67ba2df8c
2014-05-24 18:34:07 +02:00
Michael Meeks
f2e0eafabc Stub mouse move events propagation to 3D charts.
Change-Id: If87545df4b1caeece107a20e0c00df88fb8e6fd5
2014-05-24 17:41:49 +02:00
Caolán McNamara
a5219c7902 coverity#707241 Uncaught exception
Change-Id: Ia82b685a892c376dbdf5a5b7a8e559bf318b9134
2014-05-24 16:11:02 +01:00
Caolán McNamara
3467112fbd coverity#983680 Uncaught exception
Change-Id: I62baf5b8809d915a4fe6a32788868072d55258e0
2014-05-24 16:11:00 +01:00
Caolán McNamara
94cf259457 coverity#983802 Uncaught exception
Change-Id: I06be01500a767e600a7f391a3e74a92d05b6d73f
2014-05-24 16:10:59 +01:00
Caolán McNamara
8bafbd2c40 coverity#983926 Uncaught exception
Change-Id: I2b0115d59c312bdce7bdd9c8ae133e07dfb9699a
2014-05-24 16:10:59 +01:00
Caolán McNamara
99faf61bcd coverity#983961 Uncaught exception
Change-Id: I4316d9b2465f2608ac5d5992b5a2dc07d1713100
2014-05-24 16:10:59 +01:00
Caolán McNamara
96e6f65907 coverity#983964 Uncaught exception
Change-Id: Ieb298e45512ab4c0384ea2d7ef6adcc4adc39923
2014-05-24 13:03:51 +01:00
Caolán McNamara
652eb268f0 coverity#983966 Uncaught exception
Change-Id: I4928d7e9c9f4cd0dd3f6b1236da9283666766a47
2014-05-24 13:03:50 +01:00
Caolán McNamara
26055db273 coverity#983968 Uncaught exception
Change-Id: I316fba5afdc0ca913d9932eba8a35ad3a9bf0bbe
2014-05-24 13:03:50 +01:00
Caolán McNamara
9329cd7fbe coverity#983969 Uncaught exception
Change-Id: I56c8145f45da3f3265ddcc22a011ec6111b0a8ca
2014-05-24 13:03:50 +01:00
Markus Mohrhard
6612025658 add ostream operator<< for glm::vec3
Change-Id: Ic3ce4a647936f3f1c62c2dc3cf37f687d8fbccc1
2014-05-24 10:48:43 +02:00
Zolnai Tamás
4359ec6b0b avmedia: remove unused code related to fast-forward
One part of that was removed by:
55d52165df
e.g. setRate()

Change-Id: Ia5def0150029c1597cd505bbaf740a42819a7c73
2014-05-23 22:08:33 +02:00
Caolán McNamara
4dc0263505 coverity#1209950 Uncaught exception
Change-Id: I92da2ae224bab6d4781463c096a35ecaec6fecc8
2014-05-23 20:37:35 +01:00
Caolán McNamara
b695519ab9 coverity#1210006 Uncaught exception
Change-Id: I9db3763ed1217e5560d092e689101dddd8027efa
2014-05-23 20:37:35 +01:00
Caolán McNamara
7f88a26e17 coverity#1210018 Uncaught exception
Change-Id: I3033f3d84c5c7835c4f1f3809ff343abe8958fef
2014-05-23 20:37:35 +01:00
Caolán McNamara
ecbc0a3cc7 coverity#1213450 Uncaught exception
Change-Id: I577b699d0d6b63d81565b0e2e6f2e0a96e87078c
2014-05-23 20:37:33 +01:00
Ulrich Kitzinger
6eaad9e41a Resolves: fdo#58187 Expand and Collapse should be virtual
regression from ac7acb0ab1

Change-Id: I773871f08f43a8abadfc5ef9b641db722deb7d20
2014-05-23 20:37:32 +01:00
Tor Lillqvist
4cb41493ed Add SAL_INFO tracing for CoreText calls
Change-Id: Ie60e0b64a2d9d8a045cb3c59fc781d6f9b2808a0
2014-05-23 19:59:36 +03:00
Caolán McNamara
461af81291 coverity#1210079 Uncaught exception
Change-Id: I135e6f7e744afbf6acdb1cfd636e301219ef1420
2014-05-23 14:16:01 +01: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
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
657481f2ff vcl: moved paint functions from window.cxx to paint.cxx
Change-Id: Ie039c971d9d015e20d814fdda67bd489e6aa7501
2014-05-23 22:42:04 +10:00
Stephan Bergmann
d0322208bc Combine unoidl::loadProvider and unoidl::Manager::addProvider
Change-Id: I1240656cc2a4d713c838eb80fa90ce3485aad614
2014-05-23 13:44:03 +02:00
Tor Lillqvist
43bea0e2f7 Avoid including <config_features.h> in <sfx2/objsh.hxx>
Change-Id: I36969367e47c1ed1368ed46638ff9e7768e8a008
2014-05-23 14:29:59 +03: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
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
Caolán McNamara
787d41c26d coverity#1215313 Uncaught exception
Change-Id: I22cd98a35c6c638e3476d54b742762d8a2dfa7fa
2014-05-23 08:54:37 +01:00
Markus Mohrhard
e4ee3dd1dc we only support GLX 1.3+
Change-Id: I2447498cf92da91a7fb2d67ee041d603ae16fe25
2014-05-23 02:50:42 +02:00