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

Tor Lillqvist tml at collabora.com
Tue May 17 06:09:06 UTC 2016


 sw/source/uibase/uno/unotxdoc.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4555ffb1a815b6b80ec5cf7dfcb03fed957c0461
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue May 17 09:07:53 2016 +0300

    loplugin:stringconstant
    
    Change-Id: I3e45e701740f7d4a5698a0df319721bc596a8d94

diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index 9616aff99..3a8a7ad 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -2572,7 +2572,7 @@ sal_Int32 SAL_CALL SwXTextDocument::getRendererCount(
                     const beans::PropertyValue *pProps = rxOptions.getConstArray();
                     for (sal_Int32 i = 0;  i < nLen;  ++i)
                     {
-                        if (pProps[i].Name.equalsAscii( "ExportPlaceholders" ))
+                        if (pProps[i].Name == "ExportPlaceholders")
                         {
                             pProps[i].Value >>= setShowPlaceHoldersInPDF;
                             break;


More information about the Libreoffice-commits mailing list