Commit Graph

3523 Commits

Author SHA1 Message Date
Tor Lillqvist
3cf9f47c94 Bin obsolete pointless preprocessor trickery
Change-Id: Icff9a0f112c80569a4533d5c0c6e789eec3925ee
2014-06-12 00:01:55 +03:00
Tor Lillqvist
7198d97a2d Bin crack, _NOTIFY_HXX is not defined anywhere anyway
Change-Id: I596ec18deca1a7bd85bc49f637fc1765e43d1278
2014-06-12 00:01:54 +03:00
Tor Lillqvist
b7732167de Bin crack, _SFX_HXX is not defined anywhere anyway
Change-Id: Ib751fe39cca72fe1cfc9789e63f28a00abb9113a
2014-06-12 00:01:53 +03:00
Tor Lillqvist
26b1c43091 Bin unused file
Change-Id: Ibd4ded85d5d3e1de8bf12934cbe55210d1983b18
2014-06-11 22:43:30 +03:00
Tor Lillqvist
f9f60b95c1 Bin crack, _SFXITEMS_HXX is not defined anywhere anyway
Change-Id: I9143e7fffef6e99d25a0fd87712ed26d2d42116e
2014-06-11 22:43:28 +03:00
Andrzej Hunt
a533f986f9 Upgrade LibreOfficeKit C++ API.
Change-Id: If263b8fc748f67a1ed423c0f3f7cd465cf533993
2014-06-11 13:44:56 +01:00
Andrzej Hunt
cd76b9996c Rename C api of LibreOfficeKit.
However for the sake of ABI compatibility we can't change
liblibreoffice_hook.

Change-Id: I0e921efeeab40ef1b53a67c0e7a89d4c75ced831
2014-06-11 13:44:55 +01:00
Andrzej Hunt
9a1b2970ed Move liblibreoffice into LibreOfficeKit.
Change-Id: Ib2754a77be470faaa6f9b27644a1d8dd082ed2b8
2014-06-11 13:44:55 +01:00
Stephan Bergmann
bb761be472 Change SfxTabPage ctor SfxItemSet param from ref to pointer
...and also corresponding param of CreateTabPage function type and corresponding
Craete functions.  There were some call sites that passed undefined "null
pointer references" and SfxTabPage internally uses a pointer member pSet that is
checked for null anyway.

Change-Id: I4eb3636155eac46c9c9d26e6e6e842e85d7e95af
2014-06-11 14:39:04 +02:00
Caolán McNamara
0e7ca4fad0 cut out the rsc loading support for stuff thats now .ui only
Change-Id: I54880de44ee10d4f71c8a514f905e8e00774fde7
2014-06-11 10:47:30 +01:00
Caolán McNamara
c8d8bcf3fd callcatcher: update unused code
Change-Id: Iee19af81c648cb82074d8cabc13716b0d38c7ff6
2014-06-11 10:47:30 +01:00
Stephan Bergmann
a92e973b6d Change SfxTabPage::Reset param from ref to pointer
...there was a call site that passed undefined "null pointer reference"
(apparently in a case where the passed argument was actually unused)

Change-Id: I663d4264b7a84f44ca69c732f3bc502f614b2b2a
2014-06-11 10:39:03 +02:00
Jan Holesovsky
2a649539b7 MetafileXmlDump: No need to specify the stream, simplify the API.
Change-Id: Ia08f67e359bbd26cefdba8661f0b0c4ae2147382
2014-06-10 19:33:12 +02:00
Jan Holesovsky
e7944dabfb pct import: Add logging.
Change-Id: Ia3fe1ff0075434d0b6903bf978c16499e07d699d
2014-06-10 19:33:11 +02:00
Adam Co
2211a67cc5 Rewrite import and export of custom dashes in ooxml filter (fix)
The import mechanism of custom-dash (a:custDash) was wrong, and imported
wrong values, which causes that if you would import-export-import-export -
you would get inflated values, which might cause a corruption.

The attributes for custom-dash nodes (a:ds) are of type 'PositivePercentage'.
Office will read percentages formatted with a trailing percent sign or
formatted as 1000th of a percent without a trailing percent sign, but only
write percentages as 1000th's of a percent without a trailing percent sign.

During import - LO did not check if it was in '%' format or in
'1000th of a percent' format. So that was fixed. Also - when exporting -
it always exports now in '1000th of a percent' format.

Change-Id: I6bd74df26951974f85173227c832386c70034afb
Reviewed-on: https://gerrit.libreoffice.org/9681
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-06-10 17:22:40 +00:00
Stephan Bergmann
4dbeadb9c1 Change SfxTabPage::FillItemSet param from ref to pointer
...there were a number of call sites that passed undefined "null pointer
references" (apparently in cases where the passed argument was actually unused)

Change-Id: I19799e90f0cd8e98367782441a5ea9df27b59830
2014-06-10 17:25:23 +02:00
Caolán McNamara
31778e3eeb coverity#707350 Uncaught exception
Change-Id: Ic338659d34c91baad715c2181f420d919acf1fe9
2014-06-10 16:08:05 +01:00
Caolán McNamara
0dc13e9c06 tweak things to allow switching between small and large toolbar icons
Change-Id: Ife4da4c6f4acc3b3f9fde18cdfc09635cf9b6776
2014-06-10 13:23:35 +01:00
Stephan Bergmann
16889f355d -Werror,-Wtautological-undefined-compare
Change-Id: Id73628a33ea4fe4cd749ebeef7b3cd0a87ff4118
2014-06-10 11:52:56 +02:00
Caolán McNamara
ef955b0c5e coverity#707245 Uncaught exception
Change-Id: I9579078a845cd25e25b863e08de94aec1687d596
2014-06-10 10:48:41 +01:00
Caolán McNamara
db176b0ed3 coverity#1222241 Uncaught exception
Change-Id: Ibaf3a5305082b60fadb8a2499712dc4a460cb449
2014-06-10 10:48:40 +01:00
Caolán McNamara
1e3eca9316 coverity#1222243 Uncaught exception
Change-Id: Ia0e1d109023c133104574c380a5e7abda5ae2480
2014-06-10 10:48:40 +01:00
Caolán McNamara
efd6106f09 de-virtualize these stringify methods, nothing overrides them
Change-Id: Id523ae3f50147fd778a1576c2851d01e1ea8c3ae
2014-06-09 16:24:40 +01:00
Caolán McNamara
eb4cd7e74d some remaining sal_uInt16 to sal_Int32 editeng ESelection bounds
Change-Id: Ib47dea5c2d965cf613c465e624a1bdd81becb1c2
2014-06-09 12:27:56 +01:00
Noel Grandin
184a00b962 loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-09 10:10:13 +02:00
Miklos Vajna
f0fdee8abf oox: replace redundant STATIC_ARRAY_SIZE macro with SAL_N_ELEMENTS
Change-Id: I8cf274902bb5fda9fa70ab2af9e399db82d85d1d
2014-06-07 18:06:03 +02:00
Markus Mohrhard
4d12fecb5b make that variable protected again
Change-Id: I17235397e490458c250165c36bec97bf1ce326d7
2014-06-07 04:48:16 +02:00
Thomas Arnhold
c2034f3993 fixincludeguards: fix include guards
Change-Id: Ie6e8d4272b0b1d0d2ce93bcbc2e818a9eac1a56b
Reviewed-on: https://gerrit.libreoffice.org/9629
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-06 19:16:40 +00:00
Noel Grandin
a10a621b48 simplify SfxListener::EndListening and StartListening
No-one is using the return values, so we can simplify the methods

Change-Id: Icc2dbfb797bcd82afcbf42ed3bdc20b0426ccba1
Reviewed-on: https://gerrit.libreoffice.org/9542
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-06-06 15:39:42 +00:00
Zolnai Tamás
46d682eec9 bnc#880763: PPTX import: wrong z-order becuause of wrong import order
importExtDrawings() must be called as soon as possible,
before parser starts to parse the next shape.
Call it when graphicFrame tag is closed. This tag include
the reference to the SmartArt.

Plus fix up import tests.

Change-Id: I9e8d54c2b1afeb78a1122390dc4982d580c152ae
2014-06-06 16:50:04 +02:00
Miklos Vajna
8c677716c4 DOCX drawingML export: if shape has textbox, export its contents as shape text
Change-Id: I54a51189e1c595841b8b02f3b4436da4a29f1dac
2014-06-06 14:24:26 +02:00
Stephan Bergmann
75e0fe06ac Extend o3tl::heap_ptr to support arrays
Change-Id: I546afcb626e27f6f1115715829779fc0b657548e
2014-06-06 11:13:07 +02:00
Chr. Rossmanith
8b46d5c849 new method INetURLObject::getData() for data urls
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>

Conflicts:
	tools/source/fsys/urlobj.cxx

