diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-11-24 02:16:39 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-12-19 12:53:46 +0100 |
commit | e5d87682c894c3de5b3553c5cee1193f063e017f (patch) | |
tree | 89a587fcef72f39c60ff6869fe99fa9501a94e98 /svx/source/dialog | |
parent | 2125868dad4b1e8f9318367b47938ad7e8afeebb (diff) |
changes sidebar: Manage Changes (Redlining) panel instead of the dialog box.
Change-Id: I4fd415845e2732ee8ef0567b8c58b878bb52fac8
Diffstat (limited to 'svx/source/dialog')
-rw-r--r-- | svx/source/dialog/ctredlin.cxx | 7 |
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"); |