summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/customshapegeometry.cxx
AgeCommit message (Collapse)AuthorFilesLines
2017-11-30ofz#4481: move Path2DContext body to onEndElementCaolán McNamara1-2/+3
Change-Id: Ic06fb71c679e87069afda391e598d360b4b59cc2 Reviewed-on: https://gerrit.libreoffice.org/45516 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-23loplugin:includeform: ooxStephan Bergmann1-4/+4
Change-Id: I9f1cc9940f5b31370394f789ebfaddfd6d30ca61
2017-10-23overload std::hash for OUString and OStringNoel Grandin1-1/+1
no need to explicitly specify it anymore Change-Id: I6ad9259cce77201fdd75152533f5151aae83e9ec Reviewed-on: https://gerrit.libreoffice.org/43567 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-31loplugin:constparams in ooxNoel Grandin1-27/+27
Change-Id: I43984b4ece82da39ca61a91fa14e4660298509dd Reviewed-on: https://gerrit.libreoffice.org/40581 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-09remove unnecessary empty OUString fields and varsNoel Grandin1-18/+14
Change-Id: I940120087a0bc6b1b0abc30a3e7727ce22b7d9a7 Reviewed-on: https://gerrit.libreoffice.org/37394 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-04cleanup includesJochen Nitschke1-1/+2
Change-Id: I9615a1da8224b0112acf5b811f7de566945c02c9 Reviewed-on: https://gerrit.libreoffice.org/37185 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-02loplugin:checkunusedparams in ooxNoel Grandin1-1/+1
Change-Id: I95bce82654bd0da7ed76ebd22b107b870ed15a1f Reviewed-on: https://gerrit.libreoffice.org/37144 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-23loplugins:redundantcast teach it about c-style typedef castsNoel Grandin1-1/+1
Change-Id: I1ac11a2481c0f4d8be1e1fd7c7637ac0ece3d65c Reviewed-on: https://gerrit.libreoffice.org/35558 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-28new loplugin unoanyNoel Grandin1-14/+14
Change-Id: I5d6c4a67cb2a09e7cd5bd620c6b262d188701b89 Reviewed-on: https://gerrit.libreoffice.org/34714 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-21loplugin:subtlezeroinit: ooxStephan Bergmann1-1/+1
Change-Id: I8a1b6baba6191b20264f32cbf73f5d75bc50235b
2016-12-13OSL_TRACE->SAL in framework..salNoel Grandin1-1/+1
Change-Id: I9a897af88aa9f6f7ca98ce521c69b5a4ee8462e9 Reviewed-on: https://gerrit.libreoffice.org/31903 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-12tdf#100733 oox: imports RefR and RefAngle of polar handles.Mark Hung1-0/+3
RefR and RefAngle was ignored when importing polar handles for customshapes. Change-Id: I2d2aa1b0e54cf4946417c6dc81ecdbe58f6b50e9 Reviewed-on: https://gerrit.libreoffice.org/30601 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Hung <marklh9@gmail.com>
2016-09-18loplugin:unusedenumvaluesNoel Grandin1-2/+1
Change-Id: Icf17f936ce6d07d0e152252833c8645cf9b1163b Reviewed-on: https://gerrit.libreoffice.org/28942 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-09-13loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann1-1/+1
The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark overriding destructors as 'virtual'" appears to no longer be a problem with MSVC 2013. (The little change in the rewriting code of compilerplugins/clang/override.cxx was necessary to prevent an endless loop when adding "override" to OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager(); in chart2/source/inc/LifeTime.hxx, getting stuck in the leading OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.) Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
2016-05-10tdf#42949: clean up includes in include/oox/helper with iwyuJorenz Paragas1-0/+2
...and fix the many compiler errors that occurred as a result. Change-Id: I497c326272b2f02737ca3765720d6815b735423b Reviewed-on: https://gerrit.libreoffice.org/24735 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-05-10Replace fallthrough comments with new SAL_FALLTHROUGH macroStephan Bergmann1-1/+20
...which (in LIBO_INTERNAL_ONLY) for Clang expands to [[clang::fallthrough]] in preparation of enabling -Wimplicit-fallthrough. (This is only relevant for C++11, as neither C nor old C++ has a way to annotate intended fallthroughs.) Could use BOOST_FALLTHROUGH instead of introducing our own SAL_FALLTHROUGH, but that would require adding back in dependencies on boost_headers to many libraries where we carefully removed any remaining Boost dependencies only recently. (At least make SAL_FALLTHROUGH strictly LIBO_INTERNAL_ONLY, so its future evolution will not have any impact on the stable URE interface.) C++17 will have a proper [[fallthroug]], eventually removing the need for a macro altogether. Change-Id: I342a7610a107db7d7a344ea9cbddfd9714d7e9ca
2016-05-05clang-tidy modernize-loop-convert in oox to saxNoel Grandin1-2/+2
Change-Id: If0d87b6679765fc6d1f9300c6972845cf3742b9c Reviewed-on: https://gerrit.libreoffice.org/24674 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-13loplugin:passstuffbyref in ooxNoel Grandin1-1/+1
Change-Id: Iec989e9060c77dd5b010224b37633179cee4f7e9
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann1-11/+11
Change-Id: I62a20b440064aca6f102e61cb3984bb95e739a4f
2015-11-09new loplugin: oncevarNoel Grandin1-48/+12
Change-Id: If57390510dde4d166be3141b9f658a7453755d3f Reviewed-on: https://gerrit.libreoffice.org/19815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-23com::sun::star->css in lotuswordpro,mysqlc,ooxNoel Grandin1-5/+5
Change-Id: Id99ff87c4eb3f1b36702261ce63d5d2793ea35d7
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann1-11/+11
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-08-14loplugin: defaultparamsNoel Grandin1-14/+14
Change-Id: Iabcea466cb23e7a7a432f953cc03aaa1c2dc1d65
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara1-2/+2
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl1-0/+1
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-09-14Move oox/drawingml/*hxx internal headers to oox/inc.Matúš Kukan1-1/+2
Do not export LinePropertiesContext class as visible. And move GraphicProperties to its own header. Change-Id: I047c181e9f2adc7e59885f59663ea56c7eb898ed
2014-06-25remove whitespacesMarkus Mohrhard1-21/+0
Change-Id: Ie14ba3dcb97f20479a04538748ef2c1c9e6c5dac
2014-04-03oox: sal_Bool->boolNoel Grandin1-2/+2
Change-Id: If611cf344d82640b284c159e2e6394074b30e2db
2014-02-26Remove visual noise from ooxAlexander Wilms1-1/+1
Change-Id: Ie25838f20f00dc32d9d22959308c118cef688e94 Reviewed-on: https://gerrit.libreoffice.org/8288 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23Remove unneccessary commentsAlexander Wilms1-17/+17
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-28bool improvementsStephan Bergmann1-2/+2
Change-Id: I171212bbfc2f54a16b5669ab4401a3168e7f0552
2013-12-06Get rid of unnecessary comphelper::UStringEqualStephan Bergmann1-2/+1
Change-Id: Ia8718e49f21ccec239b2769eafa6bef90e0e9e40
2013-09-26typo fixes in commentsAndras Timar1-1/+1
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák1-9/+9
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-15sal_Bool to boolTakeshi Abe1-18/+18
Change-Id: If1d8a48e115cd7fbaa0032791275b3b49684d748
2013-08-15Mark as constTakeshi Abe1-1/+1
Change-Id: Ic7ee570935b5d827dc01a483877ea5021da5abea
2013-06-28Convert all ContextHandler-derived clases over to ContextHandler2Tor Lillqvist1-177/+156
Change-Id: I81f54e3b7d29a0807ec4c2f082ae00fd6e1d6138 Reviewed-on: https://gerrit.libreoffice.org/4580 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-13Revert "bnc#819614: Fix runaway lines."Jan Holesovsky1-3/+2
This reverts commit 5fe65c0c5e5a8d815d9d15ef192e7652726662e6. Unfortunately this causes a regression elsewhere. This also disables the unit test for this bug - will re-enable when I find a fix that both fixes this, and does not regress other stuff :-) Change-Id: Iad334e3c59c928edb78f25c0f36a33a26a7e6125
2013-05-16bnc#819614: Fix runaway lines.Jan Holesovsky1-2/+3
Change-Id: I360ec44872dbb555870d7d3fc8a9ed81c95e8c07
2013-05-16Fix length check - it would be out of bounds.Jan Holesovsky1-2/+1
Change-Id: I5430fed06ea1a81a68ddfaafa595d7d5b0167f3b
2013-01-04oox: kill no longer needed CREATE_OUSTRINGMiklos Vajna1-63/+63
2012-12-07::rtl:: prefixes removal in ooxJosé Guilherme Vanz1-35/+34
This commit removes some ::rtl:: prefixes and some macros in OOX Change-Id: I0c5ad9805ec2e8ed1092c56fe32e6901fdbd2b67 Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1261 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-07-17re-base on ALv2 code. Includes:Michael Meeks1-23/+14
retain presence of MPL licensed nssrenam.h symbol renamer.
2012-01-11pptx: support fill=[darken|darkenLess|lighten|lightenLess] in path elementRadek Doulik1-2/+18
2012-01-10pptx: custom shapes import, ignore close segment after moveto segmentRadek Doulik1-4/+7
2012-01-09pptx: implemented import of <path stroke="false" ...>Radek Doulik1-0/+6
2012-01-04PPTX: fix ssd* constants import for drawingml formulasRadek Doulik1-1/+1
2012-01-02Fix for fdo43460 Part XXV getLength() to isEmpty()Olivier Hallot1-3/+3
Please find attached a partial fix for Easy Hack FDO43460 Part XXI Module oox
2011-11-29Removing unused GetShapePresetType().Muthu Subramanian1-631/+0
It is huge, and inefficient as well.
2011-11-07fix ooxml custom shapes sizingRadek Doulik1-9/+9
- ooxml custom shapes width and height are in actual (logic) coordinates space and not in "virtual" 21600x21600 space