summaryrefslogtreecommitdiff
path: root/desktop/source/app/lockfile2.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-11-19 23:24:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2023-11-20 07:26:01 +0100
commitb5da85150d0b4ab693616b0f6af613842b7acde3 (patch)
tree6533e1608be8a2386009f1163d36bc1d527f39b2 /desktop/source/app/lockfile2.cxx
parenta5f5eb28d0dcb66d5d947db7087f501ec73e00d7 (diff)
Extended loplugin:ostr: desktop
Change-Id: I0c86c1207f906e19c770b71ae1c5daec1c912845 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159717 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'desktop/source/app/lockfile2.cxx')
-rw-r--r--desktop/source/app/lockfile2.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/app/lockfile2.cxx b/desktop/source/app/lockfile2.cxx
index 44447927f63b..98c2903f9403 100644
--- a/desktop/source/app/lockfile2.cxx
+++ b/desktop/source/app/lockfile2.cxx
@@ -31,10 +31,10 @@ bool Lockfile_execWarning( Lockfile const * that )
// read information from lock
OUString aLockname = that->m_aLockname;
Config aConfig(aLockname);
- aConfig.SetGroup( LOCKFILE_GROUP );
- OString aHost = aConfig.ReadKey( LOCKFILE_HOSTKEY );
- OString aUser = aConfig.ReadKey( LOCKFILE_USERKEY );
- OString aTime = aConfig.ReadKey( LOCKFILE_TIMEKEY );
+ aConfig.SetGroup( LOCKFILE_GROUP ""_ostr );
+ OString aHost = aConfig.ReadKey( LOCKFILE_HOSTKEY ""_ostr );
+ OString aUser = aConfig.ReadKey( LOCKFILE_USERKEY ""_ostr );
+ OString aTime = aConfig.ReadKey( LOCKFILE_TIMEKEY ""_ostr );
// display warning and return response
std::unique_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(nullptr,