diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-01-08 23:08:34 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-01-09 00:00:47 +0100 |
commit | 2f69e16c723aab48ad59d17397d8946ec0a48138 (patch) | |
tree | f59943e7a27ad60eda30cab8cdc3e8e716401db2 /unodevtools | |
parent | d7bebc89c19d70344a8d71c729bbcb3a59004114 (diff) |
override the overloading of "overload" to decrease cognitive (over-)load
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
Diffstat (limited to 'unodevtools')
-rw-r--r-- | unodevtools/source/skeletonmaker/cppcompskeleton.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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" |