344974 Commits

Author SHA1 Message Date
Matúš Kukan
37facd4f70 Store compilerplugin warning about classes derived from a specific class.
Useful in case someone wants to find all classes deriving from "foo" and "bar".

Change-Id: I7b12882881712d37976eb8c96fad6e9c9ac01370
2014-02-14 11:11:53 +01:00
Stephan Bergmann
a5db342049 Fix GLEW debug stuff for Windows
Change-Id: I5fd3df862b59a621af1e3f965abc9820dba08c3f
2014-02-14 10:48:57 +01:00
Takeshi Abe
bbe3bec949 Drop unused #include
Change-Id: Id05440ffb8eb9990d2d08f721d6914f3dbc86cab
2014-02-14 18:44:05 +09:00
YogeshBharate
fa9d574ae1 Code changes for fdo#74107:File Corruption - Issue with outerShdw
Problem Description:
- In document.xml, outerShdw dist contains the negative value after roundtrip.
- Due to negative value file get corrupted.

XML difference:
 Roundtrip: Before fix
 <a:outerShdw dist="-1363652116480" dir="2700000">

 Roundtrip: After fix
 <a:outerShdw dist="57811035" dir="2700000">

Conflicts:
	sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
	https://gerrit.libreoffice.org/7880

Change-Id: Ied752672244d5768dee554e907f2f4d7a9d077d5
2014-02-14 10:42:13 +01:00
Chr. Rossmanith
363f1c1462 fdo#50763: handle inlined base64 images
Conflicts:
	sw/source/filter/html/htmlgrin.cxx

Change-Id: I2e9d17dafcf91872d8ea19089e68d8fe652b3e4e
2014-02-14 10:39:42 +01:00
Noel Grandin
a4d059e2b1 cid#704734 reference after null check
Change-Id: I54a51427347bdd363fc980db4c1ef1a1feb99177
2014-02-14 11:38:03 +02:00
Noel Grandin
ae8a688555 cid#704597 dereference after null check
this code dates back to the first commit, if the null check was
valid the dereference should have triggered a bug by now.

Change-Id: If074f68bde6a63083921f687e700321488842364
2014-02-14 11:38:03 +02:00
Noel Grandin
cf2e95aa5a cid#704596 dereference after null check
this code dates back to the first commit, if the null check was
valid the dereference should have triggered a bug by now.

Change-Id: I7746bd26b6760dec4db522938e40a323be9ae4d8
2014-02-14 11:38:02 +02:00
Noel Grandin
97c4c1cf51 cid#441406 dereference after null
someone already tried to fix this, but the check was too late

Change-Id: I63a8140009bc3f52ac924972a32c22603cf01971
2014-02-14 11:38:02 +02:00
Noel Grandin
a693fedcea cid#705020 dereference after null check
Change-Id: I11a208ef1648186c40249c27168fffd6a3419eff
2014-02-14 11:38:02 +02:00
Noel Grandin
6fd0c690a3 cid#705016 dereference after null check
pLB was already dereferenced in the call to GetMapPos, so no point
in checking it for null

Change-Id: I8b9c5f5e5725829fdeaa61488168d0d289b02b4c
2014-02-14 11:38:01 +02:00
Noel Grandin
6e0a080ef1 cid#705006 dereference after null check
no point in checking pDoc for null here, since we've already
dereferenced it earlier

Change-Id: If2d0268851654cb760458e6e138f0c92877adb8a
2014-02-14 11:38:01 +02:00
Miklos Vajna
c35d7018cf DOC export: restore quotation of SEQ field names
Commit d738b063134e97c780205f8baf138f291016ded4 (fdo#74431 : Captions'
are preserved but remove a space, 2014-02-03) unconditionally removed
quotes around SEQ field names, because the DOCX and RTF import leaves
those quotes around during import time. However, the DOC import strips
them away.

So till all this is unified, at least make sure that on export DOC still
quotes the field names, as it did since the initial import.

Change-Id: I3478f736c2e17824f268f92580767b90d9fdd006
2014-02-14 10:32:30 +01:00
Rajashri
d738b06313 fdo#74431 : Captions' are preserved but remove a space
For the below captions :
ALPHABETIC
alphabetic
ROMAN
roman
ARABIC
in document.xml, captions were added as
<w:instrText xml:space="preserve"> SEQ "scientific" *ROMAN </w:instrText>
-no space after *
-Double quotes added for scientific
-For Caption ARABIC, it was comming as
<w:instrText xml:space="preserve"> SEQ scientific *Arabic </w:instrText>
it should be
<w:instrText xml:space="preserve"> SEQ scientific * ARABIC </w:instrText>
- After adding the above code, anchor value for a hyperlink tag was getting
corrupted. So aaded a fix for that.
UT which was failing due to above code changes :testBnc834035
"equality assertion failed
- Expected: _Toc363553908
- Actual  : Figure!1|sequence"

Conflicts:
	sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
	https://gerrit.libreoffice.org/7839

Change-Id: I9124eefa0ae63baf7ee3eaa2148f3c739d6fa699
2014-02-14 10:25:03 +01:00
Chris Sherlock
64fe9c6fd5 fdo#74931 Prevent UpdateSettings from dereferencing null pointer
When calling on GtkSalFrame::GetGraphics(), if all graphics are in
use then it will return NULL. We don't currently check for this,
but we still try to use the graphics object even if none are
available.

I have added a warning when this occurs and just return immediately,
as there's nothing more we can do.

Change-Id: I24dfbb6f37f41527078a60a7577cb3b20de3fcca
Reviewed-on: https://gerrit.libreoffice.org/8031
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-14 09:06:38 +00:00
Tor Lillqvist
f8a8bbf303 Include glew.h on OS X for the debug_output stuff
Change-Id: Ib40e0d9898fa1cf2c08eba9ae969f9f5a984c830
2014-02-14 10:30:04 +02:00
Stephan Bergmann
f9d7430574 Merge AWTLIB and JAVALIB together as JAWTLIB
...only used in bean/Library_officebean.mk

Change-Id: Ic57eb66197f55562157c2ca961001ed01e9906b2
2014-02-14 08:41:16 +01:00
Stephan Bergmann
fc583270f9 Remove (hopefully) obsolete workarounds
...that lead to -Werror=unused-macros with gcj on Linux.

Change-Id: I7a77789fe212d1c87a4ac0a93a79cc7a8ba7a7ad
2014-02-14 08:41:15 +01:00
Stephan Bergmann
c7114eddf1 JDKLIB is apparently unused
Change-Id: I8d13b28a0a6f0063a9249417bd0518dc3b83f8d0
2014-02-14 08:41:14 +01:00
Tor Lillqvist
6124183d7b WaE: private fields 'mnStartRow' and 'mnEndRow' are not used
Change-Id: I067ad401608552df45275d0cbb73e486e93461ba
2014-02-14 08:40:23 +02:00
Tor Lillqvist
5a27120a11 INDEX_IGNORE is unused
Change-Id: Ib7691a078c45f1eb8c78bd4e639503a732e3ef8c
2014-02-14 08:14:07 +02:00
Tor Lillqvist
24deb95b9d Bin unused SVOBJ_MISCSTATUS_ defines
Change-Id: I50c116a4d143b8ee20340f45c6624266371050ca
2014-02-14 08:14:06 +02:00
Tor Lillqvist
cf62884435 Bin useless comments
Change-Id: Iee3e292dd6c35f52c64d4a264a850def7ae15b0d
2014-02-14 08:14:06 +02:00
Takeshi Abe
a0f78a0688 Drop unnecessary #include
Change-Id: I7518b1014676fda6cfc052e110859cfbf7ca30ad
2014-02-14 11:06:22 +09:00
Kohei Yoshida
377d749ff8 fdo#74558: Re-implement BinarySearch() to disregard empty cell blocks.
The old code before the calc core refactoring took advantage of the old
calc storage which did not store empty cells at all.  The new storage does
"store" empty cell blocks, and it did negatively affect the binary search
used for VLOOKUP.  The revised binary search code properly skips empty cell
blocks so that it will work more like the old algorithm in 4.1.

This change also fixes fdo#72348, which was caused by the same root cause.

Change-Id: Ic20cc54d8dae26b62f5e9193cd21dad06ad10a3e
2014-02-13 20:36:32 -05:00
Kohei Yoshida
fffc697178 fdo#72348: Add test to catch this.
Change-Id: I068cf19204d3091ebc59ee6be4e1a977bf237a04
2014-02-13 20:36:27 -05:00
Kohei Yoshida
888851bdd7 fdo#74558: Add new test case to catch this regression.
Change-Id: Ibef7131172938bd0ced6a3f4deeddaa98e9e7d6c
2014-02-13 20:36:21 -05:00
Stefan Knorr
e076b5290e Exit sounds terminal, so steal Firefox's Find bar tooltip text
Change-Id: I3e16f1ebafe5f497643abda3b1dbfdfeaebb60af
Reviewed-on: https://gerrit.libreoffice.org/8027
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2014-02-13 22:24:07 +00:00
Stephan Bergmann
0d39680002 More java.lang.System.mapLibraryName dylib vs. jnilib confusion
...like a76261ac9e40eb57e942db2c7aea8b8a5e904ff2

Change-Id: I803dc81344efb5e8021d9ef4146c06ecf82ca63b
2014-02-13 23:22:35 +01:00
Markus Mohrhard
f759239d7d fix QPro import filter, related #i41688#
We desperately need a test document for this format.

