diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-05-30 11:00:11 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-05-30 13:56:49 +0200 |
commit | c9d3abf80e6d8617b7447d2f291cefe16c133514 (patch) | |
tree | c65287276f464fc1f2b37ca20c171cf15169658e /unodevtools | |
parent | 57d5c01ac1bcce56591b4eae96d1e679ef7197d4 (diff) |
Revert "Use getXWeak in unodevtools"
This reverts commit 35eb21d563418bdd664677d073c5653ace3da957.
Reason for revert: this is not a LIBO_INTERNAL_ONLY code.
Change-Id: Idd7a6664c89eca1a5bcfe800cf4fb4a9576722d2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152323
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'unodevtools')
-rw-r--r-- | unodevtools/source/skeletonmaker/cppcompskeleton.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx index a550a8e63c85..b17c35c90c84 100644 --- a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx +++ b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx @@ -160,7 +160,7 @@ static void generateCompHelperDefinition(std::ostream & o, o << "css::uno::Reference< css::uno::XInterface > SAL_CALL _create(" "\n const css::uno::Reference< css::uno::XComponentContext > & " "context)\n{\n" - " return getXWeak(new " + " return static_cast< ::cppu::OWeakObject * >(new " << classname << "(context));\n}\n\n"; // close namespace |