diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/guisaveas.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx index 322b82e34934..6032ac835ee4 100644 --- a/sfx2/source/doc/guisaveas.cxx +++ b/sfx2/source/doc/guisaveas.cxx @@ -2,9 +2,9 @@ * * $RCSfile: guisaveas.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: obo $ $Date: 2004-11-17 13:36:50 $ + * last change: $Author: obo $ $Date: 2004-11-17 15:34:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1238,6 +1238,9 @@ sal_Bool SfxStoringHelper::GUIStoreModel( const uno::Reference< frame::XModel >& if ( aIter != aModelData.GetMediaDescr().end() ) aIter->second >>= aFilterName; + else + aModelData.GetMediaDescr()[::rtl::OUString::createFromAscii( "FilterName" )] <<= aFilterName; + DBG_ASSERT( aFilterName.getLength(), "Illegal filter!" ); } else |