diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-06 10:51:51 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-06 11:55:09 +0200 |
commit | 2633976ef3406d48907bd922f067ea04e39c94f1 (patch) | |
tree | c29440a174d106805b686299fcaa4a3bacf23592 /sw/source/core/access/textmarkuphelper.cxx | |
parent | 41d83eb8cd8e9544641182ff19a8c635760e75dc (diff) |
com::sun::star->css in sw/source/core
Change-Id: I30016977f1be8fb53dd239367d043de92a9467d9
Diffstat (limited to 'sw/source/core/access/textmarkuphelper.cxx')
-rw-r--r-- | sw/source/core/access/textmarkuphelper.cxx | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sw/source/core/access/textmarkuphelper.cxx b/sw/source/core/access/textmarkuphelper.cxx index d316b21ba9c2..750be3b52341 100644 --- a/sw/source/core/access/textmarkuphelper.cxx +++ b/sw/source/core/access/textmarkuphelper.cxx @@ -35,8 +35,8 @@ using namespace com::sun::star; namespace { const SwWrongList* getTextMarkupList( const SwTextNode& rTextNode, const sal_Int32 nTextMarkupType ) - throw (::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::uno::RuntimeException) + throw (css::lang::IllegalArgumentException, + css::uno::RuntimeException) { const SwWrongList* pTextMarkupList( 0 ); switch ( nTextMarkupType ) @@ -88,8 +88,8 @@ SwTextMarkupHelper::SwTextMarkupHelper( const SwAccessiblePortionData& rPortionD } sal_Int32 SwTextMarkupHelper::getTextMarkupCount( const sal_Int32 nTextMarkupType ) - throw (::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::uno::RuntimeException) + throw (css::lang::IllegalArgumentException, + css::uno::RuntimeException) { sal_Int32 nTextMarkupCount( 0 ); @@ -106,12 +106,12 @@ sal_Int32 SwTextMarkupHelper::getTextMarkupCount( const sal_Int32 nTextMarkupTyp return nTextMarkupCount; } -::com::sun::star::accessibility::TextSegment +css::accessibility::TextSegment SwTextMarkupHelper::getTextMarkup( const sal_Int32 nTextMarkupIndex, const sal_Int32 nTextMarkupType ) - throw (::com::sun::star::lang::IndexOutOfBoundsException, - ::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::uno::RuntimeException) + throw (css::lang::IndexOutOfBoundsException, + css::lang::IllegalArgumentException, + css::uno::RuntimeException) { if ( nTextMarkupIndex >= getTextMarkupCount( nTextMarkupType ) || nTextMarkupIndex < 0 ) @@ -119,7 +119,7 @@ sal_Int32 SwTextMarkupHelper::getTextMarkupCount( const sal_Int32 nTextMarkupTyp throw lang::IndexOutOfBoundsException(); } - ::com::sun::star::accessibility::TextSegment aTextMarkupSegment; + css::accessibility::TextSegment aTextMarkupSegment; aTextMarkupSegment.SegmentStart = -1; aTextMarkupSegment.SegmentEnd = -1; @@ -152,12 +152,12 @@ sal_Int32 SwTextMarkupHelper::getTextMarkupCount( const sal_Int32 nTextMarkupTyp return aTextMarkupSegment; } -::com::sun::star::uno::Sequence< ::com::sun::star::accessibility::TextSegment > +css::uno::Sequence< css::accessibility::TextSegment > SwTextMarkupHelper::getTextMarkupAtIndex( const sal_Int32 nCharIndex, const sal_Int32 nTextMarkupType ) - throw (::com::sun::star::lang::IndexOutOfBoundsException, - ::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::uno::RuntimeException) + throw (css::lang::IndexOutOfBoundsException, + css::lang::IllegalArgumentException, + css::uno::RuntimeException) { // assumption: // value of <nCharIndex> is in range [0..length of accessible text) @@ -167,7 +167,7 @@ sal_Int32 SwTextMarkupHelper::getTextMarkupCount( const sal_Int32 nTextMarkupTyp // paragraph - e.g. numbering portion. if ( mrPortionData.GetAccessiblePosition( nCoreCharIndex ) > nCharIndex ) { - return uno::Sequence< ::com::sun::star::accessibility::TextSegment >(); + return uno::Sequence< css::accessibility::TextSegment >(); } // #i108125# @@ -175,7 +175,7 @@ sal_Int32 SwTextMarkupHelper::getTextMarkupCount( const sal_Int32 nTextMarkupTyp mpTextMarkupList ? mpTextMarkupList : getTextMarkupList( *mpTextNode, nTextMarkupType ); - ::std::vector< ::com::sun::star::accessibility::TextSegment > aTmpTextMarkups; + ::std::vector< css::accessibility::TextSegment > aTmpTextMarkups; if ( pTextMarkupList ) { const OUString rText = mrPortionData.GetAccessibleString(); @@ -194,7 +194,7 @@ sal_Int32 SwTextMarkupHelper::getTextMarkupCount( const sal_Int32 nTextMarkupTyp mrPortionData.GetAccessiblePosition( pTextMarkup->mnPos ); const sal_Int32 nEndPos = mrPortionData.GetAccessiblePosition( pTextMarkup->mnPos + pTextMarkup->mnLen ); - ::com::sun::star::accessibility::TextSegment aTextMarkupSegment; + css::accessibility::TextSegment aTextMarkupSegment; aTextMarkupSegment.SegmentText = rText.copy( nStartPos, nEndPos - nStartPos ); aTextMarkupSegment.SegmentStart = nStartPos; aTextMarkupSegment.SegmentEnd = nEndPos; @@ -203,7 +203,7 @@ sal_Int32 SwTextMarkupHelper::getTextMarkupCount( const sal_Int32 nTextMarkupTyp } } - uno::Sequence< ::com::sun::star::accessibility::TextSegment > aTextMarkups( + uno::Sequence< css::accessibility::TextSegment > aTextMarkups( aTmpTextMarkups.size() ); ::std::copy( aTmpTextMarkups.begin(), aTmpTextMarkups.end(), aTextMarkups.begin() ); |