diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-04-04 13:03:53 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-04-04 13:03:53 +0000 |
commit | 7b1e0cd3f5516f303aaf77913b94b088aede0d4a (patch) | |
tree | 32224e851672edb2d0bcc47a842dc4c8337f6640 /dbaccess/source/ui/relationdesign/RelationController.cxx | |
parent | 3c51112a1423c6f0f6c467d809e17c60ce090020 (diff) |
INTEGRATION: CWS titles02 (1.49.26); FILE MERGED
2008/02/12 13:25:50 as 1.49.26.2: RESYNC: (1.49-1.50); FILE MERGED
2007/12/10 11:39:02 oj 1.49.26.1: #i45909# #i45617# #i71469# change title handling
Diffstat (limited to 'dbaccess/source/ui/relationdesign/RelationController.cxx')
-rw-r--r-- | dbaccess/source/ui/relationdesign/RelationController.cxx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/dbaccess/source/ui/relationdesign/RelationController.cxx b/dbaccess/source/ui/relationdesign/RelationController.cxx index d68d76cf6be6..e6d5008087b4 100644 --- a/dbaccess/source/ui/relationdesign/RelationController.cxx +++ b/dbaccess/source/ui/relationdesign/RelationController.cxx @@ -4,9 +4,9 @@ * * $RCSfile: RelationController.cxx,v $ * - * $Revision: 1.51 $ + * $Revision: 1.52 $ * - * last change: $Author: kz $ $Date: 2008-03-06 18:30:24 $ + * last change: $Author: kz $ $Date: 2008-04-04 14:03:53 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -340,14 +340,10 @@ void ORelationController::impl_initialize() } // ----------------------------------------------------------------------------- -void ORelationController::updateTitle() +::rtl::OUString ORelationController::getPrivateTitle( ) const { - ::rtl::OUString sName; - sName = String(ModuleRes(STR_RELATIONDESIGN)); - ::rtl::OUString sDataSourceName = getDataSourceName(); - sDataSourceName = ::dbaui::getStrippedDatabaseName(getDataSource(),sDataSourceName) ;; - sDataSourceName += sName; - OGenericUnoController::setTitle(sDataSourceName); + ::rtl::OUString sName = getDataSourceName(); + return ::dbaui::getStrippedDatabaseName(getDataSource(),sName); } // ----------------------------------------------------------------------------- sal_Bool ORelationController::Construct(Window* pParent) |