diff options
author | August Sodora <augsod@gmail.com> | 2011-12-22 21:22:42 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2011-12-22 21:22:42 -0500 |
commit | aec97e2af5c1bfd2fd56382f77350b8288634643 (patch) | |
tree | d85d64aa7e4eb2cb45e0d402d0fe1f53c779c54d /svx | |
parent | a0ebf6ee3f555397205713db966aee44de80c0f9 (diff) |
callcatcher: Remove unused code
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/ctredlin.hxx | 4 | ||||
-rw-r--r-- | svx/source/dialog/ctredlin.cxx | 37 |
2 files changed, 0 insertions, 41 deletions
diff --git a/svx/inc/svx/ctredlin.hxx b/svx/inc/svx/ctredlin.hxx index 3b7ed86b4b68..18089c791687 100644 --- a/svx/inc/svx/ctredlin.hxx +++ b/svx/inc/svx/ctredlin.hxx @@ -403,7 +403,6 @@ protected: virtual void Resize(); public: - SvxAcceptChgCtr( Window* pParent, WinBits nWinStyle = 0 ); SvxAcceptChgCtr( Window* pParent, const ResId& rResId ); ~SvxAcceptChgCtr(); @@ -413,9 +412,6 @@ public: void ShowFilterPage(); void ShowViewPage(); - sal_Bool IsFilterPageVisible(); - sal_Bool IsViewPageVisible(); - SvxTPFilter* GetFilterPage(); SvxTPView* GetViewPage(); SvxRedlinTable* GetViewTable(); diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx index 7494f3283bfb..a7ba9562d8f8 100644 --- a/svx/source/dialog/ctredlin.cxx +++ b/svx/source/dialog/ctredlin.cxx @@ -1338,33 +1338,6 @@ static Size gDiffSize; // class SvxAcceptChgCtr //---------------------------------------------------------------------------- -SvxAcceptChgCtr::SvxAcceptChgCtr( Window* pParent, WinBits nWinStyle) - : Control(pParent,nWinStyle |WB_DIALOGCONTROL), - aTCAccept(this,WB_TABSTOP |WB_DIALOGCONTROL) -{ - pTPFilter=new SvxTPFilter(&aTCAccept); - pTPView=new SvxTPView(&aTCAccept); - aMinSize=pTPView->GetMinSizePixel(); - - aTCAccept.InsertPage( TP_VIEW, pTPView->GetMyName()); - aTCAccept.InsertPage( TP_FILTER, pTPFilter->GetMyName()); - aTCAccept.SetTabPage( TP_VIEW, pTPView); - aTCAccept.SetTabPage( TP_FILTER, pTPFilter); - aTCAccept.SetHelpId(HID_REDLINING_TABCONTROL); - - aTCAccept.SetTabPageSizePixel(aMinSize); - Size aSize=aTCAccept.GetSizePixel(); - - gDiffSize.Height()=aSize.Height()-aMinSize.Height(); - gDiffSize.Width()=aSize.Width()-aMinSize.Width(); - - - pTPFilter->SetRedlinTable(GetViewTable()); - - aTCAccept.Show(); - ShowViewPage(); -} - SvxAcceptChgCtr::SvxAcceptChgCtr( Window* pParent, const ResId& rResId ) : Control(pParent,rResId ), aTCAccept(this,WB_TABSTOP |WB_DIALOGCONTROL) @@ -1447,16 +1420,6 @@ void SvxAcceptChgCtr::ShowViewPage() aTCAccept.SetCurPageId(TP_VIEW); } -sal_Bool SvxAcceptChgCtr::IsFilterPageVisible() -{ - return (aTCAccept.GetCurPageId()==TP_FILTER); -} - -sal_Bool SvxAcceptChgCtr::IsViewPageVisible() -{ - return (aTCAccept.GetCurPageId()==TP_VIEW); -} - SvxTPFilter* SvxAcceptChgCtr::GetFilterPage() { return pTPFilter; |