summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-07-09 11:48:40 +0000
committerOcke Janssen <oj@openoffice.org>2002-07-09 11:48:40 +0000
commit02a4b8e5d6e43c36f937e1ecb23f52d33b8c8b1b (patch)
treed4b3031023f3fa94ab1e401bd9b1ac8105959d41 /dbaccess/source/ui/querydesign
parent9b1221a3c2a7ecb032b52add2a3d6483d77242f3 (diff)
#99921# check if datasource allows to check names
Diffstat (limited to 'dbaccess/source/ui/querydesign')
-rw-r--r--dbaccess/source/ui/querydesign/querycontroller.cxx12
1 files changed, 8 insertions, 4 deletions
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<XNameAccess>& _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))