Kaydet (Commit) 60935c73 authored tarafından Caolán McNamara's avatar Caolán McNamara

avoid 'don't create ItemSets with full range before FreezeIdRanges assert'

Change-Id: I3dbb760cd5dbf2e72d1886eaca537bb9ecf9f8cc
üst a42a6b23
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment