356287 Commits

Author SHA1 Message Date
Julien Nabet
b19db6b21d Typo: apend->append
Change-Id: I062c95ca8d478ba6c241723dda25c1dc4d7bb852
2014-06-29 13:15:51 +02:00
Julien Nabet
430484932e Typo: beeing->being
Change-Id: I34937e400ac8576154d33e1e11b80690222f532c
2014-06-29 13:15:51 +02:00
Miklos Vajna
3b8ab58008 writerfilter: convert factory_values to Python
Change-Id: I4dca13159a25ed137153c2a7a66ca4f87f612e87
2014-06-29 11:36:58 +02:00
Julien Nabet
4ddf6c7a70 Typo: conteiner->container
Change-Id: Idf1294c7da00621900d41c16473b862ee8fc502d
2014-06-29 00:12:55 +02:00
Julien Nabet
b232607e45 Typo: easiear->easier
Change-Id: I4e10f74e46ef79c3a56dcfb3d1e1bb90d8b5aecf
2014-06-29 00:11:19 +02:00
Miklos Vajna
298055aec2 writerfilter: sync writerfilter_WORK with writerfilter_SRC
So in case a script in the ooxml dir generates some output, that should
be in the ooxml dir under workdir as well.

Change-Id: I08fbb2d0c8950362628d11de4cfeda98c835ed9a
2014-06-28 22:38:18 +02:00
Norbert Thiebaud
d979903273 odbc driver: let's not allocate the buffer twice for nothing
Change-Id: If5db845c856a9fb3adf8c4fcb883607e1cb9446e
2014-06-28 17:22:11 +02:00
Norbert Thiebaud
715ecfe361 firebird driver: shutdown explicitely firebird on dispose of driver.
Change-Id: Ia44f7e01a3a01da57e4d9382f41511aa6f987b43
2014-06-28 16:56:24 +02:00
Norbert Thiebaud
9015333ebd firebird: release driver on dispose rather than destroy.
Change-Id: I5ffeaf818c1eb4985bdd150830f089f03fe42ceb
2014-06-28 16:56:24 +02:00
Norbert Thiebaud
ae6551b43d firebird driver, abandon ref to about to be disposed embedded storage.
Change-Id: I6bfce155151b79cd0a1707744e79298b45d8752b
2014-06-28 16:56:23 +02:00
Norbert Thiebaud
814818c345 firebird: enable-debug cause trouble due to a lifecycle management issue
firebird in debug mode abort() on lo shutdown due to a lifcycle management
issue where firebord try to create a directory in a temp directory that
is not there anymore, and then exception for it and
that exception in debug mode cause an abort.

Change-Id: Iabbd6ffda34a84e5b0d8e44761226083c8c1d168
2014-06-28 16:56:23 +02:00
Michael Meeks
5fd43384a4 configmgr: accelerate getPropertyValue.
Change-Id: Ie0460c8db6b1e7fcc9bab1f5e9ae1fbd00987994
2014-06-28 14:37:25 +01:00
Michael Meeks
546c7baec7 vcl: don't do expensive desktop probing in headless mode.
Change-Id: I10d6493997b4f3bfab769340c990c01a26f3da20
2014-06-28 14:37:24 +01:00
Michael Meeks
879aa54e89 configmgr: accelerate simple config key fetches.
Avoid heap allocating UNO object wrappers for the underlying Node
structures only to convert to Any and immediately free them agian
when we can.

Change-Id: Iae4612e9602f872f5d8cca2e516df594c9f1118c
2014-06-28 14:37:24 +01:00
Michael Meeks
e820df579d filters: Batch fetch filter config properties.
Also re-use a single set of OUString property names in
a sequence rather than re-allocating them constantly.

Change-Id: I7f0afc52363e57ea0c63f46f1e1f63cb752bb302
2014-06-28 14:37:23 +01:00
Michael Meeks
f55ddffd7e configmgr: implement a single item cache for node lookup.
Saves 13.5m cycles on a headless start, 1.3%.

Change-Id: I73f0dd8a523f84c765a217ee95aea9bcc3db1b5d
2014-06-28 14:37:23 +01:00
Michael Meeks
8bfdc161e6 configmgr: re-factor findNode and clone into NodeMap.
Change-Id: Ib170b3cec17402e38bf5555e21f83f44d70bb574
2014-06-28 14:37:23 +01:00
Michael Meeks
ff1d2ba501 configmgr: hide NodeMap implementation.
Change-Id: I57c81b5ec7a6541a825e42f9b68e7c5fa98f316f
2014-06-28 14:37:22 +01:00
Michael Meeks
f692c61ab2 configmgr: avoid constructing duplicating and freeing Any's
Accelerates headless startup by 6.5m cycles or so, 0.6% or
so but something.

