desktop/source/deployment/registry/configuration/dp_configuration.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e0452c6530710737c70b12faa1b8b7f0ed0aed68
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Thu Aug 27 19:02:57 2020 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Fri Aug 28 23:00:20 2020 +0200

    Simply use aStr as-is
    
    ...instead of creating a copy via the OUString(sal_Unicode const *) ctor.  
(This
    might be a leftover from a time when dp_misc::writeConsole would have taken 
a
    raw pointer.)
    
    Change-Id: I53192de8fe8ade25d30c4b22a18390db79194d20
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101571
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git 
a/desktop/source/deployment/registry/configuration/dp_configuration.cxx 
b/desktop/source/deployment/registry/configuration/dp_configuration.cxx
index e7e46f89978a..bc1405b7ae19 100644
--- a/desktop/source/deployment/registry/configuration/dp_configuration.cxx
+++ b/desktop/source/deployment/registry/configuration/dp_configuration.cxx
@@ -229,7 +229,7 @@ BackendImpl::BackendImpl(
                 OUString aStr = "Exception loading legacy package database: '" 
+
                     e.Message +
                     "' - ignoring file, please remove it.\n";
-                dp_misc::writeConsole( aStr.getStr() );
+                dp_misc::writeConsole( aStr );
             }
         }
         m_registeredPackages = std::move(pMap);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to