summaryrefslogtreecommitdiff
path: root/svx/source/form/fmpgeimp.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/form/fmpgeimp.cxx
parente0848f6dae86e53dac12b18120e4362957d000d2 (diff)
convert svx/* from XubString to OUString
Change-Id: Ifa063924d95bfe397bd512411a44247d4c016018
Diffstat (limited to 'svx/source/form/fmpgeimp.cxx')
-rw-r--r--svx/source/form/fmpgeimp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/fmpgeimp.cxx b/svx/source/form/fmpgeimp.cxx
index 733173929e00..2dc627569a10 100644
--- a/svx/source/form/fmpgeimp.cxx
+++ b/svx/source/form/fmpgeimp.cxx
@@ -498,8 +498,8 @@ Reference< ::com::sun::star::form::XForm > FmFormPageImpl::findPlaceInFormCompo
if( bUndo )
{
OUString aStr(SVX_RESSTR(RID_STR_FORM));
- XubString aUndoStr(SVX_RESSTR(RID_STR_UNDO_CONTAINER_INSERT));
- aUndoStr.SearchAndReplace(OUString('#'), aStr);
+ OUString aUndoStr(SVX_RESSTR(RID_STR_UNDO_CONTAINER_INSERT));
+ aUndoStr = aUndoStr.replaceFirst("#", aStr);
pModel->BegUndo(aUndoStr);
}