Kaydet (Commit) be37c23c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:vclwidgets

Change-Id: If88a200fa26bcc6b20ad3c1dbc160e862054318f
üst e6ffb539
...@@ -147,7 +147,7 @@ private: ...@@ -147,7 +147,7 @@ private:
DECL_LINK(WindowEventHdl, VclWindowEvent&, void); DECL_LINK(WindowEventHdl, VclWindowEvent&, void);
DECL_LINK(ApplicationEventHdl, VclSimpleEvent&, void); DECL_LINK(ApplicationEventHdl, VclSimpleEvent&, void);
BubbleWindow* GetBubbleWindow(); VclPtr<BubbleWindow> GetBubbleWindow();
void RemoveBubbleWindow( bool bRemoveIcon ); void RemoveBubbleWindow( bool bRemoveIcon );
Image GetMenuBarIcon( MenuBar* pMBar ); Image GetMenuBarIcon( MenuBar* pMBar );
void AddMenuBarIcon( SystemWindow* pSysWin, bool bAddEventHdl ); void AddMenuBarIcon( SystemWindow* pSysWin, bool bAddEventHdl );
...@@ -509,7 +509,7 @@ void UpdateCheckUI::removeVetoableChangeListener( const OUString& /*aPropertyNam ...@@ -509,7 +509,7 @@ void UpdateCheckUI::removeVetoableChangeListener( const OUString& /*aPropertyNam
} }
BubbleWindow * UpdateCheckUI::GetBubbleWindow() VclPtr<BubbleWindow> UpdateCheckUI::GetBubbleWindow()
{ {
if ( !mpIconSysWin ) if ( !mpIconSysWin )
return nullptr; return nullptr;
...@@ -518,7 +518,7 @@ BubbleWindow * UpdateCheckUI::GetBubbleWindow() ...@@ -518,7 +518,7 @@ BubbleWindow * UpdateCheckUI::GetBubbleWindow()
if( aIconRect.IsEmpty() ) if( aIconRect.IsEmpty() )
return nullptr; return nullptr;
BubbleWindow* pBubbleWin = mpBubbleWin; auto pBubbleWin = mpBubbleWin;
if ( !pBubbleWin ) { if ( !pBubbleWin ) {
pBubbleWin = VclPtr<BubbleWindow>::Create( mpIconSysWin, maBubbleTitle, pBubbleWin = VclPtr<BubbleWindow>::Create( mpIconSysWin, maBubbleTitle,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment