summaryrefslogtreecommitdiff
path: root/sd/source/ui/table/tablefunction.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/table/tablefunction.cxx')
-rw-r--r--sd/source/ui/table/tablefunction.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/table/tablefunction.cxx b/sd/source/ui/table/tablefunction.cxx
index 5b737f1d764a..ce518259d9e0 100644
--- a/sd/source/ui/table/tablefunction.cxx
+++ b/sd/source/ui/table/tablefunction.cxx
@@ -273,8 +273,7 @@ void CreateTableFromRTF( SvStream& rStream, SdDrawDocument* pModel )
if( pPage )
{
Size aSize( 200, 200 );
- Point aPos;
- ::tools::Rectangle aRect (aPos, aSize);
+ ::tools::Rectangle aRect (Point(), aSize);
sdr::table::SdrTableObj* pObj = new sdr::table::SdrTableObj( pModel, aRect, 1, 1 );
pObj->NbcSetStyleSheet( pModel->GetDefaultStyleSheet(), true );
apply_table_style( pObj, pModel, OUString() );