Commit Graph

366432 Commits

Author SHA1 Message Date
Caolán McNamara
90a8be80c0 ImplDockFloatWin2::setPosSizePixel just forwards to parent class
Change-Id: Ia90a4c371e66f4a5b9a37b4c4ac7d3118ad518a5
2014-12-16 14:31:58 +00:00
Caolán McNamara
7324aa6886 Related: #i123653# skip ranges that end before starting point
fix assert on loading ooo123653-1, we don't care about ranges that end before
the starting point we are interested in

Change-Id: I46ddf882ce4099dbcd77c62569c5c51f1ce5aa76
2014-12-16 14:08:15 +00:00
Miklos Vajna
0946e2da2a LOK: let doc_getDocumentType() use supportsService()
css::frame::XModel::getArgs() may or may not return a Sequence that
contains a DocumentService key, while
css::lang::XServiceInfo::supportsService() can always determine the
document type.

This fixes the problem that doc_getDocumentType() returned
LOK_DOCTYPE_OTHER for Writer documents on Android.

Change-Id: I380d59a963553fb30a3eb20fbe84dcfc6a1bbd61
2014-12-16 14:58:44 +01:00
Markus Mohrhard
270fdd6b78 add two options for OpenGL rendering
Change-Id: I1b37d8332e9a5b779c27373b2ec038ccdf2b90df
2014-12-16 14:34:07 +01:00
Stephan Bergmann
1990c75175 Daft += "\0" triggers assert
...try

GetProcessServiceManager().createInstance("stardiv.UnoControls.ProgressMonitor").addText("foo", "bar", false)

in Basic...

Change-Id: I30318c3e8e671a97b6a3fe2dd9ec03add21794ab
2014-12-16 13:31:48 +01:00
Stephan Bergmann
8502d64878 Daft "\0" triggers assert in OUString literal ctor
...try

GetProcessServiceManager().createInstance("stardiv.UnoControls.StatusIndicator")

in Basic...

Change-Id: Iafc22188feb8a1d3f1b19ac4f6e209be62a44d17
2014-12-16 13:23:19 +01:00
Stephan Bergmann
aa65aea24f Missing UnoControls/Makefile
Change-Id: Iebf1c42c384909f6226c25eb151985f8bc244c93
2014-12-16 13:19:29 +01:00
Tomaž Vajngerl
8e2eccb177 Tab bar: multiply the size of the plus icon if HiDPI is detected
Change-Id: I6efaac9bd21ab986af77fed1a949d3d2b380e922
2014-12-16 20:11:15 +09:00
Noel Grandin
39327e71b5 java: remove OOoRunnerLight
and just use OOoRunner, there is no point in having a stripped down
jar, the cost of firing up the Java VM completely dwarfs any benefit
of having a smaller jar.

Change-Id: Ibcc3c5bd6e9b9c918041142dd32db0ea5dddc25b
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-12-16 11:51:57 +01:00
Miklos Vajna
1816bdd196 android: Adpater -> Adapter
Change-Id: If5297d641b4a596f20bdde8203f199d8efcb92fe
2014-12-16 11:45:43 +01:00
Takeshi Abe
2e0c474ab5 Omit unused default value
Change-Id: I2b703312ddff29772b31cf74ab6408dbbe90a5db
2014-12-16 18:45:51 +09:00
Stephan Bergmann
555f024f16 Related fdo#83753: Fix JVM_ONE_PATH_CHECK feature again
Change-Id: I1dc3b0db6295c43a9d29576b81870b4a293a61aa
2014-12-16 09:39:16 +01:00
Miklos Vajna
d54e21eaa2 Factor out SvxFontItem::dumpAsXml() from sw
Change-Id: I8283ddd868639e6535e27798d91a7273d77f048c
2014-12-16 09:06:41 +01:00
Tor Lillqvist
ab431b632e WaE: replace '+' between string literals with juxtaposition
Change-Id: I64690ce1d6960dea52bae6a5bc1d0f1de742cb63
2014-12-16 08:18:15 +02:00
Tor Lillqvist
7f34414673 WaE: Unreferenced function definition
Change-Id: I25bc6231f4efd76b33db028f6ffea19799519083
2014-12-16 08:16:46 +02:00
Tor Lillqvist
634fdb75b5 SAL_WARN itself already prints __FILE__ and __LINE__ of its call site
Change-Id: I214ee188793e7ef189417460ea32eeaf0a8b6a29
2014-12-16 08:11:46 +02:00
Kohei Yoshida
017d16bdc2 Reduce the size of ScFormulaCell by packing the matrix flag value.
Change-Id: I07ee4f03ba74415c11188f7b63879ccad542537c
2014-12-15 22:24:00 -05:00
Kohei Yoshida
990dbcab75 Pass group length to context / result objects to reduce # of params.
It looks cleaner this way.

