extensions/source/update/ui/updatecheckui.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit be37c23c587e514b1bceef9b2f4aa2f241d63f93 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Nov 29 09:01:56 2016 +0100 loplugin:vclwidgets Change-Id: If88a200fa26bcc6b20ad3c1dbc160e862054318f diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx index 6973b65..23810da 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, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits