diff options
Diffstat (limited to 'svtools/source/brwbox/brwbox2.cxx')
-rw-r--r-- | svtools/source/brwbox/brwbox2.cxx | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/svtools/source/brwbox/brwbox2.cxx b/svtools/source/brwbox/brwbox2.cxx index 660cf9036123..2cbf05481044 100644 --- a/svtools/source/brwbox/brwbox2.cxx +++ b/svtools/source/brwbox/brwbox2.cxx @@ -33,14 +33,12 @@ using namespace ::com::sun::star::datatransfer; #define getDataWindow() (static_cast<BrowserDataWin*>(pDataWin.get())) - void BrowseBox::StartDrag( sal_Int8 /* _nAction */, const Point& /* _rPosPixel */ ) { // not interested in this event } - sal_Int8 BrowseBox::AcceptDrop( const AcceptDropEvent& _rEvt ) { BrowserDataWin* pDataWindow = static_cast<BrowserDataWin*>(pDataWin.get()); @@ -50,7 +48,6 @@ sal_Int8 BrowseBox::AcceptDrop( const AcceptDropEvent& _rEvt ) } - sal_Int8 BrowseBox::ExecuteDrop( const ExecuteDropEvent& _rEvt ) { BrowserDataWin* pDataWindow = static_cast<BrowserDataWin*>(pDataWin.get()); @@ -60,7 +57,6 @@ sal_Int8 BrowseBox::ExecuteDrop( const ExecuteDropEvent& _rEvt ) } - sal_Int8 BrowseBox::AcceptDrop( const BrowserAcceptDropEvent& ) { // not interested in this event @@ -68,7 +64,6 @@ sal_Int8 BrowseBox::AcceptDrop( const BrowserAcceptDropEvent& ) } - sal_Int8 BrowseBox::ExecuteDrop( const BrowserExecuteDropEvent& ) { // not interested in this event @@ -76,7 +71,6 @@ sal_Int8 BrowseBox::ExecuteDrop( const BrowserExecuteDropEvent& ) } - void* BrowseBox::implGetDataFlavors() const { if (static_cast<BrowserDataWin*>(pDataWin.get())->bCallingDropCallback) @@ -85,7 +79,6 @@ void* BrowseBox::implGetDataFlavors() const } - bool BrowseBox::IsDropFormatSupported( SotClipboardFormatId _nFormat ) { if ( static_cast< BrowserDataWin* >( pDataWin.get() )->bCallingDropCallback ) @@ -95,9 +88,6 @@ bool BrowseBox::IsDropFormatSupported( SotClipboardFormatId _nFormat ) } - - - void BrowseBox::Command( const CommandEvent& rEvt ) { if ( !getDataWindow()->bInCommand ) @@ -105,7 +95,6 @@ void BrowseBox::Command( const CommandEvent& rEvt ) } - void BrowseBox::StateChanged( StateChangedType nStateChange ) { Control::StateChanged( nStateChange ); @@ -181,76 +170,64 @@ void BrowseBox::StateChanged( StateChangedType nStateChange ) } - void BrowseBox::Select() { } - void BrowseBox::DoubleClick( const BrowserMouseEvent & ) { } - long BrowseBox::QueryMinimumRowHeight() { return CalcZoom( 5 ); } - void BrowseBox::ImplStartTracking() { } - void BrowseBox::ImplTracking() { } - void BrowseBox::ImplEndTracking() { } - void BrowseBox::RowHeightChanged() { } - long BrowseBox::QueryColumnResize( sal_uInt16, long nWidth ) { return nWidth; } - void BrowseBox::ColumnResized( sal_uInt16 ) { } - void BrowseBox::ColumnMoved( sal_uInt16 ) { } - void BrowseBox::StartScroll() { DoHideCursor( "StartScroll" ); } - void BrowseBox::EndScroll() { UpdateScrollbars(); @@ -259,7 +236,6 @@ void BrowseBox::EndScroll() } - void BrowseBox::ToggleSelection( bool bForce ) { @@ -333,7 +309,6 @@ void BrowseBox::ToggleSelection( bool bForce ) } - void BrowseBox::DrawCursor() { bool bReallyHide = false; @@ -403,7 +378,6 @@ void BrowseBox::DrawCursor() } - sal_uLong BrowseBox::GetColumnWidth( sal_uInt16 nId ) const { @@ -414,7 +388,6 @@ sal_uLong BrowseBox::GetColumnWidth( sal_uInt16 nId ) const } - sal_uInt16 BrowseBox::GetColumnId( sal_uInt16 nPos ) const { @@ -424,7 +397,6 @@ sal_uInt16 BrowseBox::GetColumnId( sal_uInt16 nPos ) const } - sal_uInt16 BrowseBox::GetColumnPos( sal_uInt16 nId ) const { @@ -435,7 +407,6 @@ sal_uInt16 BrowseBox::GetColumnPos( sal_uInt16 nId ) const } - bool BrowseBox::IsFrozen( sal_uInt16 nColumnId ) const { @@ -446,7 +417,6 @@ bool BrowseBox::IsFrozen( sal_uInt16 nColumnId ) const } - void BrowseBox::ExpandRowSelection( const BrowserMouseEvent& rEvt ) { @@ -511,7 +481,6 @@ void BrowseBox::ExpandRowSelection( const BrowserMouseEvent& rEvt ) } - void BrowseBox::Resize() { if ( !bBootstrapped && IsReallyVisible() ) @@ -589,7 +558,6 @@ void BrowseBox::Resize() } - void BrowseBox::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) { @@ -681,7 +649,6 @@ void BrowseBox::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect } - void BrowseBox::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, DrawFlags nFlags ) { bool bDrawSelection = !(nFlags & DrawFlags::NoSelection); @@ -824,7 +791,6 @@ void BrowseBox::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, } - void BrowseBox::ImplPaintData(OutputDevice& _rOut, const Rectangle& _rRect, bool _bForeignDevice, bool _bDrawSelections) { Point aOverallAreaPos = _bForeignDevice ? _rRect.TopLeft() : Point(0,0); @@ -1257,7 +1223,6 @@ void BrowseBox::UpdateScrollbars() } - void BrowseBox::SetUpdateMode( bool bUpdate ) { @@ -1287,7 +1252,6 @@ void BrowseBox::SetUpdateMode( bool bUpdate ) } - bool BrowseBox::GetUpdateMode() const { @@ -1295,7 +1259,6 @@ bool BrowseBox::GetUpdateMode() const } - long BrowseBox::GetFrozenWidth() const { @@ -1308,7 +1271,6 @@ long BrowseBox::GetFrozenWidth() const } - void BrowseBox::ColumnInserted( sal_uInt16 nPos ) { @@ -1318,7 +1280,6 @@ void BrowseBox::ColumnInserted( sal_uInt16 nPos ) } - sal_uInt16 BrowseBox::FrozenColCount() const { sal_uInt16 nCol; @@ -1330,7 +1291,6 @@ sal_uInt16 BrowseBox::FrozenColCount() const } - IMPL_LINK_TYPED(BrowseBox, ScrollHdl, ScrollBar*, pBar, void) { @@ -1350,7 +1310,6 @@ IMPL_LINK_TYPED(BrowseBox, ScrollHdl, ScrollBar*, pBar, void) } - IMPL_LINK_NOARG_TYPED(BrowseBox, EndScrollHdl, ScrollBar*, void) { @@ -1362,7 +1321,6 @@ IMPL_LINK_NOARG_TYPED(BrowseBox, EndScrollHdl, ScrollBar*, void) } - IMPL_LINK_TYPED( BrowseBox, StartDragHdl, HeaderBar*, pBar, void ) { pBar->SetDragSize( pDataWin->GetOutputSizePixel().Height() ); @@ -1425,7 +1383,6 @@ void BrowseBox::MouseButtonDown( const MouseEvent& rEvt ) } - void BrowseBox::MouseMove( const MouseEvent& rEvt ) { OSL_TRACE( "BrowseBox::MouseMove( MouseEvent )" ); @@ -1478,7 +1435,6 @@ void BrowseBox::MouseMove( const MouseEvent& rEvt ) } - void BrowseBox::MouseButtonUp( const MouseEvent & rEvt ) { @@ -1514,7 +1470,6 @@ void BrowseBox::MouseButtonUp( const MouseEvent & rEvt ) } - bool bExtendedMode = false; bool bFieldMode = false; @@ -1664,7 +1619,6 @@ void BrowseBox::MouseButtonDown( const BrowserMouseEvent& rEvt ) } - void BrowseBox::MouseButtonUp( const BrowserMouseEvent &rEvt ) { @@ -1702,7 +1656,6 @@ void BrowseBox::MouseButtonUp( const BrowserMouseEvent &rEvt ) } - void BrowseBox::KeyInput( const KeyEvent& rEvt ) { if ( !ProcessKey( rEvt ) ) @@ -1710,7 +1663,6 @@ void BrowseBox::KeyInput( const KeyEvent& rEvt ) } - bool BrowseBox::ProcessKey( const KeyEvent& rEvt ) { @@ -1780,7 +1732,6 @@ bool BrowseBox::ProcessKey( const KeyEvent& rEvt ) } - void BrowseBox::Dispatch( sal_uInt16 nId ) { @@ -1970,7 +1921,6 @@ void BrowseBox::Dispatch( sal_uInt16 nId ) } - void BrowseBox::SetCursorColor(const Color& _rCol) { if (_rCol == m_aCursorColor) |