summaryrefslogtreecommitdiffstats
path: root/forms/source/richtext
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/richtext')
-rw-r--r--forms/source/richtext/clipboarddispatcher.cxx6
-rw-r--r--forms/source/richtext/richtextcontrol.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/forms/source/richtext/clipboarddispatcher.cxx b/forms/source/richtext/clipboarddispatcher.cxx
index 7f299b855ca1..61881550647f 100644
--- a/forms/source/richtext/clipboarddispatcher.cxx
+++ b/forms/source/richtext/clipboarddispatcher.cxx
@@ -44,13 +44,13 @@ namespace frm
switch ( _eFunc )
{
case OClipboardDispatcher::eCut:
- aURL.Complete = OUString( ".uno:Cut" );
+ aURL.Complete = ".uno:Cut";
break;
case OClipboardDispatcher::eCopy:
- aURL.Complete = OUString( ".uno:Copy" );
+ aURL.Complete = ".uno:Copy";
break;
case OClipboardDispatcher::ePaste:
- aURL.Complete = OUString( ".uno:Paste" );
+ aURL.Complete = ".uno:Paste";
break;
}
return aURL;
diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx
index 942253209681..468676200413 100644
--- a/forms/source/richtext/richtextcontrol.cxx
+++ b/forms/source/richtext/richtextcontrol.cxx
@@ -273,8 +273,8 @@ namespace frm
Sequence< OUString > SAL_CALL ORichTextControl::getSupportedServiceNames_Static()
{
Sequence< OUString > aServices( 3 );
- aServices[ 0 ] = OUString( "com.sun.star.awt.UnoControl" );
- aServices[ 1 ] = OUString( "com.sun.star.awt.UnoControlEdit" );
+ aServices[ 0 ] = "com.sun.star.awt.UnoControl";
+ aServices[ 1 ] = "com.sun.star.awt.UnoControlEdit";
aServices[ 2 ] = FRM_SUN_CONTROL_RICHTEXTCONTROL;
return aServices;
}