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

Stephan Bergmann sbergman at redhat.com
Mon Oct 5 06:03:52 PDT 2015


 sfx2/source/doc/docfile.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 11fe4810ad82eaeb50c164b33c4f908c8fc045f1
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Oct 5 15:03:27 2015 +0200

    loplugin:stringconstant
    
    Change-Id: I67ae937470f84ac1d62016d102083b55220dc128

diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index 553a3d0..5843f5a 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -994,7 +994,7 @@ void SfxMedium::LockOrigFileOnDemand( bool bLoading, bool bNoUI )
                             // when activating the lock.
                             // See http://tools.ietf.org/html/rfc4918#section-14.17 for details
                             LockFileEntry aLockData;
-                            aLockData[LockFileComponent::OOOUSERNAME] = OUString("Unknown user");
+                            aLockData[LockFileComponent::OOOUSERNAME] = "Unknown user";
 
                             uno::Sequence< ::com::sun::star::ucb::Lock >  aLocks;
                             if( aContentToLock.getPropertyValue( "DAV:lockdiscovery" )  >>= aLocks )


More information about the Libreoffice-commits mailing list