From 19af6824b3083fd6f1fd524bb7419c2d84ebe8f8 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Fri, 4 Apr 2008 13:03:00 +0000 Subject: INTEGRATION: CWS titles02 (1.6.8); FILE MERGED 2008/02/12 13:25:35 as 1.6.8.2: RESYNC: (1.6-1.7); FILE MERGED 2007/12/17 15:29:55 oj 1.6.8.1: #i45617# title feature --- dbaccess/source/ui/misc/databaseobjectview.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dbaccess/source/ui/misc') diff --git a/dbaccess/source/ui/misc/databaseobjectview.cxx b/dbaccess/source/ui/misc/databaseobjectview.cxx index fde83bac04c1..090b2fbd2776 100644 --- a/dbaccess/source/ui/misc/databaseobjectview.cxx +++ b/dbaccess/source/ui/misc/databaseobjectview.cxx @@ -4,9 +4,9 @@ * * $RCSfile: databaseobjectview.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: kz $ $Date: 2008-03-06 18:28:38 $ + * last change: $Author: kz $ $Date: 2008-04-04 14:03:00 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -236,7 +236,7 @@ namespace dbaui QueryDesigner::QueryDesigner( const Reference< XMultiServiceFactory >& _rxORB, const Reference< XDatabaseDocumentUI >& _rxApplication, const Reference< XFrame >& _rxParentFrame, bool _bCreateView, sal_Bool _bPreferSQLView ) - :DatabaseObjectView( _rxORB, _rxApplication, _rxParentFrame, static_cast< ::rtl::OUString >( URL_COMPONENT_QUERYDESIGN ) ) + :DatabaseObjectView( _rxORB, _rxApplication, _rxParentFrame, static_cast< ::rtl::OUString >( _bCreateView ? URL_COMPONENT_VIEWDESIGN : URL_COMPONENT_QUERYDESIGN ) ) ,m_nCommandType( _bCreateView ? CommandType::TABLE : CommandType::QUERY ) ,m_bPreferSQLView( _bPreferSQLView ) { -- cgit v1.2.3