diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-01-08 23:08:34 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-01-09 00:00:47 +0100 |
commit | 2f69e16c723aab48ad59d17397d8946ec0a48138 (patch) | |
tree | f59943e7a27ad60eda30cab8cdc3e8e716401db2 /sc/source/ui/view/colrowba.cxx | |
parent | d7bebc89c19d70344a8d71c729bbcb3a59004114 (diff) |
override the overloading of "overload" to decrease cognitive (over-)load
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
Diffstat (limited to 'sc/source/ui/view/colrowba.cxx')
-rw-r--r-- | sc/source/ui/view/colrowba.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/view/colrowba.cxx b/sc/source/ui/view/colrowba.cxx index e5608552ec0c..d56a18a8a1ea 100644 --- a/sc/source/ui/view/colrowba.cxx +++ b/sc/source/ui/view/colrowba.cxx @@ -206,7 +206,7 @@ OUString ScColBar::GetDragHelp( long nVal ) return lcl_MetricString( nTwips, ScGlobal::GetRscString(STR_TIP_WIDTH) ); } -bool ScColBar::IsLayoutRTL() const // overloaded only for columns +bool ScColBar::IsLayoutRTL() const // override only for columns { return pViewData->GetDocument()->IsLayoutRTL( pViewData->GetTabNo() ); } @@ -360,14 +360,14 @@ OUString ScRowBar::GetDragHelp( long nVal ) return lcl_MetricString( nTwips, ScGlobal::GetRscString(STR_TIP_HEIGHT) ); } -SCROW ScRowBar::GetHiddenCount( SCROW nEntryNo ) const // overloaded only for rows +SCROW ScRowBar::GetHiddenCount( SCROW nEntryNo ) const // override only for rows { ScDocument* pDoc = pViewData->GetDocument(); SCTAB nTab = pViewData->GetTabNo(); return pDoc->GetHiddenRowCount( nEntryNo, nTab ); } -bool ScRowBar::IsMirrored() const // overloaded only for rows +bool ScRowBar::IsMirrored() const // override only for rows { return pViewData->GetDocument()->IsLayoutRTL( pViewData->GetTabNo() ); } |