VColumn.cxx (9b5730f6) VColumn.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

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

37using namespace ::com::sun::star::uno;
38using namespace ::com::sun::star::lang;
39using namespace ::com::sun::star::sdbc;
40
41// -----------------------------------------------------------------------------
42::rtl::OUString SAL_CALL OColumn::getImplementationName( ) throw (::com::sun::star::uno::RuntimeException)
43{
44 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

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

37using namespace ::com::sun::star::uno;
38using namespace ::com::sun::star::lang;
39using namespace ::com::sun::star::sdbc;
40
41// -----------------------------------------------------------------------------
42::rtl::OUString SAL_CALL OColumn::getImplementationName( ) throw (::com::sun::star::uno::RuntimeException)
43{
44 if(isNew())
45 return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VColumnDescription");
45 return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VColumnDescriptor");
46 return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VColumn");
47}
48// -----------------------------------------------------------------------------
49::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL OColumn::getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException)
50{
51 ::com::sun::star::uno::Sequence< ::rtl::OUString > aSupported(1);
52 if(isNew())
46 return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VColumn");
47}
48// -----------------------------------------------------------------------------
49::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL OColumn::getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException)
50{
51 ::com::sun::star::uno::Sequence< ::rtl::OUString > aSupported(1);
52 if(isNew())
53 aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.ColumnDescription");
53 aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.ColumnDescriptor");
54 else
55 aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.Column");
56
57 return aSupported;
58}
59// -----------------------------------------------------------------------------
60sal_Bool SAL_CALL OColumn::supportsService( const ::rtl::OUString& _rServiceName ) throw(::com::sun::star::uno::RuntimeException)
61{

--- 164 unchanged lines hidden ---
54 else
55 aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.Column");
56
57 return aSupported;
58}
59// -----------------------------------------------------------------------------
60sal_Bool SAL_CALL OColumn::supportsService( const ::rtl::OUString& _rServiceName ) throw(::com::sun::star::uno::RuntimeException)
61{

--- 164 unchanged lines hidden ---