summaryrefslogtreecommitdiff
path: root/vcl/source/components
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 /vcl/source/components
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 'vcl/source/components')
-rw-r--r--vcl/source/components/dtranscomp.cxx29
-rw-r--r--vcl/source/components/factory.cxx2
-rw-r--r--vcl/source/components/fontident.cxx1
3 files changed, 14 insertions, 18 deletions
diff --git a/vcl/source/components/dtranscomp.cxx b/vcl/source/components/dtranscomp.cxx
index 18881de9e0cb..650fce07f7fc 100644
--- a/vcl/source/components/dtranscomp.cxx
+++ b/vcl/source/components/dtranscomp.cxx
@@ -43,7 +43,6 @@
#include "cppuhelper/compbase2.hxx"
#include "cppuhelper/implbase1.hxx"
-using rtl::OUString;
using namespace com::sun::star;
using namespace com::sun::star::uno;
using namespace com::sun::star::lang;
@@ -80,12 +79,12 @@ public:
* 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 );
- static rtl::OUString getImplementationName_static();
- static Sequence< rtl::OUString > getSupportedServiceNames_static();
+ static OUString getImplementationName_static();
+ static Sequence< OUString > getSupportedServiceNames_static();
/*
* XClipboard
@@ -99,7 +98,7 @@ public:
const Reference< ::com::sun::star::datatransfer::clipboard::XClipboardOwner >& xClipboardOwner )
throw(RuntimeException);
- virtual ::rtl::OUString SAL_CALL getName()
+ virtual OUString SAL_CALL getName()
throw(RuntimeException);
/*
@@ -125,29 +124,29 @@ GenericClipboard::~GenericClipboard()
{
}
-rtl::OUString GenericClipboard::getImplementationName_static()
+OUString GenericClipboard::getImplementationName_static()
{
- return rtl::OUString( "com.sun.star.datatransfer.VCLGenericClipboard" );
+ return OUString( "com.sun.star.datatransfer.VCLGenericClipboard" );
}
-Sequence< rtl::OUString > GenericClipboard::getSupportedServiceNames_static()
+Sequence< OUString > GenericClipboard::getSupportedServiceNames_static()
{
Sequence< OUString > aRet(1);
aRet[0] = OUString("com.sun.star.datatransfer.clipboard.SystemClipboard");
return aRet;
}
-rtl::OUString GenericClipboard::getImplementationName() throw( RuntimeException )
+OUString GenericClipboard::getImplementationName() throw( RuntimeException )
{
return getImplementationName_static();
}
-Sequence< rtl::OUString > GenericClipboard::getSupportedServiceNames() throw( RuntimeException )
+Sequence< OUString > GenericClipboard::getSupportedServiceNames() throw( RuntimeException )
{
return getSupportedServiceNames_static();
}
-sal_Bool GenericClipboard::supportsService( const ::rtl::OUString& ServiceName ) throw( RuntimeException )
+sal_Bool GenericClipboard::supportsService( const OUString& ServiceName ) throw( RuntimeException )
{
Sequence< OUString > aServices( getSupportedServiceNames() );
sal_Int32 nServices = aServices.getLength();
@@ -190,9 +189,9 @@ void GenericClipboard::setContents(
}
}
-rtl::OUString GenericClipboard::getName() throw( RuntimeException )
+OUString GenericClipboard::getName() throw( RuntimeException )
{
- return rtl::OUString( "CLIPBOARD" );
+ return OUString( "CLIPBOARD" );
}
sal_Int8 GenericClipboard::getRenderingCapabilities() throw( RuntimeException )
diff --git a/vcl/source/components/factory.cxx b/vcl/source/components/factory.cxx
index 9fefd4ba7233..5218c28efe7b 100644
--- a/vcl/source/components/factory.cxx
+++ b/vcl/source/components/factory.cxx
@@ -25,8 +25,6 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <vcl/dllapi.h>
-using ::rtl::OUString;
-using ::rtl::OUStringBuffer;
using namespace com::sun::star::uno;
using namespace com::sun::star::lang;
diff --git a/vcl/source/components/fontident.cxx b/vcl/source/components/fontident.cxx
index e4187ccf7325..87be8e0995df 100644
--- a/vcl/source/components/fontident.cxx
+++ b/vcl/source/components/fontident.cxx
@@ -35,7 +35,6 @@
#include <cppuhelper/implbase3.hxx>
-using ::rtl::OUString;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;