diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-04-23 20:14:58 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-06-18 10:14:05 +0200 |
commit | 627984834cffbe6d1afce8b2be91277c221525b8 (patch) | |
tree | 27bfd2d4aa3ed19980ef308fdad537e54719c6bd /svl/source/items | |
parent | f983e193523f9c7ac605627bbf3f3ad576ee7f03 (diff) |
Use getXWeak in svl
Change-Id: Ia000bf4afa60a4e5bf1469fef7a611ab07e73331
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150872
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svl/source/items')
-rw-r--r-- | svl/source/items/style.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index e766dcb09f65..40ba0ca85f72 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -726,7 +726,7 @@ void SfxStyleSheetBasePool::Remove( SfxStyleSheetBase* p ) // this works well under normal conditions (checked breaking and counting // on SfxStyleSheetBase constructors and destructors) - // css::uno::Reference< css::lang::XComponent > xComp( static_cast< ::cppu::OWeakObject* >((*aIter).get()), css::uno::UNO_QUERY ); + // css::uno::Reference< css::lang::XComponent > xComp( getXWeak((*aIter).get()), css::uno::UNO_QUERY ); // if( xComp.is() ) try // { // xComp->dispose(); |