summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2015-10-14coverity#735879 Dereference after null checkCaolán McNamara
Change-Id: I2a0fa04be569ae567719a8829b42796eadff28b6
2015-10-14coverity#735880 Dereference after null checkCaolán McNamara
Change-Id: Id7bc74352d6808a074fe227e11f998e95a050329
2015-10-14coverity#736826 Dereference before null checkCaolán McNamara
Change-Id: I155f952f5eda086e3d134b387514968f67de4910
2015-10-14coverity#735862 Unchecked dynamic_castCaolán McNamara
Change-Id: Id23987edcff82621cbe932b4273fec0371bd481b
2015-10-14coverity#735864 Unchecked dynamic_castCaolán McNamara
Change-Id: I669ffab93976a61321f471586256fb52c9bd3451
2015-10-14coverity#735865 Dereference after null checkCaolán McNamara
Change-Id: I6ebe8a0fb2e63b83406434d5fce0af8994f12458
2015-10-14coverity#735877 Dereference after null checkCaolán McNamara
Change-Id: I04da87e895d9b6724dd48fa579008944118f87bc
2015-10-14coverity#735878 Dereference after null checkCaolán McNamara
Change-Id: I7607cef90750b5a527ff74fd3d793ed7c3a3811c
2015-10-14coverity#735879 Dereference after null checkCaolán McNamara
Change-Id: I07661496c70fba3e012a3bb4f9bc592377eb124c
2015-10-14coverity#735880 Dereference after null checkCaolán McNamara
Change-Id: Id31bac44391f0319ec31c72b77f1b471c32d0a68
2015-10-14coverity#1326208 Unchecked dynamic_castCaolán McNamara
and coverity#1326207 Unchecked dynamic_cast Change-Id: Icaf60592f1be2aeea1d010241965df7f9e76f2c7
2015-10-14convert Link<> to typedNoel Grandin
Change-Id: I1876f327607e0e23292950741df348d4ec31fde1
2015-10-13coverity#735874 Dereference after null checkCaolán McNamara
Change-Id: I74a4a126116638aa33193f267e2f86a3c364fbae
2015-10-13coverity#1326210 Unchecked dynamic_castCaolán McNamara
Change-Id: I729af592a74aff7c40a5ae5311d8c5aff2ddee04
2015-10-13coverity#1326499 Resource leakCaolán McNamara
Change-Id: I561e8f7ff472d7d2578e30145024405e74088ffc
2015-10-13tdf#95002 sd tiled rendering: fix handling of images on page switchMiklos Vajna
It turns out a full invalidation is still needed to trigger the loading of graphics on the new page, so instead of not invalidating just don't emit the notification about it during page switch. Change-Id: Ic99a3d4e268b3db61cf09c78ed0f310c9d365867
2015-10-13remove some useless commentsNoel Grandin
found with git grep '// /' Change-Id: I948cf9ae61bbbf2ec706ca5b0572c4f27c58c745
2015-10-13cppcheck:variableScopeNoel Grandin
Change-Id: I7cbd5a9e9bb5417f754d4e2445df309140fd40af Reviewed-on: https://gerrit.libreoffice.org/19329 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12disable arrow heads in chart sidebar, tdf#94971Markus Mohrhard
Change-Id: I631f34faf2befeb7cc61027c8fd59ef7b3543785
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12sd tiled rendering: make invalidation in DrawViewShell::SwitchPage() optionalMiklos Vajna
In case of tiled rendering clients already get LOK_CALLBACK_SET_PART when switching slides, so it's pointless to additionally invalidate windows for help lines. Change-Id: Ibc15c9862ae85bd72328161fa5f7e72d82fd2a97
2015-10-12convert Link<> to typedNoel Grandin
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb Reviewed-on: https://gerrit.libreoffice.org/19305 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12valgrind: fix leakCaolán McNamara
Change-Id: I99ebee5015110144ea00415273b84fd2fc9ad2ba
2015-10-08tdf#89543: Solid line in place of 'none' start|end arrow entryKatarina Behrens
Change-Id: I20edf3b57a0d3ec98d6765825a718fa77a024999 Reviewed-on: https://gerrit.libreoffice.org/19039 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-10-07SvxStyleBox_Impl::CalcOptimalExtraUserWidth() is a (very) expensive operation.Jan Holesovsky
Don't call it ~20 times on startup, instead call it once when the user actually opens the styles dropdown. Change-Id: I7bb28d0739bf917d23041f384f60a39a7ed5cbea
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I02a276eb929800692dff51e9241cab9d2345fae1
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I9f495d748c2fe47fe5a91db21f44725fc00a7ed1
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I6ddee7ee5f54388dae6f001d9fb9fbdb4012e11d
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: Idebc9fabd8110dcd82c8cab7c5c7300e4c2c6f1d
2015-10-07Avoid clang-analyzer-deadcode.DeadStoresStephan Bergmann
...in case future modifications to SdrCaptionObj::TRSetBaseGeometry /will/ make use of fRotate. Change-Id: I25480efcbf1fede4af7241c4627dbfa7981793ed
2015-10-07Avoid clang-analyzer-deadcode.DeadStoresStephan Bergmann
...in case future modifications to SdrCropViewHdl::CreateB2dIAObject /will/ make use of fRotate. Change-Id: I059d61879fceca88893625b099d4e2c0bda65067
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I103580d25ebc3287fac4c8c846731192e4320dc9
2015-10-07Work around overly optimistic clang-analyzer-deadcode.DeadStoresStephan Bergmann
...which assumes that the switch is exhaustive over all possible SvxSearchCellType values, which in fact it is not (see the mail thread starting at <http://lists.llvm.org/pipermail/cfe-dev/2015-September/045021.html> "[cfe-dev] Unsound assumptions about exhaustiveness of enum switch cases?"). Make it clear via "default: std::abort();" that the switch /is/ known to be exhaustive over the possible values of pSearchItem->GetCellType(). Change-Id: Id06abc19c0092a334c363ee739a0eda1dc8cf760
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: I8f5c2ae658f8784233db98f752b6f9fa53110195
2015-10-07Prefer getSelectedFiles to getFiles (sfx2+sw)Julien Nabet
+ tweak files of other modules which needed it Change-Id: Ibb673eba6609734addd233ac1477698c01b94678 Reviewed-on: https://gerrit.libreoffice.org/19180 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-10-06tdf#94477 Make Format > Character accessible for customizationYousuf Philips
Change-Id: I45d02a6a24986175de2283c09e097f73d90cef73 Reviewed-on: https://gerrit.libreoffice.org/19187 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-06loplugin:unusedmethodsNoel Grandin
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
2015-10-05Return rtl::Reference from ShapeTypeHandler::CreateAccessibleObjectStephan Bergmann
...and handle related fallout Change-Id: Ie82d853a9bf28b359d5aab9d0af01b728d68ed70
2015-10-02svx, drawinglayer: handle tools Color <-> BackgroundColorPrimitive2D roundtripMiklos Vajna
Change-Id: Ia8c080ef50e1ddbfce17b5c5d357a240edea46f2
2015-10-02loplugin:unusedmethodsNoel Grandin
Change-Id: Ie1603adf3908fd0668bcbe8f75c6bafa0d0bfd6c Reviewed-on: https://gerrit.libreoffice.org/19072 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-01Fix typosAndrea Gelmini
Change-Id: I4452d4a4a4a61f39cd9c2b5a441c6c2017f15ce8 Reviewed-on: https://gerrit.libreoffice.org/19073 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-01Fix typosAndrea Gelmini
Change-Id: I6743b9e73e510eb0664cbbe727dad9fce01fc13e Reviewed-on: https://gerrit.libreoffice.org/18981 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-01tdf#94559: third step to remove rtti.hxxOliver Specht
replaced use of PTR_CAST, IS_TYPE, ISA in oox, reportdesign, svl, svtools, svx, tools Change-Id: I1f85ff92267a0668eba625fa61b4f07feb8f3d4e Reviewed-on: https://gerrit.libreoffice.org/19002 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-10-01remove old standalone Sun bug numbersNoel Grandin
Sun bug numbers without any accompanying text are completely useless. Fixed with git grep -lP '//\s*#\d+#\s*$' | xargs perl -i -ne'/\/\/\s*#\d+#\s*$/d or print' And then hand-checking the result to restore places where it deleted code. And then some more grepping and hand-editing to kill the others. Change-Id: Ia96ce4466db8bb8da363ebf41f0ae7f45f28bf29 Reviewed-on: https://gerrit.libreoffice.org/19023 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-30Fix typosAndrea Gelmini
Change-Id: I7bb3caf76909603343f50568b68e3eadeb1cac30 Reviewed-on: https://gerrit.libreoffice.org/18980 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30Fix typosAndrea Gelmini
Change-Id: I92f9eda138c387dde3095e1a6281bdcec3a2adde Reviewed-on: https://gerrit.libreoffice.org/18982 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-29Renamed wrongly prefixed boolean variablesStefan Heinemann
Fixed tdf#94269 Change-Id: I63109cc4e095bad680d7637a065080ea368860ae Reviewed-on: https://gerrit.libreoffice.org/18851 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-29loplugin:removeunusedmethods, remove unused stuffNoel Grandin
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-09-29fix coverity#1325071Caolán McNamara
Change-Id: I36e2e15b3c01c3d648feb23d8c886ea26301a5fd