summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/writer
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/writer')
-rw-r--r--connectivity/source/drivers/writer/WCatalog.cxx5
-rw-r--r--connectivity/source/drivers/writer/WConnection.cxx5
-rw-r--r--connectivity/source/drivers/writer/WDatabaseMetaData.cxx5
-rw-r--r--connectivity/source/drivers/writer/WDriver.cxx5
-rw-r--r--connectivity/source/drivers/writer/WTable.cxx16
-rw-r--r--connectivity/source/drivers/writer/WTables.cxx5
6 files changed, 7 insertions, 34 deletions
diff --git a/connectivity/source/drivers/writer/WCatalog.cxx b/connectivity/source/drivers/writer/WCatalog.cxx
index 87978f592fe9..5f9ba6b36f75 100644
--- a/connectivity/source/drivers/writer/WCatalog.cxx
+++ b/connectivity/source/drivers/writer/WCatalog.cxx
@@ -29,9 +29,7 @@
using namespace ::com::sun::star;
-namespace connectivity
-{
-namespace writer
+namespace connectivity::writer
{
OWriterCatalog::OWriterCatalog(OWriterConnection* pConnection)
: file::OFileCatalog(pConnection)
@@ -57,7 +55,6 @@ void OWriterCatalog::refreshTables()
m_pTables = std::make_unique<OWriterTables>(m_xMetaData, *this, m_aMutex, aVector);
}
-} // namespace writer
} // namespace connectivity
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/writer/WConnection.cxx b/connectivity/source/drivers/writer/WConnection.cxx
index 55517c51f3de..7940d231bbf7 100644
--- a/connectivity/source/drivers/writer/WConnection.cxx
+++ b/connectivity/source/drivers/writer/WConnection.cxx
@@ -38,9 +38,7 @@ using namespace ::com::sun::star;
using OConnection_BASE = connectivity::file::OConnection;
-namespace connectivity
-{
-namespace writer
+namespace connectivity::writer
{
OWriterConnection::OWriterConnection(ODriver* _pDriver)
: OConnection(_pDriver)
@@ -245,7 +243,6 @@ uno::Reference<sdbc::XPreparedStatement>
return nullptr;
}
-} // namespace writer
} // namespace connectivity
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/writer/WDatabaseMetaData.cxx b/connectivity/source/drivers/writer/WDatabaseMetaData.cxx
index 8dfe3b9ea96c..32bec31e5ec4 100644
--- a/connectivity/source/drivers/writer/WDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/writer/WDatabaseMetaData.cxx
@@ -24,9 +24,7 @@
using namespace ::com::sun::star;
-namespace connectivity
-{
-namespace writer
+namespace connectivity::writer
{
OWriterDatabaseMetaData::OWriterDatabaseMetaData(file::OConnection* pConnection)
: OComponentDatabaseMetaData(pConnection)
@@ -108,7 +106,6 @@ uno::Reference<sdbc::XResultSet> SAL_CALL OWriterDatabaseMetaData::getTables(
return xRef;
}
-} // namespace writer
} // namespace connectivity
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/writer/WDriver.cxx b/connectivity/source/drivers/writer/WDriver.cxx
index 75cae7f33200..fd285ff9bff2 100644
--- a/connectivity/source/drivers/writer/WDriver.cxx
+++ b/connectivity/source/drivers/writer/WDriver.cxx
@@ -28,9 +28,7 @@
using namespace connectivity::file;
using namespace ::com::sun::star;
-namespace connectivity
-{
-namespace writer
+namespace connectivity::writer
{
OUString ODriver::getImplementationName_Static() { return "com.sun.star.comp.sdbc.writer.ODriver"; }
@@ -77,7 +75,6 @@ ODriver::getPropertyInfo(const OUString& url, const uno::Sequence<beans::Propert
return uno::Sequence<sdbc::DriverPropertyInfo>();
}
-} // namespace writer
} // namespace connectivity
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/writer/WTable.cxx b/connectivity/source/drivers/writer/WTable.cxx
index 1919d835f40c..1c0b5d501699 100644
--- a/connectivity/source/drivers/writer/WTable.cxx
+++ b/connectivity/source/drivers/writer/WTable.cxx
@@ -32,19 +32,10 @@
#include <comphelper/servicehelper.hxx>
#include <cppuhelper/typeprovider.hxx>
-namespace com
-{
-namespace sun
-{
-namespace star
-{
-namespace text
+namespace com::sun::star::text
{
class XTextDocument;
}
-}
-}
-}
using namespace ::com::sun::star;
@@ -108,9 +99,7 @@ static void lcl_SetValue(connectivity::ORowSetValue& rValue,
}
}
-namespace connectivity
-{
-namespace writer
+namespace connectivity::writer
{
void OWriterTable::fillColumns()
{
@@ -262,7 +251,6 @@ bool OWriterTable::fetchRow(OValueRefRow& _rRow, const OSQLColumns& _rCols, bool
return true;
}
-} // namespace writer
} // namespace connectivity
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/writer/WTables.cxx b/connectivity/source/drivers/writer/WTables.cxx
index 6e3e4dcab3ce..bfbe6f82c134 100644
--- a/connectivity/source/drivers/writer/WTables.cxx
+++ b/connectivity/source/drivers/writer/WTables.cxx
@@ -27,9 +27,7 @@
using namespace ::com::sun::star;
-namespace connectivity
-{
-namespace writer
+namespace connectivity::writer
{
sdbcx::ObjectType OWriterTables::createObject(const OUString& rName)
{
@@ -42,7 +40,6 @@ sdbcx::ObjectType OWriterTables::createObject(const OUString& rName)
return xRet;
}
-} // namespace writer
} // namespace connectivity
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */