summaryrefslogtreecommitdiff
path: root/include/oox/ole/axcontrol.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/oox/ole/axcontrol.hxx')
-rw-r--r--include/oox/ole/axcontrol.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oox/ole/axcontrol.hxx b/include/oox/ole/axcontrol.hxx
index db14305cae9d..f8e0a5e5a7db 100644
--- a/include/oox/ole/axcontrol.hxx
+++ b/include/oox/ole/axcontrol.hxx
@@ -913,7 +913,7 @@ public:
ControlModelBase* createModelFromGuid( const OUString& rClassId );
/** Returns true, if the internal control model exists. */
- bool hasModel() const { return mxModel.get() != nullptr; }
+ bool hasModel() const { return bool(mxModel); }
/** Returns read-only access to the internal control model. */
const ControlModelBase* getModel() const { return mxModel.get(); }
/** Returns read/write access to the internal control model. */