summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatarina Behrens <bubli@bubli.org>2014-07-20 19:44:37 +0200
committerKatarina Behrens <bubli@bubli.org>2014-07-20 19:54:56 +0200
commit4fa4f3859385072f48c3e3dc1a59d367a6db059d (patch)
treedf1d8dae4db5f2fe3fb0402a02f87839621f06c0
parent8b273da280ad1502a17b72fde9ed8e5f44f0f710 (diff)
fdo#81547, part1: use ctor reading .ui file, not a resource
This fixes a crash when this tabpage is one of the tabpages in data series properties dialog (e.g. 3D column chart) Change-Id: Iacbc689fb410b30515e433bcf4a96c087047ca73
-rw-r--r--chart2/source/controller/dialogs/tp_PointGeometry.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/tp_PointGeometry.cxx b/chart2/source/controller/dialogs/tp_PointGeometry.cxx
index 42420d76a07d..55046ccfc908 100644
--- a/chart2/source/controller/dialogs/tp_PointGeometry.cxx
+++ b/chart2/source/controller/dialogs/tp_PointGeometry.cxx
@@ -31,7 +31,7 @@ namespace chart
{
SchLayoutTabPage::SchLayoutTabPage(Window* pWindow,const SfxItemSet& rInAttrs)
- : SfxTabPage(pWindow, SchResId(TP_LAYOUT), rInAttrs)
+ : SfxTabPage(pWindow, "tp_ChartType", "modules/schart/ui/tp_ChartType.ui", rInAttrs)
, m_pGeometryResources(0)
{
m_pGeometryResources = new BarGeometryResources( this );