diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-20 13:08:30 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-10-01 10:08:37 +0200 |
commit | 0d586f5b7e0e0cd7ee66790d3e20f8902096ab00 (patch) | |
tree | 208206c2f1d95a751349176a6f3cd7b92fbc6d78 /filter/source/graphicfilter/eos2met/eos2met.cxx | |
parent | convert remnants of String in SVX to String (diff) | |
download | core-0d586f5b7e0e0cd7ee66790d3e20f8902096ab00.tar.gz core-0d586f5b7e0e0cd7ee66790d3e20f8902096ab00.zip |
convert leftovers in filter module from String to OUString
Change-Id: If8954c39fec724066d46fe5d8c7e486d9bf6e955
Diffstat (limited to 'filter/source/graphicfilter/eos2met/eos2met.cxx')
-rw-r--r-- | filter/source/graphicfilter/eos2met/eos2met.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/graphicfilter/eos2met/eos2met.cxx b/filter/source/graphicfilter/eos2met/eos2met.cxx index 3e2ad216e0f3..76ec162d21a2 100644 --- a/filter/source/graphicfilter/eos2met/eos2met.cxx +++ b/filter/source/graphicfilter/eos2met/eos2met.cxx @@ -1883,7 +1883,7 @@ void METWriter::WriteOrders( const GDIMetaFile* pMTF ) METSetChrCellSize(aGDIFont.GetSize()); METSetChrAngle( nOrientation = aGDIFont.GetOrientation() ); METSetChrSet(FindChrSet(aGDIFont)); - aStr=String(pA->GetText(),pA->GetIndex(),pA->GetLen()); + aStr = pA->GetText().copy(pA->GetIndex(),pA->GetLen()); if( pA->GetDXArray()!=NULL ) { @@ -1939,7 +1939,7 @@ void METWriter::WriteOrders( const GDIMetaFile* pMTF ) METSetChrCellSize(aGDIFont.GetSize()); METSetChrAngle( nOrientation = aGDIFont.GetOrientation() ); METSetChrSet(FindChrSet(aGDIFont)); - aStr=String(pA->GetText(),pA->GetIndex(),pA->GetLen()); + aStr = pA->GetText().copy(pA->GetIndex(),pA->GetLen()); pDXAry = new sal_Int32[aStr.getLength()]; nNormSize = aVDev.GetTextArray( aStr, pDXAry ); |