summaryrefslogtreecommitdiffstats
path: root/svx/source
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 /svx/source
parentFix build. (diff)
downloadcore-e5d87682c894c3de5b3553c5cee1193f063e017f.tar.gz
core-e5d87682c894c3de5b3553c5cee1193f063e017f.zip
changes sidebar: Manage Changes (Redlining) panel instead of the dialog box.
Change-Id: I4fd415845e2732ee8ef0567b8c58b878bb52fac8
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/dialog/ctredlin.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx
index e88c880d6ee3..bc3546e2bd44 100644
--- a/svx/source/dialog/ctredlin.cxx
+++ b/svx/source/dialog/ctredlin.cxx
@@ -374,7 +374,7 @@ void SvxRedlinTable::InitEntry(SvTreeListEntry* pEntry, const OUString& rStr,
}
}
-SvxTPView::SvxTPView(vcl::Window * pParent)
+SvxTPView::SvxTPView(vcl::Window *pParent, VclBuilderContainer *pTopLevel)
: TabPage(pParent, "RedlineViewPage", "svx/ui/redlineviewpage.ui")
, bEnableAccept(true)
, bEnableAcceptAll(true)
@@ -382,7 +382,6 @@ SvxTPView::SvxTPView(vcl::Window * pParent)
, bEnableRejectAll(true)
, bEnableUndo(true)
{
- Dialog *pTopLevel = GetParentDialog();
pTopLevel->get(m_pAccept, "accept");
pTopLevel->get(m_pReject, "reject");
pTopLevel->get(m_pAcceptAll, "acceptall");
@@ -1056,13 +1055,13 @@ IMPL_LINK( SvxTPFilter, RefHandle, PushButton*, pRef )
return 0;
}
-SvxAcceptChgCtr::SvxAcceptChgCtr(vcl::Window* pParent)
+SvxAcceptChgCtr::SvxAcceptChgCtr(vcl::Window* pParent, VclBuilderContainer* pTopLevel)
: TabControl(pParent, WB_TABSTOP | WB_DIALOGCONTROL)
{
m_pUIBuilder = new VclBuilder(this, getUIRootDir(), "svx/ui/redlinecontrol.ui", "RedlineControl");
pTPFilter = new SvxTPFilter(this);
- pTPView = new SvxTPView(this);
+ pTPView = new SvxTPView(this, pTopLevel);
m_nViewPageId = GetPageId("view");
m_nFilterPageId = GetPageId("filter");