From c33025e85685f32c7eee46ab7122b756177c295f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 28 Jun 2011 13:05:59 +0100 Subject: [PATCH] Make titlebar string shorter in dbgutil mode. --- sfx2/source/view/viewfrm2.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sfx2/source/view/viewfrm2.cxx b/sfx2/source/view/viewfrm2.cxx index 57c64187a839..e03206919106 100644 --- a/sfx2/source/view/viewfrm2.cxx +++ b/sfx2/source/view/viewfrm2.cxx @@ -245,9 +245,9 @@ String SfxViewFrame::UpdateTitle() ::rtl::OUString aDocServiceName( GetObjectShell()->GetFactory().GetDocumentServiceName() ); aTitle += String( GetModuleName_Impl( aDocServiceName ) ); #ifdef DBG_UTIL - ::rtl::OUString aDefault; + ::rtl::OUString aDefault(RTL_CONSTASCII_USTRINGPARAM("development")); aTitle += DEFINE_CONST_UNICODE(" ["); - String aVerId( utl::Bootstrap::getBuildIdData( aDefault )); + String aVerId( utl::Bootstrap::getProductSource( aDefault )); aTitle += aVerId; aTitle += ']'; #endif