Commit Graph

317319 Commits

Author SHA1 Message Date
Stephan Bergmann
21ea372541 Use XNotifyingDispatch to avoid races
Change-Id: Ia91bd08122052f5ea206eb9e6c03524e6e3ec245
2012-12-07 16:21:49 +01:00
Stephan Bergmann
a6d6d1c24b CLANGPLUGIN_CPPFLAGS did not actually work
...it just appeared to work on machines that happen to have /usr/bin/clang.  So
hoist CLANGDIR/CLANGBUILD from compilerplugins/Makefile-clang.mk to configure.ac
instead.

Change-Id: Ie5d9c6bb8e9d0caa1583d78c8693f06b69873095
2012-12-07 16:09:26 +01:00
Luboš Luňák
45237f8023 remove unwanted SAL_CALL 2012-12-07 15:55:50 +01:00
Takeshi Abe
a25b3dd6c4 sal_Bool to bool
Change-Id: I4f4ffff778ff0bb14ddb3e4ae5f9b76104fc8bed
2012-12-07 23:48:03 +09:00
Michael Meeks
a48e2fd904 fdo#44736 - convert RTFSprms to a copy-on-write structure.
Also try to avoid copy/delete thrash of RTFParserState.
2012-12-07 13:35:50 +00:00
Luke Deller
7d88aac602 fix for fdo#57551: landscape/portrait sequence lost in FILESAVE as .doc
Change-Id: I4d888fc7e9b68ee4c693b565d8ef23dcb825f7ce
Reviewed-on: https://gerrit.libreoffice.org/1251
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-12-07 13:25:54 +00:00
José Guilherme Vanz
f0a5e3934e ::rtl:: prefixes removal in oox
This commit removes some ::rtl:: prefixes and some macros in OOX

Change-Id: I0c5ad9805ec2e8ed1092c56fe32e6901fdbd2b67
Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1261
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-12-07 13:05:33 +00:00
José Guilherme Vanz
74e858693e ::rtl:: prefixes removal
This commit removes some ::rtl:: prefixes on oox

Change-Id: Iae9a89f8a869934b6273a1b97c0a9243b0504fb3
Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1260
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-12-07 13:03:23 +00:00
José Guilherme Vanz
a5e6a1faa3 ::rtl:: removal in oox
This commit removes some ::rtl:: prefixes on oox

Change-Id: Ibb3be70695c48eb0a02fdf285a0c049e244d613e
Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1259
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-12-07 13:01:32 +00:00
Caolán McNamara
d4ca0036d7 eEscape can never be FN_SET_SUPER_SCRIPT
orthogonal enum and slot id things

If it was supposed to be if(eEscape == SVX_ESCAPEMENT_SUPERSCRIPT) then setting
superscript would instead sets subscript. Seeing as this is wrong since day 0
and the code should never goes into that branch I reckon its a forgotten
remnant from before superscript was implemented as it is now and its better to
remove the code entirely

Change-Id: I73010cf9428c96dfc75033c138694c5781a73c50
2012-12-07 12:55:18 +00:00
Michael Stahl
01cd24df1e fdo#55289: fix crash in SwXShape::setPropertyValue:
In the libreoffice-3-6 branch the docx import crashes here when setting
the anchor position of a shape, because the previous setting of the
AnchorType was not done properly: the position of the anchor in the
SwFmt did not match the actual position of the text attribute, so we get
these assertions: "Missing FlyInCnt-Hint." and crash.

This cannot be reproduced with the docx import on master, because on
master a different intermediate AnchorType is set, and transitioning
from that happens not to cause the crash.  But it can be reproduced with
a unit test.

The regression was introduced in libreoffice-3-6 with
backport commit bbbb10a0774b9da546557632cd09c4f6958f8939.

Change-Id: I394643e11862543177ba57958a26cd8ce06dc09c
2012-12-07 12:40:14 +01:00
Stephan Bergmann
d23508eebb Revert "Use XSynchronousDispatch to avoid races"
This reverts commit 16383552c8, which was broken,
but toplevel "make .../workdir/*/JunitTest/sc_unoapi/done" did not trigger
qadevOOo rebuild, so got unnoticed at first.

