summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-06Unittest generation of page number placeholders in table of contentsTobias Lippert
Conflicts: sw/inc/ToxTextGenerator.hxx sw/source/core/tox/ToxTextGenerator.cxx Change-Id: I15c963b6e1a8823a1fdafd2c123d18ba3dc9f134 Reviewed-on: https://gerrit.libreoffice.org/9611 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-06missing mode-lines, stray semi-colonsCaolán McNamara
Change-Id: I89fc2b0385cebbf5c629e67fa89ba1dd30486f35
2014-06-06fdo#30732 Retain selected character attributes for table of contentsTobias Lippert
The text and selected attributes are copied from the source text node and added to the target node at the corresponding positions. Conflicts: sw/inc/ToxTextGenerator.hxx sw/source/core/tox/ToxTextGenerator.cxx Change-Id: Ifa329bfcb2b9691120513236909bcadaf1127b5e Reviewed-on: https://gerrit.libreoffice.org/9610 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-06fix typo in test file nameDavid Tardon
Change-Id: I12bfa086577fcb56cabffcca2eda675d02791fde
2014-06-05...which empirically shows that LateInitThread is uselessStephan Bergmann
Change-Id: Ic2946eef616eae39576d162ca534831753bd3c89
2014-06-05Make warning more usefulStephan Bergmann
Change-Id: I58226f74e644e2aa65dddf5bcb0832dc67c8a6e3
2014-06-05...and so m_lDetectServices is never readStephan Bergmann
Change-Id: I3ea0c037d2b614b010093692dc6451110d2b342c
2014-06-05impl_resolveItem4TypeRegistration can be staticStephan Bergmann
Change-Id: Ie2b83a472972194210c3b579a041a11a2ff76786
2014-06-05...and so m_lChangedDetectServices is alway emptyStephan Bergmann
Change-Id: I9a4ef55eb243f5aabd0c909b0e4594c928e459cd
2014-06-05...and E_DETECTSERVICE is just as unusedStephan Bergmann
Change-Id: I6f7c230e83a58f4889696b98fcd7bf24d0853ce0
2014-06-05E_CONTAINS_DETECTSERVICES does nothingStephan Bergmann
...ever since its inception in 16ac8733020a726c5b5b955f20709f9c2894c140 and 9b79c1d48c0b562d1fc7d0427caf98f43590a837 "INTEGRATION: CWS filtercfg." Change-Id: I34422a1c5641802bfb15720f5bfa8ca16fb54aab
2014-06-05Simplify SAL_WARNStephan Bergmann
Change-Id: I76c03d5e846fae6cba87be522a10d20e45528e4c
2014-06-05coverity#1213246 Dereference null return valueCaolán McNamara
Change-Id: I682a1e912728d6e52df258c7528e358f2883b323
2014-06-05coverity#1019354 Missing break in switch, assuming intentionalCaolán McNamara
Change-Id: I4dd2f68e8712a2c76797a33c54d1baf69975830f
2014-06-05coverity#705317 Missing break in switch, assuming intentionalCaolán McNamara
Change-Id: I9bd2ffc1ebf22f6f5ea61a448b7c9e83e724fa4d
2014-06-05coverity#705245 Missing break in switch, assuming intentionalCaolán McNamara
Change-Id: I2ac6acde603c89c5b7736ec7f1a1b42b28726827
2014-06-05coverity#705243 Missing break in switch, assuming intentionalCaolán McNamara
Change-Id: I4882ba5028e45528cafc1170bc4de6c3a2ea7a12
2014-06-05coverity#705214 Missing break in switch, assuming intentionalCaolán McNamara
Change-Id: I6c62c7fc18dc43504ff65cece55ba189bf59aa60
2014-06-05standing on eachothers toesCaolán McNamara
Change-Id: I66a395b3af11a191215538bc8033b41facf558b7
2014-06-05SAL_DLLPUBLIC->SW_DLLPUBLICCaolán McNamara
Change-Id: I608f190de7c8cac50c84fa9f4eaa0d838ceca21b
2014-06-05writerfilter: remove unused factory.xslMiklos Vajna
Change-Id: Ib86598c20edd64035766ffb4fe572789f8a4335a
2014-06-05sw: oops, forgot to commit thatMichael Stahl
Change-Id: I66c50300a797fd096b34ecb5eda16cf783fe4195
2014-06-05loplugin:saloverrideMiklos Vajna
Change-Id: Iff296171e373bae256c7bf182de44e8fc8d7e60d
2014-06-05sw: SAL_DLLPUBLIC breaks windows buildMichael Stahl
Change-Id: I42934ff9ff2c046c82ac2fbb03c944efaeeb4b95
2014-06-05loplugin:passstuffbyrefMiklos Vajna
Change-Id: Ia1fb74ec77b34449df49843271e87546ee68a96d
2014-06-05coverity#736056 Missing break in switch, assuming intentionalCaolán McNamara
Change-Id: I4f729d26bae2f2e371e0f2c7aabd5cabd7bf5a62
2014-06-05coverity#736075 Missing break in switch, assuming its unintentionalCaolán McNamara
Change-Id: Id00c93eb5b43b8dfb38ecfe4c40076b8b1a18465
2014-06-05loplugin:implicitboolconversionMiklos Vajna
Change-Id: I8fac41d74ada3e85c09bcbeba4856dfe03966ed4
2014-06-05C2782: we hate you sal_Int32 as long on 32bitCaolán McNamara
Change-Id: I2c8d57f36be15fb4410b11f657e7621022eafa67
2014-06-05they're not copyable, deploy boost::ptr_vector insteadCaolán McNamara
Change-Id: I2e44b9e60622981141eb7af9753898b9f98b238a
2014-06-05fdo#72727: Revert "-Werror=unused-but-set-variable second try"Kohei Yoshida
This reverts commit ccf7b15c0a5776c6431fdcb0c0e2b0f3935ae3dc.
2014-06-05fdo#72727: Revert "fdo#68663 don't blindly force categories when there are none"Kohei Yoshida
This reverts commit b090cbdf82e0827234caf5969124f6631311ef35.
2014-06-05Fix memory leakStephan Bergmann
Change-Id: I74001eb033abd7ceb10da60ea707f876d9f22c08
2014-06-05Avoid undefined mis-aligned memory accessStephan Bergmann
Change-Id: Ie79a0810cf00217fe2b9ffd34e21aeb7b2299c0d
2014-06-05If no bounds can be determined, assume some reasonable defaultsStephan Bergmann
(instead of the twisted huge values with which aBound got initialized) Change-Id: Ic6fe08639287eb7b5a0520aef8d2a0d43d61c035
2014-06-05Unittest link generation for table of contents.Tobias Lippert
The logic was moved to a separate class and unittested. Conflicts: sw/inc/ToxTextGenerator.hxx Change-Id: I0e4475f5e2950cdfdfb07b89128c4ce1d6af3f22 Reviewed-on: https://gerrit.libreoffice.org/9609 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-05Unittest the whitespace stripping logic for tox text generationTobias Lippert
The separate class allows to unittest this functionality in isoloation. Change-Id: I1e5eddfb455ca85a662ea38c03302883decc5d58 Reviewed-on: https://gerrit.libreoffice.org/9608 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-06-05CppunitTest_sw_ooxmlimport: remaining textbox portingMiklos Vajna
These are the remaining changes: with these, if we import "drawingML shape with text in DOCX" as "shape with textbox", no testcase in this suite fails. Change-Id: Ic39cc204e3cfb662f14db1810f7138df0829eb27
2014-06-05Resolves: #i125050# correct text range for comment/annotation...Oliver-Rainer Wittmann
at a table cell selection (cherry picked from commit ec7fc735e031f643e324b0924a1f2ca753cb314d) Change-Id: I51fa9ab0a77ab06e295452216865d0fae44bc263
2014-06-05drop comment about removed step 4 nowCaolán McNamara
Change-Id: I955a716621d4d566797ca39c008ff183d0656b4f
2014-06-05Resolves: fdo#79021 cannot delete ListBox from inside its own Select handlerCaolán McNamara
Change-Id: I884e617b112397697a702216b62d0c1e17aae536
2014-06-05WaE: -Werror,-Wmismatched-tagsCaolán McNamara
Change-Id: Ie0ca0c8c8e404642bbe9a918a1cb125b596ef4fc
2014-06-05Resolves: #i125024# remove code regarding table selection...Oliver-Rainer Wittmann
as it is not used any more. (cherry picked from commit 65f39887f41e701b699fd2e51da803d116766eb8) Conflicts: sw/source/core/crsr/viscrs.cxx sw/source/core/inc/rootfrm.hxx sw/source/core/layout/trvlfrm.cxx Change-Id: Ia37e73a515a8f5d0218e4e4144e75f18449599c9
2014-06-05WMF record size < 3 is clearly brokenStephan Bergmann
...so we should not attempt to (mis-)interpret such broken input. Change-Id: I97f4f46fdfc0dfe6f9aff42917d23634b844c7f0
2014-06-05CppunitTest_sw_ooxmlimport's testFdo69636: use getShape()Miklos Vajna
getShape() doesn't case if the object is on a drawinglayer one or a Writer TextFrame, and that's exactly what we want. (Currently is a TextFrame, but will be a drawinglayer object when shape with text will be imported as shape with textbox.) Change-Id: I6ae981700d214447f326e6a0fb550b98380bc10c
2014-06-05update to openssl 1.0.1hCaolán McNamara
Change-Id: Ie20c190e36e89a1b3b2ac9a0efaa50af2df77523
2014-06-05unify the handling of string position arguments, fdo#75971 relatedEike Rathke
Only two text functions had the full set of checks as introduced by the fix for fdo#75971. Let all text functions check their arguments in the same way. Additionally this will ease a transition to accept string lengths >64k in spreadsheet functions as now we have only one place that checks for SAL_MAX_UINT16 instead of having that scattered all over the place. Change-Id: I454e617a59d0b3c2ca725047e7f8c7370bc0bb1f
2014-06-05SwAnchoredDrawObject::GetObjBoundRect: avoid SwDoc::SetModified()Miklos Vajna
This is a const method, but it does a const_cast to still resize an object... if that's so, then we should ensure that the "is modified" flag of SwDoc is untouched. CppunitTest_sw_ooxmlimport's testChartSize is a reproducer for this, when shape text is imported as textbox. Change-Id: I6dedb31520a14127ca91782874c285f6e0f93c65
2014-06-05SwDoc::dumpAsXml: show mbModifiedMiklos Vajna
Change-Id: I491d4af104453bb5ff3b55b28e3e1775d8aab8f7
2014-06-05Extract TOX text generation to its own source fileTobias Lippert
The separate source file will make it easier to unit test the functionality Also: move some constants to tox.hxx to have them available in the new source file Conflicts: sw/source/core/doc/doctxm.cxx Change-Id: Ib0369cc4875043829f55d30a549997560a38cc35 Reviewed-on: https://gerrit.libreoffice.org/9607 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>