357024 Commits

Author SHA1 Message Date
Michael Stahl
008b98f928 nss: document why --with-system-nss can't be used in generic builds
Change-Id: I93ce16b4dd059ca0ed79975cfb6373dd629f29a9
2014-07-16 11:15:33 +02:00
Takeshi Abe
d97b5e420f Avoid possible memory leaks in case of exceptions
Change-Id: Icecc2cce52d7f27c030270639e6b85877e3aa620
2014-07-16 18:01:39 +09:00
Jacobo Aragunde Pérez
9a6cf48618 LOAndroid3: Prevent crash when opening a nonexistent file
Change-Id: Ic0fbe955dfdb8f044d7bf0f45215a632a111eae2
2014-07-16 10:21:56 +02:00
Jacobo Aragunde Pérez
0a6d7d6ef2 LOAndroid3: Open any text document via intents
Change-Id: I06ed104e4f26191b1ca1eb9c34aa54e3b0422500
2014-07-16 10:21:56 +02:00
Oliver-Rainer Wittmann
133d6d8d4d Resolves: #i121443# register text frames and graphics...
on the correct page frame

- trigger formatting of selected object when moving view to the selected object
or when graphical horizontal line has been inserted.

(cherry picked from commit 82fafc47de0c59c783c5df596c976a429ff8a21d)

Conflicts:
	sw/source/core/frmedt/feshview.cxx
	sw/source/core/layout/fly.cxx
	sw/source/ui/shells/textsh.cxx

Change-Id: I4b4b523ff445f2ce20d9b81ad1187db7b44bd145
2014-07-16 09:01:02 +01:00
Tobias Lippert
7dd5f93088 translate comments in itempool.hxx
Change-Id: Ifd9c0dd2ceec08f50f3a8c4356fb288e65040dc5
Reviewed-on: https://gerrit.libreoffice.org/10345
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-07-16 07:30:30 +00:00
Valentin Kettner
6bd087bf86 Added #include <docedt.hxx> to DocumentContentOperationsManager.
For use of sw_JoinText and sw_GetJoinFlags.

Change-Id: I6bda9a41fcb42663517b505098f74ec596ac6551
2014-07-16 00:54:36 +02:00
Christian Lohmaier
9ac24948d9 update credits
Change-Id: I2ff32753c9fb6b8b48f9fc3228d91436951d09a1
2014-07-16 00:49:29 +02:00
Valentin Kettner
9b2110de48 Fixed another build failure caused by 2 refactorings.
Change-Id: I71f678e60586706ba427485055c26059bb68caa6
2014-07-15 21:59:40 +02:00
Matúš Kukan
4e9d8ca44a libreofficekit does not work with libmerged
Change-Id: I3ca4cf51f6d3999a0f701f108a7c5c21329eb1c7
2014-07-15 21:59:17 +02:00
Norbert Thiebaud
7a8fcfca98 fdo#79673 quartz: draw 'bullet' for 'space' directly in one pass
the current implementation of CoreText simply dropped the proper
implementation of DrawTextArray, by ignoring DXArray
this very visibly borked the show-non-displayable character
feature of writer.. the bullet representing the 'spaces'
was quite misplaced.
This solve specifically this problem.
More work is needed to bring proper support of DXArray back to CoreText


Conflicts:
	vcl/inc/sallayout.hxx
	vcl/source/outdev/text.cxx

Change-Id: Idb2cc90d5ffaa8b83f79241cee2d512112d1c3be
2014-07-15 21:45:11 +02:00
Norbert Thiebaud
6c8de2b107 Revert "fdo#79673 revert to old NPC for MacOSX only"
This reverts commit 3a2010c711b0ca4d762681dd0967ad08bc1e23fc.
Prep to apply a full fix.

Change-Id: I3b71ad79f65e48456d9fd9d257bf471faa0f3482
2014-07-15 21:42:37 +02:00
Cédric Bosdonnat
a8fd30771a fdo#72277: NSS-PEM windows fixes.
Added missing SEC_ASN1_MKSUB for windows to build
Use PL_strcasecmp instead of strcasecmp.
Fixed remaining declaration not at begining of a block
Added missing nsspem.rc for windows

Change-Id: I144f9cf19c0efe85ad68011cf81e0466aa1ac9f5
2014-07-15 21:32:25 +02:00
Miklos Vajna
3f2d6c7f7a writerfilter: convert factory_ns to Python
Change-Id: I64996b3f96f51ba80ade636c13a2919410672a27
2014-07-15 21:23:33 +02:00
Michael Stahl
6b00bfeefd overriding destructor not explicitly marked 'virtual' [loplugin:saloverride]
Change-Id: I5d2ee4952443b70ffacfb916423dbb600109c813
2014-07-15 21:06:48 +02:00
Michael Stahl
e8ec81d4bf sal: unx/mutex.c: try to avoid system declarations with _GNU_SOURCE
Apparently the __USE_UNIX98 that is required to get the goodies is not
defined for some reason; apply some brute force to get it defined
(we don't care about anything older than RHEL5's glibc 2.5 anyway).)

For mysterious reasons "system.h" defines __USE_GNU but not _GNU_SOURCE,
which appears odd...

Change-Id: I97d75050a6be7f393d5cdb686f1357da052109f7
Reviewed-on: https://gerrit.libreoffice.org/10301
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-07-15 19:04:45 +00:00
Matúš Kukan
7321a65971 -Werror,-Wheader-guard
Change-Id: I6b13c77975d8aeef63b424e418a4a4a98ced159f
2014-07-15 19:55:37 +02:00
Matúš Kukan
6e6cbf44d8 WaE: unused variable 'sMarker'
Change-Id: Idba194e9bafa17dcedd5d1d45c5e0b4e3db54cee
2014-07-15 19:52:43 +02:00
Miklos Vajna
fc3eb493ac Related: bnc#875718 DOCX import: fix missing character grab-bag on fields
The problem was that in case:

1) The paragraph only had a single text portion, which was a field and
char grab-bag was set on it and
2) The paragraph had a style which also set the character grab-bag

then during import the field's gra-bag was set on the paragraph (as it's
the only portion) and later the paragraph style overwrote this, in case
that had a grab-bag, too.

Work this around by ensuring that in case of portion fields (i.e. not
ToC, which has its own paragraphs), there are always at least two
portions in a paragraph (the second is removed later).

This also fixes the fake paragraph problem at the end of the bnc#875718
testcase. (There was an empty paragraph at the end of the document, but
not in the file itself.)

Change-Id: Ie404bc043d46157ea6157b18c4a46395cf496118
2014-07-15 19:05:06 +02:00
Heena Gupta
6d3269ad94 fdo#80569:FILEOPEN:4.4 Regression .docx chart not rendered properly
Change-Id: Ic3304c1bd11fcd372a0859a70a531675effe7af0
Reviewed-on: https://gerrit.libreoffice.org/10322
Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com>
Tested-by: Muthu Subramanian K <muthusuba@gmail.com>
2014-07-15 15:46:37 +00:00
Eike Rathke
b409aaa7d6 CID#703984 Unchecked return value (CHECKED_RETURN)
Change-Id: I5b0c633e25326272aed3bae0bf0847839a45d723
2014-07-15 17:31:25 +02:00
Eike Rathke
9d929e5682 CID#703986 Unchecked return value (CHECKED_RETURN)
Change-Id: I44149fca38e36be6d4302b2af93e72ae9093796a
2014-07-15 17:31:25 +02:00
Eike Rathke
94b3b4fdf1 CID#703987 Unchecked return value (CHECKED_RETURN)
Change-Id: I0e5bf12f1b874e3aa5428c92487cb58ef16c9cc3
2014-07-15 17:31:25 +02:00
Eike Rathke
6b84beb590 pDok can't be NULL, remove superfluous check
Change-Id: I639d6e27dd1a44ff878a2e0188fc42e27993b39f
2014-07-15 17:31:24 +02:00
Eike Rathke
b057b1f569 CID#735794 Dereference after null check (FORWARD_NULL)
pDok can't be NULL, remove superfluous check.

Change-Id: Ica1708f1b2c37bffbe388f22e8ac19a81b144f6d
2014-07-15 17:31:24 +02:00
Eike Rathke
945c16c527 CID#1000520 Logically dead code (DEADCODE)
Change-Id: Ib33dcd05dd6a9216c6138eafc550a257af97d8ab
2014-07-15 17:31:24 +02:00
Eike Rathke
e57d98227d CID#1000519 Logically dead code (DEADCODE)
Change-Id: I785901d6694fe914325965136852ed3098e59434
2014-07-15 17:31:24 +02:00
Eike Rathke
ffe7faf895 CID#1038293 Division or modulo by float zero (DIVIDE_BY_ZERO)
Change-Id: I9115f34d5957fc974a8f693f97b27f4534344f62
2014-07-15 17:31:23 +02:00
Eike Rathke
8d3454072d CID#1169815 Division or modulo by float zero (DIVIDE_BY_ZERO)
Change-Id: Id90a018645ae37be600f942a8391dd56ff156b68
2014-07-15 17:31:23 +02:00
Armin Le Grand
8930030323 Resolves: #i125171# support lossless embedding of linked jpegs...
in writer for PDF export

