summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM>2010-11-15 13:05:11 +0100
committerPhilipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM>2010-11-15 13:05:11 +0100
commitf82c3a7d237a86d4835c3c22e680e3993f1faa18 (patch)
tree2ae124a5a90fba24aeda4ac53c3733026a1dbe34 /svx/source
parentd6c96ba8a0fd7ef324cd40fb2525ef15bfb23bdf (diff)
vcl117: #i113061# more clarity (thanks cmc!)
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/gallery2/gallery1.cxx2
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 );