summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/misc/swmodalredlineacceptdlg.cxx')
-rw-r--r--sw/source/ui/misc/swmodalredlineacceptdlg.cxx14
1 files changed, 3 insertions, 11 deletions
diff --git a/sw/source/ui/misc/swmodalredlineacceptdlg.cxx b/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
index 528380e49344..45ac31c15c75 100644
--- a/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
+++ b/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
@@ -34,7 +34,6 @@
#include <helpid.h>
#include <cmdid.h>
#include <misc.hrc>
-#include <redlndlg.hrc>
#include <shells.hrc>
#include <vector>
@@ -43,15 +42,14 @@
#include <unomid.h>
-SwModalRedlineAcceptDlg::SwModalRedlineAcceptDlg(Window *pParent) :
- SfxModalDialog(pParent, SW_RES(DLG_MOD_REDLINE_ACCEPT))
+SwModalRedlineAcceptDlg::SwModalRedlineAcceptDlg(Window *pParent)
+ : SfxModalDialog(pParent,
+ "AcceptRejectChangesDialog", "svx/ui/acceptrejectchangesdialog.ui")
{
pImplDlg = new SwRedlineAcceptDlg(this, sal_True);
pImplDlg->Initialize(GetExtraData());
pImplDlg->Activate(); // for data's initialisation
-
- FreeResource();
}
SwModalRedlineAcceptDlg::~SwModalRedlineAcceptDlg()
@@ -66,12 +64,6 @@ void SwModalRedlineAcceptDlg::Activate()
{
}
-void SwModalRedlineAcceptDlg::Resize()
-{
- pImplDlg->Resize();
- SfxModalDialog::Resize();
-}
-
void SwModalRedlineAcceptDlg::AcceptAll( sal_Bool bAccept )
{
SvxTPFilter* pFilterTP = pImplDlg->GetChgCtrl()->GetFilterPage();