VKey.cxx (9b5730f6) | VKey.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 --- 32 unchanged lines hidden (view full) --- 41using namespace ::com::sun::star::sdbcx; 42using namespace ::com::sun::star::container; 43using namespace ::com::sun::star::lang; 44 45// ----------------------------------------------------------------------------- 46::rtl::OUString SAL_CALL OKey::getImplementationName( ) throw (::com::sun::star::uno::RuntimeException) 47{ 48 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 --- 32 unchanged lines hidden (view full) --- 41using namespace ::com::sun::star::sdbcx; 42using namespace ::com::sun::star::container; 43using namespace ::com::sun::star::lang; 44 45// ----------------------------------------------------------------------------- 46::rtl::OUString SAL_CALL OKey::getImplementationName( ) throw (::com::sun::star::uno::RuntimeException) 47{ 48 if(isNew()) |
49 return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VKeyDescription"); | 49 return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VKeyDescriptor"); |
50 return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VKey"); 51} 52// ----------------------------------------------------------------------------- 53::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL OKey::getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException) 54{ 55 ::com::sun::star::uno::Sequence< ::rtl::OUString > aSupported(1); 56 if(isNew()) | 50 return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.VKey"); 51} 52// ----------------------------------------------------------------------------- 53::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL OKey::getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException) 54{ 55 ::com::sun::star::uno::Sequence< ::rtl::OUString > aSupported(1); 56 if(isNew()) |
57 aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.KeyDescription"); | 57 aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.KeyDescriptor"); |
58 else 59 aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.Key"); 60 61 return aSupported; 62} 63// ----------------------------------------------------------------------------- 64sal_Bool SAL_CALL OKey::supportsService( const ::rtl::OUString& _rServiceName ) throw(::com::sun::star::uno::RuntimeException) 65{ --- 159 unchanged lines hidden --- | 58 else 59 aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.Key"); 60 61 return aSupported; 62} 63// ----------------------------------------------------------------------------- 64sal_Bool SAL_CALL OKey::supportsService( const ::rtl::OUString& _rServiceName ) throw(::com::sun::star::uno::RuntimeException) 65{ --- 159 unchanged lines hidden --- |