Kaydet (Commit) 2dd45bc8 authored tarafından Kurt Zenker's avatar Kurt Zenker

INTEGRATION: CWS titles02 (1.28.18); FILE MERGED

2008/02/29 11:01:11 as 1.28.18.3: RESYNC: (1.30-1.31); FILE MERGED
2008/02/12 13:24:54 as 1.28.18.2: RESYNC: (1.28-1.30); FILE MERGED
2007/12/10 11:38:43 oj 1.28.18.1: #i45909# #i45617# #i71469# change title handling
üst c50a2d3f
......@@ -4,9 +4,9 @@
*
* $RCSfile: AppControllerGen.cxx,v $
*
* $Revision: 1.32 $
* $Revision: 1.33 $
*
* last change: $Author: kz $ $Date: 2008-03-06 18:10:35 $
* last change: $Author: kz $ $Date: 2008-04-04 13:59:39 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -581,21 +581,19 @@ void OApplicationController::previewChanged( sal_Int32 _nMode )
InvalidateFeature(SID_DB_APP_VIEW_DOC_PREVIEW);
}
// -----------------------------------------------------------------------------
void OApplicationController::updateTitle()
{
::rtl::OUString sName = getStrippedDatabaseName();
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);
}
//void OApplicationController::updateTitle()
//{
// ::rtl::OUString sName = getStrippedDatabaseName();
//
// 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
//}
// -----------------------------------------------------------------------------
void OApplicationController::askToReconnect()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment