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 | |
parent | d7bebc89c19d70344a8d71c729bbcb3a59004114 (diff) |
override the overloading of "overload" to decrease cognitive (over-)load
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/cellsuno.hxx | 10 | ||||
-rw-r--r-- | sc/inc/dapiuno.hxx | 4 | ||||
-rw-r--r-- | sc/inc/dptabdat.hxx | 2 | ||||
-rw-r--r-- | sc/inc/optuno.hxx | 2 | ||||
-rw-r--r-- | sc/source/core/inc/ddelink.hxx | 4 | ||||
-rw-r--r-- | sc/source/filter/inc/XclExpChangeTrack.hxx | 6 | ||||
-rw-r--r-- | sc/source/filter/inc/xcl97esc.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/inc/xiescher.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlstyli.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/app/inputwin.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessibleCell.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessibleEditObject.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessiblePageHeaderArea.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessiblePreviewCell.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessibleTableBase.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/hdrcont.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/instbdlg.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/anyrefdg.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/colrowba.cxx | 6 |
19 files changed, 33 insertions, 33 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx index 0ec4e6cfa5a5..12653280f607 100644 --- a/sc/inc/cellsuno.hxx +++ b/sc/inc/cellsuno.hxx @@ -816,7 +816,7 @@ public: getCellRangeByName( const OUString& aRange, const ScAddress::Details& rDetails ) throw(::com::sun::star::uno::RuntimeException); - // XPropertySet overloaded due to Range-Properties + // XPropertySet override due to Range-Properties virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -982,7 +982,7 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getTextFieldMasters() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - // XPropertySet overloaded due to cell properties + // XPropertySet override due to cell properties virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -1247,7 +1247,7 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace > SAL_CALL getEvents() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - // XPropertySet overloaded due to sheet properties + // XPropertySet override due to sheet properties virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -1309,7 +1309,7 @@ public: virtual void SAL_CALL setName( const OUString& aName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - // XPropertySet overloaded due to column properties + // XPropertySet override due to column properties virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -1350,7 +1350,7 @@ public: ScTableRowObj(ScDocShell* pDocSh, SCROW nRow, SCTAB nTab); virtual ~ScTableRowObj(); - // XPropertySet overloaded due to row properties + // XPropertySet override due to row properties virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/sc/inc/dapiuno.hxx b/sc/inc/dapiuno.hxx index cd2ffad67dc7..d43156c42484 100644 --- a/sc/inc/dapiuno.hxx +++ b/sc/inc/dapiuno.hxx @@ -260,7 +260,7 @@ public: SC_DLLPUBLIC static ScDataPilotDescriptorBase* getImplementation( const com::sun::star::uno::Reference< com::sun::star::sheet::XDataPilotDescriptor> xObj ); - // XTypeProvider (overloaded in ScDataPilotTableObj) + // XTypeProvider (override in ScDataPilotTableObj) virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() @@ -362,7 +362,7 @@ public: ::com::sun::star::util::XModifyListener >& aListener ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - // XTypeProvider (overloaded) + // XTypeProvider (override) virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() diff --git a/sc/inc/dptabdat.hxx b/sc/inc/dptabdat.hxx index 4be896cfdb7a..9030090939ba 100644 --- a/sc/inc/dptabdat.hxx +++ b/sc/inc/dptabdat.hxx @@ -129,7 +129,7 @@ public: virtual const ScDPFilteredCache& GetCacheTable() const = 0; virtual void ReloadCacheTable() = 0; - // overloaded in ScDPGroupTableData: + // override in ScDPGroupTableData: virtual bool IsBaseForGroup(long nDim) const; virtual long GetGroupBase(long nGroupDim) const; virtual bool IsNumOrDateGroup(long nDim) const; diff --git a/sc/inc/optuno.hxx b/sc/inc/optuno.hxx index b6a1da3d60b0..c71314c8bcf5 100644 --- a/sc/inc/optuno.hxx +++ b/sc/inc/optuno.hxx @@ -62,7 +62,7 @@ public: ScDocOptionsObj( const ScDocOptions& rOpt ); virtual ~ScDocOptionsObj(); - // get/setPropertyValue overloaded to used stored options instead of document + // get/setPropertyValue override to used stored options instead of document virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) 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() ); } |