summaryrefslogtreecommitdiff
path: root/dbaccess/source/sdbtools/connection/tablename.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/sdbtools/connection/tablename.cxx')
-rw-r--r--dbaccess/source/sdbtools/connection/tablename.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/dbaccess/source/sdbtools/connection/tablename.cxx b/dbaccess/source/sdbtools/connection/tablename.cxx
index aedc62451300..a6350002768d 100644
--- a/dbaccess/source/sdbtools/connection/tablename.cxx
+++ b/dbaccess/source/sdbtools/connection/tablename.cxx
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -106,49 +106,49 @@ namespace sdbtools
EntryGuard aGuard( *this );
return m_pImpl->sCatalog;
}
-
+
//--------------------------------------------------------------------
void SAL_CALL TableName::setCatalogName( const ::rtl::OUString& _catalogName ) throw (RuntimeException)
{
EntryGuard aGuard( *this );
m_pImpl->sCatalog = _catalogName;
}
-
+
//--------------------------------------------------------------------
::rtl::OUString SAL_CALL TableName::getSchemaName() throw (RuntimeException)
{
EntryGuard aGuard( *this );
return m_pImpl->sSchema;
}
-
+
//--------------------------------------------------------------------
void SAL_CALL TableName::setSchemaName( const ::rtl::OUString& _schemaName ) throw (RuntimeException)
{
EntryGuard aGuard( *this );
m_pImpl->sSchema = _schemaName;
}
-
+
//--------------------------------------------------------------------
::rtl::OUString SAL_CALL TableName::getTableName() throw (RuntimeException)
{
EntryGuard aGuard( *this );
return m_pImpl->sName;
}
-
+
//--------------------------------------------------------------------
void SAL_CALL TableName::setTableName( const ::rtl::OUString& _tableName ) throw (RuntimeException)
{
EntryGuard aGuard( *this );
m_pImpl->sName = _tableName;
}
-
+
//--------------------------------------------------------------------
::rtl::OUString SAL_CALL TableName::getNameForSelect() throw (RuntimeException)
{
EntryGuard aGuard( *this );
return composeTableNameForSelect( getConnection(), m_pImpl->sCatalog, m_pImpl->sSchema, m_pImpl->sName );
}
-
+
//--------------------------------------------------------------------
Reference< XPropertySet > SAL_CALL TableName::getTable() throw (NoSuchElementException, RuntimeException)
{
@@ -176,7 +176,7 @@ namespace sdbtools
return xTable;
}
-
+
//--------------------------------------------------------------------
void SAL_CALL TableName::setTable( const Reference< XPropertySet >& _table ) throw (IllegalArgumentException, RuntimeException)
{
@@ -206,7 +206,7 @@ namespace sdbtools
throw IllegalArgumentException( e.Message, e.Context, 0 );
}
}
-
+
//--------------------------------------------------------------------
namespace
{
@@ -216,7 +216,7 @@ namespace sdbtools
*/
EComposeRule lcl_translateCompositionType_throw( sal_Int32 _nType )
{
- struct
+ struct
{
sal_Int32 nCompositionType;
EComposeRule eComposeRule;
@@ -256,7 +256,7 @@ namespace sdbtools
m_pImpl->sCatalog, m_pImpl->sSchema, m_pImpl->sName, _Quote,
lcl_translateCompositionType_throw( _Type ) );
}
-
+
//--------------------------------------------------------------------
void SAL_CALL TableName::setComposedName( const ::rtl::OUString& _ComposedName, ::sal_Int32 _Type ) throw (RuntimeException)
{