summaryrefslogtreecommitdiff
path: root/svtools/source/brwbox
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-14 11:27:52 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-14 10:21:55 +0000
commit06ea347b939895d3091ce747c26de58f4d4a766a (patch)
treee93a25d2aadc36c263a8ccd8b593449b37fb8b6b /svtools/source/brwbox
parent9be8c4f21200aeec5b334d9536b3b7a0b72c24fa (diff)
loplugin:unusedmethods svtools
Change-Id: I04ad31055c04a247faddf4311943ca769051473c Reviewed-on: https://gerrit.libreoffice.org/17032 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools/source/brwbox')
-rw-r--r--svtools/source/brwbox/brwbox2.cxx16
-rw-r--r--svtools/source/brwbox/brwbox3.cxx5
-rw-r--r--svtools/source/brwbox/datwin.hxx11
3 files changed, 0 insertions, 32 deletions
diff --git a/svtools/source/brwbox/brwbox2.cxx b/svtools/source/brwbox/brwbox2.cxx
index 52e6dc640b15..3b7fd2afcf6a 100644
--- a/svtools/source/brwbox/brwbox2.cxx
+++ b/svtools/source/brwbox/brwbox2.cxx
@@ -95,14 +95,6 @@ bool BrowseBox::IsDropFormatSupported( SotClipboardFormatId _nFormat )
}
-
-bool BrowseBox::IsDropFormatSupported( SotClipboardFormatId _nFormat ) const
-{
- return const_cast< BrowseBox* >( this )->IsDropFormatSupported( _nFormat );
-}
-
-
-
bool BrowseBox::IsDropFormatSupported( const DataFlavor& _rFlavor )
{
if ( static_cast< BrowserDataWin* >( pDataWin.get() )->bCallingDropCallback )
@@ -112,14 +104,6 @@ bool BrowseBox::IsDropFormatSupported( const DataFlavor& _rFlavor )
}
-
-bool BrowseBox::IsDropFormatSupported( const DataFlavor& _rFlavor ) const
-{
- return const_cast< BrowseBox* >( this )->IsDropFormatSupported( _rFlavor );
-}
-
-
-
void BrowseBox::Command( const CommandEvent& rEvt )
{
if ( !getDataWindow()->bInCommand )
diff --git a/svtools/source/brwbox/brwbox3.cxx b/svtools/source/brwbox/brwbox3.cxx
index bae84d2d906a..d60023587333 100644
--- a/svtools/source/brwbox/brwbox3.cxx
+++ b/svtools/source/brwbox/brwbox3.cxx
@@ -455,11 +455,6 @@ bool BrowseBox::HasRowHeader() const
return ( GetColumnId( 0 ) == HandleColumnId ); // HandleColumn == RowHeader
}
-bool BrowseBox::IsCellFocusable() const
-{
- return true;
-}
-
bool BrowseBox::GoToCell( sal_Int32 _nRow, sal_uInt16 _nColumn )
{
return GoToRowColumnId( _nRow, GetColumnId( _nColumn ) );
diff --git a/svtools/source/brwbox/datwin.hxx b/svtools/source/brwbox/datwin.hxx
index 5260355a91de..e88f85b3019d 100644
--- a/svtools/source/brwbox/datwin.hxx
+++ b/svtools/source/brwbox/datwin.hxx
@@ -82,7 +82,6 @@ public:
sal_uInt16 GetId() const { return _nId; }
sal_uLong Width() { return _nWidth; }
- Image& GetImage() { return _aImage; }
OUString& Title() { return _aTitle; }
bool IsFrozen() const { return _bFrozen; }
@@ -161,7 +160,6 @@ public:
BrowseEvent CreateBrowseEvent( const Point& rPosPixel );
- void Repaint();
BrowseBox* GetParent() const
{ return static_cast<BrowseBox*>( Window::GetParent() ); }
const OUString& GetRealRowCount() const { return aRealRowCount; }
@@ -184,15 +182,6 @@ protected:
-inline void BrowserDataWin::Repaint()
-{
- if ( GetUpdateMode() )
- Update();
- Invalidate(Rectangle(Point(), GetOutputSizePixel()));
-}
-
-
-
class BrowserScrollBar: public ScrollBar
{
sal_uLong _nTip;