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 --- unodevtools/source/skeletonmaker/cppcompskeleton.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'unodevtools') diff --git a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx index 947340c2bff2..1a6346144a14 100644 --- a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx +++ b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx @@ -668,7 +668,7 @@ OString generateClassDefinition(std::ostream& o, // << "\n css::uno::Reference< css::uno::XComponentContext > const & " // << "context);\n\n"; - // overload queryInterface + // override queryInterface if (propertyhelper.getLength() > 1) { o << " // css::uno::XInterface:\n" " virtual css::uno::Any SAL_CALL queryInterface(" @@ -720,7 +720,7 @@ OString generateClassDefinition(std::ostream& o, } if (supportxcomponent) { - o << " // overload WeakComponentImplHelperBase::disposing()\n" + o << " // override WeakComponentImplHelperBase::disposing()\n" " // This function is called upon disposing the component,\n" " // if your component needs special work when it becomes\n" " // disposed, do it here.\n" @@ -835,7 +835,7 @@ OString generateClassDefinition(std::ostream& o, // generateServiceHelper(o, options.implname, classname, services); if (supportxcomponent) { - o << "// overload WeakComponentImplHelperBase::disposing()\n" + o << "// override WeakComponentImplHelperBase::disposing()\n" "// This function is called upon disposing the component,\n" "// if your component needs special work when it becomes\n" "// disposed, do it here.\n" -- cgit