YUser.cxx (9b5730f6) | YUser.cxx (bccc1572) |
---|---|
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 --- 54 unchanged lines hidden (view full) --- 63OUserExtend::OUserExtend( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _xConnection) : OMySQLUser(_xConnection) 64{ 65 construct(); 66} 67// ------------------------------------------------------------------------- 68typedef connectivity::sdbcx::OUser OUser_TYPEDEF; 69void OUserExtend::construct() 70{ | 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 --- 54 unchanged lines hidden (view full) --- 63OUserExtend::OUserExtend( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _xConnection) : OMySQLUser(_xConnection) 64{ 65 construct(); 66} 67// ------------------------------------------------------------------------- 68typedef connectivity::sdbcx::OUser OUser_TYPEDEF; 69void OUserExtend::construct() 70{ |
71 registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_PASSWORD), PROPERTY_ID_PASSWORD,0,&m_Password,::getCppuType(reinterpret_cast< ::rtl::OUString*>(NULL))); | 71 registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_PASSWORD), PROPERTY_ID_PASSWORD,0,&m_Password,::getCppuType(static_cast< ::rtl::OUString*>(NULL))); |
72} 73// ----------------------------------------------------------------------------- 74cppu::IPropertyArrayHelper* OUserExtend::createArrayHelper() const 75{ 76 Sequence< Property > aProps; 77 describeProperties(aProps); 78 return new cppu::OPropertyArrayHelper(aProps); 79} --- 267 unchanged lines hidden --- | 72} 73// ----------------------------------------------------------------------------- 74cppu::IPropertyArrayHelper* OUserExtend::createArrayHelper() const 75{ 76 Sequence< Property > aProps; 77 describeProperties(aProps); 78 return new cppu::OPropertyArrayHelper(aProps); 79} --- 267 unchanged lines hidden --- |