summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/odbcbase/ODriver.cxx
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <pierre-eric@lanedo.com>2012-07-09 11:25:06 +0200
committerMichael Meeks <michael.meeks@suse.com>2012-07-10 16:23:34 +0100
commit81c5a10a8db5530eb028c85887f0cc73d16c04d3 (patch)
tree88234bdb566ab485c2aaa31b7a9326cca06d2dbe /connectivity/source/drivers/odbcbase/ODriver.cxx
parentffc7b3f8a19f643f2e0b95d72ff5608ba0bf385e (diff)
Remove conflicting typedef
Barely used typedef produced compilation error on Solaris, due to already defined type 'SS'. Change-Id: I2d1d563d8c4818a4afe9656cc4a62ba1bbaaafd2
Diffstat (limited to 'connectivity/source/drivers/odbcbase/ODriver.cxx')
-rw-r--r--connectivity/source/drivers/odbcbase/ODriver.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/connectivity/source/drivers/odbcbase/ODriver.cxx b/connectivity/source/drivers/odbcbase/ODriver.cxx
index e937363683e0..e5c2cf13f590 100644
--- a/connectivity/source/drivers/odbcbase/ODriver.cxx
+++ b/connectivity/source/drivers/odbcbase/ODriver.cxx
@@ -63,11 +63,10 @@ rtl::OUString ODBCDriver::getImplementationName_Static( ) throw(RuntimeExceptio
// Please take care when changing it.
}
-typedef Sequence< ::rtl::OUString > SS;
//------------------------------------------------------------------------------
-SS ODBCDriver::getSupportedServiceNames_Static( ) throw (RuntimeException)
+Sequence< ::rtl::OUString > ODBCDriver::getSupportedServiceNames_Static( ) throw (RuntimeException)
{
- SS aSNS( 1 );
+ Sequence< ::rtl::OUString > aSNS( 1 );
aSNS[0] = ::rtl::OUString("com.sun.star.sdbc.Driver");
return aSNS;
}
@@ -81,7 +80,7 @@ SS ODBCDriver::getSupportedServiceNames_Static( ) throw (RuntimeException)
//------------------------------------------------------------------
sal_Bool SAL_CALL ODBCDriver::supportsService( const ::rtl::OUString& _rServiceName ) throw(RuntimeException)
{
- SS aSupported(getSupportedServiceNames());
+ Sequence< ::rtl::OUString > aSupported(getSupportedServiceNames());
const ::rtl::OUString* pSupported = aSupported.getConstArray();
const ::rtl::OUString* pEnd = pSupported + aSupported.getLength();
for (;pSupported != pEnd && !pSupported->equals(_rServiceName); ++pSupported)
@@ -91,7 +90,7 @@ sal_Bool SAL_CALL ODBCDriver::supportsService( const ::rtl::OUString& _rServiceN
}
//------------------------------------------------------------------
-SS SAL_CALL ODBCDriver::getSupportedServiceNames( ) throw(RuntimeException)
+Sequence< ::rtl::OUString > SAL_CALL ODBCDriver::getSupportedServiceNames( ) throw(RuntimeException)
{
return getSupportedServiceNames_Static();
}