diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-02 11:46:36 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-02 12:58:04 -0500 |
commit | 8c525962030bb5b26a8ee84ba49b4bfd557fe3d4 (patch) | |
tree | 1abec479a13513e6b40900123f8cbb6309f23f03 /ucbhelper/source | |
parent | c6b7e74076828e63ea9cfe91935cc11673939491 (diff) |
targeted string re-work
Change-Id: I1af89db47fb3e387b5b83a86424bfac44eb28135
Diffstat (limited to 'ucbhelper/source')
-rw-r--r-- | ucbhelper/source/provider/resultset.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ucbhelper/source/provider/resultset.cxx b/ucbhelper/source/provider/resultset.cxx index 6a6cb5ec09ab..3978aee6120a 100644 --- a/ucbhelper/source/provider/resultset.cxx +++ b/ucbhelper/source/provider/resultset.cxx @@ -307,8 +307,8 @@ XTYPEPROVIDER_IMPL_9( ResultSet, //========================================================================= XSERVICEINFO_NOFACTORY_IMPL_1( ResultSet, - rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ResultSet")), - rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( RESULTSET_SERVICE_NAME )) ); + rtl::OUString("ResultSet"), + rtl::OUString(RESULTSET_SERVICE_NAME ) ); //========================================================================= // @@ -1356,13 +1356,13 @@ void SAL_CALL ResultSet::setPropertyValue( const rtl::OUString& aPropertyName, throw beans::UnknownPropertyException(); if ( aPropertyName.equals( - rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RowCount")) ) ) + rtl::OUString("RowCount") ) ) { // property is read-only. throw lang::IllegalArgumentException(); } else if ( aPropertyName.equals( - rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("IsRowCountFinal")) ) ) + rtl::OUString("IsRowCountFinal") ) ) { // property is read-only. throw lang::IllegalArgumentException(); @@ -1387,12 +1387,12 @@ uno::Any SAL_CALL ResultSet::getPropertyValue( uno::Any aValue; if ( PropertyName.equals( - rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RowCount")) ) ) + rtl::OUString("RowCount") ) ) { aValue <<= m_pImpl->m_xDataSupplier->currentCount(); } else if ( PropertyName.equals( - rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("IsRowCountFinal")) ) ) + rtl::OUString("IsRowCountFinal") ) ) { aValue <<= m_pImpl->m_xDataSupplier->isCountFinal(); } @@ -1419,9 +1419,9 @@ void SAL_CALL ResultSet::addPropertyChangeListener( if ( !aPropertyName.isEmpty() && !aPropertyName.equals( - rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RowCount")) ) && + rtl::OUString("RowCount") ) && !aPropertyName.equals( - rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("IsRowCountFinal")) ) ) + rtl::OUString("IsRowCountFinal") ) ) throw beans::UnknownPropertyException(); if ( !m_pImpl->m_pPropertyChangeListeners ) @@ -1445,9 +1445,9 @@ void SAL_CALL ResultSet::removePropertyChangeListener( if ( !aPropertyName.isEmpty() && !aPropertyName.equals( - rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RowCount")) ) && + rtl::OUString("RowCount") ) && !aPropertyName.equals( - rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("IsRowCountFinal")) ) ) + rtl::OUString("IsRowCountFinal") ) ) throw beans::UnknownPropertyException(); if ( m_pImpl->m_pPropertyChangeListeners ) @@ -1534,7 +1534,7 @@ void ResultSet::rowCountChanged( sal_uInt32 nOld, sal_uInt32 nNew ) propertyChanged( beans::PropertyChangeEvent( static_cast< cppu::OWeakObject * >( this ), - rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RowCount")), + rtl::OUString("RowCount"), sal_False, 1001, uno::makeAny( nOld ), // old value @@ -1550,7 +1550,7 @@ void ResultSet::rowCountFinal() propertyChanged( beans::PropertyChangeEvent( static_cast< cppu::OWeakObject * >( this ), - rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("IsRowCountFinal")), + rtl::OUString("IsRowCountFinal"), sal_False, 1000, uno:: makeAny( sal_False ), // old value |