diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-28 11:21:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-28 13:44:15 +0200 |
commit | 4a8f12391dd46f48fe8df12b889ac5c221b18402 (patch) | |
tree | 9ba9038f3aef6bc6267e88d4a404d7f1473ceffd | |
parent | eebef7c8bbb0d318cebd17da969196602c184c86 (diff) |
Fix Boolean expression
Change-Id: I657aee03b220e40cfb12c0dbab9defd9721a1036
-rw-r--r-- | svx/source/fmcomp/fmgridif.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index 8bb336fa22cf..861e13c84b27 100644 --- a/svx/source/fmcomp/fmgridif.cxx +++ b/svx/source/fmcomp/fmgridif.cxx @@ -904,7 +904,7 @@ void SAL_CALL FmXGridControl::setCurrentColumnPosition(sal_Int16 nPos) throw( Ru sal_Bool SAL_CALL FmXGridControl::hasElements() throw( RuntimeException, std::exception ) { Reference< XElementAccess > xPeer(getPeer(), UNO_QUERY); - return xPeer.is() ? xPeer->hasElements() : 0; + return xPeer.is() && xPeer->hasElements(); } |