summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/CommonTools.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-05-06 18:31:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-05-07 08:46:13 +0200
commit4d97239b7a92c8dc1c1ee9a6474768ed1e744ef5 (patch)
tree32e917a1de76d285fc35c8646cf668a482b5ce9c /connectivity/source/commontools/CommonTools.cxx
parentb667543a2a63b3933630032b5470db8bc3eefaf9 (diff)
loplugin:ostr in connectivity
Change-Id: Ice633719b05240ab5a052b62ca4eafe89f97e12f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167238 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/commontools/CommonTools.cxx')
-rw-r--r--connectivity/source/commontools/CommonTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/commontools/CommonTools.cxx b/connectivity/source/commontools/CommonTools.cxx
index b5f7ce50fe74..cae16e17eb6e 100644
--- a/connectivity/source/commontools/CommonTools.cxx
+++ b/connectivity/source/commontools/CommonTools.cxx
@@ -125,7 +125,7 @@ namespace connectivity
Any uaJVM = xVM->getJavaVM( processID );
sal_Int64 nTemp;
if (!(uaJVM >>= nTemp)) {
- throw Exception("cannot get result for getJavaVM", nullptr); // -5
+ throw Exception(u"cannot get result for getJavaVM"_ustr, nullptr); // -5
}
aRet = reinterpret_cast<jvmaccess::VirtualMachine *>(
static_cast<sal_IntPtr>(nTemp));