summaryrefslogtreecommitdiff
path: root/vcl/source/gdi
diff options
context:
space:
mode:
authorSven Jacobi <sj@openoffice.org>2002-06-13 12:57:27 +0000
committerSven Jacobi <sj@openoffice.org>2002-06-13 12:57:27 +0000
commit40068699ad5219a72e0411cd977d7dad5fedc720 (patch)
tree62ac7874eaad3ffaf0f9837b2eca7a6fdf8b970a /vcl/source/gdi
parent2ec29ac60f0b285ef022fbfc79c12e25bf2b8c8f (diff)
#100303# MetaTextArrayAction: storing correct text part
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r--vcl/source/gdi/cvtsvm.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/gdi/cvtsvm.cxx b/vcl/source/gdi/cvtsvm.cxx
index e4f715a74d07..20a5382b25ab 100644
--- a/vcl/source/gdi/cvtsvm.cxx
+++ b/vcl/source/gdi/cvtsvm.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cvtsvm.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: ka $ $Date: 2001-11-30 16:52:27 $
+ * last change: $Author: sj $ $Date: 2002-06-13 13:57:27 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1405,8 +1405,8 @@ ULONG SVMConverter::ImplWriteActions( SvStream& rOStm, GDIMetaFile& rMtf,
case( META_TEXTARRAY_ACTION ):
{
MetaTextArrayAction* pAct = (MetaTextArrayAction*)pAction;
- String aUniText( pAct->GetText() );
- ByteString aText( aUniText, rActualCharSet );
+ ByteString aText( pAct->GetText(), rActualCharSet );
+ String aUniText( pAct->GetText(), pAct->GetIndex(), pAct->GetLen() );
ULONG nAryLen;
ULONG nLen = pAct->GetLen();
const ULONG nTextLen = aText.Len();