summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2019-05-10 10:09:21 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2019-05-10 12:31:40 +0200
commit142a139b8de7712d6f24dcad558c45c453985f40 (patch)
tree124182ed87e529d1b274ac2b1b39b6f53d0f2d4d /vcl
parentc86cf2aaa07538e8c37dc81729905a3bb9ecc1ff (diff)
Qt5Frame.cxx: Use QString instead of 'const char *'
It's converted to QString anyway. Change-Id: I5d9ccf05416dae603c195edc335d7b522dcf8c5d Reviewed-on: https://gerrit.libreoffice.org/72102 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qt5/Qt5Frame.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx
index 07ae9f055bb1..05e17932a93c 100644
--- a/vcl/qt5/Qt5Frame.cxx
+++ b/vcl/qt5/Qt5Frame.cxx
@@ -315,7 +315,7 @@ void Qt5Frame::SetIcon(sal_uInt16 nIcon)
|| !isWindow())
return;
- const char* appicon;
+ QString appicon;
if (nIcon == SV_ICON_ID_TEXT)
appicon = "libreoffice-writer";