diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2010-11-15 13:05:11 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2010-11-15 13:05:11 +0100 |
commit | f82c3a7d237a86d4835c3c22e680e3993f1faa18 (patch) | |
tree | 2ae124a5a90fba24aeda4ac53c3733026a1dbe34 /svx/source | |
parent | d6c96ba8a0fd7ef324cd40fb2525ef15bfb23bdf (diff) |
vcl117: #i113061# more clarity (thanks cmc!)
Diffstat (limited to 'svx/source')
-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 419e160e6765..683e993cb3f0 100644 --- a/svx/source/gallery2/gallery1.cxx +++ b/svx/source/gallery2/gallery1.cxx @@ -626,7 +626,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 ); |