summaryrefslogtreecommitdiff
path: root/vcl/source/components/dtranscomp.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 13:13:21 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 13:13:21 -0500
commit081dc5afdef4a84d60a57ff549f70071b1d26eda (patch)
tree4afae2b9ff996bfc0b87db8f7679c2940fa0121a /vcl/source/components/dtranscomp.cxx
parentb6dc9a8fb8ab96fdbc0ad59f13f92c573aab5cb6 (diff)
targeted string re-work
Change-Id: I0ca912c8b7e485f5ec78422150aedc72ca6df32f
Diffstat (limited to 'vcl/source/components/dtranscomp.cxx')
-rw-r--r--vcl/source/components/dtranscomp.cxx34
1 files changed, 17 insertions, 17 deletions
diff --git a/vcl/source/components/dtranscomp.cxx b/vcl/source/components/dtranscomp.cxx
index 02fbae960c96..07eaf6d89e57 100644
--- a/vcl/source/components/dtranscomp.cxx
+++ b/vcl/source/components/dtranscomp.cxx
@@ -138,13 +138,13 @@ GenericClipboard::~GenericClipboard()
rtl::OUString GenericClipboard::getImplementationName_static()
{
- return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.datatransfer.VCLGenericClipboard" ) );
+ return rtl::OUString( "com.sun.star.datatransfer.VCLGenericClipboard" );
}
Sequence< rtl::OUString > GenericClipboard::getSupportedServiceNames_static()
{
Sequence< OUString > aRet(1);
- aRet[0] = OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.datatransfer.clipboard.SystemClipboard"));
+ aRet[0] = OUString("com.sun.star.datatransfer.clipboard.SystemClipboard");
return aRet;
}
@@ -203,7 +203,7 @@ void GenericClipboard::setContents(
rtl::OUString GenericClipboard::getName() throw( RuntimeException )
{
- return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "CLIPBOARD" ) );
+ return rtl::OUString( "CLIPBOARD" );
}
sal_Int8 GenericClipboard::getRenderingCapabilities() throw( RuntimeException )
@@ -279,13 +279,13 @@ Reference< XInterface > ClipboardFactory::createInstanceWithArguments( const Seq
OUString SAL_CALL Clipboard_getImplementationName()
{
#if defined UNX
- return OUString( RTL_CONSTASCII_USTRINGPARAM(
+ return OUString(
#if ! defined QUARTZ
"com.sun.star.datatransfer.X11ClipboardSupport"
#else
"com.sun.star.datatransfer.clipboard.AquaClipboard"
#endif
- ) );
+ );
#else
return GenericClipboard::getImplementationName_static();
#endif
@@ -325,13 +325,13 @@ public:
static Sequence< OUString > getSupportedServiceNames_static()
{
Sequence< OUString > aRet( 1 );
- aRet[0] = OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.datatransfer.dnd.GenericDragSource"));
+ aRet[0] = OUString("com.sun.star.datatransfer.dnd.GenericDragSource");
return aRet;
}
static OUString getImplementationName_static()
{
- return OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.datatransfer.dnd.VclGenericDragSource"));
+ return OUString("com.sun.star.datatransfer.dnd.VclGenericDragSource");
}
};
@@ -369,13 +369,13 @@ void GenericDragSource::initialize( const Sequence< Any >& ) throw( Exception )
Sequence< OUString > SAL_CALL DragSource_getSupportedServiceNames()
{
#if defined UNX
- OUString aServiceName( RTL_CONSTASCII_USTRINGPARAM(
+ OUString aServiceName(
#if ! defined QUARTZ
"com.sun.star.datatransfer.dnd.X11DragSource"
#else
"com.sun.star.datatransfer.dnd.OleDragSource"
#endif
- ) );
+ );
return Sequence< OUString >(&aServiceName, 1);
#else
return GenericDragSource::getSupportedServiceNames_static();
@@ -385,13 +385,13 @@ Sequence< OUString > SAL_CALL DragSource_getSupportedServiceNames()
OUString SAL_CALL DragSource_getImplementationName()
{
#if defined UNX
- return OUString( RTL_CONSTASCII_USTRINGPARAM(
+ return OUString(
#if ! defined QUARTZ
"com.sun.star.datatransfer.dnd.XdndSupport"
#else
"com.sun.star.comp.datatransfer.dnd.OleDragSource_V1"
#endif
- ) );
+ );
#else
return GenericDragSource::getImplementationName_static();
#endif
@@ -436,13 +436,13 @@ public:
static Sequence< OUString > getSupportedServiceNames_static()
{
Sequence< OUString > aRet( 1 );
- aRet[0] = OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.datatransfer.dnd.GenericDropTarget"));
+ aRet[0] = OUString("com.sun.star.datatransfer.dnd.GenericDropTarget");
return aRet;
}
static OUString getImplementationName_static()
{
- return OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.datatransfer.dnd.VclGenericDropTarget"));
+ return OUString("com.sun.star.datatransfer.dnd.VclGenericDropTarget");
}
};
@@ -483,13 +483,13 @@ void GenericDropTarget::setDefaultActions( sal_Int8) throw()
Sequence< OUString > SAL_CALL DropTarget_getSupportedServiceNames()
{
#if defined UNX
- OUString aServiceName( RTL_CONSTASCII_USTRINGPARAM(
+ OUString aServiceName(
#if ! defined QUARTZ
"com.sun.star.datatransfer.dnd.X11DropTarget"
#else
"com.sun.star.datatransfer.dnd.OleDropTarget"
#endif
- ) );
+ );
return Sequence< OUString >(&aServiceName, 1);
#else
return GenericDropTarget::getSupportedServiceNames_static();
@@ -499,13 +499,13 @@ Sequence< OUString > SAL_CALL DropTarget_getSupportedServiceNames()
OUString SAL_CALL DropTarget_getImplementationName()
{
#if defined UNX
- return OUString( RTL_CONSTASCII_USTRINGPARAM(
+ return OUString(
#if ! defined QUARTZ
"com.sun.star.datatransfer.dnd.XdndDropTarget"
#else
"com.sun.star.comp.datatransfer.dnd.OleDropTarget_V1"
#endif
- ) );
+ );
#else
return GenericDropTarget::getImplementationName_static();
#endif