Change-Id: I9edca3d0c1c81d865e8369fee5cf193da7adb97c
2014-06-28 14:37:22 +01:00
Michael Meeks
115fd951e9 Avoid loading persona images in headless mode.
Change-Id: Ie3bb69d93b97deab0830c2b45ba3428a8931a949
2014-06-28 14:37:21 +01:00
Zolnai Tamás
a2648efa67 libgltf: fix Linux-with-check build
It seems some of the warnings are treated as errors
in Linux-with-check builds.

Change-Id: I9ed876ba634d944c022838a625164f06f100a7df
2014-06-28 12:37:55 +02:00
Takeshi Abe
5fdcab9412 Avoid possible memory leaks in case of exceptions
Change-Id: Icff534ac96e0a595d71bc34b6055caf8cd096ad8
2014-06-28 18:56:05 +09:00
Matteo Casalin
dc23ed9814 sal_uInt16 to sal_(u)Int32
Change-Id: I20c3715bcfb5212977699d661fd3acf1be28499f
2014-06-28 11:17:58 +02:00
Matteo Casalin
53e3cfdcd3 Micro optimizations: pre-increment and constify
Change-Id: Icefef960e1ecc0f6529e8f1b5f903c676b62e154
2014-06-28 11:17:57 +02:00
Matteo Casalin
540eba7556 sal_uInt16 to SwTwips and delay downcasts
Change-Id: I4a8a05905a779bb8c7fad830c049d1e403d79711
2014-06-28 11:17:57 +02:00
Matteo Casalin
ddd86d9ee9 sal_uInt16: constify and avoid unneed cast
Change-Id: I78fe90f24805c5bca3548cf4c005d2c44574aa5c
2014-06-28 11:17:56 +02:00
Matteo Casalin
4ad08a7008 sal_uInt16 to short
Change-Id: I6d39bc1a1132972eece99f1ea05cb25962805351
2014-06-28 11:17:56 +02:00
Matteo Casalin
6f9f28f8e1 Return value (sal_uInt16/size_t) is never used
Change-Id: I6342a407878e24e671615b0c12a9badcfc774f37
2014-06-28 11:17:55 +02:00
Matteo Casalin
bd479676f2 sal_uInt16 to size_t
Change-Id: I8b045cf44b3e62616c8c3e0a896524af13310dd3
2014-06-28 11:17:55 +02:00
Matteo Casalin
5247da4e4a sal_uInt16 to sal_Int32 and remove/fix comments
Change-Id: Icf49a339fb23d6217dd0bc41c9012233717ad808
2014-06-28 11:17:53 +02:00
Matteo Casalin
37953bfacc sal_uInt16 to size_t
Change-Id: Ib4a3f8401e2ddd4cb76c76c968151799c86b5845
2014-06-28 11:17:51 +02:00
Matteo Casalin
bd16f1cebc sal_uInt16 to size_t
Change-Id: I5fe887cdb800a5f5cc6f6277b52a5f02c1b9bb84
2014-06-28 11:17:49 +02:00
Norbert Thiebaud
3934ec179f revert forcing system-odbc on MAc as Maverick dropped system support
We prolly need to look at iODBC and how to carry the headers
as 'external'
Note the dylib for runtime are still in 10.9

Change-Id: I6cad2b90fcb61b5787c0599e40d48a74b8ff917a
2014-06-28 07:31:56 +02:00
David Tardon
6af3926609 WaE: null argument where non-null required (argument 2)
Change-Id: I3eb71120aed85a4ec2c697d149006bce063d983e
2014-06-28 07:22:23 +02:00
Michael Stahl
924a28a7b1 fdo#80009: xmloff: ignore excessive fo:clip values
These cause problems in drawinglayer, and nobody needs a 5km clip.

Change-Id: Ic485250413194adbcd0ccf855f12e89e532d7120
2014-06-28 00:15:44 +02:00
Norbert Thiebaud
f7453024e1 fdo#80574 firebird memory management issues
Change-Id: I37438cd3f9c8e197e5a3aa3d9cbcc5bf3681d792
2014-06-27 23:37:51 +02:00
Stephan Bergmann
939ce4afbb Blind fix for OPreparedStatement::setParameter's useWChar case
...after 0181a13904daef160bee543e9806b23a835f79c8 "odbc properly support
platform with sizeof(SQLWCHAR) = 4" introduced usage of RTL_TEXTENCODING_UCS2/4
there, which do not make sense in combination with converting between OString
and OUString.

OTools::getStringValue will need a corresponding fix, too, in the other
direction (where the OUString(sal_uInt32 const * codePoints,
sal_Int32 codPointCount) ctor will be useful).

Change-Id: Ia94cd0deec46d269b6ee43362f4849837bb011c5
2014-06-27 23:07:00 +02:00
Miklos Vajna
8100100298 fdo#80167 RTF export: don't loose page breaks
DOCX export tries to write accurately both <w:br> and
<w:pageBreakBefore>, while DOC/RTF prefers just the page break before
paragraph attribute. Given that these later two exporters are not
adapted to write their equivalent of <w:br> at all, add a virtual method
to determine if writing page breaks as "page break before" is preferred
or not, that'll give the expected RTF export result.

