From 02a4b8e5d6e43c36f937e1ecb23f52d33b8c8b1b Mon Sep 17 00:00:00 2001 From: Ocke Janssen Date: Tue, 9 Jul 2002 11:48:40 +0000 Subject: #99921# check if datasource allows to check names --- dbaccess/source/ui/querydesign/querycontroller.cxx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'dbaccess/source/ui/querydesign') diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx index 215f6a5b271c..6aa928905ac8 100644 --- a/dbaccess/source/ui/querydesign/querycontroller.cxx +++ b/dbaccess/source/ui/querydesign/querycontroller.cxx @@ -2,9 +2,9 @@ * * $RCSfile: querycontroller.cxx,v $ * - * $Revision: 1.78 $ + * $Revision: 1.79 $ * - * last change: $Author: as $ $Date: 2002-06-24 10:28:54 $ + * last change: $Author: oj $ $Date: 2002-07-09 12:39:37 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1036,8 +1036,12 @@ sal_Bool OQueryController::askForNewName(const Reference& _xElement OSaveAsDlg aDlg( - getView(), m_bCreateView ? CommandType::TABLE : CommandType::QUERY, _xElements, - xMetaData, aDefaultName, + getView(), + m_bCreateView ? CommandType::TABLE : CommandType::QUERY, + _xElements, + xMetaData, + getConnection(), + aDefaultName, _bSaveAs ? SAD_OVERWRITE : SAD_DEFAULT); if(bRet = (aDlg.Execute() == RET_OK)) -- cgit