diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:20:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:27:27 +0200 |
commit | 2c6840eb95eb925be78f2b5279594ef5c71c2e98 (patch) | |
tree | e51faa80bc33355f2224311f8b7ec0f10ef2da0d /sw/source/core/unocore/unodraw.cxx | |
parent | bb34461d280d499d93ef982e9b7391fd791ffa35 (diff) |
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I5c33d8ed3551d9ad4432824995bfdc3f73cfc5f8
Diffstat (limited to 'sw/source/core/unocore/unodraw.cxx')
-rw-r--r-- | sw/source/core/unocore/unodraw.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx index 6c83023b4a9c..6589a4a8fa07 100644 --- a/sw/source/core/unocore/unodraw.cxx +++ b/sw/source/core/unocore/unodraw.cxx @@ -577,7 +577,7 @@ sal_Bool SwXDrawPage::hasElements() throw( uno::RuntimeException, std::exception if(!pDoc) throw uno::RuntimeException(); if(!pDoc->getIDocumentDrawModelAccess().GetDrawModel()) - return sal_False; + return false; else return static_cast<SwXDrawPage*>(this)->GetSvxPage()->hasElements(); } |