summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-12-22 11:34:04 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-12-22 13:55:20 +0000
commit60935c7319f1f12475b8f374fe02917673f352b8 (patch)
tree2fb4e60b05d1836bf088dc2370aa3f0994253db1 /basctl
parenta42a6b23afb09a799dec36a293c95964216af6cd (diff)
avoid 'don't create ItemSets with full range before FreezeIdRanges assert'
Change-Id: I3dbb760cd5dbf2e72d1886eaca537bb9ecf9f8cc
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/dlged/dlged.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx
index 986ccfbe2506..b45544ce17a4 100644
--- a/basctl/source/dlged/dlged.cxx
+++ b/basctl/source/dlged/dlged.cxx
@@ -183,7 +183,6 @@ DlgEditor::DlgEditor (
,pVScroll(NULL)
,pDlgEdModel(new DlgEdModel())
,pDlgEdPage(new DlgEdPage(*pDlgEdModel))
- ,pDlgEdView(new DlgEdView(*pDlgEdModel, rWindow_, *this))
,m_ClipboardDataFlavors(1)
,m_ClipboardDataFlavorsResource(2)
,pObjFac(new DlgEdFactory(xModel))
@@ -202,6 +201,7 @@ DlgEditor::DlgEditor (
,m_xDocument( xModel )
{
pDlgEdModel->GetItemPool().FreezeIdRanges();
+ pDlgEdView.reset(new DlgEdView(*pDlgEdModel, rWindow_, *this));
pDlgEdModel->SetScaleUnit( MAP_100TH_MM );
SdrLayerAdmin& rAdmin = pDlgEdModel->GetLayerAdmin();