summaryrefslogtreecommitdiff
path: root/framework/source/fwe
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-02-03 14:30:32 +0100
committerTor Lillqvist <tml@collabora.com>2014-02-03 17:48:25 +0100
commiteeb840d6ba930015b969c3d0a98031f0ae508d61 (patch)
tree523ce1c887aca45fc9cce1caa40edc58589e5206 /framework/source/fwe
parentc320f835c91dcea8d64a858bae41bb7f3f847420 (diff)
fdo#70376: Put only document (file) name in window title on OS X
Change-Id: I0b975a1a0e73c546beec96599fd4e5f87caa51db
Diffstat (limited to 'framework/source/fwe')
-rw-r--r--framework/source/fwe/helper/titlehelper.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/framework/source/fwe/helper/titlehelper.cxx b/framework/source/fwe/helper/titlehelper.cxx
index 882937298052..0e3a97bbcb52 100644
--- a/framework/source/fwe/helper/titlehelper.cxx
+++ b/framework/source/fwe/helper/titlehelper.cxx
@@ -486,10 +486,13 @@ void TitleHelper::impl_updateTitleForFrame (const css::uno::Reference< css::fram
OUStringBuffer sTitle (256);
impl_appendComponentTitle (sTitle, xComponent);
+#ifndef MACOSX
+ // fdo#70376: We want the window title to contain just the
+ // document name (from the above "component title").
impl_appendProductName (sTitle);
impl_appendModuleName (sTitle);
impl_appendDebugVersion (sTitle);
-
+#endif
// SYNCHRONIZED ->
aLock.reset ();