summaryrefslogtreecommitdiff
path: root/toolkit
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 /toolkit
parentd7bebc89c19d70344a8d71c729bbcb3a59004114 (diff)
override the overloading of "overload" to decrease cognitive (over-)load
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/unocontrol.cxx2
-rw-r--r--toolkit/source/controls/unocontrolmodel.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx
index 46bbe3d3a5c2..0e7e92433c83 100644
--- a/toolkit/source/controls/unocontrol.cxx
+++ b/toolkit/source/controls/unocontrol.cxx
@@ -1420,7 +1420,7 @@ sal_Bool UnoControl::isTransparent( ) throw(RuntimeException, std::exception)
// XServiceInfo
OUString UnoControl::getImplementationName( ) throw(RuntimeException, std::exception)
{
- OSL_FAIL( "This method should be overloaded!" );
+ OSL_FAIL( "This method should be overridden!" );
return OUString();
}
diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx
index d7f8f5d948f8..911b2a6ddfcf 100644
--- a/toolkit/source/controls/unocontrolmodel.cxx
+++ b/toolkit/source/controls/unocontrolmodel.cxx
@@ -1024,7 +1024,7 @@ void UnoControlModel::read( const ::com::sun::star::uno::Reference< ::com::sun::
// ::com::sun::star::lang::XServiceInfo
OUString UnoControlModel::getImplementationName( ) throw(::com::sun::star::uno::RuntimeException, std::exception)
{
- OSL_FAIL( "This method should be overloaded!" );
+ OSL_FAIL( "This method should be overridden!" );
return OUString();
}