Change-Id: Ifd8e35bb3330c2b9d2443a3a0f18209001a4bdff
2014-02-13 23:16:42 +01:00
Markus Mohrhard
a0e3e985cd add documentation where to find spec and ile format docs for qpro
Change-Id: I94aa2a5522bdcf3f6c5cdd6fef200c678132b3d6
2014-02-13 23:16:41 +01:00
Markus Mohrhard
205ad30483 add native OpenGL debug output for dbgutil builds
depends on support of ARB_debug_output

Change-Id: I8c96284377e2cb9d2ee06ddd4101c1de4d0fbe9f
2014-02-13 23:16:41 +01:00
Markus Mohrhard
efb8378ce1 remove unused enum
Change-Id: Ib5cc05f20fad673c015700657f02a07659e0c566
2014-02-13 23:16:41 +01:00
Marcos Paulo de Souza
d7916449d7 Unify scmod and scmod2
Change-Id: Ib086ba744ac3f5fbd8e96ceda73e9fe2d578929f
Reviewed-on: https://gerrit.libreoffice.org/8036
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-13 22:04:25 +00:00
Miklos Vajna
53e3d79c63 writerfilter: NS_sprm::LN_PDx/yaFromText -> NS_ooxml::LN_CT_FramePr_h/vSpace
Change-Id: I651a1fd5279afa07929e6cfae4440f5b008d6215
2014-02-13 22:52:52 +01:00
Stephan Bergmann
a76261ac9e fdo#74683: java.lang.System.mapLibraryName dylib vs. jnilib confusion
Change-Id: I8fd7b908613a90c983f2244383432dd50ba10cdb
2014-02-13 22:46:10 +01:00
Norbert Thiebaud
c4ecc15b25 fast scale doubling of biptmap mess up mac retina but is needed otherwise
Change-Id: I3d4a4bbbd85719fbf1422d9397727dd73bd09f37
2014-02-13 15:13:32 -06:00
Caolán McNamara
29a95776c3 initialize mnRefCount members directly in ctors
Change-Id: I7b4ff643eb256519bc47d27f6e0a6a60aaf8768e
2014-02-13 21:04:54 +00:00
Caolán McNamara
811e6f6745 coverity#738003 Uncaught exception
Change-Id: Iddb64e592ae47dd5f22430778b8018fc8c9880c5
2014-02-13 21:04:53 +00:00
Caolán McNamara
be921ceb35 coverity#738003 Uncaught exception
Change-Id: I09a015a590eeb2457963dbb3cfcafd6a714f82c9
2014-02-13 21:04:52 +00:00
Caolán McNamara
46a2576c13 coverity#737846 Uncaught exception
Change-Id: I9257ec4d9ccb7c602a9537230b61be944371d3ad
2014-02-13 21:04:51 +00:00
Caolán McNamara
d051a056c9 coverity#737840 Uncaught exception
Change-Id: I3e11ac315adbe2f64bfc391234c517472950aeff
2014-02-13 21:04:50 +00:00
Caolán McNamara
70d10669b8 coverity#737837 Uncaught exception
Change-Id: Ia71f03515ae209619b73aa617c4649cc4de4dfa6
2014-02-13 21:04:50 +00:00
Caolán McNamara
537deaeac2 coverity#737836 Uncaught exception
Change-Id: I533cccc1dab5e8d722209c37f0c05331d5c206a8
2014-02-13 21:04:49 +00:00
Caolán McNamara
ec8fc9c7a9 coverity#737835 Uncaught exception
Change-Id: If5452880070876a4dfc2526b08928fb219a60529
2014-02-13 21:04:48 +00:00
Caolán McNamara
f5b2959152 coverity#737833 Uncaught exception
Change-Id: I71b3022c84a861959ec1c70a7d2f9e94766df250
2014-02-13 21:04:47 +00:00
Caolán McNamara
7cb5f8b07d coverity#737831 Uncaught exception
Change-Id: Ie528eb19db50abc475ebc1e9b575e8dfbc5e87c6
2014-02-13 21:04:46 +00:00
Caolán McNamara
9ee7a875f8 coverity#737828 Uncaught exception
Change-Id: I60920fe65102185139438f5bec663480310b96c6
2014-02-13 21:04:45 +00:00
Caolán McNamara
42e1ae627f coverity#737827 Uncaught exception
Change-Id: Iab21baa94bb2fa3d0de6155e670f198d35de72e9
2014-02-13 21:04:44 +00:00
Caolán McNamara
4b86ca0903 coverity#737824 Uncaught exception
Change-Id: Ie8ba13265b436eb3ca548d5ccd2ca28d1e65e035
2014-02-13 21:04:44 +00:00