summaryrefslogtreecommitdiffstats
path: root/include/svx/xpoly.hxx
diff options
context:
space:
mode:
authorSun Ying <sunying@apache.org>2012-09-29 04:44:20 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-06-05 08:59:34 +0100
commit5f554bcec10287659e34b64ddf88813144214e17 (patch)
tree54385d610b905ff97d959398e872ecd61b81f305 /include/svx/xpoly.hxx
parentsw: drop redundant page-background test from ooxmlimport (diff)
downloadcore-5f554bcec10287659e34b64ddf88813144214e17.tar.gz
core-5f554bcec10287659e34b64ddf88813144214e17.zip
Resolves: #i119860# fix bent connector's type lost when save .ppt file
Reported by: Li Feng Wang Patch by: Ying Sun Review by: Jian Yuan Li (cherry picked from commit 8037c7164c747ea240b563af39a11f4f6bf037ef) Conflicts: filter/source/msfilter/escherex.cxx Change-Id: Iee39fc5c95f354a6fe68cd93b69f40e01d9fa9f8
Diffstat (limited to 'include/svx/xpoly.hxx')
-rw-r--r--include/svx/xpoly.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/svx/xpoly.hxx b/include/svx/xpoly.hxx
index f6a846f6b470..4eefabc54591 100644
--- a/include/svx/xpoly.hxx
+++ b/include/svx/xpoly.hxx
@@ -74,6 +74,7 @@ protected:
public:
XPolygon( sal_uInt16 nSize=16, sal_uInt16 nResize=16 );
XPolygon( const XPolygon& rXPoly );
+ XPolygon( const Polygon& rPoly );
XPolygon( const Rectangle& rRect, long nRx = 0, long nRy = 0 );
XPolygon( const Point& rCenter, long nRx, long nRy,
sal_uInt16 nStartAngle = 0, sal_uInt16 nEndAngle = 3600,
@@ -81,6 +82,8 @@ public:
~XPolygon();
+ sal_uInt16 GetSize() const;
+
void SetPointCount( sal_uInt16 nPoints );
sal_uInt16 GetPointCount() const;