summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-25 17:17:50 +0200
committerNoel Grandin <noel@peralex.com>2013-11-04 10:11:07 +0200
commitaeb41c9b9b7559c6d87bf92807acdc0df9e104cc (patch)
tree5a36bcd5af873c2b597fcda5fbd7e2f76f997669 /svx
parent57c2de08ddf14c0da80de06736d99382ad036539 (diff)
remove redundant calls to OUString constructor
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
Diffstat (limited to 'svx')
-rw-r--r--svx/source/fmcomp/gridctrl.cxx2
-rw-r--r--svx/source/form/navigatortree.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index 6e5274b2ac95..ef267c0d25b9 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -664,7 +664,7 @@ void DbGridControl::NavigationBar::SetState(sal_uInt16 nWhich)
else
aText = m_aAbsolute.CreateFieldText(pParent->GetRowCount());
if(!pParent->m_bRecordCountFinal)
- aText += OUString(" *");
+ aText += " *";
}
else
aText = "";
diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx
index 33a310c2b3a2..5d47a219118c 100644
--- a/svx/source/form/navigatortree.cxx
+++ b/svx/source/form/navigatortree.cxx
@@ -1455,7 +1455,7 @@ namespace svxform
aNewName = aBaseName;
if( i>0 )
{
- aNewName += OUString(" ");
+ aNewName += " ";
aNewName += OUString::number(i).getStr();
}