summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/UnoNamespaceMap.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-04-07 12:06:47 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-04-07 14:23:11 +0200
commit1946794ae09ba732022fe6a74ea45e304ab70b84 (patch)
treee32bd7ba61fa021ecc7f8c85959df8ca837d6e81 /svx/source/unodraw/UnoNamespaceMap.cxx
parent5b08c6e7a21dda94d5b755eea0b1ed1e9c199bec (diff)
mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
Diffstat (limited to 'svx/source/unodraw/UnoNamespaceMap.cxx')
-rw-r--r--svx/source/unodraw/UnoNamespaceMap.cxx66
1 files changed, 33 insertions, 33 deletions
diff --git a/svx/source/unodraw/UnoNamespaceMap.cxx b/svx/source/unodraw/UnoNamespaceMap.cxx
index 3be929155bd7..af77a5269b1f 100644
--- a/svx/source/unodraw/UnoNamespaceMap.cxx
+++ b/svx/source/unodraw/UnoNamespaceMap.cxx
@@ -59,18 +59,18 @@ namespace svx
virtual ~NamespaceMap();
// XNameAccess
- virtual Any SAL_CALL getByName( const ::rtl::OUString& aName ) throw (NoSuchElementException, WrappedTargetException, RuntimeException);
- virtual Sequence< ::rtl::OUString > SAL_CALL getElementNames( ) throw (RuntimeException);
- virtual sal_Bool SAL_CALL hasByName( const ::rtl::OUString& aName ) throw (RuntimeException);
+ virtual Any SAL_CALL getByName( const OUString& aName ) throw (NoSuchElementException, WrappedTargetException, RuntimeException);
+ virtual Sequence< OUString > SAL_CALL getElementNames( ) throw (RuntimeException);
+ virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) throw (RuntimeException);
// XElementAccess
virtual Type SAL_CALL getElementType( ) throw (RuntimeException);
virtual sal_Bool SAL_CALL hasElements( ) throw (RuntimeException);
// XServiceInfo
- virtual ::rtl::OUString SAL_CALL getImplementationName( ) throw(RuntimeException);
- virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw(RuntimeException);
- virtual Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( ) throw(RuntimeException);
+ virtual OUString SAL_CALL getImplementationName( ) throw(RuntimeException);
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw(RuntimeException);
+ virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(RuntimeException);
};
Reference< XInterface > SAL_CALL NamespaceMap_createInstance( sal_uInt16* pWhichIds, SfxItemPool* pPool )
@@ -78,18 +78,18 @@ namespace svx
return (XWeak*)new NamespaceMap( pWhichIds, pPool );
}
- Sequence< ::rtl::OUString > SAL_CALL NamespaceMap_getSupportedServiceNames()
+ Sequence< OUString > SAL_CALL NamespaceMap_getSupportedServiceNames()
throw()
{
- Sequence< ::rtl::OUString > aSupportedServiceNames( 1 );
- aSupportedServiceNames[0] = ::rtl::OUString( "com.sun.star.xml.NamespaceMap" );
+ Sequence< OUString > aSupportedServiceNames( 1 );
+ aSupportedServiceNames[0] = OUString( "com.sun.star.xml.NamespaceMap" );
return aSupportedServiceNames;
}
- ::rtl::OUString SAL_CALL NamespaceMap_getImplementationName()
+ OUString SAL_CALL NamespaceMap_getImplementationName()
throw()
{
- return ::rtl::OUString( "com.sun.star.comp.Svx.NamespaceMap" );
+ return OUString( "com.sun.star.comp.Svx.NamespaceMap" );
}
@@ -111,7 +111,7 @@ namespace svx
NamespaceIteratorImpl( sal_uInt16* pWhichIds, SfxItemPool* pPool );
- sal_Bool next( ::rtl::OUString& rPrefix, ::rtl::OUString& rURL );
+ sal_Bool next( OUString& rPrefix, OUString& rURL );
};
}
@@ -131,7 +131,7 @@ NamespaceIteratorImpl::NamespaceIteratorImpl( sal_uInt16* pWhichIds, SfxItemPool
mnItemCount = (mpWhichId && (0 != *mpWhichId) && mpPool) ? mpPool->GetItemCount2( *mpWhichId ) : 0;
}
-sal_Bool NamespaceIteratorImpl::next( ::rtl::OUString& rPrefix, ::rtl::OUString& rURL )
+sal_Bool NamespaceIteratorImpl::next( OUString& rPrefix, OUString& rURL )
{
// we still need to process the current attribute
if( mpCurrentAttr && (mnCurrentAttr != USHRT_MAX) )
@@ -196,12 +196,12 @@ NamespaceMap::~NamespaceMap()
}
// XNameAccess
-Any SAL_CALL NamespaceMap::getByName( const ::rtl::OUString& aName ) throw (NoSuchElementException, WrappedTargetException, RuntimeException)
+Any SAL_CALL NamespaceMap::getByName( const OUString& aName ) throw (NoSuchElementException, WrappedTargetException, RuntimeException)
{
NamespaceIteratorImpl aIter( mpWhichIds, mpPool );
- ::rtl::OUString aPrefix;
- ::rtl::OUString aURL;
+ OUString aPrefix;
+ OUString aURL;
sal_Bool bFound;
@@ -217,23 +217,23 @@ Any SAL_CALL NamespaceMap::getByName( const ::rtl::OUString& aName ) throw (NoSu
return makeAny( aURL );
}
-Sequence< ::rtl::OUString > SAL_CALL NamespaceMap::getElementNames() throw (RuntimeException)
+Sequence< OUString > SAL_CALL NamespaceMap::getElementNames() throw (RuntimeException)
{
NamespaceIteratorImpl aIter( mpWhichIds, mpPool );
- ::rtl::OUString aPrefix;
- ::rtl::OUString aURL;
+ OUString aPrefix;
+ OUString aURL;
- std::set< ::rtl::OUString, comphelper::UStringLess > aPrefixSet;
+ std::set< OUString, comphelper::UStringLess > aPrefixSet;
while( aIter.next( aPrefix, aURL ) )
aPrefixSet.insert( aPrefix );
- Sequence< ::rtl::OUString > aSeq( aPrefixSet.size() );
- ::rtl::OUString* pPrefixes = aSeq.getArray();
+ Sequence< OUString > aSeq( aPrefixSet.size() );
+ OUString* pPrefixes = aSeq.getArray();
- std::set< ::rtl::OUString, comphelper::UStringLess >::iterator aPrefixIter( aPrefixSet.begin() );
- const std::set< ::rtl::OUString, comphelper::UStringLess >::iterator aEnd( aPrefixSet.end() );
+ std::set< OUString, comphelper::UStringLess >::iterator aPrefixIter( aPrefixSet.begin() );
+ const std::set< OUString, comphelper::UStringLess >::iterator aEnd( aPrefixSet.end() );
while( aPrefixIter != aEnd )
{
@@ -243,12 +243,12 @@ Sequence< ::rtl::OUString > SAL_CALL NamespaceMap::getElementNames() throw (Runt
return aSeq;
}
-sal_Bool SAL_CALL NamespaceMap::hasByName( const ::rtl::OUString& aName ) throw (RuntimeException)
+sal_Bool SAL_CALL NamespaceMap::hasByName( const OUString& aName ) throw (RuntimeException)
{
NamespaceIteratorImpl aIter( mpWhichIds, mpPool );
- ::rtl::OUString aPrefix;
- ::rtl::OUString aURL;
+ OUString aPrefix;
+ OUString aURL;
sal_Bool bFound;
@@ -264,33 +264,33 @@ sal_Bool SAL_CALL NamespaceMap::hasByName( const ::rtl::OUString& aName ) throw
// XElementAccess
Type SAL_CALL NamespaceMap::getElementType() throw (RuntimeException)
{
- return ::getCppuType( (const ::rtl::OUString*) 0 );
+ return ::getCppuType( (const OUString*) 0 );
}
sal_Bool SAL_CALL NamespaceMap::hasElements() throw (RuntimeException)
{
NamespaceIteratorImpl aIter( mpWhichIds, mpPool );
- ::rtl::OUString aPrefix;
- ::rtl::OUString aURL;
+ OUString aPrefix;
+ OUString aURL;
return aIter.next( aPrefix, aURL );
}
// XServiceInfo
-::rtl::OUString SAL_CALL NamespaceMap::getImplementationName( )
+OUString SAL_CALL NamespaceMap::getImplementationName( )
throw(RuntimeException)
{
return NamespaceMap_getImplementationName();
}
-sal_Bool SAL_CALL NamespaceMap::supportsService( const ::rtl::OUString& )
+sal_Bool SAL_CALL NamespaceMap::supportsService( const OUString& )
throw(RuntimeException)
{
return sal_True;
}
-Sequence< ::rtl::OUString > SAL_CALL NamespaceMap::getSupportedServiceNames( )
+Sequence< OUString > SAL_CALL NamespaceMap::getSupportedServiceNames( )
throw(RuntimeException)
{
return NamespaceMap_getSupportedServiceNames();