loplugin:unusedmethods toolkit,package
Change-Id: I83618cd2fd12fb0c1691dc7255fc7192e68649cd Reviewed-on: https://gerrit.libreoffice.org/17031 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
This commit is contained in:
committed by
Noel Grandin
parent
bd8e8db250
commit
a792aa2c48
@@ -31,13 +31,9 @@ namespace toolkit
|
||||
public:
|
||||
virtual ~ScrollableInterface() {}
|
||||
virtual void SetScrollWidth( long nWidth ) = 0;
|
||||
virtual long GetScrollWidth() = 0;
|
||||
virtual void SetScrollHeight( long nHeight ) = 0;
|
||||
virtual long GetScrollHeight() = 0;
|
||||
virtual void SetScrollLeft( long nLeft ) = 0;
|
||||
virtual long GetScrollLeft() = 0;
|
||||
virtual void SetScrollTop( long Top ) = 0;
|
||||
virtual long GetScrollTop() = 0;
|
||||
};
|
||||
|
||||
template < class T >
|
||||
@@ -61,13 +57,9 @@ namespace toolkit
|
||||
virtual ~ScrollableWrapper();
|
||||
virtual void dispose() SAL_OVERRIDE;
|
||||
virtual void SetScrollWidth( long nWidth ) SAL_OVERRIDE;
|
||||
virtual long GetScrollWidth() SAL_OVERRIDE { return maScrollArea.Width(); }
|
||||
virtual void SetScrollHeight( long nHeight ) SAL_OVERRIDE;
|
||||
virtual long GetScrollHeight() SAL_OVERRIDE { return maScrollArea.Height(); }
|
||||
virtual void SetScrollLeft( long nLeft ) SAL_OVERRIDE;
|
||||
virtual long GetScrollLeft() SAL_OVERRIDE { return mnScrollPos.X(); }
|
||||
virtual void SetScrollTop( long Top ) SAL_OVERRIDE;
|
||||
virtual long GetScrollTop() SAL_OVERRIDE { return mnScrollPos.Y() ; }
|
||||
|
||||
void setScrollVisibility( ScrollBarVisibility rState );
|
||||
DECL_LINK( ScrollBarHdl, ScrollBar* );
|
||||
|
@@ -84,8 +84,6 @@ public:
|
||||
void SetOutputDevice( OutputDevice* pOutDev );
|
||||
OutputDevice* GetOutputDevice() const { return mpOutputDevice; }
|
||||
|
||||
const vcl::Font& GetFont() const { return maFont; }
|
||||
|
||||
// ::com::sun::star::uno::XInterface
|
||||
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
|
||||
void SAL_CALL acquire() throw() SAL_OVERRIDE { OWeakObject::acquire(); }
|
||||
|
@@ -49,7 +49,6 @@ public:
|
||||
VCLXRegion();
|
||||
virtual ~VCLXRegion();
|
||||
|
||||
void SetRegion( const vcl::Region& rRegion ) { maRegion = rRegion; }
|
||||
const vcl::Region& GetRegion() const { return maRegion; }
|
||||
|
||||
// ::com::sun::star::uno::XInterface
|
||||
|
@@ -42,9 +42,8 @@ private:
|
||||
const bool m_bWHWND;
|
||||
|
||||
protected:
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::awt::XMenuBar> mxMenuBar;
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::awt::XMenuBar> mxMenuBar;
|
||||
|
||||
bool isSystemDependentWindowPeer() const { return m_bWHWND; }
|
||||
|
||||
virtual vcl::Window* GetWindowImpl() = 0;
|
||||
virtual ::cppu::OInterfaceContainerHelper& GetTopWindowListenersImpl() = 0;
|
||||
|
@@ -216,7 +216,6 @@ typedef ::cppu::AggImplInheritanceHelper3 < UnoControlContainer
|
||||
|
||||
class ControlContainerBase : public ContainerControl_IBase
|
||||
{
|
||||
::Size ImplGetSizePixel( const ::Size& inSize );
|
||||
protected:
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext;
|
||||
bool mbSizeModified;
|
||||
|
@@ -1055,8 +1055,6 @@ public:
|
||||
protected:
|
||||
virtual void ImplSetPeerProperty( const OUString& rPropName, const ::com::sun::star::uno::Any& rVal ) SAL_OVERRIDE;
|
||||
virtual void updateFromModel() SAL_OVERRIDE;
|
||||
ActionListenerMultiplexer& getActionListeners();
|
||||
ItemListenerMultiplexer& getItemListeners();
|
||||
|
||||
};
|
||||
|
||||
|
@@ -43,21 +43,6 @@ public:
|
||||
const sal_Int8 * getCurrentPos () { return mpBuffer + mnCurrent; }
|
||||
|
||||
// XInputStream chained
|
||||
sal_Int32 SAL_CALL readBytes( com::sun::star::uno::Sequence< sal_Int8 >& aData,
|
||||
sal_Int32 nBytesToRead )
|
||||
throw(com::sun::star::io::NotConnectedException, com::sun::star::io::BufferSizeExceededException, com::sun::star::io::IOException, com::sun::star::uno::RuntimeException)
|
||||
{
|
||||
if ( nBytesToRead < 0)
|
||||
throw com::sun::star::io::BufferSizeExceededException();
|
||||
|
||||
if (nBytesToRead + mnCurrent > mnEnd)
|
||||
nBytesToRead = mnEnd - mnCurrent;
|
||||
|
||||
aData.realloc ( nBytesToRead );
|
||||
memcpy( aData.getArray(), mpBuffer + mnCurrent, nBytesToRead );
|
||||
mnCurrent += nBytesToRead;
|
||||
return nBytesToRead;
|
||||
}
|
||||
|
||||
void SAL_CALL skipBytes( sal_Int32 nBytesToSkip )
|
||||
throw(com::sun::star::io::NotConnectedException, com::sun::star::io::BufferSizeExceededException, com::sun::star::io::IOException, com::sun::star::uno::RuntimeException)
|
||||
|
@@ -56,22 +56,6 @@ public:
|
||||
virtual void SetWindowInterface( vcl::Window* pWindow, ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer> xIFace ) SAL_OVERRIDE;
|
||||
|
||||
void WindowDestroyed( vcl::Window* pWindow ) SAL_OVERRIDE;
|
||||
void WindowEvent_Move( vcl::Window* pWindow );
|
||||
void WindowEvent_Resize( vcl::Window* pWindow );
|
||||
void WindowEvent_Show( vcl::Window* pWindow, bool bShow );
|
||||
void WindowEvent_Close( vcl::Window* pWindow );
|
||||
void WindowEvent_Minimize( vcl::Window* pWindow );
|
||||
void WindowEvent_Normalize( vcl::Window* pWindow );
|
||||
void WindowEvent_Activate( vcl::Window* pWindow, bool bActivated );
|
||||
void WindowEvent_MouseButtonUp( vcl::Window* pWindow, const MouseEvent& rEvt );
|
||||
void WindowEvent_MouseButtonDown( vcl::Window* pWindow, const MouseEvent& rEvt );
|
||||
void WindowEvent_MouseMove( vcl::Window* pWindow, const MouseEvent& rEvt );
|
||||
void WindowEvent_Command( vcl::Window* pWindow, const CommandEvent& rCEvt );
|
||||
void WindowEvent_KeyInput( vcl::Window* pWindow, const KeyEvent& rEvt );
|
||||
void WindowEvent_KeyUp( vcl::Window* pWindow, const KeyEvent& rEvt );
|
||||
void WindowEvent_GetFocus( vcl::Window* pWindow );
|
||||
void WindowEvent_LoseFocus( vcl::Window* pWindow );
|
||||
void WindowEvent_Paint( vcl::Window* pWindow, const Rectangle& rRect );
|
||||
|
||||
// Accessibility
|
||||
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
|
||||
|
Reference in New Issue
Block a user