summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-11-26 14:37:20 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-11-26 16:45:19 +0100
commit9f90050aa17a76adef94b4ba2568db2da1bd1b9b (patch)
tree059ed03f013271da708107f2a3782e331ce44288 /sfx2
parentfa42338091ecd96b637ea52984c2642b89966f44 (diff)
loplugin:consttobool (clang-cl)
Change-Id: I81fea38cd737a8be74e6ece333ca37cc434a1c33 Reviewed-on: https://gerrit.libreoffice.org/83765 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/shutdowniconw32.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/shutdowniconw32.cxx b/sfx2/source/appl/shutdowniconw32.cxx
index a5c81d5e1b0f..c056db166f51 100644
--- a/sfx2/source/appl/shutdowniconw32.cxx
+++ b/sfx2/source/appl/shutdowniconw32.cxx
@@ -749,10 +749,10 @@ static bool CreateShortcut( const OUString& rAbsObject, const OUString& rAbsObje
{
hres = ppf->Save( o3tl::toW(rAbsShortcut.getStr()), TRUE );
ppf->Release();
- } else return FALSE;
+ } else return false;
psl->Release();
- } else return FALSE;
- return TRUE;
+ } else return false;
+ return true;
}