summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xeescher.cxx
diff options
context:
space:
mode:
authorDaniel Rentz <daniel.rentz@sun.com>2009-12-18 20:18:54 +0100
committerDaniel Rentz <daniel.rentz@sun.com>2009-12-18 20:18:54 +0100
commit45d709a4307f622996ac98df784aacf7b7b4c691 (patch)
tree24c20b405b590c6fcc10c46a9ba0113a6ba35156 /sc/source/filter/excel/xeescher.cxx
parent0a5e2fc8e92ac2775e10530ae230db69556f5047 (diff)
chartpositioning: #i86609# BIFF and OOXML import: object positioning in charts (chart title, plot area)
Diffstat (limited to 'sc/source/filter/excel/xeescher.cxx')
-rw-r--r--sc/source/filter/excel/xeescher.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xeescher.cxx b/sc/source/filter/excel/xeescher.cxx
index af1a90291b99..15c9e652c641 100644
--- a/sc/source/filter/excel/xeescher.cxx
+++ b/sc/source/filter/excel/xeescher.cxx
@@ -806,8 +806,8 @@ XclExpChartObj::XclExpChartObj( const XclExpRoot& rRoot, Reference< XShape > xSh
aShapeProp.GetProperty( xModel, CREATE_OUSTRING( "Model" ) );
::com::sun::star::awt::Rectangle aBoundRect;
aShapeProp.GetProperty( aBoundRect, CREATE_OUSTRING( "BoundRect" ) );
- Size aSize( aBoundRect.Width, aBoundRect.Height );
- mxChart.reset( new XclExpChart( rRoot, xModel, aSize ) );
+ Rectangle aChartRect( aBoundRect.X, aBoundRect.Y, aBoundRect.Width, aBoundRect.Height );
+ mxChart.reset( new XclExpChart( rRoot, xModel, aChartRect ) );
}
XclExpChartObj::~XclExpChartObj()