summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-11-17 14:34:06 +0000
committerOliver Bolte <obo@openoffice.org>2004-11-17 14:34:06 +0000
commit4843303072cf1ed0027f382b0951eae35fa70b7e (patch)
tree11809a7e5a7e59760e61b40ac341faebd0a12abf /sfx2
parent926a40741e847014fd6addc48311123c6a46fb0a (diff)
INTEGRATION: CWS fwkp2fix02 (1.2.68); FILE MERGED
2004/11/03 17:01:43 mav 1.2.68.1: #i35589# use the default printer if there is no
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/guisaveas.cxx7
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