loplugin:stringconstant

Change-Id: I68c63d560cfd7ec82802cd3f073cdd0544cff99b
This commit is contained in:
Stephan Bergmann
2015-10-05 14:35:46 +02:00
parent 8a334eb222
commit db0ac3d2cb

View File

@@ -1100,7 +1100,7 @@ void Content::lock()
throw( CommandAbortedException, RuntimeException, Exception ) throw( CommandAbortedException, RuntimeException, Exception )
{ {
Command aCommand; Command aCommand;
aCommand.Name = rtl::OUString::createFromAscii( "lock" ); aCommand.Name = "lock";
aCommand.Handle = -1; // n/a aCommand.Handle = -1; // n/a
m_xImpl->executeCommand( aCommand ); m_xImpl->executeCommand( aCommand );
@@ -1112,7 +1112,7 @@ void Content::unlock()
{ {
Command aCommand; Command aCommand;
aCommand.Name = rtl::OUString::createFromAscii( "unlock" ); aCommand.Name = "unlock";
aCommand.Handle = -1; // n/a aCommand.Handle = -1; // n/a
m_xImpl->executeCommand( aCommand ); m_xImpl->executeCommand( aCommand );