diff options
-rw-r--r-- | extensions/source/update/ui/updatecheckui.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx index 6973b657781f..23810da49033 100644 --- a/extensions/source/update/ui/updatecheckui.cxx +++ b/extensions/source/update/ui/updatecheckui.cxx @@ -147,7 +147,7 @@ private: DECL_LINK(WindowEventHdl, VclWindowEvent&, void); DECL_LINK(ApplicationEventHdl, VclSimpleEvent&, void); - BubbleWindow* GetBubbleWindow(); + VclPtr<BubbleWindow> GetBubbleWindow(); void RemoveBubbleWindow( bool bRemoveIcon ); Image GetMenuBarIcon( MenuBar* pMBar ); void AddMenuBarIcon( SystemWindow* pSysWin, bool bAddEventHdl ); @@ -509,7 +509,7 @@ void UpdateCheckUI::removeVetoableChangeListener( const OUString& /*aPropertyNam } -BubbleWindow * UpdateCheckUI::GetBubbleWindow() +VclPtr<BubbleWindow> UpdateCheckUI::GetBubbleWindow() { if ( !mpIconSysWin ) return nullptr; @@ -518,7 +518,7 @@ BubbleWindow * UpdateCheckUI::GetBubbleWindow() if( aIconRect.IsEmpty() ) return nullptr; - BubbleWindow* pBubbleWin = mpBubbleWin; + auto pBubbleWin = mpBubbleWin; if ( !pBubbleWin ) { pBubbleWin = VclPtr<BubbleWindow>::Create( mpIconSysWin, maBubbleTitle, |