This conditionally reverts commit
a31fbb53dba76736b37213b98b64937f05929a67 (fdo#74566:DOCX: Preservation
<w:br> tag for Break to Next Page, 2014-02-06).

Change-Id: I4a5dd295b07739a570cd8cc6709561e64d031273
2014-06-27 22:34:17 +02:00
Miklos Vajna
085424074d identation fixes
Change-Id: Ie9a95b99e1f6de65985b295076f5f89e5d99ec93
2014-06-27 22:34:16 +02:00
Stephan Bergmann
b97c5480e9 Unused declaration
(which loplugin:unreffun did not catch, as it was referenced by a
friend declaration in vendorbase.hxx)

Change-Id: I8a1afd4699b56425b580c1e63557342ee7ec1cb2
2014-06-27 22:16:35 +02:00
Zolnai Tamás
4bdbc1c93b libgltf: make 'Requires' valid in libgltf-0.0.pc file
Thanks to Rene Engelhard for help to make it valid.

Plus glu is not used, so remove it.

Change-Id: I5e3631e9b3d24c2b1d9044192d7c0a55c234f7c0
2014-06-27 19:19:46 +02:00
Caolán McNamara
78bea877ff OSL_ENSURE->assert where guaranteed deref follows
Change-Id: I6e007cc3a9fd222c1c1381c8b4f890966c05cbab
2014-06-27 17:22:09 +01:00
Oliver-Rainer Wittmann
b733d208b0 Related: #i78498# Do not keep OutlineLevel attribute at paragraph...
when a Paragraph Style is assigned.

(cherry picked from commit 6a1564284d90c7e175f7848520924f7f6a5884b7)
(cherry picked from commit 4a381b1124f60b76cabb558fa24827448a1caab0)

Conflicts:
	sw/inc/doc.hxx
	sw/inc/editsh.hxx
	sw/inc/fmtcol.hxx
	sw/inc/ndtxt.hxx
	sw/source/core/attr/format.cxx
	sw/source/core/doc/docfmt.cxx
	sw/source/core/doc/docglbl.cxx
	sw/source/core/doc/doctxm.cxx
	sw/source/core/doc/fmtcol.cxx
	sw/source/core/edit/edfcol.cxx
	sw/source/core/txtnode/ndtxt.cxx
	sw/source/core/undo/unfmco.cxx
	sw/source/core/unocore/unosett.cxx
	sw/source/core/unocore/unostyle.cxx

Change-Id: Ifa1214876df296f2e1210cc4a35f2df67f9f6bc4
2014-06-27 17:22:09 +01:00
Stephan Bergmann
852c8e53d7 create_SalInstance does not need an oslModule parameter
Change-Id: I658974102f544185bf27f985bc920d8d54b40656
2014-06-27 18:15:55 +02:00
Stephan Bergmann
4c6e54a194 loplugin:unreffun: redundant function redeclaration
Change-Id: I6c9b85ab587f6fb9f585c9714c3a1076f627c7d3
2014-06-27 18:08:25 +02:00
Miklos Vajna
10d91ef984 SwTextBoxHelper::create: handle TextAutoGrowHeight
Without this, in case TextAutoGrowHeight is set before TextBox, the
textbox of the shape won't have automatic height.

Change-Id: I2ebf77eacbe1f1d10ccf64ef833c39ee965245d3
2014-06-27 18:02:23 +02:00
Kohei Yoshida
483a4b546c Flush modified data to the model when pressing OK in the data table dialog.
This dialog used to have no OK / Cancel buttons, and the data would get
flushed when the dialog got dismissed.  This behavior got lost during the
dialog conversion.

Also, SaveModified() does check whether or not the data table is modified.
No need to call IsModified() before calling SaveModified().

Change-Id: I5cea88cb52127cc5c7c1be67a5a592d87df92d0c
2014-06-27 11:35:11 -04:00
Norbert Thiebaud
0181a13904 odbc properly support platform with sizeof(SQLWCHAR) = 4
Change-Id: I06d5a6c93817d2623fac3962b82c1319caf13276
2014-06-27 17:08:04 +02:00
Norbert Thiebaud
01a882039e fdo#69036 do not try to create a sfxApplication when we are tearing-down
This was triggered by connectivity calc driver, which on shutdown
was trying to 'dispose()' it's connection
which in turn would, if the shutdown of calc was already done
try to re-create an sfxApplication instance, just to delete
illusory inexistant documents...

Change-Id: Ic166367ca399d613743f379ebbfbffb5813701c0
2014-06-27 17:08:04 +02:00
Norbert Thiebaud
d92aa2f445 remove SFX_APP() macro that was a mer wrapper for SfxGetApp()
Change-Id: I480a789c767dd671775c9d70d96bf71908f21f5b
2014-06-27 17:08:04 +02:00