summaryrefslogtreecommitdiff
path: root/svx/source/sdr
AgeCommit message (Collapse)AuthorFilesLines
2015-11-115th step to remove tools/rtti.hxxOliver Specht3-7/+6
tools/rtti.hxx removed completed the interface of some Sdr.* Items and removed pseudo items Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a Reviewed-on: https://gerrit.libreoffice.org/19837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann31-120/+120
Change-Id: I71682f28c6a54d33da6b0c971f34d0a705ff04f5
2015-10-31com::sun::star->css in svxNoel Grandin9-52/+52
Change-Id: If2c11fa548c5ebef2297d2491edd837b54e3707c Reviewed-on: https://gerrit.libreoffice.org/19690 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-21use a default when avoiding configCaolán McNamara1-0/+5
Change-Id: I5f068a4f8f2f035070ea3ad16bf6d89f7ab0e0fd
2015-10-20loplugin:defaultparamsStephan Bergmann1-2/+2
Change-Id: I6bd0482967f35a4fc4c2384e775753c413c52162
2015-10-19loplugin:defaultparamsStephan Bergmann2-2/+2
Change-Id: I4e344e780baae6c9828d0d708dfb0a9390af533a
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann6-52/+52
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-2/+2
Change-Id: I103580d25ebc3287fac4c8c846731192e4320dc9
2015-10-02svx, drawinglayer: handle tools Color <-> BackgroundColorPrimitive2D roundtripMiklos Vajna1-1/+1
Change-Id: Ia8c080ef50e1ddbfce17b5c5d357a240edea46f2
2015-10-01Fix typosAndrea Gelmini1-2/+2
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 Gelmini8-10/+10
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 Specht6-10/+10
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 Grandin4-5/+0
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 Gelmini2-2/+2
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-29loplugin:removeunusedmethods, remove unused stuffNoel Grandin1-5/+0
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-09-20WaE: C-style cast from 'const drawinglayer::primitive2d::BasePrimitive2D' ...Tor Lillqvist1-1/+1
... to 'drawinglayer::primitive2d::SdrBlockTextPrimitive2D' (performs: static_cast) (BaseToDerived) [loplugin:cstylecast]. Change-Id: I5f4603335591ddd90a2241b7ddd96f0a1d6b6006
2015-09-20chained editeng: Add chaining attributes and chaining primitive creation logicmatteocam3-8/+53
Change-Id: I957d5261dd847fe5e950441585e879cfd5ae2fb2
2015-09-20chained editeng: Enhance existing svx classes with chaining-related methodsmatteocam1-0/+42
Change-Id: I10829d8f07f8881af6d1a9422cbdae00e83a7ac8
2015-09-18boost->stdCaolán McNamara1-1/+0
Change-Id: Ib5132c5623ef5adba28eabeb9ca67f8952a0f56c Reviewed-on: https://gerrit.libreoffice.org/18676 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-17revert for mac and win unit case crashes after boost->stdCaolán McNamara1-0/+1
Change-Id: I82c7084f203a834c2d42f9527705288e6036019b
2015-09-17unused headersCaolán McNamara1-1/+0
Change-Id: I0a9c174c9b67361f1502769239405eaf0a00adba
2015-09-16boost->stdCaolán McNamara10-20/+20
Change-Id: Ic18be8b86727dd1179a7e39c70493d088ed00557
2015-09-07svx: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe1-2/+2
with the variadic variants. Change-Id: Id881385b2653da2ee89498afbd6453d40acaea83 Reviewed-on: https://gerrit.libreoffice.org/18358 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-03Restored missing includes from source files.Ashod Nakashian6-3/+6
These source files relied on pch to include these missing headers (at least on Windows). Also included the script used to find the missing includes. The script is self-contained and includes unittests. It detects superfluous includes and required includes (which was used to restore the includes in this patch). Change-Id: I7ee09e5c712f42d5f6c3524898bc62dda78f5cc0 Reviewed-on: https://gerrit.libreoffice.org/18208 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-11loplugin: defaultparamsNoel Grandin2-4/+4
Change-Id: I513643385dc0a04b68c5cf4a5f43aa0804e572e6
2015-08-03new loplugin: refcountingNoel Grandin2-10/+10
This was a feature requested by mmeeks, as a result of tdf#92611. It validates that things that extend XInterface are not directly heap/stack-allocated, but have their lifecycle managed via css::uno::Reference or rtl::Reference. Change-Id: I28e3b8b236f6a4a56d0a6d6f26ad54e44b36e692 Reviewed-on: https://gerrit.libreoffice.org/16924 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-19Fix typosAndrea Gelmini2-2/+2
Change-Id: I52cbaad71560d73f5e24f3de3cd62b00d678dd6c Reviewed-on: https://gerrit.libreoffice.org/17187 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-16loplugin:unusedmethods svxNoel Grandin6-38/+0
Change-Id: I92158457b3ffaaf7c84c6f4c87708d766c8c9f61 Reviewed-on: https://gerrit.libreoffice.org/17117 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-15Resolves: tdf#63955 clip 19km long line to some sane limitCaolán McNamara1-2/+30
Change-Id: If9757a5fa2bb93b56b9cf9f566972f687a4a3a45 Reviewed-on: https://gerrit.libreoffice.org/17036 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-07-15refactor ensuring polygon has at least a line in itCaolán McNamara1-16/+23
just split that out into a standalone function, no logic change Change-Id: I061d5d716b3fc2a9fb6385e7fb249ce300752130
2015-07-08Fix typosAndrea Gelmini2-2/+2
Change-Id: I020c7ce4d9aa93cb0292378a410cdb9f7788e920 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-07-06remove some unnecessary typedefs around uno::ReferenceNoel Grandin1-4/+4
Not very useful these days, since we have the css:: prefix to reduce verbosity. Found with a search like: git grep -nP 'typedef .*uno::Reference.*<.*>\s+\w+;' | grep -v 'std::' Change-Id: I16f41c53837ec5c613545ae45df38b0daddcbadd Reviewed-on: https://gerrit.libreoffice.org/16730 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-04Fix typosAndrea Gelmini2-3/+3
Change-Id: Ic6415423f46aaee7ba90239a617c318cf92ae222 Reviewed-on: https://gerrit.libreoffice.org/16711 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-06-29Resolves: tdf#92275 impress grinds to a halt constant swapping imagesCaolán McNamara1-8/+13
This reverts commit 6c84442f99de109b585d3ba8964deb8dcf261c0f. "tdf#87820 Images not displayed properly in Calc" and replaces it with an alternative solution Change-Id: Iecb560d43767f0e41e442a307eefcdcecb7589ef
2015-06-28Fix typosAndrea Gelmini1-1/+1
Change-Id: I80995af6459af9f647e66d1c85da2eedad2647b9 Reviewed-on: https://gerrit.libreoffice.org/16523 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-16Fix typosAndrea Gelmini1-1/+1
Change-Id: Icfb885b72d51edc886851cf503c56fa12b8f559f Reviewed-on: https://gerrit.libreoffice.org/16309 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-16Fix typosAndrea Gelmini2-2/+2
Change-Id: I28cfc629dc3d6ef54128615452667ccce86c1072 Reviewed-on: https://gerrit.libreoffice.org/16297 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-16Fix typosAndrea Gelmini1-1/+1
Change-Id: Ieaf67cf597e05dbae5affa153af907fda4462a41 Reviewed-on: https://gerrit.libreoffice.org/16295 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-15sdr tiled rendering: stop animation timer's taskHenry Castro1-4/+7
Change-Id: Ia7281c853454e283150bba3c79aa9579363c7ca3
2015-06-15Fix typosAndrea Gelmini1-1/+1
Change-Id: Id05ea8cf8aed878bedfe73c274df3c67b64bad37 Reviewed-on: https://gerrit.libreoffice.org/16263 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-14Remove unused OpenGLObjectZolnai Tamás2-98/+0
Change-Id: I5c4832bd076cc5f05f936ac0d6a80027344e40ff
2015-06-09More CppunitTest_sw_uiwriter fixesMiklos Vajna1-2/+1
1) Guard against nDPI == 0 in ImplLogicToPixel(), it's the caller's responsibility to ensure that the DPI value is in the expected range. 2) pOut in sdr::overlay::impCheckPossibleOverlayType() is seen as 0. Change-Id: Iab5ff10aa7953993161dcad2d49d99d80c588e01
2015-06-06Typo: emty->emptyJulien Nabet1-1/+1
Change-Id: I495ae28194da449ab1b31b2b5ec0d9e08fbcc291
2015-06-04convert B2DLineJoin to scoped enumNoel Grandin2-10/+10
Change-Id: I4fb8f2c9e2080e3aa542d2ccf838e6784baa8429
2015-06-04convert MediaState to scoped enumNoel Grandin1-1/+1
Change-Id: Idf14f7d344be6c690cdd721cd5f7eb7c328b590c
2015-06-03coverity#1302605 Resource leak in objectCaolán McNamara1-7/+6
Change-Id: I574714c2d587ac22fcc812ffe8217f151ac40cb6
2015-05-26convert INVALIDATE constants to scoped enumNoel Grandin1-2/+2
fixing a bug in Window::ImplMoveAllInvalidateRegions, and improving the IDL docs for XWindowPeer Change-Id: Idb774ac913945db2ac7c492c11cf86c370624c3d
2015-05-24tdf#62525: use cow_wrapper for SdrTextAttributeThorsten Behrens1-71/+20
Change-Id: I8daf6d155c631cbdb850a6af95c92a578905d6e6
2015-05-24tdf#62525: use cow_wrapper for SdrFormTextOutlineAttributeThorsten Behrens1-61/+23
Change-Id: I7f75833bfec2cde140ded1dfe60aed2684905b0a
2015-05-24tdf#62525: use cow_wrapper for SdrFormTextAttributeThorsten Behrens1-58/+15
Change-Id: I0fd55ea6c775d771e001c0db78bb72c50e9b81cf