summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-08convert Link<> to typedNoel Grandin
Change-Id: I365a81a0a960f5da736c9a97aa056da16c99452f
2015-09-08new loplugin mergeclassesNoel Grandin
Idea from Norbert (shm_get) - look for classes that are (a) not instantiated (b) have zero or one subclasses and warn about them - would allow us to remove a bunch of abstract classes that can be merged into one class and simplified Change-Id: I4e43fdd2f549b5cbe25dcb7cee5e9dd3c1df8ba0
2015-09-08improve test caseMarkus Mohrhard
Actually I just need it to force a rebuild of the file on the windows boxes to fix the broken build. Change-Id: Id90f0ef40bd9bc8dcde3dc0a9040100267696d0e
2015-09-08try to fix the windows buildMarkus Mohrhard
Why do we need the DLLIMPORT macros in a header only class? Change-Id: I0da4e9a3fd9b8db77e7298d4d592fd29eff1f709
2015-09-08also add test for DoubleToStringMarkus Mohrhard
Change-Id: I3de9afa7b5d975487fd03ae2a9c5393143abff9c
2015-09-08related tdf#93676, also fix chart::CommonFunctors::DoubleToOUStringMarkus Mohrhard
Change-Id: I8d63d942c7cb7876b864a9720e9a8adbc7345172
2015-09-08related tdf#93676, add test for chart::CommonFunctorsMarkus Mohrhard
Change-Id: I9667611135300155ee87cca1ad444ad8a6a9aeb1
2015-09-08Revert "Related: tdf#93676 in msword chart appears with axis positioned ↵Markus Mohrhard
between ticks" This reverts commit 10654c038c0bc20fb348be7164e08f3de98718f4.
2015-09-07tdf#39468 translated german comments in tabview.cxx and tabview2.cxxAlbert Thuswaldner
Change-Id: I37d8752fa6a5b532c8fce3175bf42d3c8c93b3a8 Reviewed-on: https://gerrit.libreoffice.org/18360 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-09-07tdf#39468 translated german comments in tabvwshg.cxx and tabvwshh.cxxAlbert Thuswaldner
Change-Id: I4c978a1d2f2a63eae08e30a2f349b445b4a98ecc Reviewed-on: https://gerrit.libreoffice.org/18347 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-09-07tdf#39468 translated german comments in tabview3.cxxAlbert Thuswaldner
Change-Id: Idbd3b5a6bf0008409cf1b4f3764e1b34f4284de9 Reviewed-on: https://gerrit.libreoffice.org/18361 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-09-07tdf#39468 translated german comments in tabvwsha.cxx and tabvwshb.cxxAlbert Thuswaldner
Change-Id: I78c0f32498ae559604f78706db85141bbebf89ad Reviewed-on: https://gerrit.libreoffice.org/18359 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-09-07tdf#39468 translated german comments in tabvwshe.cxx and tabvwshf.cxxAlbert Thuswaldner
Change-Id: I7474d6ac1c7128ca5b22478b2abb3799c083e99c Reviewed-on: https://gerrit.libreoffice.org/18348 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-09-07TableRef: finally support header-less table structured referencesEike Rathke
Change-Id: Ifd6928bafc59abc252f29af81f26f6362e9fc933
2015-09-07don't use a null displayMarkus Mohrhard
Change-Id: Iab0a53abd723f0309f40742636315079a4b2c532
2015-09-07Typo: hirarchy->hierarchyJulien Nabet
Change-Id: I60ec3a95bf7d631fefe061335bf0955216df14b9
2015-09-07sw: fix newly created document being modifiedMichael Stahl
After the document is created, an event is dispatched on the main loop that calls SfxPickList::Notify(), which modifies document properties. It tries to prevent setting the document to modified by calling SfxObjectShell::EnableSetModified(false), but Writer cunningly outwits it by simply having its own independent(?) modified flag that is set unconditionally in DocumentStatisticsManager::DocInfoChgd(). Let's assume that if the modified flag shouldn't be modified in SfxObjectShell, it shouldn't be modified in DocumentStatisticsManager. Somehow in 4.4 and 4.3 the same thing was going on, but it didn't result in a visibly enabled Save icon in the UI, but with 5.0 it does - cannot easily bisect why that changed due to tdf#91383. Change-Id: Id30fd831eb29910c9fb44ed3031bf8da23586bea
2015-09-07avoid some OpenGL calls when vcl OpenGL is not enabledMarkus Mohrhard
There are even more and it is causing a number of performance issues. This just fixes the most obvious place. Change-Id: Id85c13b5b7f4bb0bc077e62c39258067e17c0094
2015-09-07related tdf#93676, we want to export all significant digitsMarkus Mohrhard
The code comment mentions correctly that we want to show all significant digits but a value of -1 means that the last digit before the decimal point is rounded away. Change-Id: Id91a6076e37629502281c5dda426018f93d1e465
2015-09-07related tdf#93676: make the bold property explicit for run exportMarkus Mohrhard
Change-Id: I5f7f993f2cf0604ec62cea3460b651c07a7b4383
2015-09-07tdf#91383: sw: actually reset the modified status tooMichael Stahl
... when deleting the temporarily inserted styles in SwDocStyleSheet::FillStyleSheet(). Change-Id: Id4abc067ce10b41486f659350267c7e3933db472
2015-09-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
...the code was like this ever since 8ab086b6cc054501bfbf7ef6fa509c393691e860 "initial import" Change-Id: I808296a280c01f02adeba1018b9f9bc6977971d3
2015-09-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
"return bDone;" was commented out ever since 8ab086b6cc054501bfbf7ef6fa509c393691e860 "initial import" Change-Id: I604c7b49623e730cbbe486563f1a91f713ff6810
2015-09-07loplugin:simplifyboolStephan Bergmann
Change-Id: Id325d05060e427ad46acd45d0ec3f0e9159cea9f
2015-09-07tdf#93996 - throttle gltf rendering to let UI re-rendering get in.Michael Meeks
Change-Id: I4a61595294c24a609a5952ce72f9f88524969784
2015-09-07windows opengl: fix CppunitTest_writerperfect_writerMiklos Vajna
Change-Id: I4a7199633d0d940ae009ac144989da7d6c9262ec Reviewed-on: https://gerrit.libreoffice.org/18378 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2015-09-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
...ever since its inception with fccfef4812b07a56e2ea0b7dabe27bfa6ec78ea6 "INTEGRATION: CWS impresshydra" Change-Id: I098b4434bfb1ed2c10f1476c21f1427fe2292b60
2015-09-07Related: tdf#93676 msword wraps slightly differently than usCaolán McNamara
Change-Id: I91ba41cb052c38aa3b047cf079090b01bbe93b39
2015-09-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
...the odd setting of iconSize (to the same value inside the if as well as unconditionally afterwards) was introduced in 17a5c8210349f9cd1943d0910fa281c6eac92701 "INTEGRATION: CWS vcl10: #109868# don't use ridiculously large icon sizes," together with the olwm comment, and olwm- specific code further down below that was removed again with b118d56c0b50d00822bdc2080e936709660edcc5 "Remove Olwm support and Windowmaker gravity handling;" so effectively revert the code to the state before 17a5c8210349f9cd1943d0910fa281c6eac92701 Change-Id: Ic68f6b5b44f48292a7a6983935427e529d8a5002
2015-09-07TableRef: SAL_WARN only if the fallback to cell lookup was successfulEike Rathke
... which means the internal column names should already had it. An unsuccessful cell lookup fallback doesn't necessarily fulfill a warning condition. Change-Id: I973b8edff83fcb47a34cc35fd9bf5163882f7742
2015-09-07-Werror,-Wreturn-typeStephan Bergmann
Change-Id: I843b2cb12783549033fc81f82751704859139960
2015-09-07Work around bogus warning C4701: potentially uninitialized local variableStephan Bergmann
Change-Id: I9c5d9c53785828b3535c960f826ccd3720b2e4c3
2015-09-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
...ever since c3607b3bcb4540a90dece1eb53d7945a959beb5c "INTEGRATION: CWS presfixes01" Change-Id: I29107b0e55d16a8a88e25c7b929eeb40d56686f0
2015-09-07svx: fix font rendering in the style previewMichael Stahl
If the style does not actually have any font items, as is the case for frame, page and number styles in Writer, the maFont will be default-initialized and the maPixelSize incorrect. Avoid using these variables. Change-Id: I084cd8faa90a3d53310ceec55e8dae3af3dd586c
2015-09-07tdf#90991: sw: fix style preview creating undo objectsMichael Stahl
SwDocStyleSheet::FillStyleSheet() already takes care to remove all temporarily created styles, so assume that works and suppress the creation of user-visible Undo objects. Change-Id: I748f0e8304c42e767b331ebd22be0290b9c0d89d
2015-09-07tdf#91383: sw: prevent style preview from actually creating stylesMichael Stahl
The dialog/sidebar should not actually create styles that don't exist yet, because it messes up Undo and the (unused) styles are then unnecessarily exported to documents. Due to Writer's ... unusual SwDocStyleSheet class this is a bit tricky. Add a new function GetItemSetForPreview() and use it from the style preview code. The implementation does not use FillPhysical so will temporarily create and then delete any non-existing styles. Skip page and numbering styles for now since they don't have a useful preview. (regression from ca95307638207db5d662059aa61594151a13e927) Change-Id: Id6ee30ea467fc24c991547a4c23a9ce14fdd86c7
2015-09-07sw: fix not-quite-copypaste code in SwDocStyleSheet::FillStyleSheet()Michael Stahl
This causes the temporary creation of frame styles to fail. Change-Id: I5d148ae008660d9c0f457a4c0e9dc256e0dfc49a
2015-09-07sw: convert boost::ptr_vector to std::vector<std::unique_ptr>Michael Stahl
Change-Id: I341fb7c0712dff77ebfed41560a487f85c27c25a
2015-09-07sw: convert boost::ptr_vector to std::vector<std::unique_ptr>Michael Stahl
Change-Id: If8d9770717c21875b4472b0d94a1fa5a9d136085
2015-09-07sw: erroneous vector assignment in SwTable::OldMerge()Michael Stahl
+ rLineBoxes = pFndBox->GetLines()[nEnd]->GetBoxes(); This actually assigns the boxes vector of the last line to the first line, which the previous code didn't do. Notably after converting the types from boost::ptr_vector to std::vector<std::unique_ptr>, the assignment produces a several page error message from both GCC and clang, and infuriatingly neither compiler was able to tell on which line in tblrwcl.cxx the template was instantiated, so i had to bisect that. (regression from be5e4247e2a164bd1f2eacf9a33d6d73df16d0e3) Change-Id: I646e3ca678895480d38ec48f38d720458860a985
2015-09-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
...the computation of nTop, nBottom was done in this curious way ever since its inception with 108632dc97a720639df495de3b5d966ee286be95 "CWS-TOOLING: integrate CWS impressaccessibility3" Change-Id: Ib516e944d96dc10ff12d0a82c0d8c921b57b0466
2015-09-07that change looked wrongMarkus Mohrhard
Change-Id: Id40a6802536120501133968d003267f21aaf5c27
2015-09-07use correct axis type in secondary x axis exportMarkus Mohrhard
Change-Id: Ic21d88b55b22c650de4fd69479b51d0f640fec6f
2015-09-07prevent crash with non-vcl OpenGL contextsMarkus Mohrhard
Change-Id: Ia829b0f723c8ded1237e52d48f034da3c1ac249e
2015-09-07Related: tdf#93676 unwanted duplicate axis title exportedCaolán McNamara
translateFromChart2AxisIndexToOox toggles between just two states, so convert consumers/suppliers of that to bool Then in exportAxesId toggle between primary/seconday pairs based on that, vs always exporting AXIS_PRIMARY_X + primary/secondary y Change-Id: I2649f5fc07323a73a3a215fdc52d5f1a5c31c349
2015-09-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I7c19ce1bde1eb405fe64aba7504fc511c0ab646e
2015-09-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
...ever since its inception with 485d404dc2d12f86acd9c69f19e9075bd375e861 "vcl118: #i115788# fix file specs vs. URI" Change-Id: I990c3610b29b060b516a21ec6cba615fa101ccb5
2015-09-07solenv: improve unittest-failed.sh for WindowsMiklos Vajna
Instead of saying what to do, do it, so the CPPUNITTRACE="... /debugexe" part can be copy&pasted. Change-Id: I2ae54ad52ffa7dfbbf8b4e61f1fa8a0079c7b570
2015-09-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
...needlessly added with 6d96720fd51ca4710c9ffef3db68ac13678f5bed "#98991# fix CJKV vertical glyph rotation, avoid obsolete FT helper functions" Change-Id: Ic0311ca8ae2b4c7d33c42f7fecaae4c95c24500a
2015-09-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
...ever since its inception with a949f50ce969b1f8d018d2913c0d86cfcec4e72a "implemented GetGlyphOutline()" Change-Id: I4591ac5c3d42053b3caa9d68bb12ad02dc319b66