[Libreoffice-commits] core.git: vcl/qt5

Michael Weghorn (via logerrit) logerrit at kemper.freedesktop.org
Fri May 10 10:32:27 UTC 2019


 vcl/qt5/Qt5Frame.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 142a139b8de7712d6f24dcad558c45c453985f40
Author:     Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Fri May 10 10:09:21 2019 +0200
Commit:     Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Fri May 10 12:31:40 2019 +0200

    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 at posteo.de>

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";


More information about the Libreoffice-commits mailing list