VIndexColumn.cxx (5f867bfd) VIndexColumn.cxx (ac472dbc)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 20 unchanged lines hidden (view full) ---

29using namespace connectivity;
30using namespace connectivity::sdbcx;
31using namespace ::com::sun::star::beans;
32using namespace ::com::sun::star::uno;
33// -----------------------------------------------------------------------------
34::rtl::OUString SAL_CALL OIndexColumn::getImplementationName( ) throw (::com::sun::star::uno::RuntimeException)
35{
36 if(isNew())
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 20 unchanged lines hidden (view full) ---

29using namespace connectivity;
30using namespace connectivity::sdbcx;
31using namespace ::com::sun::star::beans;
32using namespace ::com::sun::star::uno;
33// -----------------------------------------------------------------------------
34::rtl::OUString SAL_CALL OIndexColumn::getImplementationName( ) throw (::com::sun::star::uno::RuntimeException)
35{
36 if(isNew())
37 return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VIndexColumnDescription");
37 return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VIndexColumnDescriptor");
38 return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VIndexColumn");
39}
40// -----------------------------------------------------------------------------
41::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL OIndexColumn::getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException)
42{
43 ::com::sun::star::uno::Sequence< ::rtl::OUString > aSupported(1);
44 if(isNew())
38 return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VIndexColumn");
39}
40// -----------------------------------------------------------------------------
41::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL OIndexColumn::getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException)
42{
43 ::com::sun::star::uno::Sequence< ::rtl::OUString > aSupported(1);
44 if(isNew())
45 aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.IndexColumnDescription");
45 aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.IndexColumnDescriptor");
46 else
47 aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.IndexColumn");
48
49 return aSupported;
50}
51// -----------------------------------------------------------------------------
52sal_Bool SAL_CALL OIndexColumn::supportsService( const ::rtl::OUString& _rServiceName ) throw(::com::sun::star::uno::RuntimeException)
53{

--- 63 unchanged lines hidden ---
46 else
47 aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.IndexColumn");
48
49 return aSupported;
50}
51// -----------------------------------------------------------------------------
52sal_Bool SAL_CALL OIndexColumn::supportsService( const ::rtl::OUString& _rServiceName ) throw(::com::sun::star::uno::RuntimeException)
53{

--- 63 unchanged lines hidden ---