summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-01-08 23:08:34 +0100
committerMichael Stahl <mstahl@redhat.com>2015-01-09 00:00:47 +0100
commit2f69e16c723aab48ad59d17397d8946ec0a48138 (patch)
treef59943e7a27ad60eda30cab8cdc3e8e716401db2 /sc/source
parentd7bebc89c19d70344a8d71c729bbcb3a59004114 (diff)
override the overloading of "overload" to decrease cognitive (over-)load
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/inc/ddelink.hxx4
-rw-r--r--sc/source/filter/inc/XclExpChangeTrack.hxx6
-rw-r--r--sc/source/filter/inc/xcl97esc.hxx2
-rw-r--r--sc/source/filter/inc/xiescher.hxx2
-rw-r--r--sc/source/filter/xml/xmlstyli.hxx2
-rw-r--r--sc/source/ui/app/inputwin.cxx2
-rw-r--r--sc/source/ui/inc/AccessibleCell.hxx4
-rw-r--r--sc/source/ui/inc/AccessibleEditObject.hxx4
-rw-r--r--sc/source/ui/inc/AccessiblePageHeaderArea.hxx4
-rw-r--r--sc/source/ui/inc/AccessiblePreviewCell.hxx2
-rw-r--r--sc/source/ui/inc/AccessibleTableBase.hxx4
-rw-r--r--sc/source/ui/inc/hdrcont.hxx2
-rw-r--r--sc/source/ui/inc/instbdlg.hxx2
-rw-r--r--sc/source/ui/miscdlgs/anyrefdg.cxx2
-rw-r--r--sc/source/ui/view/colrowba.cxx6
15 files changed, 24 insertions, 24 deletions
diff --git a/sc/source/core/inc/ddelink.hxx b/sc/source/core/inc/ddelink.hxx
index 54ce43d7927e..978b3ab636b2 100644
--- a/sc/source/core/inc/ddelink.hxx
+++ b/sc/source/core/inc/ddelink.hxx
@@ -58,11 +58,11 @@ public:
void Store( SvStream& rStream, ScMultipleWriteHeader& rHdr ) const;
- // overloaded by SvBaseLink:
+ // SvBaseLink override:
virtual ::sfx2::SvBaseLink::UpdateResult DataChanged(
const OUString& rMimeType, const ::com::sun::star::uno::Any & rValue ) SAL_OVERRIDE;
- // overloaded by SvtBroadcaster:
+ // SvtBroadcaster override:
virtual void ListenersGone() SAL_OVERRIDE;
// for interpreter:
diff --git a/sc/source/filter/inc/XclExpChangeTrack.hxx b/sc/source/filter/inc/XclExpChangeTrack.hxx
index 12b249f87127..6706e7f8a384 100644
--- a/sc/source/filter/inc/XclExpChangeTrack.hxx
+++ b/sc/source/filter/inc/XclExpChangeTrack.hxx
@@ -377,9 +377,9 @@ protected:
virtual void SaveCont( XclExpStream& rStrm ) SAL_OVERRIDE;
inline sal_Size GetHeaderByteCount() const { return 12; }
- // overload to save action data without header, called by SaveCont()
+ // override to save action data without header, called by SaveCont()
virtual void SaveActionData( XclExpStream& rStrm ) const = 0;
- // overload to get action size without header, called by GetLen()
+ // override to get action size without header, called by GetLen()
virtual sal_Size GetActionByteCount() const = 0;
// do something before writing the record
@@ -403,7 +403,7 @@ public:
inline bool ForceInfoRecord() const { return bForceInfo; }
// set own index & return new index
- // could be overloaded to use more indexes per action
+ // could override to use more indexes per action
virtual void SetIndex( sal_uInt32& rIndex );
virtual void Save( XclExpStream& rStrm ) SAL_OVERRIDE;
diff --git a/sc/source/filter/inc/xcl97esc.hxx b/sc/source/filter/inc/xcl97esc.hxx
index 1b90097cbccf..a38f0edfefc4 100644
--- a/sc/source/filter/inc/xcl97esc.hxx
+++ b/sc/source/filter/inc/xcl97esc.hxx
@@ -37,7 +37,7 @@ public:
explicit XclEscherExGlobal( const XclExpRoot& rRoot );
private:
- /** Overloaded to create a new temporary file and return its stream. */
+ /** Override to create a new temporary file and return its stream. */
virtual SvStream* ImplQueryPictureStream() SAL_OVERRIDE;
private:
diff --git a/sc/source/filter/inc/xiescher.hxx b/sc/source/filter/inc/xiescher.hxx
index dc2be34a7fab..337ae0ac04a4 100644
--- a/sc/source/filter/inc/xiescher.hxx
+++ b/sc/source/filter/inc/xiescher.hxx
@@ -845,7 +845,7 @@ protected:
virtual void DoReadObj8SubRec( XclImpStream& rStrm, sal_uInt16 nSubRecId, sal_uInt16 nSubRecSize ) SAL_OVERRIDE;
/** Creates and returns a new SdrObject from the contained data. Caller takes ownership! */
virtual SdrObject* DoCreateSdrObj( XclImpDffConverter& rDffConv, const Rectangle& rAnchorRect ) const SAL_OVERRIDE;
- /** Overloaded to do additional processing on the SdrObject. */
+ /** Override to do additional processing on the SdrObject. */
virtual void DoPreProcessSdrObj( XclImpDffConverter& rDffConv, SdrObject& rSdrObj ) const SAL_OVERRIDE;
private:
diff --git a/sc/source/filter/xml/xmlstyli.hxx b/sc/source/filter/xml/xmlstyli.hxx
index 6c1d483681ad..10bf52a3ae6d 100644
--- a/sc/source/filter/xml/xmlstyli.hxx
+++ b/sc/source/filter/xml/xmlstyli.hxx
@@ -266,7 +266,7 @@ public:
bool bDefaultStyle = false );
virtual ~ScCellTextStyleContext();
- // overload FillPropertySet to store style information
+ // override FillPropertySet to store style information
virtual void FillPropertySet(
const ::com::sun::star::uno::Reference<
::com::sun::star::beans::XPropertySet > & rPropSet ) SAL_OVERRIDE;
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 6e4a2389bb3e..937888eb757e 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -1671,7 +1671,7 @@ void ScTextWnd::LoseFocus()
OUString ScTextWnd::GetText() const
{
- // Overload to get the text via the testtool
+ // Override to get the text via the testtool
if ( pEditEngine )
return pEditEngine->GetText();
else
diff --git a/sc/source/ui/inc/AccessibleCell.hxx b/sc/source/ui/inc/AccessibleCell.hxx
index 03b8b22762ac..5dbce7033f37 100644
--- a/sc/source/ui/inc/AccessibleCell.hxx
+++ b/sc/source/ui/inc/AccessibleCell.hxx
@@ -107,13 +107,13 @@ public:
///===== XAccessibleContext ==============================================
/// Return the number of currently visible children.
- // is overloaded to calculate this on demand
+ /// override to calculate this on demand
virtual sal_Int32 SAL_CALL
getAccessibleChildCount(void)
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
/// Return the specified child or NULL if index is invalid.
- // is overloaded to calculate this on demand
+ /// override to calculate this on demand
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleChild(sal_Int32 nIndex)
throw (::com::sun::star::uno::RuntimeException,
diff --git a/sc/source/ui/inc/AccessibleEditObject.hxx b/sc/source/ui/inc/AccessibleEditObject.hxx
index 5b5f96345655..3d470a2fc4c6 100644
--- a/sc/source/ui/inc/AccessibleEditObject.hxx
+++ b/sc/source/ui/inc/AccessibleEditObject.hxx
@@ -96,13 +96,13 @@ public:
///===== XAccessibleContext ==============================================
/// Return the number of currently visible children.
- // is overloaded to calculate this on demand
+ /// override to calculate this on demand
virtual sal_Int32 SAL_CALL
getAccessibleChildCount(void)
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
/// Return the specified child or NULL if index is invalid.
- // is overloaded to calculate this on demand
+ /// override to calculate this on demand
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleChild(sal_Int32 nIndex)
throw (::com::sun::star::uno::RuntimeException,
diff --git a/sc/source/ui/inc/AccessiblePageHeaderArea.hxx b/sc/source/ui/inc/AccessiblePageHeaderArea.hxx
index 91f955e75f36..2a9bbd1b3c23 100644
--- a/sc/source/ui/inc/AccessiblePageHeaderArea.hxx
+++ b/sc/source/ui/inc/AccessiblePageHeaderArea.hxx
@@ -64,13 +64,13 @@ public:
///===== XAccessibleContext ==============================================
/// Return the number of currently visible children.
- // is overloaded to calculate this on demand
+ /// override to calculate this on demand
virtual sal_Int32 SAL_CALL
getAccessibleChildCount(void)
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
/// Return the specified child or NULL if index is invalid.
- // is overloaded to calculate this on demand
+ /// override to calculate this on demand
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleChild(sal_Int32 nIndex)
throw (::com::sun::star::uno::RuntimeException,
diff --git a/sc/source/ui/inc/AccessiblePreviewCell.hxx b/sc/source/ui/inc/AccessiblePreviewCell.hxx
index cc0d8ca15b44..68dd70e5f40e 100644
--- a/sc/source/ui/inc/AccessiblePreviewCell.hxx
+++ b/sc/source/ui/inc/AccessiblePreviewCell.hxx
@@ -60,7 +60,7 @@ public:
//===== XAccessibleContext ==============================================
- // overloaded to calculate this on demand
+ // override to calculate this on demand
virtual sal_Int32 SAL_CALL getAccessibleChildCount() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL
getAccessibleChild( sal_Int32 i )
diff --git a/sc/source/ui/inc/AccessibleTableBase.hxx b/sc/source/ui/inc/AccessibleTableBase.hxx
index d506b75660d9..ff3659e083df 100644
--- a/sc/source/ui/inc/AccessibleTableBase.hxx
+++ b/sc/source/ui/inc/AccessibleTableBase.hxx
@@ -196,14 +196,14 @@ public:
//===== XAccessibleContext ==============================================
/// Return the number of currently visible children.
- // is overloaded to calculate this on demand
+ /// override to calculate this on demand
virtual sal_Int32 SAL_CALL
getAccessibleChildCount(void)
throw (::com::sun::star::uno::RuntimeException,
std::exception) SAL_OVERRIDE;
/// Return the specified child or NULL if index is invalid.
- // is overloaded to calculate this on demand
+ /// override to calculate this on demand
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleChild(sal_Int32 nIndex)
throw (::com::sun::star::uno::RuntimeException,
diff --git a/sc/source/ui/inc/hdrcont.hxx b/sc/source/ui/inc/hdrcont.hxx
index 5320494d7427..d5719480be41 100644
--- a/sc/source/ui/inc/hdrcont.hxx
+++ b/sc/source/ui/inc/hdrcont.hxx
@@ -67,7 +67,7 @@ private:
void DrawShadedRect( long nStart, long nEnd, const Color& rBaseColor );
protected:
- // Overloaded by Window
+ // Window overrides
virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
diff --git a/sc/source/ui/inc/instbdlg.hxx b/sc/source/ui/inc/instbdlg.hxx
index a6361e7a6d64..7bc1dd590b7f 100644
--- a/sc/source/ui/inc/instbdlg.hxx
+++ b/sc/source/ui/inc/instbdlg.hxx
@@ -45,7 +45,7 @@ public:
ScInsertTableDlg( vcl::Window* pParent, ScViewData& rViewData, SCTAB nTabCount, bool bFromFile );
virtual ~ScInsertTableDlg();
- virtual short Execute() SAL_OVERRIDE; // overloaded to set parent dialog
+ virtual short Execute() SAL_OVERRIDE; // override to set parent dialog
bool GetTablesFromFile() const { return m_pBtnFromFile->IsChecked(); }
bool GetTablesAsLink() const { return m_pBtnLink->IsChecked(); }
diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx
index 409f138d85f8..fb291b4855e3 100644
--- a/sc/source/ui/miscdlgs/anyrefdg.cxx
+++ b/sc/source/ui/miscdlgs/anyrefdg.cxx
@@ -910,7 +910,7 @@ void ScRefHandler::ViewShellChanged()
void ScRefHandler::AddRefEntry()
{
- // needs to be overloaded for multi-references
+ // override this for multi-references
}
bool ScRefHandler::IsTableLocked() const
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() );
}