(cherry picked from commit 131669af7168020750b726e4e6d1568975f73886)

Conflicts:
	sw/source/core/doc/notxtfrm.cxx

Add missing includes to fix build break

(cherry picked from commit 662b23eb1f1b7c178a7a5507864c647a390fae34)

Conflicts:
	sw/source/core/doc/notxtfrm.cxx

1e2c208ac91c8e666e4f3f6f89cd917736cdc44d

Change-Id: Ie560fa05964b79240fbd97825be74b0543c97aba
2014-07-15 16:15:18 +01:00
Caolán McNamara
60de576a29 use same swap stategy on all platforms
Change-Id: I565dfd9233088feae69de6261d1081fc51f10806
2014-07-15 16:15:17 +01:00
Armin Le Grand
0ca0202a09 Resolves: #i125111# limit mem footprint for GraphicObjects...
in 32Bit environments

Conflicts:
	svtools/inc/svtools/grfmgr.hxx
	svtools/source/graphic/grfmgr.cxx
	svtools/source/graphic/grfmgr2.cxx
	sw/source/core/doc/notxtfrm.cxx
	sw/source/core/graphic/ndgrf.cxx

"commit 62b0eaf37c08dd27244e77b8bc90c691b000ebd6
 Related: fdo#50697 reset the cache timeout on GetGraphic

 so the graphic gets swapped out Xms after the last use and not Xms after
 initial creation regardless of if it got used a moment earlier."

corrected place for stl sort function for linux

(cherry picked from commit a48414a396f7de4e00510e82e3744c097ce3d5d6)

Conflicts:
	svtools/source/graphic/grfmgr2.cxx

Change-Id: I79158b7d42629f8dec2bc5565540701bcd3ef6f4
6f21c7fd4d2681446fc1a6d9607366a1e69165a1
2014-07-15 16:15:17 +01:00
Michael Stahl
146c2e006e crashrep: loplugin:unreffun
Change-Id: I83d4c3ee02e59d40e793288d705c3fd06ebe3219
2014-07-15 16:32:31 +02:00
Michael Stahl
9bb70e1807 Revert "remove unused SvRefBase constructor"
This reverts commit 09a90c2ff5d39c3ae61b4041c3b39d3da0c640c1.

Apparently causes a crash in CppunitTest_sc_macros_test; it is
suspicious that the copy ctor is not made private in this commit, since
the compiler generated one would do something different.

Change-Id: Icb1121332d83e9f08d89535e3da6e10d690ac88a
2014-07-15 16:32:31 +02:00
Valentin Kettner
8bae207d8f Fixed build fail on MacOSX after f634ec5 .
Change-Id: I26b9063aca5518f21f76ff22690eb55d51f9c5aa
2014-07-15 16:32:11 +02:00
Joren De Cuyper
2dbd2cb9a5 Avoid infinite loop when gathering "g" element styles
Same way of how fdo#74743 is fixed 3b7472b284131c09d91b69f26d5d26d54648f939

Change-Id: If6cc8eb6ff89b0081f27ff75a9b60a3e81cff1bd
Reviewed-on: https://gerrit.libreoffice.org/10326
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2014-07-15 14:28:29 +00:00
Valentin Kettner
f634ec520f Refactored IDocumentContentOperations out of SwDoc.
Into the new class DocumentContentOperationsManager.

Made SwNodes in sw/inc/ndarr.hxx friend class to
DocumentContentOperationsManager so it can call DelNodes at end of
DocumentContentOperationsManager::DeleteSection .

Added DeleteAutoCorrExceptWord to SwDoc, its needed in the Manager.

Added a non const version of SwDoc::GetDfltGrfFmtColl() to SwDoc
because its needed in the Manager.

Made SwDoc a friend class to DocumentContentOperationsManager so it
can call SwDoc::checkRedlining and SwDocL::_MakeFlySection.

