diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-08-02 15:28:29 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-08-02 15:28:29 +0000 |
commit | 8c5d6c6a846cd1df489b6e5944df15741198c1db (patch) | |
tree | 12e59c107e2ca6830954e3e392bc39ea3ddd6e6a /forms/source/component/Filter.cxx | |
parent | 815b4d7ddd95fde3ed33dc21d17f746f361f1b87 (diff) |
INTEGRATION: CWS insight01 (1.2.108); FILE MERGED
2004/07/06 08:45:38 oj 1.2.108.3: RESYNC: (1.3-1.4); FILE MERGED
2004/05/28 19:58:44 oj 1.2.108.2: RESYNC: (1.2-1.3); FILE MERGED
2004/04/23 06:21:36 oj 1.2.108.1: new switch to disable catalog and schema
Diffstat (limited to 'forms/source/component/Filter.cxx')
-rw-r--r-- | forms/source/component/Filter.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/forms/source/component/Filter.cxx b/forms/source/component/Filter.cxx index 4e91d3331187..9b592ed95635 100644 --- a/forms/source/component/Filter.cxx +++ b/forms/source/component/Filter.cxx @@ -2,9 +2,9 @@ * * $RCSfile: Filter.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: hjs $ $Date: 2004-06-28 17:09:00 $ + * last change: $Author: hr $ $Date: 2004-08-02 16:28:29 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -564,7 +564,9 @@ namespace frm } aStatement.appendAscii( " FROM " ); - aStatement.append( ::dbtools::quoteTableName( xMeta, sTableName, ::dbtools::eInDataManipulation ) ); + sal_Bool bUseCatalogInSelect = ::dbtools::isDataSourcePropertyEnabled(xConnection,::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("UseCatalogInSelect")),sal_True); + sal_Bool bUseSchemaInSelect = ::dbtools::isDataSourcePropertyEnabled(xConnection,::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("UseSchemaInSelect")),sal_True); + aStatement.append( ::dbtools::quoteTableName( xMeta, sTableName, ::dbtools::eInDataManipulation ,bUseCatalogInSelect,bUseSchemaInSelect) ); ::rtl::OUString sStatement( aStatement.makeStringAndClear( ) ); xStatement = xConnection->createStatement(); |