[Libreoffice-commits] core.git: framework/source

Michael Meeks (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 1 22:32:38 UTC 2020


 framework/source/fwe/helper/titlehelper.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6ddd8673f9985afd48b3212444a942ebe37197f6
Author:     Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Wed Jul 1 17:59:35 2020 +0100
Commit:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Thu Jul 2 00:32:02 2020 +0200

    Disable flavour in title bar for Linux.
    
    Tweaks c5404831344 after discussion with Rene.
    
    Change-Id: I7820643f79e673a90055f74770bffaf8ad7a077f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97646
    Tested-by: Jenkins
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/framework/source/fwe/helper/titlehelper.cxx b/framework/source/fwe/helper/titlehelper.cxx
index d02287da16b4..e1a9738267d0 100644
--- a/framework/source/fwe/helper/titlehelper.cxx
+++ b/framework/source/fwe/helper/titlehelper.cxx
@@ -518,10 +518,10 @@ void TitleHelper::impl_updateTitleForFrame (const css::uno::Reference< css::fram
     // document name (from the above "component title").
     impl_appendProductName      (sTitle);
 
+#if defined(WNT) || defined(MACOSX)
     if (!std::string_view(PRODUCTFLAVOR).empty())
-    {
         sTitle.append(" " PRODUCTFLAVOR);
-    }
+#endif
 
     impl_appendModuleName       (sTitle);
     impl_appendDebugVersion     (sTitle);


More information about the Libreoffice-commits mailing list