summaryrefslogtreecommitdiff
path: root/sw/source/filter
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 /sw/source/filter
parentd7bebc89c19d70344a8d71c729bbcb3a59004114 (diff)
override the overloading of "overload" to decrease cognitive (over-)load
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
Diffstat (limited to 'sw/source/filter')
-rw-r--r--sw/source/filter/basflt/shellio.cxx2
-rw-r--r--sw/source/filter/writer/writer.cxx2
-rw-r--r--sw/source/filter/ww8/escher.hxx2
-rw-r--r--sw/source/filter/ww8/wrtww8.hxx3
4 files changed, 4 insertions, 5 deletions
diff --git a/sw/source/filter/basflt/shellio.cxx b/sw/source/filter/basflt/shellio.cxx
index 5065816cdff3..29e88fc1bf31 100644
--- a/sw/source/filter/basflt/shellio.cxx
+++ b/sw/source/filter/basflt/shellio.cxx
@@ -573,7 +573,7 @@ void Reader::MakeHTMLDummyTemplateDoc()
}
// Users that do not need to open these Streams / Storages,
-// have to overload this method
+// have to override this method
bool Reader::SetStrmStgPtr()
{
OSL_ENSURE( pMedium, "Where is the Media??" );
diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx
index 8b5b0ed8f291..d71d7c3bba7e 100644
--- a/sw/source/filter/writer/writer.cxx
+++ b/sw/source/filter/writer/writer.cxx
@@ -283,7 +283,7 @@ void Writer::SetupFilterOptions(SfxMedium& /*rMedium*/)
sal_uLong Writer::Write( SwPaM& rPam, SfxMedium& rMedium, const OUString* pFileName )
{
SetupFilterOptions(rMedium);
- // This method must be overloaded in SwXMLWriter a storage from medium will be used there.
+ // This method must be overridden in SwXMLWriter a storage from medium will be used there.
// The microsoft format can write to storage but the storage will be based on the stream.
return Write( rPam, *rMedium.GetOutStream(), pFileName );
}
diff --git a/sw/source/filter/ww8/escher.hxx b/sw/source/filter/ww8/escher.hxx
index a03ff22cdfe9..5c345615b179 100644
--- a/sw/source/filter/ww8/escher.hxx
+++ b/sw/source/filter/ww8/escher.hxx
@@ -80,7 +80,7 @@ public:
virtual ~SwEscherExGlobal();
private:
- /** Overloaded to create a new memory stream for picture data. */
+ /** Override to create a new memory stream for picture data. */
virtual SvStream* ImplQueryPictureStream() SAL_OVERRIDE;
private:
diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx
index 09dd0dca96bd..2e405b083486 100644
--- a/sw/source/filter/ww8/wrtww8.hxx
+++ b/sw/source/filter/ww8/wrtww8.hxx
@@ -1431,8 +1431,7 @@ public:
};
/** The class MSWordAttrIter is a helper class to build the Fkp.chpx.
- This class may be overloaded for output the SwTxtAttrs and the
- EditEngineTxtAttrs.
+ This is a base class to output the SwTxtAttrs and the EditEngineTxtAttrs.
*/
class MSWordAttrIter
{