summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/shutdownicon.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-02 22:30:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-02 22:30:25 +0200
commit278aae133e3252572bfae5e950c6ec9f8f254b29 (patch)
treed3ad63d4ed6c501e615abeae89640d3d14c6354a /sfx2/source/appl/shutdownicon.cxx
parent58c0252f372221eb71a669686c34f945533bd530 (diff)
loplugin:casttovoid: sfx2
Change-Id: If08aeb785b6ccffe477ddacc314f2182f6746648
Diffstat (limited to 'sfx2/source/appl/shutdownicon.cxx')
-rw-r--r--sfx2/source/appl/shutdownicon.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx
index 031c395cf3c0..4978363c5ad9 100644
--- a/sfx2/source/appl/shutdownicon.cxx
+++ b/sfx2/source/appl/shutdownicon.cxx
@@ -783,8 +783,8 @@ void ShutdownIcon::SetAutostart( bool bActivate )
if ((0 != symlink(aDesktopFileUnx.getStr(), aShortcutUnx.getStr())) && (errno == EEXIST))
{
unlink(aShortcutUnx.getStr());
- int ret = symlink(aDesktopFileUnx.getStr(), aShortcutUnx.getStr());
- (void)ret; //deliberately ignore return value, it's non-critical if it fails
+ (void) symlink(aDesktopFileUnx.getStr(), aShortcutUnx.getStr());
+ //deliberately ignore return value, it's non-critical if it fails
}
ShutdownIcon *pIcon = ShutdownIcon::createInstance();