[Libreoffice-commits] core.git: ucbhelper/source

Stephan Bergmann sbergman at redhat.com
Mon Oct 5 05:36:11 PDT 2015


 ucbhelper/source/client/content.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit db0ac3d2cb52be60b850fb522f697c970eaf51bd
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Oct 5 14:35:46 2015 +0200

    loplugin:stringconstant
    
    Change-Id: I68c63d560cfd7ec82802cd3f073cdd0544cff99b

diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx
index 3ee7688..677a6a0 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -1100,7 +1100,7 @@ void Content::lock()
     throw( CommandAbortedException, RuntimeException, Exception )
 {
     Command aCommand;
-    aCommand.Name     = rtl::OUString::createFromAscii( "lock" );
+    aCommand.Name     = "lock";
     aCommand.Handle   = -1; // n/a
 
     m_xImpl->executeCommand( aCommand );
@@ -1112,7 +1112,7 @@ void Content::unlock()
 {
 
     Command aCommand;
-    aCommand.Name     = rtl::OUString::createFromAscii( "unlock" );
+    aCommand.Name     = "unlock";
     aCommand.Handle   = -1; // n/a
 
     m_xImpl->executeCommand( aCommand );


More information about the Libreoffice-commits mailing list