Commit Graph

4094 Commits

Author SHA1 Message Date
ede0abe6b1 Bin EE_CNTRL_URLSFXEXECUTE which was only set, never tested
Change-Id: I18a9355bb902b19f0eeecb26d33eba4fb25db8cb
2014-10-02 21:09:52 +03:00
1d0636ebc6 Bin commented-out #defines
Change-Id: I01f473658708a75c3eac6219efd38cd8ec5aa44f
2014-10-02 21:09:52 +03:00
72a7450c02 MWERKS etc. are not supported toolchains
Change-Id: I449fe34be396114529357388c87162aaf8976292
2014-10-02 20:00:18 +02:00
3b59dbbffd remove HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE check and macro
This is supported in GCC 4.6.0 already:
https://gcc.gnu.org/onlinedocs/gcc-4.6.0/gcc/Diagnostic-Pragmas.html

Change-Id: I2f67e588eea3a323a2e9c81e39e56ab2e715a817
2014-10-02 20:00:18 +02:00
86cd29772e remove HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY check and macro
This has been supported by GCC and clang for a very long time.

Change-Id: I410a2b39004c932003f8cbefe935aedb109b1163
2014-10-02 20:00:17 +02:00
33a3368ff5 coverity#1242909 Unused value and const things up
Change-Id: Ib98a81a04f721917ee3c1fdd19d23a37c5d2c481
2014-10-02 14:48:50 +01:00
d8be5a5576 optimise UNO Sequence destructor
to avoid expensive function calls until the refcount reaches 0

Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, slightly changing it to
add a uno_type_sequence_destroy to uno/sequence2.h instead of a
uno_type_destructSequence to uno/data.h.

Change-Id: I3bbff3294f2b515fc3c68c4c6c1cb16829f5cc44
2014-10-02 13:00:08 +02:00
173234f394 coverity#708208 Uninitialized scalar field
Change-Id: I5f1e889746067bad478d8fa3acd8c41c893b135a
2014-10-02 09:14:49 +01:00
cee21bf941 fix build
after commit 039b887c54fd7e8cd8a4964d1633fdfc300e938e
"loplugin: cstylecast"

Change-Id: If567653833a1f164a72bd9a5a6c0fcf651e9d3c0
2014-10-02 08:15:45 +02:00
039b887c54 loplugin: cstylecast
Change-Id: I4a230f45e91773fca7d537e91c9e9fb54773cf10
2014-10-02 07:37:20 +02:00
0c2b43b707 Improved striped rows implementation
Some renaming, use variable for row background when not striped

Change-Id: I5b36fc751aa163dbb127406d7aefad01974fa371
2014-10-02 00:59:24 +02:00
00d3903413 coverity#735489 constant guards dead code
Change-Id: I387dcfb34dd6f1fc74ed929cb6b2833ae8e0f574
2014-10-01 20:28:59 +01:00
e62e266022 coverity#1242662 unused member
Change-Id: Ie089a4afabb07e3b119563dafb162da427bb635d
2014-10-01 20:28:57 +01:00
c190577f75 loplugin: cstylecast
Change-Id: I25b82a96aace448a8debe90c181b22976ea95414
2014-10-01 13:08:43 +02:00
e5bf214ebb loplugin: cstylecast
Change-Id: I6ea98852ba775d85ccd54823b67224ea7f587c65
2014-10-01 13:08:43 +02:00
4923ac72aa loplugin: cstylecast
Change-Id: I58582059495f7c50880038e2174ea2de026aa1c9
2014-10-01 13:08:42 +02:00
544c4fc14b fdo#82577: Handle KeyPress
It appears that this became unnecessary at some point

Change-Id: Iee7c09d00f8dee79f51f0a93b8f5f16137c9c626
2014-10-01 12:20:47 +02:00
7bacb89bb9 fdo#82577: Handle Icon
It appears that this became unnecessary at some point

Change-Id: I6638d68d1c44162b4aa62224dc03c19c2413180e
Reviewed-on: https://gerrit.libreoffice.org/11715
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-01 08:59:41 +00:00
fc04f76336 fdo#82577: Handle Time
Put the TOOLS Time class in the tools namespace. Avoids clash with the X11
Time typedef.

Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866
Reviewed-on: https://gerrit.libreoffice.org/11684
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-01 07:34:23 +00:00
0ada00bd9b Improve SvTreeListBox class
It is possible to set alternating rows. Expert Configuration
dialog use it.

