summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-11-29 09:01:56 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-11-29 09:01:56 +0100
commitbe37c23c587e514b1bceef9b2f4aa2f241d63f93 (patch)
treef1fe6bbbc74431bd72d5f92bec7d43ca51c462a4 /extensions
parente6ffb539ee232ea0c679928ff456c1cf97429f63 (diff)
loplugin:vclwidgets
Change-Id: If88a200fa26bcc6b20ad3c1dbc160e862054318f
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/update/ui/updatecheckui.cxx6
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,