summaryrefslogtreecommitdiff
path: root/xmloff/source/style/numehelp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-04 08:37:10 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-11-04 07:34:41 +0000
commit81824d135987712b57e3c81a26f72ae4fabb4031 (patch)
treef4268731e5af7b5c2658ecab0dcb7d2caa3c2a4d /xmloff/source/style/numehelp.cxx
parent62dbe2e6eb30660f252b4e2c048f4aecf28e41c6 (diff)
loplugin:stringconstant
Change-Id: I6cc11a273902da8acdb6adbccccc31fe30ab274e Reviewed-on: https://gerrit.libreoffice.org/19768 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmloff/source/style/numehelp.cxx')
-rw-r--r--xmloff/source/style/numehelp.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/style/numehelp.cxx b/xmloff/source/style/numehelp.cxx
index ca01ffeba1a8..546518a40da9 100644
--- a/xmloff/source/style/numehelp.cxx
+++ b/xmloff/source/style/numehelp.cxx
@@ -226,10 +226,10 @@ bool XMLNumberFormatAttributesExportHelper::GetCurrencySymbol(const sal_Int32 nN
try
{
uno::Reference <beans::XPropertySet> xNumberPropertySet(xNumberFormats->getByKey(nNumberFormat));
- if ( xNumberPropertySet->getPropertyValue(OUString(XML_CURRENCYSYMBOL)) >>= sCurrencySymbol)
+ if ( xNumberPropertySet->getPropertyValue(XML_CURRENCYSYMBOL) >>= sCurrencySymbol)
{
OUString sCurrencyAbbreviation;
- if ( xNumberPropertySet->getPropertyValue(OUString(XML_CURRENCYABBREVIATION)) >>= sCurrencyAbbreviation)
+ if ( xNumberPropertySet->getPropertyValue(XML_CURRENCYABBREVIATION) >>= sCurrencyAbbreviation)
{
if ( !sCurrencyAbbreviation.isEmpty())
sCurrencySymbol = sCurrencyAbbreviation;
@@ -263,9 +263,9 @@ sal_Int16 XMLNumberFormatAttributesExportHelper::GetCellType(const sal_Int32 nNu
try
{
uno::Reference <beans::XPropertySet> xNumberPropertySet(xNumberFormats->getByKey(nNumberFormat));
- xNumberPropertySet->getPropertyValue(OUString(XML_STANDARDFORMAT)) >>= bIsStandard;
+ xNumberPropertySet->getPropertyValue(XML_STANDARDFORMAT) >>= bIsStandard;
sal_Int16 nNumberType = sal_Int16();
- if ( xNumberPropertySet->getPropertyValue(OUString(XML_TYPE)) >>= nNumberType )
+ if ( xNumberPropertySet->getPropertyValue(XML_TYPE) >>= nNumberType )
{
return nNumberType;
}