summaryrefslogtreecommitdiff
path: root/vcl/source/control/ctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/ctrl.cxx')
-rw-r--r--vcl/source/control/ctrl.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/vcl/source/control/ctrl.cxx b/vcl/source/control/ctrl.cxx
index 0f5a38e224b9..43b3a2ee659d 100644
--- a/vcl/source/control/ctrl.cxx
+++ b/vcl/source/control/ctrl.cxx
@@ -141,14 +141,6 @@ tools::Long Control::GetIndexForPoint( const Point& rPoint ) const
return mxLayoutData ? mxLayoutData->GetIndexForPoint( rPoint ) : -1;
}
-tools::Long ControlLayoutData::GetLineCount() const
-{
- tools::Long nLines = m_aLineIndices.size();
- if( nLines == 0 && !m_aDisplayText.isEmpty() )
- nLines = 1;
- return nLines;
-}
-
Pair ControlLayoutData::GetLineStartEnd( tools::Long nLine ) const
{
Pair aPair( -1, -1 );