Change-Id: Id46cb52863fb9366d83ac17d3f8521e5a13a59c9
2014-12-15 21:21:06 -05:00
Kohei Yoshida
cf7d8b41a9 Refactor OpenCL interpreter impl code to make it more modular.
Change-Id: I8fe6aeb2ee1cd67df3e0e657b271b255516dbc18
2014-12-15 21:21:06 -05:00
Kohei Yoshida
c56091868c Let's try to only surround code that may throw with try-catch block.
While leave the rest outside it.

Change-Id: I17f5b935dba8535f2bbfdd86b1037a95f2324174
2014-12-15 21:21:05 -05:00
Kohei Yoshida
d94b8cabea Remove global variable SymbolTable::nR and make the code re-entrant.
Change-Id: Ie4cc8329398063b82b34cde5568686f48363ee1a
2014-12-15 21:21:05 -05:00
Eike Rathke
a1dc5e97da construct grouped ScFormulaCell with bDirty=true, fdo#79249 related
Noticed when loading
https://bugs.freedesktop.org/attachment.cgi?id=99844
with fdo#79249 fix where oox::xls::applyCellFormulas() groups the
consecutive =#N/A formulas. Only A1 result was displayed, other cells
were displayed empty.

Change-Id: I3a541f74d3d25e1515a1c6d47f02ec6a8e817c93
2014-12-16 02:02:14 +01:00
Eike Rathke
994607b551 fdo#79249 call formula compiler with error string
... instead of attempting to stringize a NaN coded error value.

Regression introduced with 30a20743ae

Change-Id: Ia7a8ca39938820ac75db169404446fa696c6ee1b
2014-12-16 02:02:14 +01:00
László Németh
3e17677f70 HTML export: optional CSS2 dot leaders in the Table of Contents
To use it, enable "Print layout" in Options->Load/Save->HTML Compatibility,
and select the HTML Document file type in the Writer Save As dialog.

Change-Id: I763ab8340a59050fd5c68677715679f41fd91fb3
2014-12-16 01:36:41 +01:00
Eike Rathke
758755e31b correct error string, #N/A instead of #NA
is that mapping used at all?

Change-Id: I15019072b6e812b9ffe29d3ee6afacd9ab526948
2014-12-16 00:01:01 +01:00
Michael Stahl
a1718045bd fdo#74981: sw: fix input field handling when splitting paragraphs
The SwInputFld is copied because it doesn't have HasDummyChar() set
although it has 2 dummy characters; TODO why is that...

Change-Id: Iee91c1d0cf7a7a928e7383c1839f8192e8d4d5b0
2014-12-15 22:19:19 +01:00
Michael Stahl
0f78ae1ca3 fdo#85876: Revert "fdo#74981: cutting nothing should do nothing, ...
... should fix field dupes"

This reverts commit f384598d8eec91c3c0f84a07ff3e59b8e3e13b3f.

The attributes have to be copied in case splitting a paragraph creates
an empty paragraph.

Change-Id: Icd5730dd9ab8a68f737492645988a4d2f07af7a0
2014-12-15 22:18:13 +01:00
Michael Stahl
6d8ab70f1d dbaccess: the PythonTest requires Java for hsqldb
Change-Id: Idaea12aae68ad21ee06f785167cdf1867101ec4b
2014-12-15 22:17:45 +01:00
Michael Stahl
aaf717a8fa poppler: let's disable Qt5 too
Change-Id: I8571aa0ccc9f691d7fd9290a647117161755d3a7
2014-12-15 22:17:45 +01:00
Luboš Luňák
5e7709c5e9 use AA for lines only when AA is active
Change-Id: I9965f58b8f06f1cec2c419dcf16d8aebf9cd97b8
2014-12-15 22:15:01 +01:00
Julien Nabet
8286e92417 Related fdo#86929: Kill FOREACHPAM_START for good (part1)
Change-Id: Ifdb896108cf0db0a9be7ba419df785da536c0fab
Reviewed-on: https://gerrit.libreoffice.org/13465
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2014-12-15 21:05:53 +00:00
Julien Nabet
bbf59cb82e Related fdo#86929: Kill FOREACHPAM_START for good (part2)
Change-Id: Ia6e166a4158d28f1a4145e51040f2f5637827197
Reviewed-on: https://gerrit.libreoffice.org/13466
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2014-12-15 21:05:23 +00:00
Kohei Yoshida
3fcd2ccb44 fdo#87210: Re-enable parallel deflate, which was not the root cause.
With f92183833f, export no longer crashes,
and there is no reason to leave this piece disabled any more.  Let's
re-enable this.

Change-Id: Ibeca8869f152cbcd80f1dcb55f8199110125741d
2014-12-15 15:13:44 -05:00
Luboš Luňák
9dc134a6df do not hardcode what specific "generic" bitmap scaling operations use
I.e. make it possible for the opengl backend to decide to use a different
scaling algorithm.

