Commit Graph

366698 Commits

Author SHA1 Message Date
Stephan Bergmann
bc909149fd stoc: Use appropriate OUString functions on string constants
Change-Id: If8c20c8a0958016c14007406244fc8ab9a742933
2014-12-16 17:30:34 +01:00
Stephan Bergmann
9b03a827b2 sal: Use appropriate OUString functions on string constants
Change-Id: I4382504549eb1e3a8c34495a21d6df10a86ac23b
2014-12-16 17:30:08 +01:00
Stephan Bergmann
7fbdb69c6b remotebridges: Use appropriate OUString functions on string constants
Change-Id: I3f860dbcac3c81216d53de1530ddb0565e38a38e
2014-12-16 17:29:49 +01:00
Stephan Bergmann
f582ad2c69 jvmfwk: Use appropriate OUString functions on string constants
Change-Id: I3e0b70c61c4e92f2cbd27ce7c45e67ae04dfe14c
2014-12-16 17:29:29 +01:00
Stephan Bergmann
43e889da02 jvmaccess: Use appropriate OUString functions on string constants
Change-Id: I57b6de337eae1dcd8bc08f51ba9be36b61d5c470
2014-12-16 17:29:05 +01:00
Stephan Bergmann
e7d6a1d238 io: Use appropriate OUString functions on string constants
Change-Id: Ib05e759a1223d71e738940f6f9298ac593d94a27
2014-12-16 17:28:43 +01:00
Stephan Bergmann
500910feff idlc: Use appropriate OUString functions on string constants
Change-Id: Ia537f5d5d573d24f5bbed7a20b9e9268181faa5f
2014-12-16 17:28:22 +01:00
Stephan Bergmann
f137353904 cppuhelper: Use appropriate OUString functions on string constants
Change-Id: I52a38a07982801087903817ec5b65e992a1d58d1
2014-12-16 17:27:57 +01:00
Stephan Bergmann
a1a8654c85 cppu: Use appropriate OUString functions on string constants
Change-Id: Id1d763c83821b7af6c541cb28ff438765026ea4d
2014-12-16 17:27:35 +01:00
Stephan Bergmann
0e7804b897 configmgr: Use appropriate OUString functions on string constants
Change-Id: I7345234957aab62e884c0e884ac0b3b8a21e9cc5
2014-12-16 17:27:07 +01:00
Stephan Bergmann
b4a73f9d00 bridges: Use appropriate OUString functions on string constants
Change-Id: I95ec7503ab7cf0309427118cc5af95eba4f5785b
2014-12-16 17:26:39 +01:00
Jacobo Aragunde Pérez
c13a1c2e5c Android: prevent NPE due to lack of permissions on a directory
Change-Id: Ia2f4c04ad4c524e8b72870acb0735793624f0916
Reviewed-on: https://gerrit.libreoffice.org/13278
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-12-16 15:52:32 +00:00
Jacobo Aragunde Pérez
8c68463dae Android: browse documents anywhere in the sdcard
Change-Id: I9e52489e13ed0eaeb5926347168de926cd9178b0
Reviewed-on: https://gerrit.libreoffice.org/13277
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-12-16 15:46:33 +00:00
Jacobo Aragunde Pérez
6d7f67eadf android: Show document browser back in the menu
Related with commit c7c2b4b54d.

There is nothing wrong with having several activities; in fact Android
development encourages using one activity per use case. After this
patch we have:

* One menu item that opens LibreOffice document browser. It covers the
  use case "open LibreOffice without documents".
* The viewer activity does not have a menu item but it responds to
  open intents triggered by any applications like file explorers,
  including the document browser.

Change-Id: Ie08b96e52d3a6a79aed3354620302705d7689381
Reviewed-on: https://gerrit.libreoffice.org/12108
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-12-16 15:38:29 +00:00
Miklos Vajna
450647a8a2 android: disable navigation drawer for Writer
Writer documents currently always have one part, so it's not possible to
switch to an other part anyway. Also hide the matching menu item
accordingly.

Change-Id: Ic634d46c4ff307416b2878e5bc8a590b22a827a0
2014-12-16 16:16:37 +01:00
Eike Rathke
ca9a81b2ca implement an actually working setErrorCell() from BIFF error codes
Not that we're currently using that, but..

Change-Id: I67b8fc324779875ba14e2d69204c40fe27cc180e
2014-12-16 15:44:11 +01:00
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