Kaydet (Commit) d2f0e14d authored tarafından Damjan Jovanovic's avatar Damjan Jovanovic

Fix a typo in the XServiceInfo implementation

for main/connectivity/source/sdbcx/VIndexColumn.cxx.

It's implementation/service names are com.sun.star.sdbcx.VIndexColumn and
com.sun.star.sdbcx.IndexColumn, not com.sun.star.sdbcx.VIndex and
com.sun.star.sdbcx.Index.

Patch by: me
üst d84ff13f
...@@ -35,16 +35,16 @@ using namespace ::com::sun::star::uno; ...@@ -35,16 +35,16 @@ using namespace ::com::sun::star::uno;
{ {
if(isNew()) if(isNew())
return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VIndexColumnDescription"); return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VIndexColumnDescription");
return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VIndex"); return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VIndexColumn");
} }
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL OIndexColumn::getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException) ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL OIndexColumn::getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException)
{ {
::com::sun::star::uno::Sequence< ::rtl::OUString > aSupported(1); ::com::sun::star::uno::Sequence< ::rtl::OUString > aSupported(1);
if(isNew()) if(isNew())
aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.IndexDescription"); aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.IndexColumnDescription");
else else
aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.Index"); aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.IndexColumn");
return aSupported; return aSupported;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment