summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-27 12:31:29 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-30 08:37:11 +0000
commita52231c78526e14977d2129fa1abe812de567f03 (patch)
tree8d38fd537ebb43a72b41f4b838bc0effb9d05769 /connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx
parenta499d1b980be1eb2bd6ccfa07b1d87c02fcb1343 (diff)
com::sun::star->css in connectivity
Change-Id: I9489e92dc89a6d83a26ff4f0d9aad26acd28ad9f Reviewed-on: https://gerrit.libreoffice.org/25537 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx62
1 files changed, 31 insertions, 31 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx b/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx
index 303a8604cbf7..74e2d58ca263 100644
--- a/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx
@@ -73,12 +73,12 @@ namespace pq_sdbc_driver
IndexColumns::IndexColumns(
const ::rtl::Reference< RefCountedMutex > & refMutex,
- const ::com::sun::star::uno::Reference< com::sun::star::sdbc::XConnection > & origin,
+ const css::uno::Reference< css::sdbc::XConnection > & origin,
ConnectionSettings *pSettings,
const OUString &schemaName,
const OUString &tableName,
const OUString &indexName,
- const com::sun::star::uno::Sequence< OUString > &columns )
+ const css::uno::Sequence< OUString > &columns )
: Container( refMutex, origin, pSettings, "INDEX_COLUMN" ),
m_schemaName( schemaName ),
m_tableName( tableName ),
@@ -101,7 +101,7 @@ static sal_Int32 findInSequence( const Sequence< OUString > & seq , const OUStri
}
void IndexColumns::refresh()
- throw (::com::sun::star::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception)
{
try
{
@@ -136,7 +136,7 @@ void IndexColumns::refresh()
IndexColumn * pIndexColumn =
new IndexColumn( m_refMutex, m_origin, m_pSettings );
- Reference< com::sun::star::beans::XPropertySet > prop = pIndexColumn;
+ Reference< css::beans::XPropertySet > prop = pIndexColumn;
columnMetaData2SDBCX( pIndexColumn, xRow );
pIndexColumn->setPropertyValue_NoBroadcast_public(
@@ -146,7 +146,7 @@ void IndexColumns::refresh()
m_name2index[ columnName ] = index;
}
}
- catch ( com::sun::star::sdbc::SQLException & e )
+ catch ( css::sdbc::SQLException & e )
{
throw RuntimeException( e.Message , e.Context );
}
@@ -156,30 +156,30 @@ void IndexColumns::refresh()
void IndexColumns::appendByDescriptor(
- const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& /*future*/ )
- throw (::com::sun::star::sdbc::SQLException,
- ::com::sun::star::container::ElementExistException,
- ::com::sun::star::uno::RuntimeException, std::exception)
+ const css::uno::Reference< css::beans::XPropertySet >& /*future*/ )
+ throw (css::sdbc::SQLException,
+ css::container::ElementExistException,
+ css::uno::RuntimeException, std::exception)
{
- throw com::sun::star::sdbc::SQLException(
+ throw css::sdbc::SQLException(
"SDBC-POSTGRESQL: IndexesColumns.appendByDescriptor not yet implemented",
*this, OUString(), 1, Any() );
// osl::MutexGuard guard( m_refMutex->mutex );
// Statics & st = getStatics();
// Reference< XPropertySet > past = createDataDescriptor();
-// past->setPropertyValue( st.IS_NULLABLE, makeAny( com::sun::star::sdbc::ColumnValue::NULLABLE ) );
+// past->setPropertyValue( st.IS_NULLABLE, makeAny( css::sdbc::ColumnValue::NULLABLE ) );
// alterColumnByDescriptor(
// m_schemaName, m_tableName, m_pSettings->encoding, m_origin->createStatement() , past, future );
}
void IndexColumns::dropByName( const OUString& elementName )
- throw (::com::sun::star::sdbc::SQLException,
- ::com::sun::star::container::NoSuchElementException,
- ::com::sun::star::uno::RuntimeException, std::exception)
+ throw (css::sdbc::SQLException,
+ css::container::NoSuchElementException,
+ css::uno::RuntimeException, std::exception)
{
(void) elementName;
- throw com::sun::star::sdbc::SQLException(
+ throw css::sdbc::SQLException(
"SDBC-POSTGRESQL: IndexesColumns.dropByName not yet implemented",
*this, OUString(), 1, Any() );
// String2IntMap::const_iterator ii = m_name2index.find( elementName );
@@ -193,19 +193,19 @@ void IndexColumns::dropByName( const OUString& elementName )
// buf.appendAscii( "." );
// buf.append( m_tableName );
// buf.appendAscii( ", so it can't be dropped" );
-// throw com::sun::star::container::NoSuchElementException(
+// throw css::container::NoSuchElementException(
// buf.makeStringAndClear(), *this );
// }
// dropByIndex( ii->second );
}
void IndexColumns::dropByIndex( sal_Int32 index )
- throw (::com::sun::star::sdbc::SQLException,
- ::com::sun::star::lang::IndexOutOfBoundsException,
- ::com::sun::star::uno::RuntimeException, std::exception)
+ throw (css::sdbc::SQLException,
+ css::lang::IndexOutOfBoundsException,
+ css::uno::RuntimeException, std::exception)
{
(void) index;
- throw com::sun::star::sdbc::SQLException(
+ throw css::sdbc::SQLException(
"SDBC-POSTGRESQL: IndexesColumns.dropByIndex not yet implemented",
*this, OUString(), 1, Any() );
// osl::MutexGuard guard( m_refMutex->mutex );
@@ -217,7 +217,7 @@ void IndexColumns::dropByIndex( sal_Int32 index )
// buf.appendAscii( ", got " );
// buf.append( index );
// buf.appendAscii( ")" );
-// throw com::sun::star::lang::IndexOutOfBoundsException(
+// throw css::lang::IndexOutOfBoundsException(
// buf.makeStringAndClear(), *this );
// }
@@ -239,15 +239,15 @@ void IndexColumns::dropByIndex( sal_Int32 index )
}
-Reference< ::com::sun::star::beans::XPropertySet > IndexColumns::createDataDescriptor()
- throw (::com::sun::star::uno::RuntimeException, std::exception)
+Reference< css::beans::XPropertySet > IndexColumns::createDataDescriptor()
+ throw (css::uno::RuntimeException, std::exception)
{
return new IndexColumnDescriptor( m_refMutex, m_origin, m_pSettings );
}
-Reference< com::sun::star::container::XNameAccess > IndexColumns::create(
+Reference< css::container::XNameAccess > IndexColumns::create(
const ::rtl::Reference< RefCountedMutex > & refMutex,
- const ::com::sun::star::uno::Reference< com::sun::star::sdbc::XConnection > & origin,
+ const css::uno::Reference< css::sdbc::XConnection > & origin,
ConnectionSettings *pSettings,
const OUString &schemaName,
const OUString &tableName,
@@ -256,7 +256,7 @@ Reference< com::sun::star::container::XNameAccess > IndexColumns::create(
{
IndexColumns *pIndexColumns = new IndexColumns(
refMutex, origin, pSettings, schemaName, tableName, indexName, columns );
- Reference< com::sun::star::container::XNameAccess > ret = pIndexColumns;
+ Reference< css::container::XNameAccess > ret = pIndexColumns;
pIndexColumns->refresh();
return ret;
@@ -265,21 +265,21 @@ Reference< com::sun::star::container::XNameAccess > IndexColumns::create(
IndexColumnDescriptors::IndexColumnDescriptors(
const ::rtl::Reference< RefCountedMutex > & refMutex,
- const ::com::sun::star::uno::Reference< com::sun::star::sdbc::XConnection > & origin,
+ const css::uno::Reference< css::sdbc::XConnection > & origin,
ConnectionSettings *pSettings)
: Container( refMutex, origin, pSettings, getStatics().INDEX_COLUMN )
{}
-Reference< com::sun::star::container::XNameAccess > IndexColumnDescriptors::create(
+Reference< css::container::XNameAccess > IndexColumnDescriptors::create(
const ::rtl::Reference< RefCountedMutex > & refMutex,
- const ::com::sun::star::uno::Reference< com::sun::star::sdbc::XConnection > & origin,
+ const css::uno::Reference< css::sdbc::XConnection > & origin,
ConnectionSettings *pSettings)
{
return new IndexColumnDescriptors( refMutex, origin, pSettings );
}
-::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > IndexColumnDescriptors::createDataDescriptor()
- throw (::com::sun::star::uno::RuntimeException, std::exception)
+css::uno::Reference< css::beans::XPropertySet > IndexColumnDescriptors::createDataDescriptor()
+ throw (css::uno::RuntimeException, std::exception)
{
return new IndexColumnDescriptor( m_refMutex, m_origin, m_pSettings );
}