summaryrefslogtreecommitdiffstats
path: root/sw/source/uibase/table
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-01-13 22:34:34 +0100
committerMichael Stahl <mstahl@redhat.com>2016-01-13 23:42:33 +0100
commitd406d7c3a649bcbbe3377338707221e39f03a639 (patch)
treeb306913a44a5c8d5d13e847296bae4e8ecc15bd2 /sw/source/uibase/table
parenttdf#97108: SwDocShell of clipboard document has no base URL (diff)
downloadcore-d406d7c3a649bcbbe3377338707221e39f03a639.tar.gz
core-d406d7c3a649bcbbe3377338707221e39f03a639.zip
resolve TODO, remove SVVERB_SHOW
Change-Id: I10148330f1a356dbd423af98267c25d7128c3a86
Diffstat (limited to 'sw/source/uibase/table')
-rw-r--r--sw/source/uibase/table/tablemgr.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/table/tablemgr.cxx b/sw/source/uibase/table/tablemgr.cxx
index b1518e1f01b9..e6bed55bb587 100644
--- a/sw/source/uibase/table/tablemgr.cxx
+++ b/sw/source/uibase/table/tablemgr.cxx
@@ -22,6 +22,7 @@
#include <com/sun/star/chart2/data/XDataReceiver.hpp>
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/beans/PropertyState.hpp>
+#include <com/sun/star/embed/EmbedVerbs.hpp>
#include <sot/storage.hxx>
#include <comphelper/classids.hxx>
@@ -267,7 +268,7 @@ uno::Reference< frame::XModel > SwTableFUNC::InsertChart(
pSh->CalcAndSetScale( aEmbObjRef );
//#50270# We don't need to handle errors,
//this does the DoVerb in the SfxViewShell.
- ErrCode nErr = pClient->DoVerb( SVVERB_SHOW );
+ ErrCode nErr = pClient->DoVerb(embed::EmbedVerbs::MS_OLEVERB_SHOW);
(void) nErr;
// #i121334#