Change-Id: Ie43a87ca05be73fdb345fa4866f31c2c36b7cdf1
Reviewed-on: https://gerrit.libreoffice.org/11663
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-30 21:00:59 +00:00
d59e33500a fdo#62081 Improve split menu on style dropdown
* Remove "Apply style"
* Add "Update Style Based on Selection"
* A11y:
  * Context menu key: Open submenu
  * Return key: Apply style

Change-Id: Ib2960baa1412a05ea00b0e214d1af0a3d119e852
2014-09-30 20:41:21 +02:00
9bcd96a36e clean up some weird type-casting in SvxRTFParser
...it was casting between a std::vector and a struct.
Just store the struct.

Change-Id: I37afa2ea27aa45d0849e01b45837129719eaf138
Reviewed-on: https://gerrit.libreoffice.org/11705
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-09-30 16:38:53 +00:00
89c72084b2 sc: std::auto_ptr -> std::unique_ptr
Change-Id: I25468d578de597ff9aeba3ffc850c630fa532767
2014-09-30 17:51:30 +02:00
741629f48a Some glue for using std::unique_ptr with the Boost Pointer Container Library
Change-Id: Ie975e963ed64fb96542a9771f85eef72d8266496
2014-09-30 17:51:30 +02:00
78f7b8f67a vcl: use DBG_UTIL for additional members in SolarMutexTryAndBuyGuard
... for consistency, and to keep the ODR police away.

Change-Id: Id4bf23be1e57cc29dfed9331d75034a33c2910f8
2014-09-30 17:34:27 +02:00
d0aba6a01c German comment translation.
Change-Id: I2a0691724e6cf0248f9b5854b824f0d6d52308ba
2014-09-30 16:37:53 +01:00
548b360c0e Factor out duplicated code to XmlTestTools::assertXPathNoAttribute()
Change-Id: I1eb3778e6bcdd8c44ffb9a7548add109331fc83b
2014-09-30 12:07:32 +02:00
c9d4a2887c fdo#82577: Handle PolyPolygon
Put the TOOLS PolyPolygon class in the tools namespace. Avoids clash with the Windows
PolyPolygon typedef.

Change-Id: I811ecbb3d55ba4ce66e4555a8586f60fcd57fb66
2014-09-30 11:47:41 +02:00
d17d4d48b5 fix TDE build
after
commit 8dbde0845a3989528614addb9bd0333f60c522a5
"fdo#82577: Handle Region"

Change-Id: I9c3d0ff72de1d3ff2e5c16cf12869e753ec10857
2014-09-30 11:24:35 +02:00
07385d97ce Removed obsolete Region/QtXRegion nameclash workaround
Change-Id: Iccc59319ff2a7f5612017f4a146928afbac674ee
2014-09-30 11:06:42 +02:00
8dbde0845a fdo#82577: Handle Region
Put the VCL Region class in the vcl namespace. Avoids clash with the X11
Region typedef.

Change-Id: I6e008111df7cf37121fbc3eaabd44a8306338291
2014-09-30 09:58:23 +02:00
68daa8a226 xmloff: std::auto_ptr -> std::unique_ptr
Change-Id: I8baa6c0573af3629bacbf1891c3196c165883d9e
2014-09-30 08:13:48 +02:00
0ed0974298 fdo#59299 Personas for bottom toolbars
Change-Id: If823964bf3bb67563504db61b6c5d557cab89243
Reviewed-on: https://gerrit.libreoffice.org/11609
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-29 17:44:07 +00:00
b48e90799d vcl: std::auto_ptr -> std::unique_ptr
Change-Id: I5a08186b465b15311c63784506a0ca0e119286e2
2014-09-29 18:37:51 +02:00
0b23ac2c9d vbahelper: std::auto_ptr -> std::unique_ptr
Change-Id: Ic1b28e7f79cc7dad6a045eb64e5191991533990d
2014-09-29 18:37:51 +02:00
b78b143416 unotools: std::auto_ptr -> std::unique_ptr
Change-Id: I07d536d0ffdc9e09d8d0799396ad6e6c6909cf45
2014-09-29 18:37:51 +02:00
1467751fd8 toolkit: std::auto_ptr -> std::unique_ptr
Change-Id: I4566a0b7215b729f04591bed0ad5bed42f71f227
2014-09-29 18:37:50 +02:00
5aa360cae0 Resolves: fdo#80468 and fdo#81223 image/frame backgrounds wrong
writer has code to fill in missing new properties from the old properties
if they exist. But xmloff is stripping them out before they get there.

