diff options
author | Kai Ahrens <ka@openoffice.org> | 2000-12-09 15:14:53 +0000 |
---|---|---|
committer | Kai Ahrens <ka@openoffice.org> | 2000-12-09 15:14:53 +0000 |
commit | ae6116d3dc1f0a168412fccf1c61841452584e77 (patch) | |
tree | 7e16b4ccb16b44728a169f99a21ffa4a700cf34b /svx/source/gallery2/gallery1.cxx | |
parent | 5ae7344ef826fb138b1bc492f02abdd7c882de52 (diff) |
#80901#: watch for errors during initialization
Diffstat (limited to 'svx/source/gallery2/gallery1.cxx')
-rw-r--r-- | svx/source/gallery2/gallery1.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/gallery2/gallery1.cxx b/svx/source/gallery2/gallery1.cxx index 909b3948c09c..65421fe87d56 100644 --- a/svx/source/gallery2/gallery1.cxx +++ b/svx/source/gallery2/gallery1.cxx @@ -2,9 +2,9 @@ * * $RCSfile: gallery1.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: ka $ $Date: 2000-12-09 15:24:55 $ + * last change: $Author: ka $ $Date: 2000-12-09 16:14:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -595,7 +595,7 @@ BOOL Gallery::CreateTheme( const String& rThemeName ) { BOOL bRet = FALSE; - if( !HasTheme( rThemeName ) ) + if( !HasTheme( rThemeName ) && ( GetUserURL().GetProtocol() != INET_PROT_NOT_VALID ) ) { GalleryThemeEntry* pNewEntry = new GalleryThemeEntry( GetUserURL(), rThemeName, ++nLastFileNumber, |