[Libreoffice-commits] core.git: desktop/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Fri Aug 28 21:01:01 UTC 2020
desktop/source/deployment/registry/configuration/dp_configuration.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e0452c6530710737c70b12faa1b8b7f0ed0aed68
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Aug 27 19:02:57 2020 +0200
Commit: Stephan Bergmann <sbergman at 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 <sbergman at 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);
More information about the Libreoffice-commits
mailing list