summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-06-20 20:56:26 +0200
committerFridrich Strba <fridrich@documentfoundation.org>2013-06-23 04:19:14 +0000
commit34d278a5e6c40dd812480c09754fa1bcc53a71d6 (patch)
treedf05a9d03666cd42e04239a885fa3b71159ee6a6 /include
parent85b05fac54b1b9ed87f5603001a4885a14f3a5ab (diff)
fdo#43641 oox: fix position/size of LineShapes inside lockedCanvas
Change-Id: Idf14d40f174ca87543a829ccfe22ed5cbb8e3cbc (cherry picked from commit 6ada1ddecd98a616114cb36651c0f0f48c6dd3c3) Reviewed-on: https://gerrit.libreoffice.org/4423 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/oox/drawingml/shape.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/oox/drawingml/shape.hxx b/include/oox/drawingml/shape.hxx
index f8a58ec5340b..94c8342ef465 100644
--- a/include/oox/drawingml/shape.hxx
+++ b/include/oox/drawingml/shape.hxx
@@ -172,6 +172,8 @@ public:
const ::std::vector<OUString>&
getExtDrawings() { return maExtDrawings; }
void addExtDrawingRelId( const OUString &rRelId ) { maExtDrawings.push_back( rRelId ); }
+ void setLockedCanvas(bool bLockedCanvas);
+ bool getLockedCanvas();
protected:
@@ -262,6 +264,7 @@ private:
sal_Bool mbHiddenMasterShape; // master shapes can be hidden in layout slides
// we need separate flag because we don't want
// to propagate it when applying reference shape
+ bool mbLockedCanvas; ///< Is this shape part of a locked canvas?
};
// ============================================================================