[Libreoffice-commits] core.git: sw/qa

Stephan Bergmann sbergman at redhat.com
Tue Jul 7 09:13:21 PDT 2015


 sw/qa/extras/uiwriter/uiwriter.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 48ebe0987da9c95d8582fd6b9607b84a4bed0f75
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jul 7 18:12:49 2015 +0200

    loplugin:stringconstant
    
    Change-Id: Id839c650721efed3bc734da49ebd5a0074897cbe

diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index 0a99d26..7e6ad7e 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -1384,8 +1384,8 @@ void SwUiWriterTest::testTdf88899()
     uno::Reference<util::XNumberFormatsSupplier> xNumberFormatsSupplier(mxComponent, uno::UNO_QUERY);
     uno::Reference<util::XNumberFormatTypes> xNumFormat(xNumberFormatsSupplier->getNumberFormats(), uno::UNO_QUERY);
     com::sun::star::lang::Locale alocale;
-    alocale.Language = OUString("en");
-    alocale.Country = OUString("US");
+    alocale.Language = "en";
+    alocale.Country = "US";
     sal_Int16 key = xNumFormat->getStandardFormat(util::NumberFormat::DATETIME, alocale);
     xPropSet->setPropertyValue(OUString("NumberFormat"), uno::makeAny(sal_Int16(key)));
     //Inserting Text Content


More information about the Libreoffice-commits mailing list