Change-Id: I36e76de071797129c7636b3048c93bc6e5d93aca
2014-12-15 18:38:09 +01:00
Stephan Bergmann
72d8747ad9 Remove obsolete comment
Change-Id: I66dcf6284bd1b7afb1c60c838bbbb2052e06072b
2014-12-15 16:51:11 +01:00
Stephan Bergmann
5e9a2e9b0f Check each potential JRE location only once
i.e., after recent "fdo#83753: consider JAVA_HOME and PATH when selecting JRE"
fix, if jfw_findAndSelectJRE found no suitable JRE in
jfw_plugin_getJavaInfoFromJavaHome or jfw_plugin_getJavaInfosFromPath, do not
re-check those locations in jfw_plugin_getAllJavaInfos.

Change-Id: If4e085b4fceff5b2494c7b7b84ac51691dbc78cc
2014-12-15 16:45:51 +01:00
Stephan Bergmann
0136acb836 Rename getJREInfoByPath overload to getAndAddJREInfoByPath
Change-Id: Ib6eac731a4b8193a8d9b9132da78e7961aec22ab
2014-12-15 16:45:51 +01:00
Stephan Bergmann
5d2398a982 getJREInfoFromBinPath return value is unused
Change-Id: I360d7cb7c03e78739883db4b989ba5f31bc8e24b
2014-12-15 16:45:51 +01:00
Michael Weghorn
40138cee6b fdo#83753: consider JAVA_HOME and PATH when selecting JRE
adapted algorithm that selects the Java runtime to be used so that
Java installations associated with the JAVA_HOME and PATH
environment variables are preferred over others

Java installations are now analysed in the following order:
* installation that the JAVA_HOME environment
    variable refers to (if it is set)
* Java installations in PATH
* other Java installation (algorithm that was used before)

Signed-off-by: Stephan Bergmann <sbergman@redhat.com>

Conflicts:
	jvmfwk/source/framework.cxx

Change-Id: I3a3ade25322def0c0432b369848f13a6b82034a1
2014-12-15 16:45:51 +01:00
Michael Stahl
86910c87c1 fdo#82614: sw: Revert "Simplify code path"
This reverts commit 07c0067144.

The bug is because the check of the GotoHeaderTxt() is inverted.

Actually in the old code it is a bit easier to understand what is intended,
even though it is more verbose, so just revert the commit.
2014-12-15 16:37:50 +01:00
Miklos Vajna
90a94db73c android: don't associate with ods, fods, ots, xls, xlsx, xltx and csv
It's pointless to do that till Calc tiled rendering is not supported on
master.

Change-Id: Ib1ba01c18621d0a6e39ed45052ced715defaa4d4
2014-12-15 16:37:09 +01:00
Miklos Vajna
7992c34a17 android: associate with ott, otg, otp, dotx and potx files as well
Change-Id: If77eb099cb132ea889f623b895b32b3eef223d76
2014-12-15 16:37:09 +01:00
Tor Lillqvist
f52deabd81 WaE: private field 'm_pSystemFont' is not used
Change-Id: I620209bd008a20efc1fdc64e11eff7300162150a
2014-12-15 16:46:40 +02:00
Gary Houston
de41a2038a Resolves: fdo#87281 Crash on importing diagram in .docx file
Change-Id: Ic2c7326ab83258e2e9dcbac88aa9f76f771a9b12
2014-12-15 14:26:01 +00:00
Caolán McNamara
e2a41b4415 don't screw around with the system font selection
Change-Id: I491a6410f70b063fd74834d5837be34e4b9552d7
2014-12-15 14:26:00 +00:00
Caolán McNamara
8bf07e7f86 drop newly unused Application::ValidateSystemFont
Change-Id: Iffe850d99f2dcd9e955a4ba1190e010be905434b
2014-12-15 14:26:00 +00:00
Julien Nabet
324de04a40 Resolves fdo#87016 Kill "Use system font for user interface" for good
Change-Id: Ica648d4a49ef4f36fdab557a98e7df9d31a3a240
Reviewed-on: https://gerrit.libreoffice.org/13311
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-15 14:01:10 +00:00
Adolfo Jayme Barrientos
d795be2756 fdo#86671 Swap default order of Yes/No to suit what Windows users expect
Change-Id: Iac3917c42ff70b6cd594355fe5296aff97cb70b9
Reviewed-on: https://gerrit.libreoffice.org/13453
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-15 13:50:55 +00:00
Caolán McNamara
f9eff2a402 Resolves: fdo#87199 deregister during destroy as lower of upper
Change-Id: I7e52bba78a0fbe32814510b44ad049d3504e7164
2014-12-15 13:46:33 +00:00
Matúš Kukan
8cc1e7a7c3 gbuild: More automagic for libmerged
Only gb_Library_use_libraries stays because I think it's a good idea to see
dependent libraries (potential candidates for merging) and hopefully the
list does not change often anyway.
This commit extends b6be3d3db3

Change-Id: I2682456f53cb2e8d7ea63eae15f8979a3c828401
2014-12-15 14:48:02 +01:00