Change-Id: I6031cf9f67a8cc69cbabd197bd01462968eeb07e
2012-12-07 12:35:58 +01:00
Caolán McNamara
6a7371d266 loplugin: various unused variables
Change-Id: I59cfea1b755fb4da5cdc9032e719e4e1579a906e
2012-12-07 11:23:51 +00:00
Stephan Bergmann
16383552c8 Use XSynchronousDispatch to avoid races
Change-Id: I517ae0f3a17e769da20219d69d7ff4bac44623cd
2012-12-07 12:14:22 +01:00
Stephan Bergmann
14acb6b698 Unused variables
Change-Id: I8d0d72ac2c3d7f0b0576980c770cb62af983d074
2012-12-07 11:40:01 +01:00
Stephan Bergmann
98108afb23 Proper indentation
Change-Id: I9fe211563c8b2b2718be25180294421af5593886
2012-12-07 11:39:58 +01:00
Stephan Bergmann
55a58245c9 Proper indentation
Change-Id: I4f85be9a33be6d9a3c756f2422eb7574beac1e1d
2012-12-07 11:39:56 +01:00
Stephan Bergmann
95af0a93c1 -Werror,-Wunused-result
Change-Id: I91633af096dd82960867f3ef6eb962b7b20c3960
2012-12-07 11:24:19 +01:00
Stephan Bergmann
6a31768bd5 -Werror,-Wtautological-constant-out-of-range-compare
Change-Id: Ia9d77ea28c714a9bf3fc3a6c9ed832c9c4619089
2012-12-07 11:24:19 +01:00
Stephan Bergmann
01872509d4 -Werror,-Wunused-private-field
Change-Id: I4a37e6aacbcce18f17e4b2eebecf43c0b1679f62
2012-12-07 11:24:19 +01:00
Lionel Elie Mamane
d497d70a9b no SAL_CALL for internal utility functions
Change-Id: I7b945946d5e45d5518ab48fc8fe6cd66fba8d040
2012-12-07 11:06:40 +01:00
Caolán McNamara
d1660f19d5 an app can have print options without a print options dialog
e.g. draw and impress have print options, but no print options dialog

(It's plausible that we should merge the print options in the print dialog with
the print options in the options... dialog of the printer settings dialog)

Change-Id: I25c029ad8ba482b1e8d8d5974cc8de99584b9a55
2012-12-07 09:32:12 +00:00
Miklos Vajna
8dd1581a4f sw: unused RtfReader 2012-12-07 10:13:54 +01:00
Fridrich Štrba
113379e050 We definitely want a log file to check in case something goes wrong
Change-Id: Ie8ab243e72decae63717cf78d8e7038a74b4c1ae
2012-12-07 10:08:45 +01:00
Noel Grandin
06fa6ebbd5 fix missing SAL_CALL attributes
Change-Id: Ibdf93f27f08d4a76867c6871557d2d4967e7b9a5
2012-12-07 11:07:21 +02:00
Fridrich Štrba
a69efa6e2b Make the usage notice correspond to reality
Change-Id: I4142af0181629c627e1137ce406249040f28e51f
2012-12-07 09:47:55 +01:00
Fridrich Štrba
ebff822d93 Add --enable-windows-build-signing option
Change-Id: I9630a486043c97aa9e31873c63f807cedb869a24
2012-12-07 09:40:39 +01:00
Fridrich Štrba
549b5d030a Allow signing of dlls and exes with default certificate without password
Change-Id: Ic39276df49cb317936baf7956dd74a1a7f42cbff
2012-12-07 09:18:54 +01:00
Stephan Bergmann
b66e034904 cppunit is PLAINLIBS_NONE
Change-Id: Id6401999d20069f17133a765195cd49b50ff532f
2012-12-07 08:15:58 +01:00
Stephan Bergmann
39a6e45bfd cppunit is PLAINLIBS_NONE
Change-Id: I98765698773f9b349d6aac200ee2e55c25e7a47a
2012-12-07 08:11:16 +01:00
Stephan Bergmann
b5b316ad7f One more typo
Change-Id: Ie08b5ebf76f22a42c99729a284bf1931a7cf9bc9
2012-12-07 08:10:48 +01:00
Stephan Bergmann
6f067655b3 Typo
Change-Id: Iff8315535293613423199aaffeac904e721928bf
2012-12-07 07:55:50 +01:00
Stephan Bergmann
973a16f9e6 Adapt to XComponentContext
Change-Id: I2f2c745245722f90b8101995367c55878d568703
2012-12-07 07:55:50 +01:00
Stephan Bergmann
3ef014c828 Unused include
Change-Id: Ica71cc0eec1054386221c779948381e274ee6475
2012-12-07 07:55:49 +01:00
Stephan Bergmann
5da74dcdea Clean up SerialNumberAdapter implementation
Change-Id: Iebf992544cb71fd2e2f4541a5a63fc962150e390
2012-12-07 07:55:48 +01:00
Kohei Yoshida
f0b22ccfdd bnc#792528: Play it safe for non-Excel documents.
Excel is not the only one that use charts. Let's also store the static
label value to maData in case it is used for non-Excel documents.