Moved SwDoc::CopyImpl_ , SwDoc::CopyWithFlyInFly and
SwDoc::CopyFlyInFlyImpl into the Manager.

Moved "struct ParaRstFmt" and "lcl_RstTxtAttr" from docfmt.cxx
in DocumentContentOperationsManager.hxx .

Change-Id: Icaab57f4a8c158a85e549ecb4aacc752bc95bbc9
2014-07-15 15:44:04 +02:00
Valentin Kettner
3fed83524d Refactored IDocumentOutlineNodes out of SwDoc.
Into the new class DocumentOutlineNodesManager.

Change-Id: I05581391a1474872113ae91d6429709d181cabfe
2014-07-15 15:44:04 +02:00
Valentin Kettner
87cb919c7c Refactored IDocumentListsAccess out of SwDoc.
In the new class DocumentListsManager.
The method listfunc::CreateUniqueListId was also moved there.
Added a new method deleteListsByDefaultListStyle to the Interface,
which is needed for SwDoc::DelNumRule.

Change-Id: I75ea554a57d9402d2fcfeaedf9fbe50fbae2b020
2014-07-15 15:44:03 +02:00
Valentin Kettner
c8a8695d4d Refactored IDocumentListItems out of SwDoc.
Into the new class DocumentListItemsManager.

Change-Id: Ic86200280caa1b6e2c940bb12149235223ed0cd2
2014-07-15 15:44:03 +02:00
Valentin Kettner
54ca3a6efa Refactored IDocumentLinksAdministration out of SwDoc.
To the new class DocumentLinksAdministrationManager.
Additional to the Interface methods SwDoc::SelectServerObj was also moved
and sw/source/core/doc/docdde.cxx was deleted as it became empty.
Also fixed OUString usage in IDocumentLinksAdministration.hxx .

Change-Id: I1f2bf0881a7d4add9c657b6441851ae14ad8d161
2014-07-15 15:44:03 +02:00
Valentin Kettner
a27e8f6c8d Refactored IDocumentTimerAccess in SwDoc into DocumentTimerManager.
Change-Id: Idb39ef2cdc34e0c0e7853de0a656f579ca3528da
2014-07-15 15:44:02 +02:00
Valentin Kettner
c88a3d3e8c Refactored IDocumentChartDataProviderAccess in SwDoc.
Into the new class DocumentChartDataProviderManager.

Change-Id: I3be038ba276642546223c0c2fba3bea21980b33d
2014-07-15 15:44:02 +02:00
Tomaž Vajngerl
a5d4e23704 fdo#80054 change color for NPC to "solarized blue"
Change-Id: I4ee3d2422982d37be3638b9647096e0b38314d56
Reviewed-on: https://gerrit.libreoffice.org/10327
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-07-15 15:36:47 +02:00
Cédric Bosdonnat
0058b43700 fdo#72277: NSS-PEM, use PR_snprintf instead of snprintf
Change-Id: I8aeb9a787992deb784e4e4430f7e0eab57f9a598
2014-07-15 14:31:25 +02:00
Matúš Kukan
3d76a540f6 Unit test for cell properties, where lastRow is used in table (bnc#887225)
Change-Id: Ia11dadcbedf6acc035b2d86da39a115bdb298591
2014-07-15 14:29:44 +02:00
Matúš Kukan
5d2f12a44d Do not prefer bandRow over firstCol/lastCol, nor the same with bandCol.
Change-Id: I0c573d721212c870e9ecc99ba5e8494073e09aaf
2014-07-15 14:29:43 +02:00
Matúš Kukan
47645734c3 bnc#887225: OOXML import: Correctly apply table style for lastRow.
nMaxColumn and nMaxRow are indexes, so use size() - 1.

Change-Id: I20055e55cf2464710fe553fb8067bad13a339084
2014-07-15 14:29:43 +02:00
László Németh
ea9331fd49 fdo#80363 always use WIN32 long path prefix with Hunspell, MyThes, Hyphen
Change-Id: I738401babffd38c241ef16e23d1b246444fd8d55
2014-07-15 14:25:58 +02:00
Caolán McNamara
65ecb0d8f4 Related: fdo#80633 we can retain cached size for visibility change
we still need to invalidate the layout of our parents, but we can
keep the cached optimal size

Change-Id: I8e77366bd61ff45d34f9d411c7f501a3a9ccbd4e
2014-07-15 11:56:09 +01:00