VKeyColumn.cxx (9b5730f6) | VKeyColumn.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 --- 21 unchanged lines hidden (view full) --- 30using namespace connectivity::sdbcx; 31using namespace ::com::sun::star::beans; 32using namespace ::com::sun::star::uno; 33using namespace cppu; 34// ----------------------------------------------------------------------------- 35::rtl::OUString SAL_CALL OKeyColumn::getImplementationName( ) throw (::com::sun::star::uno::RuntimeException) 36{ 37 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 --- 21 unchanged lines hidden (view full) --- 30using namespace connectivity::sdbcx; 31using namespace ::com::sun::star::beans; 32using namespace ::com::sun::star::uno; 33using namespace cppu; 34// ----------------------------------------------------------------------------- 35::rtl::OUString SAL_CALL OKeyColumn::getImplementationName( ) throw (::com::sun::star::uno::RuntimeException) 36{ 37 if(isNew()) |
38 return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VKeyColumnDescription"); | 38 return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VKeyColumnDescriptor"); |
39 return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VKeyColumn"); 40} 41// ----------------------------------------------------------------------------- 42::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL OKeyColumn::getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException) 43{ 44 ::com::sun::star::uno::Sequence< ::rtl::OUString > aSupported(1); 45 if(isNew()) | 39 return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VKeyColumn"); 40} 41// ----------------------------------------------------------------------------- 42::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL OKeyColumn::getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException) 43{ 44 ::com::sun::star::uno::Sequence< ::rtl::OUString > aSupported(1); 45 if(isNew()) |
46 aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.KeyColumnDescription"); | 46 aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.KeyColumnDescriptor"); |
47 else 48 aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.KeyColumn"); 49 50 return aSupported; 51} 52// ----------------------------------------------------------------------------- 53sal_Bool SAL_CALL OKeyColumn::supportsService( const ::rtl::OUString& _rServiceName ) throw(::com::sun::star::uno::RuntimeException) 54{ --- 67 unchanged lines hidden --- | 47 else 48 aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.KeyColumn"); 49 50 return aSupported; 51} 52// ----------------------------------------------------------------------------- 53sal_Bool SAL_CALL OKeyColumn::supportsService( const ::rtl::OUString& _rServiceName ) throw(::com::sun::star::uno::RuntimeException) 54{ --- 67 unchanged lines hidden --- |