summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-11-24 02:16:39 +0100
committerJan Holesovsky <kendy@collabora.com>2014-12-19 12:53:46 +0100
commite5d87682c894c3de5b3553c5cee1193f063e017f (patch)
tree89a587fcef72f39c60ff6869fe99fa9501a94e98 /sw/source/ui/misc/swmodalredlineacceptdlg.cxx
parent2125868dad4b1e8f9318367b47938ad7e8afeebb (diff)
changes sidebar: Manage Changes (Redlining) panel instead of the dialog box.
Change-Id: I4fd415845e2732ee8ef0567b8c58b878bb52fac8
Diffstat (limited to 'sw/source/ui/misc/swmodalredlineacceptdlg.cxx')
-rw-r--r--sw/source/ui/misc/swmodalredlineacceptdlg.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/misc/swmodalredlineacceptdlg.cxx b/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
index 11475e7af8cf..dc9c786adb41 100644
--- a/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
+++ b/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
@@ -18,6 +18,7 @@
*/
#include <redline.hxx>
+#include <vcl/layout.hxx>
#include <vcl/msgbox.hxx>
#include <svl/eitem.hxx>
#include <sfx2/viewfrm.hxx>
@@ -46,7 +47,7 @@ SwModalRedlineAcceptDlg::SwModalRedlineAcceptDlg(vcl::Window *pParent)
: SfxModalDialog(pParent,
"AcceptRejectChangesDialog", "svx/ui/acceptrejectchangesdialog.ui")
{
- pImplDlg = new SwRedlineAcceptDlg(this, true);
+ pImplDlg = new SwRedlineAcceptDlg(this, get_content_area(), true);
pImplDlg->Initialize(GetExtraData());
pImplDlg->Activate(); // for data's initialisation