summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
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
2015-09-29coverity1325072 Resource leakCaolán McNamara
Change-Id: I78db1f189d4773ba2ced52fee82add2344b7435e
2015-09-29coverity#1325071 Resource leakCaolán McNamara
Change-Id: If045233eeb0d8f6fab89dff4c4307a3b8bde5a92
2015-09-29coverity#1325066 Resource leakCaolán McNamara
Change-Id: I8065898bcce11f8b0243aea23854edee6fb05595
2015-09-29coverity#1325065 Resource leakCaolán McNamara
Change-Id: I87550b4972f65a34632f0cfe02eba1dc9fe22640
2015-09-29coverit#1325064 Resource leakCaolán McNamara
Change-Id: Iaf0798fdddf38698816dba6a1c512d8ce3a4db39
2015-09-29coverity#1325057 Dereference after null checkCaolán McNamara
Change-Id: I561751aa08831d65dd1762ffcd80b4ae9ff04a7d
2015-09-29coverity#1325056 Unchecked dynamic_castCaolán McNamara
Change-Id: I34989b976f06627ce38cb7db11a96b85b1b89b4e
2015-09-29coverity#1325055 Unchecked dynamic_castCaolán McNamara
Change-Id: Ib4017c3e771ed62a92328aced105c70159a2f1e2
2015-09-29coverity#705736 Resource leakCaolán McNamara
Change-Id: I124f75e56aad1bd5008a7d9d64328b0e6e5f874c
2015-09-29coverity#705735 Resource leakCaolán McNamara
Change-Id: I7d79c1332b6acde722d6134fcfe64b4333a4c2b9
2015-09-28valgrind: pChainingOutliner leaksCaolán McNamara
Change-Id: I090ae35b79f410a966e2433b2bc5431821554aad
2015-09-28Return std::unique_ptr from SvTreeListBox::CreateContextMenuStephan Bergmann
Change-Id: I1e4c32099ec9741c0cab246eb627a2eb3b933e1a
2015-09-26convert Link<> to typedNoel Grandin
Change-Id: If1dcc5e50b08540623bb21067c5f74e47192ef9a Reviewed-on: https://gerrit.libreoffice.org/18859 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-25convert Link<> to typedNoel Grandin
Change-Id: I7fd77490ab49a18f48e248ca277bc30b5a7d2071 Reviewed-on: https://gerrit.libreoffice.org/18858 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-24convert Link<> to typedNoel Grandin
Change-Id: I59d325c3b051690303a5841907317122fa1ec98b Reviewed-on: https://gerrit.libreoffice.org/18825 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-22convert Link<> to typedNoel Grandin
Change-Id: I12b3fdb443226a63786b94ce9836e9d2efa6a5c8 Reviewed-on: https://gerrit.libreoffice.org/18776 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-22convert Link<> to typedNoel Grandin
Change-Id: I285d7093f4d9db4a511fbf236f493cc4199ce534 Reviewed-on: https://gerrit.libreoffice.org/18775 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-22convert Link<> to typedNoel Grandin
Change-Id: Ifb8ccbbed6d7d00f15fa8cff5dfdcd5d55de0d5f Reviewed-on: https://gerrit.libreoffice.org/18773 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-22remove unused Link<> fieldNoel Grandin
Change-Id: If6c5719adf5240e12e798f72b25c5c19a09bc0f6 Reviewed-on: https://gerrit.libreoffice.org/18769 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-22tdf#89543 Unhide arrow style drop downsYousuf Philips
Change-Id: I44c2b93389b88c0c1821ac727b46275bce8b076d Reviewed-on: https://gerrit.libreoffice.org/18290 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>