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 --- toolkit/source/controls/unocontrol.cxx | 2 +- toolkit/source/controls/unocontrolmodel.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'toolkit') 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(); } -- cgit