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

Stephan Bergmann sbergman at redhat.com
Tue Feb 2 15:53:59 UTC 2016


 sw/qa/extras/globalfilter/globalfilter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ddd77c84cfeeef96eb8662b03fa29a8103ed559e
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Feb 2 16:53:23 2016 +0100

    loplugin:stringconstant
    
    Change-Id: Ie4554214e475da1bddba7ab0694ce23d1d93f06f

diff --git a/sw/qa/extras/globalfilter/globalfilter.cxx b/sw/qa/extras/globalfilter/globalfilter.cxx
index 751f2a5..c68ddf7 100644
--- a/sw/qa/extras/globalfilter/globalfilter.cxx
+++ b/sw/qa/extras/globalfilter/globalfilter.cxx
@@ -516,7 +516,7 @@ void Test::testCharHighlightODF()
 
     uno::Reference<frame::XStorable> xStorable(mxComponent, uno::UNO_QUERY);
     utl::MediaDescriptor aMediaDescriptor;
-    aMediaDescriptor["FilterName"] <<= OUString::createFromAscii("writer8");
+    aMediaDescriptor["FilterName"] <<= OUString("writer8");
 
     utl::TempFile aTempFile;
     aTempFile.EnableKillingFile();


More information about the Libreoffice-commits mailing list