Don't strip them out, and add in a missing check for one of the
archaic bg colors and add a regression test for fdo#81223

Change-Id: I9a541a9bee0a01c90f2c33383f1144ecd8b0bfff
2014-09-29 16:31:32 +01:00
9755653991 MSVC 2012 apparently isn't ready yet for std::vector<std::unique_ptr<T>>
...producing error messages about trying to access private undefined unique_ptr
copy ctor etc.

Partial revert of 014e7933af751bfe0a03867373b82efa806f3a3d "svtools:
std::auto_ptr -> std::unique_ptr: ...changing HTMLOptions to
std::vector<std::unique_ptr<...>> because boost::ptr_vector<...>::push_back only
supports auto_ptr, not unique_ptr," going the awkward

  std::unique_ptr x(...);
  push_back(x.get());
  x.release();

route instead (which could be simplified if boost::ptr_vector::push_back ever
started to support unique_ptr).

Change-Id: I15693030a0bbfdedbfdfbe76ede5d0c74f4e5b41
2014-09-29 15:27:46 +02:00
dc63542511 svx: std::auto_ptr -> std::unique_ptr
Change-Id: Ib70d974817bcdd9a582e9be28d28b007cdc3a7a7
2014-09-29 15:20:22 +02:00
014e7933af svtools: std::auto_ptr -> std::unique_ptr
...changing HTMLOptions to std::vector<std::unique_ptr<...>> because
boost::ptr_vector<...>::push_back only supports auto_ptr, not unique_ptr.

Change-Id: Ie5f92bc40ce5425dc1c634b17addc2b0dd9bbda3
2014-09-29 13:57:17 +02:00
0ecf6afbd1 loplugin: cstylecast
Change-Id: Iea517d2287bded4a702c73dfdd1f182023425d67
2014-09-29 12:50:35 +02:00
c353caee1c loplugin: cstylecast
Change-Id: I53b69a488c70769cbb841db519bc28fd211dc087
2014-09-29 12:50:35 +02:00
26f2da07b1 loplugin: cstylecast
Change-Id: I58ec00d6f8a4cc6188877db1330c5e32c9db12e5
2014-09-29 12:50:34 +02:00
eba71a4937 sfx2: std::auto_ptr -> std::unique_ptr
Change-Id: I7bac4105494cdbbadd4c4d78ce1fcf03b8ccae6c
2014-09-29 09:57:16 +02:00
8730974f3d vcl: cleanup headers - remove comments, tabify
Change-Id: I718832960abe07450bc9fdda15297cb5e56f84e4
Reviewed-on: https://gerrit.libreoffice.org/11674
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-09-28 22:57:00 +00:00
6b7d31810b error C2513: 'const short' : no variable declared before '='
com/sun/star/beans/PropertyAttribute.hdl's OPTIONAL had a clash with some of
the Windows headers.

Change-Id: I26a4fdcd1a1d53596b82ebdaf609e0a0e9309697
2014-09-27 20:36:26 +02:00
423142538e add a RAII class that tries to acquire the SolarMutex and releases it
Motivated by ScCompiler::IsMacro() which has an error return that does
not release the SolarMutex.

Change-Id: I064219bb3c0d68839a133101491d5f8828a26c7a
2014-09-26 23:24:32 +02:00
173e017209 factorise odbc headers inclusion
it is complicated enough that we should implement that logic only once

Change-Id: I0cc5ffb871223b27df825f21612e3c8f6f2febb3
2014-09-26 18:25:56 +02:00
e3ee8c68d5 oox: std::auto_ptr -> std::unique_ptr
Change-Id: I35d3cc04eb9bbc8b4446bc501ba35e058c1aa34a
2014-09-26 17:19:17 +02:00