summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-01loplugin: cstylecastNoel Grandin
Change-Id: I44408c89d00064ae00e4e0ae154ba79c35e56c7f
2014-10-01loplugin: cstylecastNoel Grandin
Change-Id: Ie3d13eccdf444d569cbe40befb45eb86941160b6
2014-10-01blind fix for windows buildNoel Grandin
Change-Id: I8c3d8ccccb039bc82b23d74b41ca4254f50d5c84
2014-10-01DOCX drawingML import: handle char color from theme for shape textMiklos Vajna
When we import table styles, we apply that as direct formatting, in case there is no real direct formatting, see lcl_ApplyCellProperties() in the sw UNO implementation. We can do the same here: in case there is no other formatting, then apply the char color from the WPS theme, that will give us the expected result. Change-Id: Ic8e6afc09167f7924a11ab0b445351075f16738e
2014-10-01Unused writerfilter::dmapper::StyleSheetPropertyMap::mnCT_TcPrBase_vAlignMiklos Vajna
Change-Id: I64a7c56da33d3d093fc63168671b157c44847b72
2014-10-01disable cve tests by default on windowsCaolán McNamara
what we really want to do here is to disable if there is a virus checker active that will cause us grief Change-Id: Ic1162c9e1cf7a8ee09ca1dbf03b5be02dd20b981
2014-10-01fdo#82577: Handle KeyPressNoel Grandin
It appears that this became unnecessary at some point Change-Id: Iee7c09d00f8dee79f51f0a93b8f5f16137c9c626
2014-10-01Blind fix for AndroidStephan Bergmann
Change-Id: If997720635f99726e14c00132308529f96e639c8
2014-10-01scripting: std::auto_ptr -> std::unique_ptrStephan Bergmann
Change-Id: I91f4a037dfcfbea83cb1ea546ea73880f0480961
2014-10-01sal: work around spurious Apple clang warning about pointer cast to intMichael Stahl
Change-Id: I4e4281ac8767c9a6b6b85bc759f28bcf074d8e39
2014-10-01avoid calling OUString::copy() with length being -1Luboš Luňák
Which asserts in dbgutil build. Change-Id: I0f8205ae98c5a57c430b7d8a574e4c0019855841
2014-10-01loplugin:implicitboolconversionStephan Bergmann
Change-Id: Ia63460949a3ba58f0394f5b94e0d906ca7849710
2014-10-01fdo#82577: Handle IconNoel Grandin
It appears that this became unnecessary at some point Change-Id: I6638d68d1c44162b4aa62224dc03c19c2413180e Reviewed-on: https://gerrit.libreoffice.org/11715 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-01Revert inadvertent modification of type_reference/offapi.idlStephan Bergmann
...from 9835bb562cfe3a5d386c24d86176ba7bb5ab26d2 "MM: export the SwDocShell mail merge via UNO." It shall only be edited manually when deliberately going incompatible. Change-Id: I19c82dca3b6537631a155629d6072b516b32ded5
2014-10-01mysqlc: These shall be plain "Time" not "tools::Time" apparentlyStephan Bergmann
Change-Id: Id96a75bb8a07ea3b9701b9fe4692dfc81dbd8295
2014-10-01Constify dumpAsXml and friendsJan-Marek Glogowski
All these dump functions should never change the dumped objects so 'const' all of them. Change-Id: Id83422e3950a73e48feb4708fbd4c251506997e0
2014-10-01MM: first unit test and infrastructureJan-Marek Glogowski
Extendes SwModelTestBase with mail merge functions and a declaration of the DECLARE_MAILMERGE_TEST macro and uses it in a first test. As most tests it's registered as a slow test run by 'make check'. The broken MM used to drop the leading empty pages, which resulted in a document with 4 pages and the two page bound draws merged per single page. Tests the MM result for page count (eight) and each draw anchor to be on a different page. Change-Id: Iab17f5844e68221d48cb89863323bcfe4c8ae0d2
2014-10-01MM: add non-UI LoadAndRegisterDataSource functionJan-Marek Glogowski
For the mail merge unit test we need a function to register new database sources without any UI interaction. This refactors and introduces new versions of LoadAndRegisterDataSource, which gets all previously interactive values as arguments. Change-Id: I1601b4112ddc800a0935950133d386ce349b9087
2014-10-01MM: export the SwDocShell mail merge via UNOJan-Marek Glogowski
This saves the loading time for large document. Use it if you want to present the generated document to the user or write a mail merge unit tests. This includes: * renaming "only" to "shell" at multiple occurences * dropping the DBMGR_MERGE_SINGLE_FILE special type for the mail merge wizard in favour of an additional SwMergeDescriptor boolean * cleanup and renaming of the internal merge type enums, so these actually match the diffferent merge targets: printer, email, file and shell Change-Id: I33c6773972195193687ba9c3e12b562310d330c1
2014-10-01MM: dump debug documents based on environment varJan-Marek Glogowski
Introduce SW_DEBUG_MAILMERGE_DOCS=<n> to dump n mail merge debug documents (partly merged and working copies). This will speed up mail merge unit tests and allows dumping of an arbitrary amount of intermediate mail merge documents. Change-Id: Idb9fc19f99ccafe5574897bd1e687d439c52ebe5
2014-10-01Use sal/log.hxxStephan Bergmann
Change-Id: I54fd66b8788171884c6d3d6e7645871615d48080
2014-10-01sal/osl/unx/thread.c -> .cxxStephan Bergmann
Change-Id: I6cb46a51dda3fda51a3b6413656da15fc5bdb04d
2014-10-01fdo#82577: Handle TimeNoel Grandin
Put the TOOLS Time class in the tools namespace. Avoids clash with the X11 Time typedef. Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866 Reviewed-on: https://gerrit.libreoffice.org/11684 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-01Fallout fdo#83010: wrap on limits also in corner casesKatarina Behrens
e.g. when spin != 1 and min != 0 Copies the algorithm from now non-existent WrapField widget, it used to work there ... Change-Id: Id12f2565f10f272bec4e61737add9c197b674d3b
2014-10-01Use constants for ST_LineNumberRestart valuesMiklos Vajna
Change-Id: I9fe7909bb8f6174ac05edb340a7d5606f077679d
2014-10-01Replace TSdrObjectPtr with unique_ptr with custom deleterStephan Bergmann
Change-Id: If15e1bab07ee5e9c70a6a0f1961ec2db0c946eb5
2014-09-30Improve SvTreeListBox classPalenik Mihály
It is possible to set alternating rows. Expert Configuration dialog use it. Change-Id: Ie43a87ca05be73fdb345fa4866f31c2c36b7cdf1 Reviewed-on: https://gerrit.libreoffice.org/11663 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-30sw: when getting a property value in a unit test, a void result is a bugMichael Stahl
Change-Id: Iba0e43c198c3380426d0572427c591f4d77ba09b
2014-09-30actually the LineStyle property is *write-only*Michael Stahl
... which is highly suspect in any case, but whatever. Change-Id: Ibeff36a7d30750fc33e9729b067f86b3901d1c76
2014-09-30Resolves: fdo#79129 Crash in oox::drawingml::LayoutNode::setupShapeCaolán McNamara
Change-Id: I0bafd2c43d29806eea0ff0cb165e67aece53488f
2014-09-30fdo#62081 Improve split menu on style dropdownSamuel Mehrbrodt
* Remove "Apply style" * Add "Update Style Based on Selection" * A11y: * Context menu key: Open submenu * Return key: Apply style Change-Id: Ib2960baa1412a05ea00b0e214d1af0a3d119e852
2014-09-30forms: use Arrays.toString in integration.forms.RadioButtonsRobert Antoni Buj i Gelonch
Change-Id: I797692857c874d879192ca9a4ff73b98ed5ebd86 Reviewed-on: https://gerrit.libreoffice.org/11721 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-30forms: replace StringBuffer with StringBuilderRobert Antoni Buj i Gelonch
Change-Id: Iee1b7ea214e5ed2fdd8bd5fe93dc16fbaaf312a8 Reviewed-on: https://gerrit.libreoffice.org/11720 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-30clean up some weird type-casting in SvxRTFParserNoel Grandin
...it was casting between a std::vector and a struct. Just store the struct. Change-Id: I37afa2ea27aa45d0849e01b45837129719eaf138 Reviewed-on: https://gerrit.libreoffice.org/11705 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-09-30fdo#79269: add a unit test for first-page header tooMichael Stahl
Change-Id: I787c72cd219e16ca89a00dd9073448d8264e7bd8
2014-09-30android: disable packaging of un-needed UI files.Michael Meeks
Appears to save ~10Mb of apk size. Change-Id: I7c49da979e2868628bf3cf07937e898d717a5071
2014-09-30sc: std::auto_ptr -> std::unique_ptrStephan Bergmann
Change-Id: I25468d578de597ff9aeba3ffc850c630fa532767
2014-09-30Some glue for using std::unique_ptr with the Boost Pointer Container LibraryStephan Bergmann
Change-Id: Ie975e963ed64fb96542a9771f85eef72d8266496
2014-09-30Get rid of some auto_ptrStephan Bergmann
Change-Id: Icd477e433f0c294c823c64147d49fb4ac6bfb447
2014-09-30reportdesign: std::auto_ptr -> std::unique_ptrStephan Bergmann
Change-Id: If387245dd587d4191589fcf93c02f1ca12654456
2014-09-30vcl: use DBG_UTIL for additional members in SolarMutexTryAndBuyGuardMichael Stahl
... for consistency, and to keep the ODR police away. Change-Id: Id4bf23be1e57cc29dfed9331d75034a33c2910f8
2014-09-30SfxBroadcaster: add some SolarMutex assertsMichael Stahl
It is extremely likely that calling SfxBroadcaster methods without SolarMutex lock is a bug; in case somebody finds a counterexample, this should be reverted. Change-Id: I4706671cfa22a3cfaed9cd33d4a77b14a57bb661
2014-09-30SwXAutoTextEntry: de-register on SFX_EVENT_PREPARECLOSEDOC eventMichael Stahl
Evidently (sw_unoapi) it's possible that ~SwXAutoTextEntry() completes but the thing is still registered at a SfxBroadcaster - probably because the Notify() method may clear xDocSh without de-registering. Change-Id: I81a7f4ab3a9f3d685181891d6a7f5a826b7d2bf0
2014-09-30sd: SdUnoForbiddenCharsTable gets a SolarMutexGuard tooMichael Stahl
Change-Id: Ie742b7e38e60f6a77f6b7c3e56ac415d8cb836e1
2014-09-30scripting: another missing SolarMutex guardMichael Stahl
Change-Id: I762dad4d94ab4f27912b4ddac5b6a77f7d685cb8
2014-09-30sc: ensure global variables in tests are cleared before shutdownMichael Stahl
If the destructors run from exit handlers, they could access already deleted globals from VCL etc. and crash. Change-Id: I265046e95998a4384e1ce0f1f205d03c078a40a9
2014-09-30SvxShape destructor un-register at broadcaster with SolarMutex lockedMichael Stahl
Change-Id: Ie9bd6d0fc1b221e77c4d37a26c999aa34afbe0ee
2014-09-30sc: lock SolarMutex before calling ScDocument::RemoveUnoObject()Michael Stahl
This can race against other threads calling AddUnoObject(), and hopefully this should fix the assert from SfxBroadcaster::AddListener() line 96 that has been observed in sc_unoapi. Change-Id: Ia2dd38a499c51a77c54cffe9dde31e14053ae0e5
2014-09-30chart2: add a SolarMutexGuard in ChartView::createInstance()Michael Stahl
SvxUnoNameItemTable::SvxUnoNameItemTable() registers a listener at SdrModel, surely that needs a lock of some kind. Change-Id: I80d5a31be66e75f07e8abd26504bdcc93ffd22a3
2014-09-30German comment translation.Florian Reisinger
Change-Id: I2a0691724e6cf0248f9b5854b824f0d6d52308ba