Kaydet (Commit) 7c1e12af authored tarafından Caolán McNamara's avatar Caolán McNamara

callcatcher: update unused code

res ctor fallout continues at pace

Change-Id: Ic431c678919a6521ce94719cbf06b87ebf922a0c
üst d0ab0b08
......@@ -25,22 +25,8 @@
namespace dbaui
{
// CharSetListBox
CharSetListBox::CharSetListBox( Window* _pParent, const ResId& _rResId )
:ListBox( _pParent, _rResId )
{
SetDropDownLineCount( 20 );
OCharsetDisplay::const_iterator charSet = m_aCharSets.begin();
while ( charSet != m_aCharSets.end() )
{
InsertEntry( (*charSet).getDisplayName() );
++charSet;
}
}
CharSetListBox::CharSetListBox( Window* _pParent, WinBits _nBits = WB_DROPDOWN )
:ListBox( _pParent, _nBits )
: ListBox( _pParent, _nBits )
{
SetDropDownLineCount( 20 );
......
......@@ -56,17 +56,6 @@ namespace dbaui
{
}
// OGenericAdministrationPage
OGenericAdministrationPage::OGenericAdministrationPage(Window* _pParent, const ResId& _rId, const SfxItemSet& _rAttrSet)
:SfxTabPage(_pParent, _rId, _rAttrSet)
,m_abEnableRoadmap(false)
,m_pAdminDialog(NULL)
,m_pItemSetHelper(NULL)
{
SetExchangeSupport(true);
}
OGenericAdministrationPage::OGenericAdministrationPage(Window* _pParent, const OString& _rId, const OUString& _rUIXMLDescription, const SfxItemSet& _rAttrSet)
:SfxTabPage(_pParent, _rId, _rUIXMLDescription, &_rAttrSet)
,m_abEnableRoadmap(false)
......
......@@ -102,7 +102,6 @@ namespace dbaui
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >
m_xORB;
public:
OGenericAdministrationPage(Window* _pParent, const ResId& _rId, const SfxItemSet& _rAttrSet);
OGenericAdministrationPage(Window* _pParent, const OString& _rId, const OUString& _rUIXMLDescription, const SfxItemSet& _rAttrSet);
/// set a handler which gets called every time something on the page has been modified
void SetModifiedHandler(const Link& _rHandler) { m_aModifiedHandler = _rHandler; }
......
......@@ -33,7 +33,6 @@ namespace dbaui
class CharSetListBox : public ListBox
{
public:
CharSetListBox( Window* _pParent, const ResId& _rResId );
CharSetListBox( Window* _pParent, WinBits _nBits );
virtual ~CharSetListBox();
......
......@@ -375,19 +375,6 @@ namespace dbp
}
}
//= OMaybeListSelectionPage
OMaybeListSelectionPage::OMaybeListSelectionPage( OControlWizard* _pParent, const ResId& _rId )
:OControlWizardPage(_pParent, _rId)
,m_pYes(NULL)
,m_pNo(NULL)
,m_pList(NULL)
{
}
OMaybeListSelectionPage::OMaybeListSelectionPage( OControlWizard* _pParent, const OString& _rID, const OUString& _rUIXMLDescription )
:OControlWizardPage(_pParent, _rID, _rUIXMLDescription)
,m_pYes(NULL)
......@@ -396,7 +383,6 @@ namespace dbp
{
}
void OMaybeListSelectionPage::announceControls(RadioButton& _rYesButton, RadioButton& _rNoButton, ListBox& _rSelection)
{
m_pYes = &_rYesButton;
......@@ -408,7 +394,6 @@ namespace dbp
implEnableWindows();
}
IMPL_LINK( OMaybeListSelectionPage, OnRadioSelected, RadioButton*, /*NOTINTERESTEDIN*/ )
{
implEnableWindows();
......
......@@ -79,7 +79,6 @@ namespace dbp
ListBox* m_pList;
public:
OMaybeListSelectionPage( OControlWizard* _pParent, const ResId& _rId );
OMaybeListSelectionPage( OControlWizard* _pParent, const OString& _rID, const OUString& _rUIXMLDescription );
protected:
......
......@@ -55,11 +55,9 @@ private:
protected:
using Window::ImplInit;
SAL_DLLPRIVATE void ImplInit( Window* pParent, WinBits nStyle );
SAL_DLLPRIVATE void ImplLoadRes( const ResId& rResId );
public:
explicit MenuButton( Window* pParent, WinBits nStyle = 0 );
explicit MenuButton( Window* pParent, const ResId& );
virtual ~MenuButton();
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
......
......@@ -109,8 +109,6 @@ public:
void SetItemsOffset( const Point& rOffs );
Point GetItemsOffset() const;
void InsertPage( const ResId& rResId,
sal_uInt16 nPos = TAB_APPEND );
void InsertPage( sal_uInt16 nPageId, const OUString& rText,
sal_uInt16 nPos = TAB_APPEND );
void RemovePage( sal_uInt16 nPageId );
......
......@@ -47,6 +47,9 @@ SvtListener::IsListening(SvtBroadcaster&) const
SvxFontListBox::GetSelectEntry() const
SvxOpenGLObject::getRenderer()
SvxOpenGLObject::setRenderer(IOpenGLRenderer*)
SwDoc::GetDocumentFieldsMAnager() const
SwDoc::GetDocumentStateManager()
SwDoc::GetDocumentStateManager() const
SwLayHelper::CheckPageFlyCache(SwPageFrm*&, SwFlyFrm*)
SwTxtPaintInfo::DrawSpecial(SwLinePortion const&, unsigned short, Color const&) const
SwUpdateAttr::SwUpdateAttr(int, int, unsigned short, std::__debug::vector<unsigned short, std::allocator<unsigned short> >)
......@@ -181,9 +184,6 @@ canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const
chart::ChartTypeUnoDlg::Create(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&)
chart::InternalData::isDefaultData()
chart::ShapeToolbarController::create(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&)
chart::opengl3D::OpenGL3DRenderer::SetScroll()
chart::opengl3D::OpenGL3DRenderer::SetScrollDistance(float)
chart::opengl3D::OpenGL3DRenderer::SetScrollSpeed(float)
comphelper::OAccessibleImplementationAccess::setStateBit(short, bool)
comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&) const
comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const
......
......@@ -80,33 +80,6 @@ MenuButton::MenuButton( Window* pParent, WinBits nWinBits )
ImplInit( pParent, nWinBits );
}
MenuButton::MenuButton( Window* pParent, const ResId& rResId )
: PushButton( WINDOW_MENUBUTTON )
{
ImplInitMenuButtonData();
rResId.SetRT( RSC_MENUBUTTON );
WinBits nStyle = ImplInitRes( rResId );
ImplInit( pParent, nStyle );
ImplLoadRes( rResId );
if ( !(nStyle & WB_HIDE) )
Show();
}
void MenuButton::ImplLoadRes( const ResId& rResId )
{
Control::ImplLoadRes( rResId );
sal_uLong nObjMask = ReadLongRes();
if ( RSCMENUBUTTON_MENU & nObjMask )
{
mpOwnMenu = new PopupMenu( ResId( (RSHEADER_TYPE*)GetClassRes(), *rResId.GetResMgr() ) );
SetPopupMenu( mpOwnMenu );
IncrementRes( GetObjSizeRes( (RSHEADER_TYPE*)GetClassRes() ) );
}
}
MenuButton::~MenuButton()
{
delete mpMenuTimer;
......
......@@ -1614,31 +1614,6 @@ Size TabControl::GetTabPageSizePixel() const
return aRect.GetSize();
}
void TabControl::InsertPage( const ResId& rResId, sal_uInt16 nPos )
{
GetRes( rResId.SetRT( RSC_TABCONTROLITEM ) );
sal_uLong nObjMask = ReadLongRes();
sal_uInt16 nItemId = 1;
// ID
if ( nObjMask & RSC_TABCONTROLITEM_ID )
nItemId = sal::static_int_cast<sal_uInt16>(ReadLongRes());
// Text
OUString aTmpStr;
if( nObjMask & RSC_TABCONTROLITEM_TEXT )
aTmpStr = ReadStringRes();
InsertPage( nItemId, aTmpStr, nPos );
// PageResID
if ( nObjMask & RSC_TABCONTROLITEM_PAGERESID )
{
//skip unused TabPageResId value
ReadLongRes();
}
}
void TabControl::InsertPage( sal_uInt16 nPageId, const OUString& rText,
sal_uInt16 nPos )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment