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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/table/tablefunction.cxx b/sd/source/ui/table/tablefunction.cxx
index 3a72c05921dd..2a031e525d32 100644
--- a/sd/source/ui/table/tablefunction.cxx
+++ b/sd/source/ui/table/tablefunction.cxx
@@ -121,7 +121,7 @@ void DrawViewShell::FuTable(SfxRequest& rReq)
::tools::Rectangle aRect;
- SdrObject* pPickObj = mpView->GetEmptyPresentationObject( PRESOBJ_TABLE );
+ SdrObject* pPickObj = mpView->GetEmptyPresentationObject( PresObjKind::Table );
if( pPickObj )
{
aRect = pPickObj->GetLogicRect();
@@ -194,7 +194,7 @@ void DrawViewShell::FuTable(SfxRequest& rReq)
if(pPage && pPage->IsPresObj(pPickObj))
{
pObj->SetUserCall( pPickObj->GetUserCall() );
- pPage->InsertPresObj( pObj, PRESOBJ_TABLE );
+ pPage->InsertPresObj( pObj, PresObjKind::Table );
}
}