summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2020-07-01 17:59:35 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2020-07-02 00:32:02 +0200
commit6ddd8673f9985afd48b3212444a942ebe37197f6 (patch)
tree734a7bd81208ade1e41a90b4f6c935268b44e608
parent69861703cb40a27ed0427313a2ab0237140d54a8 (diff)
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@CIB.de>
-rw-r--r--framework/source/fwe/helper/titlehelper.cxx4
1 files changed, 2 insertions, 2 deletions
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);