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

Miklos Vajna vmiklos at collabora.co.uk
Mon Sep 14 12:13:31 PDT 2015


 oox/source/export/drawingml.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f10691acf1be60167c042b4b4a60200b4defcd88
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Sep 14 21:12:35 2015 +0200

    oox: loplugin:stringconstant
    
    Change-Id: I16804662a1616f0c1f1dd434e6ae48660529a349

diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 4cb8530..c4021a3 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1486,7 +1486,7 @@ OUString DrawingML::GetFieldValue( ::com::sun::star::uno::Reference< ::com::sun:
                 SAL_INFO("oox.shape", "field kind: " << aFieldKind);
                 if( aFieldKind == "Page" )
                 {
-                    aFieldValue = OUString("slidenum");
+                    aFieldValue = "slidenum";
                 }
                 else if( aFieldKind == "URL" )
                 {


More information about the Libreoffice-commits mailing list