diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-13 11:57:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-13 11:57:54 +0100 |
commit | a7458f68ae3b7a5c07e5c4455f44d2509ddd63bc (patch) | |
tree | 815514c04edbe3ec8617ae0496b4213e0cdd06e0 | |
parent | eb7beeee0b09b5c0757908d9baa53cceaf99da25 (diff) |
#i113061# dubious self-assign
-rw-r--r-- | svx/source/gallery2/gallery1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/gallery2/gallery1.cxx b/svx/source/gallery2/gallery1.cxx index e609b6822ebe..b62b0da0f893 100644 --- a/svx/source/gallery2/gallery1.cxx +++ b/svx/source/gallery2/gallery1.cxx @@ -627,7 +627,7 @@ BOOL Gallery::CreateTheme( const String& rThemeName, UINT32 nNumFrom ) if( !HasTheme( rThemeName ) && ( GetUserURL().GetProtocol() != INET_PROT_NOT_VALID ) ) { - nLastFileNumber=nNumFrom > nLastFileNumber ? nNumFrom : ++nLastFileNumber; + nLastFileNumber = nNumFrom > nLastFileNumber ? nNumFrom : nLastFileNumber + 1; GalleryThemeEntry* pNewEntry = new GalleryThemeEntry( GetUserURL(), rThemeName, nLastFileNumber, FALSE, FALSE, TRUE, 0, FALSE ); |