summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdfmtf.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-04 16:41:31 +0200
committerNoel Grandin <noel@peralex.com>2013-09-05 08:55:14 +0200
commit9f04bfd8d53a7640bd6f0707708401a8ac9fb386 (patch)
treee37382ef6bbaf8085bdc90c270134a5ec308ee61 /svx/source/svdraw/svdfmtf.cxx
parente0848f6dae86e53dac12b18120e4362957d000d2 (diff)
convert svx/* from XubString to OUString
Change-Id: Ifa063924d95bfe397bd512411a44247d4c016018
Diffstat (limited to 'svx/source/svdraw/svdfmtf.cxx')
-rw-r--r--svx/source/svdraw/svdfmtf.cxx15
1 files changed, 6 insertions, 9 deletions
diff --git a/svx/source/svdraw/svdfmtf.cxx b/svx/source/svdraw/svdfmtf.cxx
index 72d6d57e0613..386caf7ece55 100644
--- a/svx/source/svdraw/svdfmtf.cxx
+++ b/svx/source/svdraw/svdfmtf.cxx
@@ -1062,25 +1062,22 @@ void ImpSdrGDIMetaFileImport::ImportText( const Point& rPos, const OUString& rSt
void ImpSdrGDIMetaFileImport::DoAction(MetaTextAction& rAct)
{
- XubString aStr(rAct.GetText());
- aStr.Erase(0,rAct.GetIndex());
- aStr.Erase(rAct.GetLen());
+ OUString aStr(rAct.GetText());
+ aStr = aStr.copy(rAct.GetIndex(), rAct.GetLen());
ImportText( rAct.GetPoint(), aStr, rAct );
}
void ImpSdrGDIMetaFileImport::DoAction(MetaTextArrayAction& rAct)
{
- XubString aStr(rAct.GetText());
- aStr.Erase(0,rAct.GetIndex());
- aStr.Erase(rAct.GetLen());
+ OUString aStr(rAct.GetText());
+ aStr = aStr.copy(rAct.GetIndex(), rAct.GetLen());
ImportText( rAct.GetPoint(), aStr, rAct );
}
void ImpSdrGDIMetaFileImport::DoAction(MetaStretchTextAction& rAct)
{
- XubString aStr(rAct.GetText());
- aStr.Erase(0,rAct.GetIndex());
- aStr.Erase(rAct.GetLen());
+ OUString aStr(rAct.GetText());
+ aStr = aStr.copy(rAct.GetIndex(), rAct.GetLen());
ImportText( rAct.GetPoint(), aStr, rAct );
}