summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/app/AppControllerGen.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-10-22 08:04:02 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-10-22 08:04:02 +0000
commitfc867ae3f3c663d8a0d398e74308fd1191e53aa6 (patch)
tree417cf5436bc0cf490ac4057aecc502d5fde5ecbd /dbaccess/source/ui/app/AppControllerGen.cxx
parent7e0768df3124b7b148376a4a63fb9ccd4e337ad5 (diff)
INTEGRATION: CWS dba16 (1.2.10); FILE MERGED
2004/10/11 15:11:36 oj 1.2.10.2: RESYNC: (1.2-1.3); FILE MERGED 2004/09/24 12:19:52 oj 1.2.10.1: #i34197# add build id when debug version
Diffstat (limited to 'dbaccess/source/ui/app/AppControllerGen.cxx')
-rw-r--r--dbaccess/source/ui/app/AppControllerGen.cxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/dbaccess/source/ui/app/AppControllerGen.cxx b/dbaccess/source/ui/app/AppControllerGen.cxx
index fb41e7512..510f06b29 100644
--- a/dbaccess/source/ui/app/AppControllerGen.cxx
+++ b/dbaccess/source/ui/app/AppControllerGen.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: AppControllerGen.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2004-09-09 09:39:01 $
+ * last change: $Author: rt $ $Date: 2004-10-22 09:04:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -113,6 +113,9 @@
#ifndef _SVX_DBAEXCHANGE_HXX_
#include <svx/dbaexchange.hxx>
#endif
+#ifndef _UTL_BOOTSTRAP_HXX
+#include <unotools/bootstrap.hxx>
+#endif
#ifndef _SV_SVAPP_HXX //autogen
#include <vcl/svapp.hxx>
#endif
@@ -400,6 +403,13 @@ void OApplicationController::updateTitle()
String sTitle = String(ModuleRes(STR_APP_TITLE));
sName = sName + sTitle;
+#ifndef PRODUCT
+ ::rtl::OUString aDefault;
+ sName += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(" ["));
+ sName += utl::Bootstrap::getBuildIdData( aDefault );
+ sName += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("]"));
+#endif
+
OGenericUnoController::setTitle(sName);
}
// -----------------------------------------------------------------------------