diff options
Diffstat (limited to 'vcl/unx/generic/window/salframe.cxx')
-rw-r--r-- | vcl/unx/generic/window/salframe.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx index 6e1c392706a9..43f1b98a224a 100644 --- a/vcl/unx/generic/window/salframe.cxx +++ b/vcl/unx/generic/window/salframe.cxx @@ -1042,7 +1042,7 @@ void X11SalFrame::SetIcon( sal_uInt16 nIcon ) GetDisplay()->GetRootWindow( m_nXScreen ), &nCount ); for( int i = 0; i < nCount && !bGnomeIconSize; i++ ) - { + { char* pName = XGetAtomName( GetXDisplay(), pProps[i] ); if( pName ) { @@ -1050,7 +1050,7 @@ void X11SalFrame::SetIcon( sal_uInt16 nIcon ) bGnomeIconSize = true; XFree( pName ); } - } + } if( pProps ) XFree( pProps ); } |