summaryrefslogtreecommitdiff
path: root/sw/source/ui/table/tablemgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/table/tablemgr.cxx')
-rw-r--r--sw/source/ui/table/tablemgr.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/ui/table/tablemgr.cxx b/sw/source/ui/table/tablemgr.cxx
index c7e4401cec85..a76b6244b1a1 100644
--- a/sw/source/ui/table/tablemgr.cxx
+++ b/sw/source/ui/table/tablemgr.cxx
@@ -25,6 +25,7 @@
#include <sot/storage.hxx>
#include <comphelper/classids.hxx>
+#include <svx/charthelper.hxx>
#include "edtwin.hxx"
#include "wrtsh.hxx"
@@ -265,6 +266,9 @@ uno::Reference< frame::XModel > SwTableFUNC::InsertChart(
//this does the DoVerb in the SfxViewShell.
ErrCode nErr = pClient->DoVerb( SVVERB_SHOW );
(void) nErr;
+
+ // #i121334#
+ ChartHelper::AdaptDefaultsForChart( xObj );
}
uno::Reference< chart2::data::XDataReceiver > xDataReceiver( xChartModel, uno::UNO_QUERY );