diff options
Diffstat (limited to 'desktop/source/deployment')
-rw-r--r-- | desktop/source/deployment/inc/lockfile.hxx | 12 | ||||
-rw-r--r-- | desktop/source/deployment/misc/lockfile.cxx | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/desktop/source/deployment/inc/lockfile.hxx b/desktop/source/deployment/inc/lockfile.hxx index 07dbc3446f3d..dc1e66cc0890 100644 --- a/desktop/source/deployment/inc/lockfile.hxx +++ b/desktop/source/deployment/inc/lockfile.hxx @@ -41,12 +41,12 @@ #include "dp_misc_api.hxx" -#define LOCKFILE_GROUP OString( "Lockdata" ) -#define LOCKFILE_USERKEY OString( "User" ) -#define LOCKFILE_HOSTKEY OString( "Host" ) -#define LOCKFILE_STAMPKEY OString( "Stamp" ) -#define LOCKFILE_TIMEKEY OString( "Time" ) -#define LOCKFILE_IPCKEY OString( "IPCServer" ) +#define LOCKFILE_GROUP "Lockdata" +#define LOCKFILE_USERKEY "User" +#define LOCKFILE_HOSTKEY "Host" +#define LOCKFILE_STAMPKEY "Stamp" +#define LOCKFILE_TIMEKEY "Time" +#define LOCKFILE_IPCKEY "IPCServer" namespace desktop { diff --git a/desktop/source/deployment/misc/lockfile.cxx b/desktop/source/deployment/misc/lockfile.cxx index 219ccaf10431..b46da255647b 100644 --- a/desktop/source/deployment/misc/lockfile.cxx +++ b/desktop/source/deployment/misc/lockfile.cxx @@ -155,7 +155,7 @@ namespace desktop { Config aConfig(aLockname); aConfig.SetGroup(LOCKFILE_GROUP); OString aIPCserver = aConfig.ReadKey( LOCKFILE_IPCKEY ); - if (!aIPCserver.equalsIgnoreAsciiCase(OString("true"))) + if (!aIPCserver.equalsIgnoreAsciiCase("true")) return false; OString aHost = aConfig.ReadKey( LOCKFILE_HOSTKEY ); |