summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-04-02sw: [loplugin:stringconstant]Michael Stahl
Change-Id: Idb8a113254574ca5f998980ede91e42f9bd09277
2015-04-02Added test function for Search-and-Replace with TransliterationVarun
This test function checks the search-and-replace operation with some Transliteration Flags enabled. Change-Id: I86e0068e9d91e4fe426f9d6c120baf66e59e2b7e Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-04-02use helpers some moreBjoern Michaelsen
Change-Id: Ia448046b41d6d7594b1ff6f630dbbd4217e13732
2015-04-02condense item population code down a bitBjoern Michaelsen
- the functor argument is likely overkill, but I havent checked yet if there are sideeffects from the item ctor in the previous late eval Change-Id: I439ac3095013945b725ad02ed04076bf008a71c0
2015-04-02use helpers some moreBjoern Michaelsen
Change-Id: I596f25d3098edeef154917201ba6fd2f351517b3
2015-04-02throw instead of returning an empty AnyBjoern Michaelsen
Change-Id: I299ac48e480517289348c651f28b5c7fc7653362
2015-04-02throw instead of silent noopBjoern Michaelsen
Change-Id: I47dddce1513a870c27844d88694295c5999c0c7f
2015-04-02simplify UNO boilerplateBjoern Michaelsen
Change-Id: I07538ae4b33a4fa1f07bc6bb4ce6b9af2159e40f
2015-04-02simplify UNO boilerplateBjoern Michaelsen
Change-Id: Iec0f4bff0d32c79e3ee8b545abe30d03bddb162b
2015-04-02be honest and throw about unimplemented functionsBjoern Michaelsen
Change-Id: I912297a79d3eb99700dce635ab606eee190350e5
2015-04-02loplugin:staticmethodsNoel Grandin
Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
2015-04-02DocxAttributeOutput::m_pPostponedCustomShape: use std::unique_ptr<>Miklos Vajna
Change-Id: I73916d70278068e1cec979f080cce00f25c54f1c
2015-04-01sw: remove pointless SolarMutexGuard in SwXTextMarkup::ModifyMichael Stahl
Change-Id: Ifb96e8194a29bee3a92e2a957f08a5c51584e565
2015-04-01i#105557: fix locking for SwXTextMarkupMichael Stahl
... by adding the usual sw::UnoImplPtr pImpl. This was crashing in sw_unoapi under ASAN in the dtor's SwClient deregistering. Change-Id: I038ca21e04fae7599113b949846a23e1ca73181e
2015-04-01sw: remove utterly pointless assignment in SwXFlatParagraph::changeText()Michael Stahl
It will be set to 0 at the end anyway. Change-Id: If9a8a70057a03980c37951f9ce74e1ae27541bfb
2015-04-01Typo: wheter->whetherJulien Nabet
Change-Id: Iab5e7de499452924b4ac0d34cc604ee38395c813
2015-04-01CppunitTest_sw_ooxmlexport5: try to make MacOSX_37-tdf-buildbot happyMiklos Vajna
Blind fix, can't reproduce the problem locally. Even if the XPath we give explicitly requests one XML node, we get multiple ones: equality assertion failed - Expected: 1 - Actual : 2 - In <file:///var/folders/_n/q7swt8596vz0063kvnql9nrw0000gn/T/luyyyujc.tmp>, XPath ´//w:formProt[1]´ number of nodes is incorrect Change-Id: I380fd077c5740b3045f64a6748dd96d1b213e453
2015-04-01sw: fix error handling in SwXTextTable methodsMichael Stahl
PythonTest_sw_python fails because of an unexpected IndexOutOfBoundsException, because "complex" tables have 0 rows / columns. (regression from 84e71f3bad28f2003a0f654f0938d5bc7e309666) Change-Id: Ieb958594e56dc007812cc44ad8440eb49698e926
2015-04-01tdf#88360: sw: fix crash on closing help in Navigator windowMichael Stahl
SwContentTree::pActiveShell is not cleared because of a check that the shell exists, which is only done in the special case bIsConstant. * at most one of bIsActive or bIsConstant is true * the only place that calls SetActiveShell() if bIsConstant is true already checks this condition So remove the unnecessary check from SetActiveShell() Change-Id: Id3b3b98bd38303b5afc529cc8be669872bd354b7
2015-04-01sw: -Werror=sign-compareMichael Stahl
Change-Id: Ia493809149d0a0bc7e4890e4ec5889a6ba9cfe8e
2015-04-01WaE: comparison of integers of different signsTor Lillqvist
Change-Id: Iae6be25962975f7db2226d4e5d58ce69eb23de57
2015-04-01tdf#60060: unit test for docx section protection exportEilidh McAdam
Change-Id: I307466e7336bcf767ebb1ac3bb330cfb2130f84c Reviewed-on: https://gerrit.libreoffice.org/15003 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-04-01tdf#60060: DOCX export of section protectionEilidh McAdam
Initial implementation - no password protection is saved. Specific sections are protected in OOXML by using form protection; that is, only form elements may be edited in protected sections. Change-Id: I294064bbc4e3c307d17001ebd21f1bd6f07de42c Reviewed-on: https://gerrit.libreoffice.org/14895 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-04-01Revert "Revert "skip SkipImages unit test on Windows""Michael Stahl
This reverts commit 7ea8046c741c8b7b608f26e312cc5f1056752c09. Unfortunately test still fails on WNT tinderbox but it works for me locally, disable it again.
2015-04-01also refactor description setterBjoern Michaelsen
Change-Id: I69deac6d830f63aea94f3512ab4156217fbc7b27
2015-04-01refactor labels getter on one baseBjoern Michaelsen
Change-Id: I21a6ea8d76b94e09ae05e63a01d451b776e6ddcd
2015-04-01create generic getCells() functionBjoern Michaelsen
Change-Id: I36f0b7113e22b801295eb704b8f5f9df4536eddc
2015-04-01more testing on the text table descriptionsBjoern Michaelsen
Change-Id: I39bab96587b9c1580dd4d7a92f61f39ed5d3b754
2015-04-01give each test an own docBjoern Michaelsen
Change-Id: I89906cfef234c51f117f06eca0dbb4101cce6b01
2015-04-01Add support for cppu::UnoType<void>Stephan Bergmann
Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1
2015-04-01Revert "skip SkipImages unit test on Windows"Michael Stahl
This reverts commit dae63f3dd8216aea7f6b594433b180d633d5551d. Crash should be fixed by fae6699c2ec8d68766bb8d5f71483d4b65792327
2015-04-01Remove redundant Reference<> from within UnoType<> usesStephan Bergmann
Change-Id: I1aeb9c73c284e39f371e49ded98e8dba0d055056
2015-04-01convert BOX_LINE and BOXINFO_LINE to enum classNoel Grandin
since their usage is intertwined. Also introduce new o3tl utilities enumrange and enumarray to make working with scoped enums a little simpler. Change-Id: I2e1cc65dd7c638e59f17d96dfae504747cad6533
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
Change-Id: I091e11ab1e7fbacf04a0eac51262d22d3835ab17
2015-03-31sw: fix obscure crash in SwXTextDocument::getSomething()Michael Stahl
xNumFmtAgg may be null if you directly call global ServiceManager's createInstanceWithContext("com.sun.star.text.TextDocument") Change-Id: Id619a3f5c9e3f8281f9ef72db132c64287e027c4
2015-03-31sw: remove pointless wrtsh/docsh.cxx fileMichael Stahl
SwDocShell already has 4 or 5 other cxx files. Change-Id: I591d6e5d7ebf5727b4a760add2eeea04c3ca5abe
2015-03-31sw: prefix members of SwOleClientMichael Stahl
Change-Id: I60fe718c489fc47d667534560241a8b3eb5f20a6
2015-03-31sw: no need to handle a null SwDoc in SwDrawModel ctorMichael Stahl
Change-Id: I9ac596ade8b42979ee3fc944af878c702a7e223b
2015-03-31sw: prefix members of SwDrawModelMichael Stahl
Change-Id: Ica69a3c94e674c12619ec0f5c849b8e82dff6090
2015-03-31sw: clean up odd formattingMichael Stahl
Change-Id: I0e84e3dce84096a9085c911e6b82f5a4ee90d903
2015-03-31sw: prefix members of SwPageDescMichael Stahl
Change-Id: I252c2f84a3edc83f069d5983e3fa5f479c289e42
2015-03-31sw: prefix members of SwPageDescExtMichael Stahl
Change-Id: Ie45dbf981dd63181450b471408879cf8c01655d1
2015-03-31sw: prefix members of SwPageFtnInfoMichael Stahl
Change-Id: I5ccad27938941d5b1311bb4fd15353ea8ea34d77
2015-03-31sw: convert these SwFEShell members to std::unique_ptrMichael Stahl
Change-Id: Ida2def93baf8d389e8000d5c31ac50dea7cd4c1b
2015-03-31sw: prefix members of SwFEShellMichael Stahl
Change-Id: I785df37d61762a4df2b6af18435f668df873625d
2015-03-31sw: prefix members of SwEditShellMichael Stahl
Change-Id: I8a06e0660767f23518952e22cca1b56c16d0bbd1
2015-03-31sw: SwDocShell::aFinishedTimer dead since 2006Michael Stahl
becf02e58637276ab80227ffb19aa01c86e4962d removed the last use Change-Id: Ib72a36961dbe4c6218125f48ed251be964016f9d
2015-03-31sw: prefix members of SwDocShellMichael Stahl
Change-Id: I9a9797c96dfdbf5ca464f863517abd9001845015
2015-03-31sw: prefix members of SwWebDocShellMichael Stahl
Change-Id: I1400d1bc452d81e1a7596e50d8f9552f026eea08