summaryrefslogtreecommitdiff
path: root/svl
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 /svl
parentd7bebc89c19d70344a8d71c729bbcb3a59004114 (diff)
override the overloading of "overload" to decrease cognitive (over-)load
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/flagitem.cxx4
-rw-r--r--svl/source/items/poolio.cxx2
-rw-r--r--svl/source/items/poolitem.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/items/flagitem.cxx b/svl/source/items/flagitem.cxx
index 3ea30e125aa3..02dcdaf84de1 100644
--- a/svl/source/items/flagitem.cxx
+++ b/svl/source/items/flagitem.cxx
@@ -69,7 +69,7 @@ bool SfxFlagItem::GetPresentation
sal_uInt8 SfxFlagItem::GetFlagCount() const
{
- DBG_WARNING( "calling GetValueText(sal_uInt16) on SfxFlagItem -- overload!" );
+ DBG_WARNING("calling GetValueText(sal_uInt16) on SfxFlagItem -- override!");
return 0;
}
@@ -77,7 +77,7 @@ sal_uInt8 SfxFlagItem::GetFlagCount() const
SfxPoolItem* SfxFlagItem::Create(SvStream &, sal_uInt16) const
{
- DBG_WARNING( "calling Create() on SfxFlagItem -- overload!" );
+ DBG_WARNING("calling Create() on SfxFlagItem -- override!");
return 0;
}
diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx
index c3c97aeb3590..765673501d38 100644
--- a/svl/source/items/poolio.cxx
+++ b/svl/source/items/poolio.cxx
@@ -35,7 +35,7 @@
* Returns the <SfxItemPool> that is being saved.
* This should only be used in very exceptional cases e.g.
* when guaranteeing file format compatibility:
- * When overloading a <SfxPoolItem::Store()> getting additional data from the Pool
+ * When overriding a <SfxPoolItem::Store()> getting additional data from the Pool
*/
const SfxItemPool* SfxItemPool::GetStoringPool()
{
diff --git a/svl/source/items/poolitem.cxx b/svl/source/items/poolitem.cxx
index e45510723d30..bf26c1e04eae 100644
--- a/svl/source/items/poolitem.cxx
+++ b/svl/source/items/poolitem.cxx
@@ -161,7 +161,7 @@ SvStream& SfxPoolItem::Store(SvStream &rStream, sal_uInt16 ) const
/**
* This virtual method allows to get a textual representation of the value
- * for the SfxPoolItem subclasses. It should be overloaded by all UI-relevant
+ * for the SfxPoolItem subclasses. It should be overridden by all UI-relevant
* SfxPoolItem subclasses.
*
* Because the unit of measure of the value in the SfxItemPool is only