summaryrefslogtreecommitdiffstats
path: root/include/svx
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2019-05-13 14:21:05 +0200
committerRegina Henschel <rb.henschel@t-online.de>2019-05-17 21:16:24 +0200
commit4ca556d041b3e27c4aeebf7434814eb8a4350203 (patch)
tree2aaeed00ac02afdbaa4a9ecd10931500dbdb6b6d /include/svx
parentdrop now unused SFX_IMPL_MODELESSDIALOG_WITHID (diff)
downloadcore-4ca556d041b3e27c4aeebf7434814eb8a4350203.tar.gz
core-4ca556d041b3e27c4aeebf7434814eb8a4350203.zip
tdf#115813 unit test for handle position of OOXML shapes
The patch contains some additions to tdf#115813 and a unit test. The test covers nearly all OOXML preset shapes with handles. Only some shapes do not fit to the test pattern: swooshArrow and polar handle shapes arc, blockArc, chord, circularArror, mathNotEqual, pie, leftCircularArrow, leftRightCicularArrow. The shapes star24 and star32 are excluded because of tdf#125181. The shapes gear6 and gear9 are excluded because a correct handle movement is not yet implemented. Connector shapes are inserted as ordinary shapes to prevent converting. The error string is designed to identify the affected shape. Change-Id: Icd3358f3701ac2db2cc61eb045ae10bc4b72b9ca Reviewed-on: https://gerrit.libreoffice.org/72229 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/svdoashp.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svx/svdoashp.hxx b/include/svx/svdoashp.hxx
index e7f915992eae..662ddb5d446b 100644
--- a/include/svx/svdoashp.hxx
+++ b/include/svx/svdoashp.hxx
@@ -98,11 +98,11 @@ public:
css::uno::Reference< css::drawing::XCustomShapeEngine > const & GetCustomShapeEngine() const;
- SVX_DLLPRIVATE std::vector< SdrCustomShapeInteraction > GetInteractionHandles() const;
+ std::vector< SdrCustomShapeInteraction > GetInteractionHandles() const; // needed in unit test
SVX_DLLPRIVATE void DragCreateObject( SdrDragStat& rDrag );
SVX_DLLPRIVATE void DragResizeCustomShape( const tools::Rectangle& rNewRect );
- SVX_DLLPRIVATE void DragMoveCustomShapeHdl( const Point& rDestination,
- const sal_uInt16 nCustomShapeHdlNum, bool bMoveCalloutRectangle );
+ void DragMoveCustomShapeHdl( const Point& rDestination,
+ const sal_uInt16 nCustomShapeHdlNum, bool bMoveCalloutRectangle ); // needed in unit test
// #i37011# centralize throw-away of render geometry
void InvalidateRenderGeometry();