diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-10-04 11:51:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-10-04 12:49:27 +0100 |
commit | b243afd8755c2a470c6aa0607f5773bedd026937 (patch) | |
tree | dd84b6b5da4b8aa7fa8c4e5513112454a7ba6acd /vcl | |
parent | 77407d7ad0cece76eed9e7767765b12229e6449d (diff) |
callcatcher: update unused code list
and remove code freshly unused post widget layout introduction
Change-Id: Ifa244391f7f2b565dec10314ca3fd2958dfd87a9
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/vcl/arrange.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/vcl/dialog.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/vcl/tabctrl.hxx | 1 | ||||
-rw-r--r-- | vcl/source/control/tabctrl.cxx | 9 | ||||
-rw-r--r-- | vcl/source/window/arrange.cxx | 8 | ||||
-rw-r--r-- | vcl/source/window/dialog.cxx | 11 |
6 files changed, 1 insertions, 30 deletions
diff --git a/vcl/inc/vcl/arrange.hxx b/vcl/inc/vcl/arrange.hxx index 2197f10dfd80..90316bdd7d09 100644 --- a/vcl/inc/vcl/arrange.hxx +++ b/vcl/inc/vcl/arrange.hxx @@ -347,7 +347,6 @@ namespace vcl resize(); } - void setWindow( Window*, sal_Int32 i_nExpandPrio = 0 ); void setChild( boost::shared_ptr<WindowArranger> const &, sal_Int32 i_nExpandPrio = 0 ); // convenience: use for setChild( new WindowArranger( ... ) ) constructs void setChild( WindowArranger* i_pChild, sal_Int32 i_nExpandPrio = 0 ) diff --git a/vcl/inc/vcl/dialog.hxx b/vcl/inc/vcl/dialog.hxx index 107c29d1a464..22ca60951970 100644 --- a/vcl/inc/vcl/dialog.hxx +++ b/vcl/inc/vcl/dialog.hxx @@ -91,7 +91,6 @@ protected: public: Dialog( Window* pParent, WinBits nStyle = WB_STDDIALOG ); - Dialog( Window* pParent, const ResId& rResId ); Dialog( Window* pParent, const rtl::OString& rID, const rtl::OUString& rUIXMLDescription ); virtual ~Dialog(); diff --git a/vcl/inc/vcl/tabctrl.hxx b/vcl/inc/vcl/tabctrl.hxx index 1de45f3f9d84..f913c0f8188c 100644 --- a/vcl/inc/vcl/tabctrl.hxx +++ b/vcl/inc/vcl/tabctrl.hxx @@ -121,7 +121,6 @@ public: virtual long DeactivatePage(); virtual Size GetOptimalSize(WindowSizeType eType) const; - void SetMinimumSizePixel( const Size& ); void SetTabPageSizePixel( const Size& rSize ); Size GetTabPageSizePixel() const; diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx index a3c6ff6d7a8b..2ad68d1f24b5 100644 --- a/vcl/source/control/tabctrl.cxx +++ b/vcl/source/control/tabctrl.cxx @@ -80,7 +80,6 @@ struct ImplTabCtrlData Point maItemsOffset; // offset of the tabitems std::vector< ImplTabItem > maItemList; ListBox* mpListBox; - Size maMinSize; }; // ----------------------------------------------------------------------- @@ -2224,18 +2223,12 @@ Size TabControl::calculateRequisition() const Size TabControl::GetOptimalSize(WindowSizeType eType) const { if (eType == WINDOWSIZE_MINIMUM) - return mpTabCtrlData ? mpTabCtrlData->maMinSize : Size(); + return Size(); return calculateRequisition(); } // ----------------------------------------------------------------------- -void TabControl::SetMinimumSizePixel( const Size& i_rSize ) -{ - if( mpTabCtrlData ) - mpTabCtrlData->maMinSize = i_rSize; -} - void TabControl::ReassignPageId(sal_uInt16 nOldId, sal_uInt16 nNewId) { for( std::vector< ImplTabItem >::iterator it = mpTabCtrlData->maItemList.begin(); diff --git a/vcl/source/window/arrange.cxx b/vcl/source/window/arrange.cxx index e24706fb459d..56ad168ef7e2 100644 --- a/vcl/source/window/arrange.cxx +++ b/vcl/source/window/arrange.cxx @@ -774,14 +774,6 @@ void Indenter::resize() m_aElement.setPosSize( aPt, aSz ); } -void Indenter::setWindow( Window* i_pWindow, sal_Int32 i_nExpandPrio ) -{ - OSL_VERIFY( (m_aElement.m_pElement == 0 && m_aElement.m_pChild == 0) || i_pWindow == 0 ); - OSL_VERIFY( i_pWindow == 0 || i_pWindow->GetParent() == m_pParentWindow ); - m_aElement.m_pElement = i_pWindow; - m_aElement.m_nExpandPriority = i_nExpandPrio; -} - void Indenter::setChild( boost::shared_ptr<WindowArranger> const & i_pChild, sal_Int32 i_nExpandPrio ) { OSL_VERIFY( (m_aElement.m_pElement == 0 && m_aElement.m_pChild == 0 ) || i_pChild == 0 ); diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx index 65a72fbd9172..7a17f0ffdbed 100644 --- a/vcl/source/window/dialog.cxx +++ b/vcl/source/window/dialog.cxx @@ -547,17 +547,6 @@ Dialog::Dialog( Window* pParent, WinBits nStyle ) ImplInit( pParent, nStyle ); } -// ----------------------------------------------------------------------- - -Dialog::Dialog( Window* pParent, const ResId& rResId ) - : SystemWindow( WINDOW_DIALOG ) - , mbIsDefferedInit(false) -{ - ImplInitDialogData(); - rResId.SetRT( RSC_DIALOG ); - init(pParent, rResId); -} - VclBuilder* VclBuilderContainer::overrideResourceWithUIXML(Window *pWindow, const ResId& rResId) { sal_Int32 nUIid = static_cast<sal_Int32>(rResId.GetId()); |