diff options
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/resultsetbase.cxx')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/resultsetbase.cxx | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx index 7f81469d4d03..75ae7b4a8370 100644 --- a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx +++ b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx @@ -382,7 +382,7 @@ ResultSetBase::close( } -rtl::OUString SAL_CALL +OUString SAL_CALL ResultSetBase::queryContentIdentifierString( void ) throw( uno::RuntimeException ) @@ -390,7 +390,7 @@ ResultSetBase::queryContentIdentifierString( if( 0 <= m_nRow && sal::static_int_cast<sal_uInt32>( m_nRow ) < m_aItems.size() ) return m_aPath[m_nRow]; else - return rtl::OUString(); + return OUString(); } @@ -401,7 +401,7 @@ ResultSetBase::queryContentIdentifier( { if( 0 <= m_nRow && sal::static_int_cast<sal_uInt32>( m_nRow ) < m_aItems.size() ) { - rtl::OUString url = queryContentIdentifierString(); + OUString url = queryContentIdentifierString(); if( ! m_aIdents[m_nRow].is() && !url.isEmpty() ) m_aIdents[m_nRow] = uno::Reference< ucb::XContentIdentifier >( new ::ucbhelper::ContentIdentifier( url ) ); @@ -463,7 +463,7 @@ public: return m_aSeq; } - beans::Property SAL_CALL getPropertyByName( const ::rtl::OUString& aName ) + beans::Property SAL_CALL getPropertyByName( const OUString& aName ) throw( beans::UnknownPropertyException, uno::RuntimeException) { @@ -473,7 +473,7 @@ public: throw beans::UnknownPropertyException(); } - sal_Bool SAL_CALL hasPropertyByName( const ::rtl::OUString& Name ) + sal_Bool SAL_CALL hasPropertyByName( const OUString& Name ) throw( uno::RuntimeException ) { for( int i = 0; i < m_aSeq.getLength(); ++i ) @@ -495,12 +495,12 @@ ResultSetBase::getPropertySetInfo() throw( uno::RuntimeException) { uno::Sequence< beans::Property > seq(2); - seq[0].Name = rtl::OUString( "RowCount" ); + seq[0].Name = OUString( "RowCount" ); seq[0].Handle = -1; seq[0].Type = getCppuType( static_cast< sal_Int32* >(0) ); seq[0].Attributes = beans::PropertyAttribute::READONLY; - seq[1].Name = rtl::OUString( "IsRowCountFinal" ); + seq[1].Name = OUString( "IsRowCountFinal" ); seq[1].Handle = -1; seq[1].Type = getCppuType( static_cast< sal_Bool* >(0) ); seq[1].Attributes = beans::PropertyAttribute::READONLY; @@ -512,7 +512,7 @@ ResultSetBase::getPropertySetInfo() void SAL_CALL ResultSetBase::setPropertyValue( - const rtl::OUString& aPropertyName, const uno::Any& aValue ) + const OUString& aPropertyName, const uno::Any& aValue ) throw( beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, @@ -521,8 +521,8 @@ void SAL_CALL ResultSetBase::setPropertyValue( { (void)aValue; - if( aPropertyName == rtl::OUString( "IsRowCountFinal" ) || - aPropertyName == rtl::OUString( "RowCount" ) ) + if( aPropertyName == OUString( "IsRowCountFinal" ) || + aPropertyName == OUString( "RowCount" ) ) return; throw beans::UnknownPropertyException(); @@ -530,18 +530,18 @@ void SAL_CALL ResultSetBase::setPropertyValue( uno::Any SAL_CALL ResultSetBase::getPropertyValue( - const rtl::OUString& PropertyName ) + const OUString& PropertyName ) throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) { - if( PropertyName == rtl::OUString( "IsRowCountFinal" ) ) + if( PropertyName == OUString( "IsRowCountFinal" ) ) { uno::Any aAny; aAny <<= m_bRowCountFinal; return aAny; } - else if ( PropertyName == rtl::OUString( "RowCount" ) ) + else if ( PropertyName == OUString( "RowCount" ) ) { uno::Any aAny; sal_Int32 count = m_aItems.size(); @@ -554,13 +554,13 @@ uno::Any SAL_CALL ResultSetBase::getPropertyValue( void SAL_CALL ResultSetBase::addPropertyChangeListener( - const rtl::OUString& aPropertyName, + const OUString& aPropertyName, const uno::Reference< beans::XPropertyChangeListener >& xListener ) throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) { - if( aPropertyName == rtl::OUString( "IsRowCountFinal" ) ) + if( aPropertyName == OUString( "IsRowCountFinal" ) ) { osl::MutexGuard aGuard( m_aMutex ); if ( ! m_pIsFinalListeners ) @@ -569,7 +569,7 @@ void SAL_CALL ResultSetBase::addPropertyChangeListener( m_pIsFinalListeners->addInterface( xListener ); } - else if ( aPropertyName == rtl::OUString( "RowCount" ) ) + else if ( aPropertyName == OUString( "RowCount" ) ) { osl::MutexGuard aGuard( m_aMutex ); if ( ! m_pRowCountListeners ) @@ -583,19 +583,19 @@ void SAL_CALL ResultSetBase::addPropertyChangeListener( void SAL_CALL ResultSetBase::removePropertyChangeListener( - const rtl::OUString& aPropertyName, + const OUString& aPropertyName, const uno::Reference< beans::XPropertyChangeListener >& aListener ) throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) { - if( aPropertyName == rtl::OUString( "IsRowCountFinal" ) && + if( aPropertyName == OUString( "IsRowCountFinal" ) && m_pIsFinalListeners ) { osl::MutexGuard aGuard( m_aMutex ); m_pIsFinalListeners->removeInterface( aListener ); } - else if ( aPropertyName == rtl::OUString( "RowCount" ) && + else if ( aPropertyName == OUString( "RowCount" ) && m_pRowCountListeners ) { osl::MutexGuard aGuard( m_aMutex ); @@ -607,7 +607,7 @@ void SAL_CALL ResultSetBase::removePropertyChangeListener( void SAL_CALL ResultSetBase::addVetoableChangeListener( - const rtl::OUString& PropertyName, + const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener >& aListener ) throw( beans::UnknownPropertyException, lang::WrappedTargetException, @@ -619,7 +619,7 @@ void SAL_CALL ResultSetBase::addVetoableChangeListener( void SAL_CALL ResultSetBase::removeVetoableChangeListener( - const rtl::OUString& PropertyName, + const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener >& aListener ) throw( beans::UnknownPropertyException, lang::WrappedTargetException, |