summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography/framectr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/bibliography/framectr.cxx')
-rw-r--r--extensions/source/bibliography/framectr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx
index 5e786a87e00e..131fec773caf 100644
--- a/extensions/source/bibliography/framectr.cxx
+++ b/extensions/source/bibliography/framectr.cxx
@@ -330,7 +330,7 @@ bool canInsertRecords(const Reference< beans::XPropertySet>& _rxCursorSet)
{
sal_Int32 nPriv = 0;
_rxCursorSet->getPropertyValue("Privileges") >>= nPriv;
- return ((_rxCursorSet.is() && (nPriv & sdbcx::Privilege::INSERT) != 0));
+ return _rxCursorSet.is() && (nPriv & sdbcx::Privilege::INSERT) != 0;
}
bool BibFrameController_Impl::SaveModified(const Reference< form::runtime::XFormController>& xController)