summaryrefslogtreecommitdiff
path: root/svtools/source/brwbox
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/brwbox')
-rw-r--r--svtools/source/brwbox/brwbox1.cxx58
-rw-r--r--svtools/source/brwbox/brwbox2.cxx50
-rw-r--r--svtools/source/brwbox/brwbox3.cxx3
-rw-r--r--svtools/source/brwbox/brwhead.cxx7
-rw-r--r--svtools/source/brwbox/datwin.cxx21
-rw-r--r--svtools/source/brwbox/datwin.hxx7
-rw-r--r--svtools/source/brwbox/ebbcontrols.cxx4
-rw-r--r--svtools/source/brwbox/editbrowsebox.cxx3
-rw-r--r--svtools/source/brwbox/editbrowsebox2.cxx1
9 files changed, 0 insertions, 154 deletions
diff --git a/svtools/source/brwbox/brwbox1.cxx b/svtools/source/brwbox/brwbox1.cxx
index 61e17bd68a7e..870185098d0a 100644
--- a/svtools/source/brwbox/brwbox1.cxx
+++ b/svtools/source/brwbox/brwbox1.cxx
@@ -112,7 +112,6 @@ void BrowseBox::ConstructImpl( BrowserMode nMode )
}
-
BrowseBox::BrowseBox( vcl::Window* pParent, WinBits nBits, BrowserMode nMode )
:Control( pParent, nBits | WB_3DLOOK )
,DragSourceHelper( this )
@@ -123,7 +122,6 @@ BrowseBox::BrowseBox( vcl::Window* pParent, WinBits nBits, BrowserMode nMode )
}
-
BrowseBox::BrowseBox( vcl::Window* pParent, const ResId& rId, BrowserMode nMode )
:Control( pParent, rId )
,DragSourceHelper( this )
@@ -169,14 +167,12 @@ void BrowseBox::dispose()
}
-
short BrowseBox::GetCursorHideCount() const
{
return getDataWindow()->nCursorHidden;
}
-
void BrowseBox::DoShowCursor( const char * )
{
if (!getDataWindow())
@@ -195,7 +191,6 @@ void BrowseBox::DoShowCursor( const char * )
}
-
void BrowseBox::DoHideCursor( const char * )
{
short nHiddenCount = ++getDataWindow()->nCursorHidden;
@@ -212,14 +207,12 @@ void BrowseBox::DoHideCursor( const char * )
}
-
void BrowseBox::SetRealRowCount( const OUString &rRealRowCount )
{
getDataWindow()->aRealRowCount = rRealRowCount;
}
-
void BrowseBox::SetFont( const vcl::Font& rNewFont )
{
pDataWin->SetFont( rNewFont );
@@ -227,14 +220,12 @@ void BrowseBox::SetFont( const vcl::Font& rNewFont )
}
-
sal_uLong BrowseBox::GetDefaultColumnWidth( const OUString& _rText ) const
{
return GetDataWindow().GetTextWidth( _rText ) + GetDataWindow().GetTextWidth(OUString('0')) * 4;
}
-
void BrowseBox::InsertHandleColumn( sal_uLong nWidth )
{
@@ -265,7 +256,6 @@ void BrowseBox::InsertHandleColumn( sal_uLong nWidth )
}
-
void BrowseBox::InsertDataColumn( sal_uInt16 nItemId, const OUString& rText,
long nWidth, HeaderBarItemBits nBits, sal_uInt16 nPos )
{
@@ -410,7 +400,6 @@ void BrowseBox::FreezeColumn( sal_uInt16 nItemId, bool bFreeze )
}
-
void BrowseBox::SetColumnPos( sal_uInt16 nColumnId, sal_uInt16 nPos )
{
// never set pos of the handle column
@@ -529,7 +518,6 @@ void BrowseBox::SetColumnPos( sal_uInt16 nColumnId, sal_uInt16 nPos )
}
-
void BrowseBox::SetColumnTitle( sal_uInt16 nItemId, const OUString& rTitle )
{
@@ -574,7 +562,6 @@ void BrowseBox::SetColumnTitle( sal_uInt16 nItemId, const OUString& rTitle )
}
-
void BrowseBox::SetColumnWidth( sal_uInt16 nItemId, sal_uLong nWidth )
{
@@ -682,7 +669,6 @@ void BrowseBox::SetColumnWidth( sal_uInt16 nItemId, sal_uLong nWidth )
}
-
void BrowseBox::AutoSizeLastColumn()
{
if ( getDataWindow()->bAutoSizeLastCol &&
@@ -695,7 +681,6 @@ void BrowseBox::AutoSizeLastColumn()
}
-
void BrowseBox::RemoveColumn( sal_uInt16 nItemId )
{
@@ -778,7 +763,6 @@ void BrowseBox::RemoveColumn( sal_uInt16 nItemId )
}
-
void BrowseBox::RemoveColumns()
{
size_t nOldCount = pCols->size();
@@ -848,7 +832,6 @@ void BrowseBox::RemoveColumns()
}
-
OUString BrowseBox::GetColumnTitle( sal_uInt16 nId ) const
{
@@ -859,14 +842,12 @@ OUString BrowseBox::GetColumnTitle( sal_uInt16 nId ) const
}
-
long BrowseBox::GetRowCount() const
{
return nRowCount;
}
-
sal_uInt16 BrowseBox::ColCount() const
{
@@ -874,7 +855,6 @@ sal_uInt16 BrowseBox::ColCount() const
}
-
long BrowseBox::ImpGetDataRowHeight() const
{
@@ -886,7 +866,6 @@ long BrowseBox::ImpGetDataRowHeight() const
}
-
void BrowseBox::SetDataRowHeight( long nPixel )
{
@@ -896,7 +875,6 @@ void BrowseBox::SetDataRowHeight( long nPixel )
}
-
void BrowseBox::SetTitleLines( sal_uInt16 nLines )
{
@@ -904,7 +882,6 @@ void BrowseBox::SetTitleLines( sal_uInt16 nLines )
}
-
long BrowseBox::ScrollColumns( long nCols )
{
@@ -1047,7 +1024,6 @@ long BrowseBox::ScrollColumns( long nCols )
}
-
long BrowseBox::ScrollRows( long nRows )
{
@@ -1104,7 +1080,6 @@ long BrowseBox::ScrollRows( long nRows )
}
-
void BrowseBox::RowModified( long nRow, sal_uInt16 nColId )
{
@@ -1125,7 +1100,6 @@ void BrowseBox::RowModified( long nRow, sal_uInt16 nColId )
}
-
void BrowseBox::Clear()
{
@@ -1294,7 +1268,6 @@ void BrowseBox::RowInserted( long nRow, long nNumRows, bool bDoPaint, bool bKeep
}
-
void BrowseBox::RowRemoved( long nRow, long nNumRows, bool bDoPaint )
{
@@ -1466,14 +1439,12 @@ void BrowseBox::RowRemoved( long nRow, long nNumRows, bool bDoPaint )
}
-
bool BrowseBox::GoToRow( long nRow)
{
return GoToRow(nRow, false);
}
-
bool BrowseBox::GoToRow( long nRow, bool bRowColMove, bool bKeepSelection )
{
@@ -1560,7 +1531,6 @@ bool BrowseBox::GoToRow( long nRow, bool bRowColMove, bool bKeepSelection )
}
-
bool BrowseBox::GoToColumnId( sal_uInt16 nColId)
{
return GoToColumnId(nColId, true);
@@ -1626,7 +1596,6 @@ bool BrowseBox::GoToColumnId( sal_uInt16 nColId, bool bMakeVisible, bool bRowCol
}
-
bool BrowseBox::GoToRowColumnId( long nRow, sal_uInt16 nColId )
{
@@ -1657,7 +1626,6 @@ bool BrowseBox::GoToRowColumnId( long nRow, sal_uInt16 nColId )
}
-
void BrowseBox::SetNoSelection()
{
@@ -1697,7 +1665,6 @@ void BrowseBox::SetNoSelection()
}
-
void BrowseBox::SelectAll()
{
@@ -1763,7 +1730,6 @@ void BrowseBox::SelectAll()
}
-
void BrowseBox::SelectRow( long nRow, bool _bSelect, bool bExpand )
{
@@ -1836,7 +1802,6 @@ void BrowseBox::SelectRow( long nRow, bool _bSelect, bool bExpand )
}
-
long BrowseBox::GetSelectRowCount() const
{
@@ -1845,7 +1810,6 @@ long BrowseBox::GetSelectRowCount() const
}
-
void BrowseBox::SelectColumnPos( sal_uInt16 nNewColPos, bool _bSelect, bool bMakeVisible )
{
@@ -1910,7 +1874,6 @@ void BrowseBox::SelectColumnPos( sal_uInt16 nNewColPos, bool _bSelect, bool bMak
}
-
sal_uInt16 BrowseBox::GetSelectColumnCount() const
{
@@ -1926,7 +1889,6 @@ long BrowseBox::FirstSelectedColumn( ) const
}
-
long BrowseBox::FirstSelectedRow( bool bInverse )
{
@@ -1934,7 +1896,6 @@ long BrowseBox::FirstSelectedRow( bool bInverse )
}
-
long BrowseBox::NextSelectedRow()
{
@@ -1942,7 +1903,6 @@ long BrowseBox::NextSelectedRow()
}
-
long BrowseBox::LastSelectedRow()
{
@@ -1950,7 +1910,6 @@ long BrowseBox::LastSelectedRow()
}
-
bool BrowseBox::IsRowSelected( long nRow ) const
{
@@ -1958,7 +1917,6 @@ bool BrowseBox::IsRowSelected( long nRow ) const
}
-
bool BrowseBox::IsColumnSelected( sal_uInt16 nColumnId ) const
{
@@ -1967,7 +1925,6 @@ bool BrowseBox::IsColumnSelected( sal_uInt16 nColumnId ) const
}
-
void BrowseBox::MakeFieldVisible
(
long nRow, // line number of the field (starting with 0)
@@ -2036,7 +1993,6 @@ void BrowseBox::MakeFieldVisible
}
-
bool BrowseBox::IsFieldVisible( long nRow, sal_uInt16 nColumnId,
bool bCompletely ) const
{
@@ -2062,7 +2018,6 @@ bool BrowseBox::IsFieldVisible( long nRow, sal_uInt16 nColumnId,
}
-
Rectangle BrowseBox::GetFieldRectPixel( long nRow, sal_uInt16 nColumnId,
bool bRelToBrowser) const
{
@@ -2084,7 +2039,6 @@ Rectangle BrowseBox::GetFieldRectPixel( long nRow, sal_uInt16 nColumnId,
}
-
Rectangle BrowseBox::GetRowRectPixel( long nRow, bool bRelToBrowser ) const
{
@@ -2112,7 +2066,6 @@ Rectangle BrowseBox::GetRowRectPixel( long nRow, bool bRelToBrowser ) const
}
-
Rectangle BrowseBox::ImplFieldRectPixel( long nRow, sal_uInt16 nColumnId ) const
{
@@ -2142,7 +2095,6 @@ Rectangle BrowseBox::ImplFieldRectPixel( long nRow, sal_uInt16 nColumnId ) const
}
-
long BrowseBox::GetRowAtYPosPixel( long nY, bool bRelToBrowser ) const
{
@@ -2162,7 +2114,6 @@ long BrowseBox::GetRowAtYPosPixel( long nY, bool bRelToBrowser ) const
}
-
Rectangle BrowseBox::GetFieldRect( sal_uInt16 nColumnId ) const
{
@@ -2170,7 +2121,6 @@ Rectangle BrowseBox::GetFieldRect( sal_uInt16 nColumnId ) const
}
-
sal_uInt16 BrowseBox::GetColumnAtXPosPixel( long nX, bool ) const
{
@@ -2190,7 +2140,6 @@ sal_uInt16 BrowseBox::GetColumnAtXPosPixel( long nX, bool ) const
}
-
void BrowseBox::ReserveControlArea( sal_uInt16 nWidth )
{
@@ -2203,7 +2152,6 @@ void BrowseBox::ReserveControlArea( sal_uInt16 nWidth )
}
-
Rectangle BrowseBox::GetControlArea() const
{
@@ -2214,7 +2162,6 @@ Rectangle BrowseBox::GetControlArea() const
}
-
void BrowseBox::SetMode( BrowserMode nMode )
{
@@ -2341,7 +2288,6 @@ void BrowseBox::SetMode( BrowserMode nMode )
}
-
void BrowseBox::VisibleRowsChanged( long, sal_uInt16 )
{
@@ -2357,7 +2303,6 @@ void BrowseBox::VisibleRowsChanged( long, sal_uInt16 )
}
-
bool BrowseBox::IsCursorMoveAllowed( long, sal_uInt16 ) const
/* [Description]
@@ -2377,14 +2322,12 @@ bool BrowseBox::IsCursorMoveAllowed( long, sal_uInt16 ) const
}
-
long BrowseBox::GetDataRowHeight() const
{
return CalcZoom(nDataRowHeight ? nDataRowHeight : ImpGetDataRowHeight());
}
-
VclPtr<BrowserHeader> BrowseBox::CreateHeaderBar( BrowseBox* pParent )
{
VclPtr<BrowserHeader> pNewBar = VclPtr<BrowserHeader>::Create( pParent );
@@ -2462,7 +2405,6 @@ void BrowseBox::LoseFocus()
}
-
void BrowseBox::GetFocus()
{
OSL_TRACE( "BrowseBox: %p->GetFocus", this );
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)
diff --git a/svtools/source/brwbox/brwbox3.cxx b/svtools/source/brwbox/brwbox3.cxx
index 6324169b0917..7e2af122454e 100644
--- a/svtools/source/brwbox/brwbox3.cxx
+++ b/svtools/source/brwbox/brwbox3.cxx
@@ -66,7 +66,6 @@ namespace svt
}
-
Reference< XAccessible > BrowseBoxImpl::getAccessibleHeaderBar( AccessibleBrowseBoxObjType _eObjType )
{
if ( m_pAccessible && m_pAccessible->isAlive() )
@@ -84,7 +83,6 @@ namespace svt
}
-
Reference< XAccessible > BrowseBox::CreateAccessible()
{
vcl::Window* pParent = GetAccessibleParentWindow();
@@ -319,7 +317,6 @@ OUString BrowseBox::GetColumnDescription( sal_uInt16 _nColumn ) const
}
-
void BrowseBox::FillAccessibleStateSet(
::utl::AccessibleStateSetHelper& rStateSet,
::svt::AccessibleBrowseBoxObjType eObjType ) const
diff --git a/svtools/source/brwbox/brwhead.cxx b/svtools/source/brwbox/brwhead.cxx
index c0b99ef473ad..22691670b750 100644
--- a/svtools/source/brwbox/brwhead.cxx
+++ b/svtools/source/brwbox/brwhead.cxx
@@ -22,7 +22,6 @@
#include <svtools/brwbox.hxx>
-
BrowserHeader::BrowserHeader( BrowseBox* pParent, WinBits nWinBits )
:HeaderBar( pParent, nWinBits )
,_pBrowseBox( pParent )
@@ -48,7 +47,6 @@ void BrowserHeader::dispose()
}
-
void BrowserHeader::Command( const CommandEvent& rCEvt )
{
if ( !GetCurItemId() && CommandEventId::ContextMenu == rCEvt.GetCommand() )
@@ -63,14 +61,12 @@ void BrowserHeader::Command( const CommandEvent& rCEvt )
}
-
void BrowserHeader::Select()
{
HeaderBar::Select();
}
-
void BrowserHeader::EndDrag()
{
// call before other actions, it looks more nice in most cases
@@ -113,7 +109,4 @@ void BrowserHeader::EndDrag()
}
-
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx
index 9a7e3cf24203..03b5bc97e0a0 100644
--- a/svtools/source/brwbox/datwin.cxx
+++ b/svtools/source/brwbox/datwin.cxx
@@ -179,7 +179,6 @@ void BrowserColumn::Draw( BrowseBox& rBox, OutputDevice& rDev, const Point& rPos
}
-
void BrowserColumn::ZoomChanged(const Fraction& rNewZoom)
{
double n = (double)_nOriginalWidth;
@@ -190,7 +189,6 @@ void BrowserColumn::ZoomChanged(const Fraction& rNewZoom)
}
-
BrowserDataWin::BrowserDataWin( BrowseBox* pParent )
:Control( pParent, WinBits(WB_CLIPCHILDREN) )
,DragSourceHelper( this )
@@ -320,7 +318,6 @@ void BrowserDataWin::Paint(vcl::RenderContext& rRenderContext, const Rectangle&
}
-
BrowseEvent BrowserDataWin::CreateBrowseEvent( const Point& rPosPixel )
{
BrowseBox *pBox = GetParent();
@@ -435,7 +432,6 @@ void BrowserDataWin::Command( const CommandEvent& rEvt )
}
-
bool BrowserDataWin::ImplRowDividerHitTest( const BrowserMouseEvent& _rEvent )
{
if ( ! ( GetParent()->IsInteractiveRowHeightEnabled()
@@ -451,7 +447,6 @@ bool BrowserDataWin::ImplRowDividerHitTest( const BrowserMouseEvent& _rEvent )
}
-
void BrowserDataWin::MouseButtonDown( const MouseEvent& rEvt )
{
aLastMousePos = OutputToScreenPixel( rEvt.GetPosPixel() );
@@ -467,7 +462,6 @@ void BrowserDataWin::MouseButtonDown( const MouseEvent& rEvt )
}
-
void BrowserDataWin::MouseMove( const MouseEvent& rEvt )
{
// avoid pseudo MouseMoves
@@ -502,7 +496,6 @@ void BrowserDataWin::MouseMove( const MouseEvent& rEvt )
}
-
IMPL_LINK_NOARG_TYPED(BrowserDataWin, RepeatedMouseMove, Timer *, void)
{
GetParent()->MouseMove( BrowserMouseEvent( this, aRepeatEvt ) );
@@ -525,7 +518,6 @@ void BrowserDataWin::MouseButtonUp( const MouseEvent& rEvt )
}
-
void BrowserDataWin::StartRowDividerDrag( const Point& _rStartPos )
{
long nDataRowHeight = GetParent()->GetDataRowHeight();
@@ -550,7 +542,6 @@ void BrowserDataWin::StartRowDividerDrag( const Point& _rStartPos )
}
-
void BrowserDataWin::Tracking( const TrackingEvent& rTEvt )
{
if ( !GetParent()->bRowDividerDrag )
@@ -595,7 +586,6 @@ void BrowserDataWin::Tracking( const TrackingEvent& rTEvt )
}
-
void BrowserDataWin::KeyInput( const KeyEvent& rEvt )
{
// pass to parent window
@@ -604,7 +594,6 @@ void BrowserDataWin::KeyInput( const KeyEvent& rEvt )
}
-
void BrowserDataWin::RequestHelp( const HelpEvent& rHEvt )
{
pEventWin = this;
@@ -613,7 +602,6 @@ void BrowserDataWin::RequestHelp( const HelpEvent& rHEvt )
}
-
BrowseEvent::BrowseEvent( vcl::Window* pWindow,
long nAbsRow, sal_uInt16 nColumn, sal_uInt16 nColumnId,
const Rectangle& rRect ):
@@ -634,7 +622,6 @@ BrowserMouseEvent::BrowserMouseEvent( BrowserDataWin *pWindow,
}
-
BrowserMouseEvent::BrowserMouseEvent( vcl::Window *pWindow, const MouseEvent& rEvt,
long nAbsRow, sal_uInt16 nColumn, sal_uInt16 nColumnId,
const Rectangle& rRect ):
@@ -644,7 +631,6 @@ BrowserMouseEvent::BrowserMouseEvent( vcl::Window *pWindow, const MouseEvent& rE
}
-
BrowserAcceptDropEvent::BrowserAcceptDropEvent( BrowserDataWin *pWindow, const AcceptDropEvent& rEvt )
:AcceptDropEvent(rEvt)
,BrowseEvent( pWindow->CreateBrowseEvent( rEvt.maPosPixel ) )
@@ -652,7 +638,6 @@ BrowserAcceptDropEvent::BrowserAcceptDropEvent( BrowserDataWin *pWindow, const A
}
-
BrowserExecuteDropEvent::BrowserExecuteDropEvent( BrowserDataWin *pWindow, const ExecuteDropEvent& rEvt )
:ExecuteDropEvent(rEvt)
,BrowseEvent( pWindow->CreateBrowseEvent( rEvt.maPosPixel ) )
@@ -660,9 +645,6 @@ BrowserExecuteDropEvent::BrowserExecuteDropEvent( BrowserDataWin *pWindow, const
}
-
-
-
void BrowserDataWin::SetUpdateMode( bool bMode )
{
DBG_ASSERT( !bUpdateMode || aInvalidRegion.empty(), "invalid region not empty" );
@@ -685,7 +667,6 @@ void BrowserDataWin::DoOutstandingInvalidations()
}
-
void BrowserDataWin::Invalidate( InvalidateFlags nFlags )
{
if ( !GetUpdateMode() )
@@ -700,7 +681,6 @@ void BrowserDataWin::Invalidate( InvalidateFlags nFlags )
}
-
void BrowserDataWin::Invalidate( const Rectangle& rRect, InvalidateFlags nFlags )
{
if ( !GetUpdateMode() )
@@ -744,7 +724,6 @@ void BrowserScrollBar::Tracking( const TrackingEvent& rTEvt )
}
-
void BrowserScrollBar::EndScroll()
{
if ( _nTip )
diff --git a/svtools/source/brwbox/datwin.hxx b/svtools/source/brwbox/datwin.hxx
index ed882535c749..3eb884e6b9d5 100644
--- a/svtools/source/brwbox/datwin.hxx
+++ b/svtools/source/brwbox/datwin.hxx
@@ -28,13 +28,11 @@
#include <vector>
-
#define MIN_COLUMNWIDTH 2
typedef ::std::vector< Rectangle* > RectangleList;
-
class ButtonFrame
{
Rectangle aRect;
@@ -64,7 +62,6 @@ public:
};
-
class BrowserColumn
{
sal_uInt16 _nId;
@@ -94,7 +91,6 @@ public:
};
-
class BrowserDataWin
:public Control
,public DragSourceHelper
@@ -180,7 +176,6 @@ protected:
};
-
class BrowserScrollBar: public ScrollBar
{
sal_uLong _nTip;
@@ -204,12 +199,10 @@ public:
};
-
void InitSettings_Impl( vcl::Window *pWin,
bool bFont = true, bool bForeground = true, bool bBackground = true );
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx
index 47d6ab94aea2..ef1974a2f149 100644
--- a/svtools/source/brwbox/ebbcontrols.cxx
+++ b/svtools/source/brwbox/ebbcontrols.cxx
@@ -28,9 +28,6 @@ namespace svt
{
-
-
-
//= ComboBoxControl
ComboBoxControl::ComboBoxControl(vcl::Window* pParent, WinBits nWinStyle)
@@ -596,5 +593,4 @@ namespace svt
} // namespace svt
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx
index c9cedc8e1299..1865e0d5a4bd 100644
--- a/svtools/source/brwbox/editbrowsebox.cxx
+++ b/svtools/source/brwbox/editbrowsebox.cxx
@@ -87,7 +87,6 @@ namespace svt
}
-
//= EditBrowseBox
@@ -1192,7 +1191,6 @@ namespace svt
}
-
bool EditBrowseBox::SaveModified()
{
return true;
@@ -1300,7 +1298,6 @@ namespace svt
}
-
CellController::CellController(Control* pW)
:pWindow( pW )
,bSuspended( true )
diff --git a/svtools/source/brwbox/editbrowsebox2.cxx b/svtools/source/brwbox/editbrowsebox2.cxx
index 8c186d1bdccf..f0ab7d045c01 100644
--- a/svtools/source/brwbox/editbrowsebox2.cxx
+++ b/svtools/source/brwbox/editbrowsebox2.cxx
@@ -204,5 +204,4 @@ sal_Int32 EditBrowseBox::GetFieldIndexAtPoint(sal_Int32 _nRow,sal_Int32 _nColumn
} // namespace svt
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */