summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/propcontroller.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/propcontroller.hxx')
-rw-r--r--extensions/source/propctrlr/propcontroller.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/propcontroller.hxx b/extensions/source/propctrlr/propcontroller.hxx
index 1afc7a7728b2..11b9a7b5cdf6 100644
--- a/extensions/source/propctrlr/propcontroller.hxx
+++ b/extensions/source/propctrlr/propcontroller.hxx
@@ -227,7 +227,7 @@ namespace pcr
// stop the inspection
void stopInspection( bool _bCommitModified );
- bool haveView() const { return m_xPropView.get() != nullptr; }
+ bool haveView() const { return bool(m_xPropView); }
OPropertyEditor& getPropertyBox() { return m_xPropView->getPropertyBox(); }
// does the inspection of the objects as indicated by our model