summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/galtheme.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/gallery2/galtheme.cxx')
-rw-r--r--svx/source/gallery2/galtheme.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx
index dd5de4b9a79c..eb3e9db72458 100644
--- a/svx/source/gallery2/galtheme.cxx
+++ b/svx/source/gallery2/galtheme.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: galtheme.cxx,v $
*
- * $Revision: 1.36 $
+ * $Revision: 1.37 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 23:08:11 $
+ * last change: $Author: rt $ $Date: 2005-10-19 12:09:54 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -138,7 +138,7 @@ BOOL GalleryTheme::ImplWriteSgaObject( const SgaObject& rObj, ULONG nPos, Galler
{
const sal_uInt32 nOffset = pOStm->Seek( STREAM_SEEK_TO_END );
- *pOStm << rObj;
+ rObj.WriteData( *pOStm, m_aDestDir );
if( !pOStm->GetError() )
{
@@ -1403,6 +1403,7 @@ SvStream& GalleryTheme::WriteData( SvStream& rOStm ) const
}
}
+ aPath.SearchAndReplace(m_aDestDir, String());
rOStm << bRel << ByteString( aPath, RTL_TEXTENCODING_UTF8 ) << pObj->nOffset << (sal_uInt16) pObj->eObjKind;
}