summaryrefslogtreecommitdiff
path: root/svtools/source/uno/unoiface.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-05-19 17:16:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-05-19 17:16:53 +0200
commit74dfe42baf962818a3933b1d8fb6184f6210dae1 (patch)
tree5fd856cf4f6f82e686ae38aa4ea6b9c8c9c173d6 /svtools/source/uno/unoiface.cxx
parentdd44fd294cfb5eabe4c8382acdd82d323d8e8dd1 (diff)
loplugin:stringcopy: svtools
Change-Id: Ib731495da942fdd8bf0fb6f75d8697c10155886a
Diffstat (limited to 'svtools/source/uno/unoiface.cxx')
-rw-r--r--svtools/source/uno/unoiface.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx
index 75a671c80e31..69c413493975 100644
--- a/svtools/source/uno/unoiface.cxx
+++ b/svtools/source/uno/unoiface.cxx
@@ -1204,7 +1204,7 @@ css::uno::Any SVTXFormattedField::GetDefaultValue()
if (pField->TreatingAsNumber())
aReturn <<= pField->GetDefaultValue();
else
- aReturn <<= OUString( pField->GetDefaultText() );
+ aReturn <<= pField->GetDefaultText();
return aReturn;
}
@@ -2009,7 +2009,7 @@ css::uno::Any SVTXCurrencyField::getProperty( const OUString& PropertyName )
{
case BASEPROPERTY_CURRENCYSYMBOL:
{
- aReturn <<= OUString( pField->getCurrencySymbol() );
+ aReturn <<= pField->getCurrencySymbol();
}
break;
case BASEPROPERTY_CURSYM_POSITION: