summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2022-10-11 09:17:38 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2022-10-11 12:45:09 +0200
commit6c65c62c26a8aa4d04466545f8f04ec86b797012 (patch)
tree4ce12d5ea22ba52165b3b492d30f9cfd7913205f /vcl/workben
parentf761e0aee58fe152b69daaa0e4b9697ad4f0e038 (diff)
Don't convert OUString to char* to get OUString in the end
Which by the way fixes the mismatch between converting _sAppName to OString as UTF-8 in SplashScreen::SetScreenBitmap, and converting pName to OUString as ASCII in Application::LoadBrandBitmap. Change-Id: I2082f92693ca9633b64411dd668befaa30e978d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141202 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/vcldemo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index f37a99666143..e6ef740dd6aa 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -141,7 +141,7 @@ public:
, mnBounceY(1)
#endif
{
- if (!Application::LoadBrandBitmap("intro", maIntro))
+ if (!Application::LoadBrandBitmap(u"intro", maIntro))
Application::Abort("Failed to load intro image");
maIntroBW = maIntro.GetBitmap();