From 2f69e16c723aab48ad59d17397d8946ec0a48138 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 8 Jan 2015 23:08:34 +0100 Subject: override the overloading of "overload" to decrease cognitive (over-)load Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796 --- svl/source/items/flagitem.cxx | 4 ++-- svl/source/items/poolio.cxx | 2 +- svl/source/items/poolitem.cxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'svl') 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 that is being saved. * This should only be used in very exceptional cases e.g. * when guaranteeing file format compatibility: - * When overloading a getting additional data from the Pool + * When overriding a 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 -- cgit