From 58ba8835bcf615cb6d3563c24b3d4d69b32f1b4f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 26 Feb 2013 00:05:58 +0000 Subject: adapt code to comment .ui conversion Change-Id: I93f98f50443ab3b2fb0ce9f3126b03c8a3281ad2 --- sw/source/ui/misc/redlndlg.cxx | 2 +- sw/source/ui/shells/textfld.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sw') diff --git a/sw/source/ui/misc/redlndlg.cxx b/sw/source/ui/misc/redlndlg.cxx index 0706fbc8f632..06b13574a0f4 100644 --- a/sw/source/ui/misc/redlndlg.cxx +++ b/sw/source/ui/misc/redlndlg.cxx @@ -1061,7 +1061,7 @@ IMPL_LINK_NOARG(SwRedlineAcceptDlg, CommandHdl) rtl::OUString sComment = convertLineEnd(rRedline.GetComment(), GetSystemLineEnd()); SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); OSL_ENSURE(pFact, "Dialogdiet fail!"); - ::DialogGetRanges fnGetRange = pFact->GetDialogGetRangesFunc( RID_SVXDLG_POSTIT ); + ::DialogGetRanges fnGetRange = pFact->GetDialogGetRangesFunc(); OSL_ENSURE(fnGetRange, "Dialogdiet fail! GetRanges()"); SfxItemSet aSet( pSh->GetAttrPool(), fnGetRange() ); diff --git a/sw/source/ui/shells/textfld.cxx b/sw/source/ui/shells/textfld.cxx index ba0c85c0b596..cb8294c142a7 100644 --- a/sw/source/ui/shells/textfld.cxx +++ b/sw/source/ui/shells/textfld.cxx @@ -408,7 +408,7 @@ void SwTextShell::ExecField(SfxRequest &rReq) SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); OSL_ENSURE(pFact, "Dialogdiet fail!"); - ::DialogGetRanges fnGetRange = pFact->GetDialogGetRangesFunc( RID_SVXDLG_POSTIT ); + ::DialogGetRanges fnGetRange = pFact->GetDialogGetRangesFunc(); OSL_ENSURE(fnGetRange, "Dialogdiet fail! GetRanges()"); SfxItemSet aSet(GetPool(), fnGetRange()); aSet.Put(SvxPostItTextItem(sComment, SID_ATTR_POSTIT_TEXT)); -- cgit