summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-01-03 12:07:30 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-01-03 12:39:26 +0100
commit92518d513fe021be58a0bbeb04fd9306eb23ebda (patch)
tree17b9fdcb9aedde2b59167c916918d51b4d65dd33 /include
parent51145fa54451a7a068df30af0f7319b25104d1e6 (diff)
drawingML import: fix default character height of WPG rectangles
The problem was that due to setting it to 18 in oox, the rectangle didn't inherit the default 11 from the document. Change-Id: I05c3b9c1d64eec58695e2039651a5f015df1f9e4
Diffstat (limited to 'include')
-rw-r--r--include/oox/drawingml/shape.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/oox/drawingml/shape.hxx b/include/oox/drawingml/shape.hxx
index 5fcb91c1d5a4..f39f75d03c82 100644
--- a/include/oox/drawingml/shape.hxx
+++ b/include/oox/drawingml/shape.hxx
@@ -72,7 +72,7 @@ class OOX_DLLPUBLIC Shape
{
public:
- explicit Shape( const sal_Char* pServiceType = 0 );
+ explicit Shape( const sal_Char* pServiceType = 0, bool bDefaultHeight = true );
explicit Shape( const ShapePtr& pSourceShape );
virtual ~Shape();
@@ -126,7 +126,7 @@ public:
const OptValue< sal_Int32 >& getSubTypeIndex() const { return moSubTypeIndex; }
// setDefaults has to be called if styles are imported (OfficeXML is not storing properties having the default value)
- void setDefaults();
+ void setDefaults(bool bHeight);
::oox::vml::OleObjectInfo& setOleObjectType();
ChartShapeInfo& setChartType( bool bEmbedShapes );