summaryrefslogtreecommitdiff
path: root/connectivity/source/sdbcx/VKeyColumn.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/sdbcx/VKeyColumn.cxx')
-rw-r--r--connectivity/source/sdbcx/VKeyColumn.cxx40
1 files changed, 20 insertions, 20 deletions
diff --git a/connectivity/source/sdbcx/VKeyColumn.cxx b/connectivity/source/sdbcx/VKeyColumn.cxx
index 48e1df5154f3..f2475fa7bf02 100644
--- a/connectivity/source/sdbcx/VKeyColumn.cxx
+++ b/connectivity/source/sdbcx/VKeyColumn.cxx
@@ -26,29 +26,29 @@ using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::uno;
using namespace cppu;
// -----------------------------------------------------------------------------
-::rtl::OUString SAL_CALL OKeyColumn::getImplementationName( ) throw (::com::sun::star::uno::RuntimeException)
+OUString SAL_CALL OKeyColumn::getImplementationName( ) throw (::com::sun::star::uno::RuntimeException)
{
if(isNew())
- return ::rtl::OUString("com.sun.star.sdbcx.VKeyColumnDescription");
- return ::rtl::OUString("com.sun.star.sdbcx.VKeyColumn");
+ return OUString("com.sun.star.sdbcx.VKeyColumnDescription");
+ return OUString("com.sun.star.sdbcx.VKeyColumn");
}
// -----------------------------------------------------------------------------
-::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL OKeyColumn::getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException)
+::com::sun::star::uno::Sequence< OUString > SAL_CALL OKeyColumn::getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException)
{
- ::com::sun::star::uno::Sequence< ::rtl::OUString > aSupported(1);
+ ::com::sun::star::uno::Sequence< OUString > aSupported(1);
if(isNew())
- aSupported[0] = ::rtl::OUString("com.sun.star.sdbcx.KeyColumnDescription");
+ aSupported[0] = OUString("com.sun.star.sdbcx.KeyColumnDescription");
else
- aSupported[0] = ::rtl::OUString("com.sun.star.sdbcx.KeyColumn");
+ aSupported[0] = OUString("com.sun.star.sdbcx.KeyColumn");
return aSupported;
}
// -----------------------------------------------------------------------------
-sal_Bool SAL_CALL OKeyColumn::supportsService( const ::rtl::OUString& _rServiceName ) throw(::com::sun::star::uno::RuntimeException)
+sal_Bool SAL_CALL OKeyColumn::supportsService( const OUString& _rServiceName ) throw(::com::sun::star::uno::RuntimeException)
{
- Sequence< ::rtl::OUString > aSupported(getSupportedServiceNames());
- const ::rtl::OUString* pSupported = aSupported.getConstArray();
- const ::rtl::OUString* pEnd = pSupported + aSupported.getLength();
+ Sequence< OUString > aSupported(getSupportedServiceNames());
+ const OUString* pSupported = aSupported.getConstArray();
+ const OUString* pEnd = pSupported + aSupported.getLength();
for (;pSupported != pEnd && !pSupported->equals(_rServiceName); ++pSupported)
;
@@ -60,10 +60,10 @@ OKeyColumn::OKeyColumn(sal_Bool _bCase) : OColumn(_bCase)
construct();
}
// -------------------------------------------------------------------------
-OKeyColumn::OKeyColumn( const ::rtl::OUString& _ReferencedColumn,
- const ::rtl::OUString& _Name,
- const ::rtl::OUString& _TypeName,
- const ::rtl::OUString& _DefaultValue,
+OKeyColumn::OKeyColumn( const OUString& _ReferencedColumn,
+ const OUString& _Name,
+ const OUString& _TypeName,
+ const OUString& _DefaultValue,
sal_Int32 _IsNullable,
sal_Int32 _Precision,
sal_Int32 _Scale,
@@ -72,13 +72,13 @@ OKeyColumn::OKeyColumn( const ::rtl::OUString& _ReferencedColumn,
sal_Bool _IsRowVersion,
sal_Bool _IsCurrency,
sal_Bool _bCase,
- const ::rtl::OUString& _CatalogName,
- const ::rtl::OUString& _SchemaName,
- const ::rtl::OUString& _TableName
+ const OUString& _CatalogName,
+ const OUString& _SchemaName,
+ const OUString& _TableName
) : OColumn(_Name,
_TypeName,
_DefaultValue,
- ::rtl::OUString(),
+ OUString(),
_IsNullable,
_Precision,
_Scale,
@@ -112,7 +112,7 @@ OKeyColumn::~OKeyColumn()
void OKeyColumn::construct()
{
sal_Int32 nAttrib = isNew() ? 0 : PropertyAttribute::READONLY;
- registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_RELATEDCOLUMN), PROPERTY_ID_RELATEDCOLUMN, nAttrib,&m_ReferencedColumn, ::getCppuType(static_cast< ::rtl::OUString*>(0)));
+ registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_RELATEDCOLUMN), PROPERTY_ID_RELATEDCOLUMN, nAttrib,&m_ReferencedColumn, ::getCppuType(static_cast< OUString*>(0)));
}
// -----------------------------------------------------------------------------