diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-11-29 17:18:30 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-11-29 17:18:30 +0100 |
commit | db37370d2c92e32e46d679fdf4630d293e475b9d (patch) | |
tree | cf0e079493feefd39185e70b592a580c72b99da4 /svx | |
parent | 2eb991561c3ca6751bfe3bd674de28d7677e993d (diff) |
Rewrite some (trivial) assignments inside if/while conditions: svx
Change-Id: I803f4e1a93f1b97e5446032cf557d39db68159e3
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/gengal/gengal.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/gengal/gengal.cxx b/svx/source/gengal/gengal.cxx index f8b5385203a8..7a8f1a5b5969 100644 --- a/svx/source/gengal/gengal.cxx +++ b/svx/source/gengal/gengal.cxx @@ -100,7 +100,8 @@ static void createTheme( const OUString& aThemeName, const OUString& aGalleryURL SfxListener aListener; - if ( !( pGalTheme = pGallery->AcquireTheme( aThemeName, aListener ) ) ) { + pGalTheme = pGallery->AcquireTheme( aThemeName, aListener ); + if ( !pGalTheme ) { fprintf( stderr, "Failed to acquire theme\n" ); exit( 1 ); } |