Use getXWeak in unodevtools
Change-Id: I71c8c7f26dac1ce97f29818c73f3268d948d57a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150881 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
@@ -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 static_cast< ::cppu::OWeakObject * >(new "
|
||||
" return getXWeak(new "
|
||||
<< classname << "(context));\n}\n\n";
|
||||
|
||||
// close namespace
|
||||
|
||||
Reference in New Issue
Block a user