summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-09-26Related: rhbz#1366710 fedora mips64 and mips64le use lib64Caolán McNamara1-1/+1
Change-Id: I34aacd5c15595786b8dde4202a7538c4ff7889a3
2016-09-26cppcheck: noExplicitConstructorCaolán McNamara3-3/+3
Change-Id: Id410f19787f25bc9633ff69fa947c477cc999420
2016-09-26implement prototype for more stable calc cell style namesMarkus Mohrhard21-10/+143
This should ensure that as long as the style does not change the cell style name is the same after an import export cycle. Each ScPatternAttr stores a unique ID and we store the ID to name mapping during import. During export if we find a ScPatternAttr that has a key that is also stored in the map we write back the style name from the map. To avoid name collisions we block the style names from the import for the export. The missing piece to make this completely awesome is now to make sure that styles are sorted by name during export. That way we can reduce the diff between import and export even more. Change-Id: Ie4fe2aa00f07efec27ea129e314ac0b6b7e0d8c0 Reviewed-on: https://gerrit.libreoffice.org/29255 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-26Resolves: rhbz#1378521 csv dialog a11y returns a new accessible on every queryCaolán McNamara2-4/+38
the gtk a11y rather assumes that the a11y things "belong" to the matching widget/component and those owners will dispose them, so follow that pattern here and dispose the a11y objects when the parent is disposed to reproduce, enable a11y, load a csv, click once in the first column of the preview area and cancel the dialog and close libreoffice Change-Id: Ib830da499e9f2d6fed94fb12ede7c929b607ab10 Reviewed-on: https://gerrit.libreoffice.org/29301 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-27bnc#957991: Improve pivot cache reading performanceTamás Zolnai3-16/+114
Performance problem was caused by grouping. Pivot tables with the same source are linked to each other by the pivot cache and so all the pivot tables were updated when one group was added to one of the tables. This code change first of all fixes a functional issue: group name was wrongly imported and so pivot tables using group fields were broken. This caused by calling RefreshPivotTableGroups() on a pivot table which is not part of the cache yet and so update was not called on this table. Calling ReloadGroupTableData() solve this problem. Second part of the codechange is about the consistency of the pivot cache. We have an invariant in this code to have the same groups for tabels with the same source. To keep this invariant we update every newly inserted tables adding the neccessary groups. The performance improvement here is that until the table is not part of the cache, it does not updates other tables. Group syncronization is done when the table is inserted to the ScDPCollection. Change-Id: Iaff55ffa3ed9c9b48cb18bd150eb4e1f7b617353
2016-09-26tdf#96505 Get rid of cargo cult "long" integer literalsRosen1-26/+26
Change-Id: Ica3a8ddc187949de765c8a065ada766d5e29b8b1 Reviewed-on: https://gerrit.libreoffice.org/29241 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-09-26CppunitTest_sw_uiwriter: avoid SfxLokHelperMiklos Vajna1-2/+3
It assumes that the process has only a single document opened (createView() creates a new window on the frame returned by SfxViewFrame::First()), while it's possible that in this test an other testcase forgot to dispose its component. This way testCursorWindows() depends less on other testcases, and ideally all testcases should be entirely independent of each other. Change-Id: I35decb0b69aeebd3984f4da4386c696a63fe3e04 Reviewed-on: https://gerrit.libreoffice.org/29300 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-09-26prevent adding duplicates in calls to GetCurrencyFormatStrings()Eike Rathke1-7/+16
Identical currency format codes popped up with fabb8f48dd89d71378daf293a974a412deccc961 that adds several currency symbols for the same ISO currency code, which of course also duplicates the format codes that use the ISO code. Do not offer them in UI which just looks confusing. Change-Id: I0bf039c400aa2e3bad946848ed4e57c8cfcb0fc3
2016-09-26Paraguayan locales [es-PY][gug-PY] use ₲, Gs and G currency symbolsEike Rathke2-4/+32
Gs respectively G were used as default so far, make them use the "real" currency symbol ₲ instead, but support and offer also both others for both locales. As discussed on the l10n list, https://listarchives.libreoffice.org/global/l10n/msg10167.html and thread. Change-Id: I5c60baa81f5a08029f524c9890bb6238d510f7f2
2016-09-26LLDB remove pretty-printing of long obsolete String classMichael Stahl1-16/+0
Change-Id: I8574c0b731efecb174370d09cfea2c89c27ab974
2016-09-26LLDB pretty print rtl_String / OString tooMichael Stahl1-0/+40
Change-Id: Iaf77d03d8116273054ae3efca88f44fd926bf211
2016-09-26sc: fix Android buildMiklos Vajna1-0/+11
to_string() is missing in the std namespace on the broken Android toolchain, work it around. Change-Id: I91c15cdcc906f35c6daef6be94f1260a7361942c
2016-09-26remove unused ICoreParagraphStyleNoel Grandin5-157/+0
which was introduced in commit aef1e2dde5e53ba8416a393bbe155ef0c18511a7 Author: Bjoern Michaelsen <bjoern.michaelsen@canonical.com> Date: Mon Dec 21 03:55:14 2015 +0100 move SwXStyle entirely into compilation unit but Bjoern can't remember why he introduced it: "Likely best to rip it out now and implement it properly when there is a good testcase for this XML filter scenario ..." Change-Id: Iaef19131d804369436097ab445d6c192587f9d9f Reviewed-on: https://gerrit.libreoffice.org/29297 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-09-26CppunitTest_sw_rtfimport: fix ASan/UBSan build failureMiklos Vajna1-12/+15
pDocShell->GetWrtShell() can be nullptr, even if pDocShell is not. Change-Id: I2d60475abe545c2dbb13ede74d2d65432a3c93a7
2016-09-26tdf#101249 fixed crash after inserting OLE objectSzymon Kłos2-5/+14
Change-Id: I4ddd52f5da1745a2b9f2d6d54d5091d8f10107e7 Reviewed-on: https://gerrit.libreoffice.org/29155 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-09-26sw lok: fix cursor position after inserting a commentMiklos Vajna2-2/+56
Make sure SwVisibleCursor::SetPosAndShow() doesn't emit LOK callbacks till a comment window is active. Need to invoke the unit test from desktop/, as the sw tests have the status bar disabled. Change-Id: Iab26024e9bb4da9c939bbd6cf769ec5c4dcb9a19
2016-09-26CppunitTest_sc_tiledrendering: std::string::find -> OString::startsWithMiklos Vajna1-2/+2
Change-Id: Ic7185cc0430e7007b1e4f27ba5c43d947405e198 Reviewed-on: https://gerrit.libreoffice.org/29292 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-09-26pt-PT AutoCorrect Abreviation sync with pt-BR version with linebreaksTiagoSantos1-91/+1817
- 'SentenceExceptList.xml' - This is the abbreviations exception list. I have not done any work on it. Cherry-pick from the Brazilian version, so credit goes to them. Change-Id: I373c82535675bf75fc90360a4c2d8c6c27a4cad3 Reviewed-on: https://gerrit.libreoffice.org/29277 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-09-26tdf#102499 (2): Refactor the WebDAV resource access retryGiuseppe Castagno3-19/+50
Change-Id: Ia29560d54a61f1238f3b4e945d78308a3a68c483 Reviewed-on: https://gerrit.libreoffice.org/29269 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-09-26sal: Mac OS X 10.8 fails test_log1pMichael Stahl1-0/+4
... because its libc log1p() does not return -0.0 unmodified but as +0.0 Change-Id: Ib3fcd005a9876e0e74775bf4f826a887cdd29279 Reviewed-on: https://gerrit.libreoffice.org/29237 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2016-09-26add ASC test caseZdeněk Crhonek1-0/+2579
Change-Id: Iab5d990411fad6fb7397bbd36d959db6e28a182c Reviewed-on: https://gerrit.libreoffice.org/29157 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-26tdf#102063 Notebookbar wont appear on launchSzymon Kłos5-44/+90
* removed static members from SfxNotebookBar to avoid crashes * Updating Notebookbar state after module load Change-Id: Ia4e3dcb0b6e2c5aa7c5205992dbf3575e72fa354 Reviewed-on: https://gerrit.libreoffice.org/28841 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-09-26sw: prefix members of SwXMLExportMiklos Vajna5-64/+64
Change-Id: Idd5897a9b74cd86e19cb0791b8c22ebd8528e91e Reviewed-on: https://gerrit.libreoffice.org/29290 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-09-26soon is nowMarkus Mohrhard2-15/+0
Change-Id: Ib4b8b949f00609149f9134fb2f286cd7e0dc0255 Reviewed-on: https://gerrit.libreoffice.org/29254 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-26That syntax is fine with MSVC 2015 nowStephan Bergmann1-2/+2
Change-Id: I83fee880e1248dd874f7f459aa670c74deda6a7d
2016-09-26convert PAINT constants to typed_flagsNoel Grandin54-304/+307
Change-Id: Ie0a02c87ca225ee7a8b8e76a2498836836e79c82
2016-09-26tdf#101094 (33): Fix: use the correct exceptionGiuseppe Castagno1-2/+2
Change-Id: I41e7cc0a1e176e44cb1b3fb87269eb6e052c6478 Reviewed-on: https://gerrit.libreoffice.org/29273 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-09-26convert CR flags to typed_flags_setNoel Grandin20-100/+105
Change-Id: I20f602eedc72581e22f18c514d8f406690844c28
2016-09-26convert HASATTR constants to typed_flags_setNoel Grandin34-175/+146
Remove unused constant RTL. Inline PAINTEXT constant since it is only used in one place. Change-Id: I7b2c15e7579fc5bc475d00fe714f17592bd5e2a1
2016-09-26convert SUBTOTAL constants to typed_flags_setNoel Grandin7-62/+67
Change-Id: If3d7f874d11de1eac53dc37c3e86667236db493e
2016-09-26convert BREAK constants to typed_flags_setNoel Grandin11-51/+56
Change-Id: I33edff5feca07ed891df4c6c4dbc470748c4f4b4
2016-09-26convert ScXMLImportWrapper import flags to typed_flags_setNoel Grandin3-15/+22
Change-Id: Id3aef9e6c43886d3c3fb9691a5d8f75499ed387c
2016-09-26convert CONTINUATION constants to typed_flags_setNoel Grandin5-97/+54
Change-Id: I38333e5d229aa520fbe0a8ad72007c503853956e
2016-09-26convert eNBOType constants to scoped enumNoel Grandin7-746/+15
and remove unused constants, which means we can remove the GraphicBulletsTypeMgr and MixBulletsTypeMgr classes Change-Id: I395691b48987543355379708e2c60d0de438d72c
2016-09-26convert eNBType to scoped enumNoel Grandin2-53/+51
Change-Id: I99340449d99ce6a6b45c91c913357bcdbbb9a946
2016-09-26convert ITEMCONN_ constants to scoped enumNoel Grandin6-82/+54
Remove unused enum values. Which means that these methods simplify to constant values: ItemConnectionBase::GetEnableState() -> TRISTATE_INDET ItemConnectionBase::IsActive() -> true so inline those values. Which means that ControlWrapperBase::ModifyControl is always called with a first parameter of TRISTATE_INDET, so drop that first parameter. Change-Id: I6d63b63b2f15faad2336665f60e7239e35b74e47
2016-09-26add ARABIC test caseZdeněk Crhonek1-0/+982
Change-Id: Ib7d65337063a6fb61af054f9c07fdb4bb8b62715 Reviewed-on: https://gerrit.libreoffice.org/29154 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-26ScStyleObj: Translate some German commentsMaarten Bosmans1-26/+24
Change-Id: I0e9b6300c15a42b4c5dd3d1d3a8097cd2fb934bc Reviewed-on: https://gerrit.libreoffice.org/29276 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-26tdf97667, add dumpAsXml for the conditional format dataMarkus Mohrhard2-0/+16
Change-Id: I2f78be8588ed75e1e1e569af01190dad720ff442 Reviewed-on: https://gerrit.libreoffice.org/29258 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-25add CODE test fileZdeněk Crhonek1-0/+3082
Change-Id: I037d034d044b41f8d7a3402d06fd0a78e4729efa Reviewed-on: https://gerrit.libreoffice.org/29265 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-25add GAMMA.INV test caseZdeněk Crhonek1-0/+4918
Change-Id: I0978bef88949b8464976c474da26c158ee0c1c63 Reviewed-on: https://gerrit.libreoffice.org/29192 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-25add test for tdf#100393Markus Mohrhard1-16/+19
Change-Id: Iee500b1721dc8cc8e76f86bd152353a4b0c67556 Reviewed-on: https://gerrit.libreoffice.org/29257 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-25handle the debug output earlierMarkus Mohrhard1-23/+25
Change-Id: I4a47fd063ca9f57d6f5d38abcc84e21899f28876 Reviewed-on: https://gerrit.libreoffice.org/29259 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-25tdf#91312, don't forget to delete the old cond format indicesMarkus Mohrhard3-10/+14
Change-Id: Ia3267bd52d2905cb332daa11b0e7c93251f43e55 Reviewed-on: https://gerrit.libreoffice.org/29260 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-25add CONCATENATE test caseZdeněk Crhonek1-0/+1316
Change-Id: I70d8176ad92f0cdb3fe4f12b5b6625bbb26f19af Reviewed-on: https://gerrit.libreoffice.org/29270 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-26loplugin:loopvartoosmall, use size_t for loop varsMarkus Mohrhard1-2/+2
Change-Id: I1657bd1e7f491ffdf21b3de055be2515a8f23e9e
2016-09-25avoid coverity#1371177 Missing move assignment operatorCaolán McNamara1-2/+1
Change-Id: Ib31f553915e6a0863a6b3dc53320b9287503a517
2016-09-25improve scopingCaolán McNamara1-11/+9
Change-Id: I69019979b59929ea65bdca56a731ee764fbe3e08
2016-09-25avoid coverity#1371166 Missing move assignment operatorCaolán McNamara1-18/+24
Change-Id: I0c5559c71f8a961bbab6fbd3a647aeca4a10b44f
2016-09-25avoid coverity#1371161 Missing move assignment operatorCaolán McNamara2-7/+6
Change-Id: Ief3dd38ade3fca74ea35e2a1a71637cba3336b59