diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-08-16 16:24:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-17 11:52:27 +0100 |
commit | 4164f905393f62aad0e7ae6595aa54658b87a818 (patch) | |
tree | 0918ad0b0d754a5e83bb6a2ebfba700fab003795 /sw/source/ui/shells/textsh.cxx | |
parent | b9c1a9b9aa41dbbb6bed0c77f4370ab6105c7fb1 (diff) |
convert ole/picture/frame dialogs to .ui
Change-Id: I0a0e8e8a03bd86a583b1d43489eb5b1ca8f98592
Diffstat (limited to 'sw/source/ui/shells/textsh.cxx')
-rw-r--r-- | sw/source/ui/shells/textsh.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/ui/shells/textsh.cxx b/sw/source/ui/shells/textsh.cxx index 3551749f49a4..abf9becf8226 100644 --- a/sw/source/ui/shells/textsh.cxx +++ b/sw/source/ui/shells/textsh.cxx @@ -578,8 +578,10 @@ void SwTextShell::ExecInsert(SfxRequest &rReq) SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, static_cast< sal_uInt16 >(eMetric))); SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); OSL_ENSURE(pFact, "Dialogdiet fail!"); - SfxAbstractTabDialog* pDlg = pFact->CreateFrmTabDialog( DLG_FRM_STD, - GetView().GetViewFrame(), &GetView().GetViewFrame()->GetWindow(), aSet, sal_True); + SfxAbstractTabDialog* pDlg = pFact->CreateFrmTabDialog("FrameDialog", + GetView().GetViewFrame(), + &GetView().GetViewFrame()->GetWindow(), + aSet, true); OSL_ENSURE(pDlg, "Dialogdiet fail!"); if(pDlg->Execute() == RET_OK && pDlg->GetOutputItemSet()) { |