Change-Id: I1faed76e2ff396873039bccb3e1b7dcf27aba8c6
2012-12-06 23:33:22 -05:00
Kohei Yoshida
3a5c3dc392 bnc#792528: Import static data series labels from xlsx correctly.
Static data series label is a data series label whose value is a
string value rather than a cell reference.

Also, when inputting static string label in the UI, we don't have
to manually check for quotes; the formula compiler will take care
of that later.

Change-Id: I1657fc9879a7f652bba84898e308c3a5d5ba87a3
2012-12-06 23:03:37 -05:00
Markus Mohrhard
9c46411ebd also with cppunit_dll.vcxproj 2012-12-07 04:04:06 +01:00
Markus Mohrhard
e95efd9704 switch to cppunit tarball with vcproj and vcxproj files 2012-12-07 01:09:47 +01:00
Markus Mohrhard
7ff25fde3e Revert "fix pretty broken cppunit gbuild conversion on windows"
This reverts commit 58cb1a2f25.
2012-12-07 01:04:54 +01:00
Luboš Luňák
58cb1a2f25 fix pretty broken cppunit gbuild conversion on windows
The original dmake makefile.mk even said the files were missing ... ?
2012-12-07 00:29:45 +01:00
Peter Foley
987d991ecd formating cleanup
Change-Id: I851f4f82caa8483a296da3c8337ccbedccf7c5de
2012-12-06 17:29:00 -05:00
Andras Timar
56da3f2a9f Numbertext 0.9.5 (Python 3 fixes)
Change-Id: Ic5d8f8a975861c63354d28f5043abb5ead29192b
2012-12-06 22:08:39 +01:00
Luboš Luňák
eafb828213 OUStringBuffer::remove( int ) -> truncate( int )
Although this may seem consistent with remove( int, int ), it is
in fact rather misleading API. The biggest offender is most probably
buffer.remove( 'a' ) , which definitely does not do what it suggests
to do.

Change-Id: I287619cd4b953228b93fa68fb381d66c344c3865
Reviewed-on: https://gerrit.libreoffice.org/1256
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-12-06 20:40:54 +00:00
Caolán McNamara
cf543d8a78 SID_SAVE_ONLY_USED_SYMBOLS missing from starmath print options itemset
Change-Id: I91a39db4d967009ca8fa5ee2fe910a660a556fd2
2012-12-06 20:10:19 +00:00
Lionel Elie Mamane
33af123fa0 Avoid seeking a cursor to where it already is
Change-Id: I817aef57f3e028d77cf13f8cca1ecc7afcea9725
2012-12-06 19:39:09 +01:00
Lionel Elie Mamane
dbafb1663e Don't force refresh when higher up code did not request it
Change-Id: I0f415c96fc05c1d776d14885751aef020c42f4ae
2012-12-06 19:39:08 +01:00
Lionel Elie Mamane
bd60c90f85 fdo#53281 Don't cache whole row in KeySet
This was done for the sake of ODBC,
but the cost was imposed on all backends.

The ODBC problems are now solved cleanly (and more efficiently)
in the SDBC<->ODBC layer.

Change-Id: Ib8a864da08deaaacc96a379fb72b3b7cbb34598c
2012-12-06 19:38:28 +01:00
Lionel Elie Mamane
82555fdad5 fdo#47520 ODBC: overhaul data fetching
fetched data in the current row is always cached.
This avoids trying to fetch the same data several times, which is tricky in several scenarios in ODBC.

Numerous cleanups in passing.

Change-Id: I17246aa614276e141161a64c716881242c559310
2012-12-06 19:38:00 +01:00
Lionel Elie Mamane
e8951fb7d8 comments
Change-Id: I1702ea167ac6d23b1bdfcda2ea1ad7815e4474b9
2012-12-06 19:20:33 +01:00