diff options
author | Michael Brauer <mib@openoffice.org> | 2001-02-06 14:34:57 +0000 |
---|---|---|
committer | Michael Brauer <mib@openoffice.org> | 2001-02-06 14:34:57 +0000 |
commit | 6ab9ef80a05b2b762518a64497a6493708917bb6 (patch) | |
tree | 9ba8c9761d007a03cd297cdec3e9f39a7dd5e32e /svx/source/gallery2/galtheme.cxx | |
parent | f3a6fe357202a4e0f18ae6c0c9ae062149825399 (diff) |
real 6.0 file format
Diffstat (limited to 'svx/source/gallery2/galtheme.cxx')
-rw-r--r-- | svx/source/gallery2/galtheme.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx index 677b0b1148de..dfaff2b51123 100644 --- a/svx/source/gallery2/galtheme.cxx +++ b/svx/source/gallery2/galtheme.cxx @@ -2,9 +2,9 @@ * * $RCSfile: galtheme.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: ka $ $Date: 2001-01-31 11:22:20 $ + * last change: $Author: mib $ $Date: 2001-02-06 15:24:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -824,7 +824,7 @@ BOOL GalleryTheme::InsertGraphic( const Graphic& rGraphic, ULONG nInsertPos ) if( pOStm ) { - pOStm->SetVersion( SOFFICE_FILEFORMAT_NOW ); + pOStm->SetVersion( SOFFICE_FILEFORMAT_50 ); bRet = ( GraphicConverter::Export( *pOStm, rGraphic, nExportFormat ) == ERRCODE_NONE ); delete pOStm; } @@ -839,7 +839,7 @@ BOOL GalleryTheme::InsertGraphic( const Graphic& rGraphic, ULONG nInsertPos ) if( pOStm ) { - pOStm->SetVersion( SOFFICE_FILEFORMAT_NOW ); + pOStm->SetVersion( SOFFICE_FILEFORMAT_50 ); aMtf.Write( *pOStm ); bRet = ( pOStm->GetError() == ERRCODE_NONE ); delete pOStm; @@ -904,8 +904,7 @@ BOOL GalleryTheme::InsertModel( const FmFormModel& rModel, ULONG nInsertPos ) RLECodec aCodec( *xOStm ); FmFormModel* pFormModel = (FmFormModel*) &rModel; - - aMemStm.SetVersion( SOFFICE_FILEFORMAT_NOW ); + aMemStm.SetVersion( SOFFICE_FILEFORMAT_50 ); pFormModel->SetStreamingSdrModel( TRUE ); pFormModel->PreSave(); pFormModel->GetItemPool().SetFileFormatVersion( aMemStm.GetVersion() ); |