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

Stephan Bergmann sbergman at redhat.com
Sun Jan 3 12:22:07 PST 2016


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

New commits:
commit 67d440e6bd2c895833fa22d0f9bf5dc6901723e8
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sun Jan 3 21:21:25 2016 +0100

    loplugin:stringconstant
    
    Change-Id: I588a9c0205e03f701b617fd1775e7f9b9b88c6b0

diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index 50a70ee..03534e8 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -2972,7 +2972,7 @@ void SwUiWriterTest::testTdf96479()
 {
     // We want to verify the empty input text field in the bookmark
     static const OUString emptyInputTextField =
-        OUString(CH_TXT_ATR_INPUTFIELDSTART) + OUString(CH_TXT_ATR_INPUTFIELDEND);
+        OUStringLiteral1<CH_TXT_ATR_INPUTFIELDSTART>() + OUStringLiteral1<CH_TXT_ATR_INPUTFIELDEND>();
 
     SwDoc* pDoc = createDoc();
     SwXTextDocument *xTextDoc = dynamic_cast<SwXTextDocument *>(mxComponent.get());


More information about the Libreoffice-commits mailing list