Change-Id: I59b5b95cf9b65920ec04922fdb25e4228fd22995
2014-06-06 11:13:07 +02:00
Zolnai Tamás
639571d52b 2nd part of bnc#870233: import font color from color fragment for SmartArts
SmartArt import ignores some fragments during import if
drawing fragment exists, which seems to be not complete.
In this case font style is blank (white) in data (and drawing)
fragment and the real value is defined in the ignored color fragment.

So first make color fragment parsing work, then apply font
color of "node0" style on nodes of the SmartArt.

Actually, it's a workaround, because "node0" style label
is hardcoded, for a proper solution layout fragment should
be parsed too to get the right style label, but
it interferes with the drawing fragment by now.

Change-Id: I7db89176a07eee928563d42d3896fbd02190dfa8
2014-06-06 10:28:18 +02:00
Zolnai Tamás
31650d5b42 1th part of bnc#870233: wrong list style in shapes
Text list styles were copied, without proper
copy constructor and operator. It lad to mix
up list styles and so text font.

Change-Id: Iee7a6c0c1f74322fd7b80e41a262849f948e463a
2014-06-06 10:28:18 +02:00
Stephan Bergmann
a1d7ed2357 Avoid undefined mis-aligned memory access
Change-Id: Ie79a0810cf00217fe2b9ffd34e21aeb7b2299c0d
2014-06-05 18:32:31 +02:00
Bjoern Michaelsen
eda624641b lp#1296715: refresh invalidated menus
- so we need to be a StatusListener in framework after all
- we ware updating all menus for now, instead of just one
- this would have a hugh performance hit when there is much change to the menu
- thus we just invalidate the menu and update with all changes after 100ms once

Change-Id: I48cda968cf0ae1eae0421b3424bb3e5830817e84
2014-06-05 11:10:57 +02:00
Noel Grandin
06b63d3d83 remove the definition of SAL_THROW macro
Change-Id: I3d389174684cdc86ddb098629da57ebf142424c9
2014-06-05 08:34:46 +02:00
Noel Grandin
0e507ae031 various: remove SAL_THROW macro
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-06-05 08:17:52 +02:00
Noel Grandin
41e3515978 cppu: remove SAL_THROW macro
Change-Id: I2f1909f953846f0d0b6fb402b4beb373bba8b2a8
2014-06-05 08:17:49 +02:00
Noel Grandin
bf37694ab8 svx: remove SAL_THROW macro
Change-Id: I8bfce109e55871d48b35300be98085f383fef26f
2014-06-05 08:17:48 +02:00
Noel Grandin
dfd44d0b12 xmlscript: remove SAL_THROW macro
Change-Id: Ic830c23d8696fde323dcf67697248a84658be2bf
2014-06-05 08:17:48 +02:00
Noel Grandin
e5c20a785c sal/rtl: remove SAL_THROW macro
Change-Id: I70e41f087dbe188f8fc455150480faeae2b426ed
2014-06-05 08:17:48 +02:00
Noel Grandin
b6c67082c0 toolkit: remove SAL_THROW macro
Change-Id: Id9e27c6cbcdc0c229a0dc2a3ad075d62121e6c5d
2014-06-05 08:17:47 +02:00
Noel Grandin
5ceded62aa editeng: remove SAL_THROW macro
Change-Id: I8e36112a10cdef6250dba4b4cf75e5eba443e0b9
2014-06-05 08:17:47 +02:00
Noel Grandin
11383f56fb connectivity: remove SAL_THROW macro
Change-Id: Id3bbb7a0d39a41b7106303f42d55ba4968235b63
2014-06-05 08:17:47 +02:00
Noel Grandin
da906ab937 cppuhelper: remove SAL_THROW macro
Change-Id: I54141071396d04e7bead56da14a665b8556ba6d2
2014-06-05 08:17:46 +02:00
Noel Grandin
41066fef1c comphelper: remove SAL_THROW macro
Change-Id: I692f1213c4bf42a84fae119f513e609d8874bf0c
2014-06-05 08:17:46 +02:00
Caolán McNamara
29afc48322 drop now unused RID_SVX_TABDLG_DOCRECOVERY
Change-Id: Ie9fd186523d78436d5a0e8f33899aa1f462d495a
2014-06-04 15:12:05 +01:00
Caolán McNamara
35c31f5f40 convert document recovery dialog to .ui
and move sidebar global resource defines up to the toplevel so its harder to
collide with them and adjust the define to indicate the next free resource
id.

and simplify the dialog down a good bit and remove intermediate classes
etc.

Change-Id: I8d6db17fcdfc86457368d7f432bd96f6f3aa182d
2014-06-04 15:07:36 +01:00