diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-04-04 13:03:00 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-04-04 13:03:00 +0000 |
commit | 19af6824b3083fd6f1fd524bb7419c2d84ebe8f8 (patch) | |
tree | 652171687328993447bfec1addb4cf51324ac761 /dbaccess | |
parent | de942601f99f79e79ec0139be5bc16a802b5e22a (diff) |
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
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/misc/databaseobjectview.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 ) { |