diff options
author | Armin Weiss <aw@openoffice.org> | 2001-08-06 07:34:08 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2001-08-06 07:34:08 +0000 |
commit | 33ebacd235ddbc13d1c26a618fed2e5ad830c05b (patch) | |
tree | 9fd4b82ee302a24058452b292f5a0f02396b6959 /svx/source/items/flditem.cxx | |
parent | b2fdf9bb6d9f82c01245c6c8c30d1dcd04c6b7a1 (diff) |
#90477# added support for GetSOLoadTextEncoding and GetSOStoreTextEncoding
Diffstat (limited to 'svx/source/items/flditem.cxx')
-rw-r--r-- | svx/source/items/flditem.cxx | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/svx/source/items/flditem.cxx b/svx/source/items/flditem.cxx index a5ca0356639a..4560b39003bf 100644 --- a/svx/source/items/flditem.cxx +++ b/svx/source/items/flditem.cxx @@ -2,9 +2,9 @@ * * $RCSfile: flditem.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: er $ $Date: 2001-06-26 14:31:42 $ + * last change: $Author: aw $ $Date: 2001-08-06 08:31:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -79,6 +79,11 @@ #include "flditem.hxx" #include "adritem.hxx" +// #90477# +#ifndef _TOOLS_TENCCVT_HXX +#include <tools/tenccvt.hxx> +#endif + #define FRAME_MARKER (ULONG)0x21981357 #define CHARSET_MARKER (FRAME_MARKER+1) @@ -554,8 +559,9 @@ void SvxURLField::Save( SvPersistStream & rStm ) rStm.WriteByteString(aTargetFrame); rStm << CHARSET_MARKER; - rStm << (USHORT)GetStoreCharSet( gsl_getSystemTextEncoding(), - rStm.GetVersion() ); + + // #90477# rStm << (USHORT)GetStoreCharSet(gsl_getSystemTextEncoding(), rStm.GetVersion()); + rStm << (USHORT)GetSOStoreTextEncoding(gsl_getSystemTextEncoding(), (sal_uInt16)rStm.GetVersion()); } // ================================================================= |