diff options
author | Mathias Bauer <mba@openoffice.org> | 2001-07-06 13:58:31 +0000 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2001-07-06 13:58:31 +0000 |
commit | 728c99319a98db276e392e0485554a71f0c6040d (patch) | |
tree | e4a716cc15d6c8d32b3e9a82b8cbab98654c7655 | |
parent | 53fe2691a3fb65110e7f5aee2919f7d8d559ff02 (diff) |
#89312#: guess encoding ...
-rw-r--r-- | sfx2/source/doc/docinf.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sfx2/source/doc/docinf.cxx b/sfx2/source/doc/docinf.cxx index 7f6e80f1a781..47c1581b654b 100644 --- a/sfx2/source/doc/docinf.cxx +++ b/sfx2/source/doc/docinf.cxx @@ -2,9 +2,9 @@ * * $RCSfile: docinf.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: pb $ $Date: 2001-07-03 09:43:45 $ + * last change: $Author: mba $ $Date: 2001-07-06 14:58:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -434,6 +434,10 @@ ULONG SfxPS_Impl::Load( SvStream& rStream ) return ERRCODE_IO_GENERAL; } SetSectionName( aName ); + + if ( nOsMinor == 5 ) + rStream.SetStreamCharSet( RTL_TEXTENCODING_UTF8 ); + return aSection.Load( rStream ); } |