diff options
Diffstat (limited to 'editeng/source/accessibility/AccessibleStaticTextBase.cxx')
-rw-r--r-- | editeng/source/accessibility/AccessibleStaticTextBase.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/editeng/source/accessibility/AccessibleStaticTextBase.cxx b/editeng/source/accessibility/AccessibleStaticTextBase.cxx index 6406b2934231..6700b1402a43 100644 --- a/editeng/source/accessibility/AccessibleStaticTextBase.cxx +++ b/editeng/source/accessibility/AccessibleStaticTextBase.cxx @@ -61,9 +61,9 @@ using namespace ::com::sun::star::accessibility; namespace accessibility { - typedef ::std::vector< beans::PropertyValue > PropertyValueVector; + typedef std::vector< beans::PropertyValue > PropertyValueVector; - class PropertyValueEqualFunctor : public ::std::binary_function< beans::PropertyValue, beans::PropertyValue, bool > + class PropertyValueEqualFunctor : public std::binary_function< beans::PropertyValue, beans::PropertyValue, bool > { public: PropertyValueEqualFunctor() @@ -111,7 +111,7 @@ namespace accessibility // receive pointer to our frontend class and view window AccessibleStaticTextBase_Impl(); - void SetEditSource( ::std::unique_ptr< SvxEditSource > && pEditSource ); + void SetEditSource( std::unique_ptr< SvxEditSource > && pEditSource ); void SetEventSource( const uno::Reference< XAccessible >& rInterface ) { @@ -190,7 +190,7 @@ namespace accessibility // now the maTextParagraph has an empty parent reference set } - void AccessibleStaticTextBase_Impl::SetEditSource( ::std::unique_ptr< SvxEditSource > && pEditSource ) + void AccessibleStaticTextBase_Impl::SetEditSource( std::unique_ptr< SvxEditSource > && pEditSource ) { maEditSource.SetEditSource( std::move(pEditSource) ); @@ -436,7 +436,7 @@ namespace accessibility // AccessibleStaticTextBase implementation - AccessibleStaticTextBase::AccessibleStaticTextBase( ::std::unique_ptr< SvxEditSource > && pEditSource ) : + AccessibleStaticTextBase::AccessibleStaticTextBase( std::unique_ptr< SvxEditSource > && pEditSource ) : mpImpl( new AccessibleStaticTextBase_Impl() ) { SolarMutexGuard aGuard; @@ -448,7 +448,7 @@ namespace accessibility { } - void AccessibleStaticTextBase::SetEditSource( ::std::unique_ptr< SvxEditSource > && pEditSource ) + void AccessibleStaticTextBase::SetEditSource( std::unique_ptr< SvxEditSource > && pEditSource ) { // precondition: solar mutex locked DBG_TESTSOLARMUTEX(); @@ -663,7 +663,7 @@ namespace accessibility SolarMutexGuard aGuard; if( nStartIndex > nEndIndex ) - ::std::swap(nStartIndex, nEndIndex); + std::swap(nStartIndex, nEndIndex); //if startindex equals endindex we will get nothing. So return an empty string directly. if ( nStartIndex == nEndIndex ) { @@ -884,7 +884,7 @@ namespace accessibility SolarMutexGuard aGuard; if( nStartIndex > nEndIndex ) - ::std::swap(nStartIndex, nEndIndex); + std::swap(nStartIndex, nEndIndex); EPosition aStartIndex( mpImpl->Range2Internal(nStartIndex) ); EPosition aEndIndex( mpImpl->Range2Internal(nEndIndex) ); @@ -914,7 +914,7 @@ namespace accessibility { const beans::PropertyValue* pItr = aSeq.getConstArray(); const beans::PropertyValue* pEnd = pItr + aSeq.getLength(); - const beans::PropertyValue* pFind = ::std::find_if( pItr, pEnd, ::std::bind2nd( PropertyValueEqualFunctor(), std::cref( *aItr ) ) ); + const beans::PropertyValue* pFind = std::find_if( pItr, pEnd, std::bind2nd( PropertyValueEqualFunctor(), std::cref( *aItr ) ) ); if ( pFind != pEnd ) { aIntersectionVec.push_back( *pFind ); @@ -952,7 +952,7 @@ namespace accessibility { const beans::PropertyValue* pItr = aIntersectionSeq.getConstArray(); const beans::PropertyValue* pEnd = pItr + aIntersectionSeq.getLength(); - bool bNone = ::std::none_of( pItr, pEnd, ::std::bind2nd( PropertyValueEqualFunctor(), std::cref( pDefAttr[i] ) ) ); + bool bNone = std::none_of( pItr, pEnd, std::bind2nd( PropertyValueEqualFunctor(), std::cref( pDefAttr[i] ) ) ); if ( bNone && pDefAttr[i].Handle != 0) { aDiffVec.push_back( pDefAttr[i] ); |