diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-10-19 11:09:54 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-10-19 11:09:54 +0000 |
commit | 0cc0b043a05af4e1f81cab9df7e036b721f85fb3 (patch) | |
tree | 17e2e4bc48685d900ff5cdfb8637a3f731df742c /svx/source/gallery2 | |
parent | 78e01b89aa24c4c06d2c928f0499ad57ebd2ceff (diff) |
INTEGRATION: CWS cov2src (1.36.80); FILE MERGED
2005/10/18 14:14:19 rt 1.36.80.1: #126234# Join MWS COV680 m4 into SRC680
Diffstat (limited to 'svx/source/gallery2')
-rw-r--r-- | svx/source/gallery2/galtheme.cxx | 7 |
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; } |