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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Jun 25 14:47:00 UTC 2019


 vcl/source/window/builder.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 279aafccec116ea0ca037115f38b6e4bc8571475
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jun 25 15:37:26 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jun 25 15:46:14 2019 +0100

    loplugin: simplifyconstruct
    
    Change-Id: I57b667384813b0f6d8412da17c83877a9deed5b1

diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 95d91f129213..d0e8588f59f1 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -2679,7 +2679,7 @@ void VclBuilder::handleTabChild(vcl::Window *pParent, xmlreader::XmlReader &read
                     if (name.equals("id"))
                     {
                         name = reader.getAttributeValue(false);
-                        OString sID = OString(name.begin, name.length);
+                        OString sID(name.begin, name.length);
                         sal_Int32 nDelim = sID.indexOf(':');
                         if (nDelim != -1)
                         {


More information about the Libreoffice-commits mailing list