summaryrefslogtreecommitdiff
path: root/starmath/source/accessibility.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/accessibility.hxx')
-rw-r--r--starmath/source/accessibility.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/accessibility.hxx b/starmath/source/accessibility.hxx
index 103989cbfadd..c4cd3c32177b 100644
--- a/starmath/source/accessibility.hxx
+++ b/starmath/source/accessibility.hxx
@@ -331,8 +331,8 @@ public:
//! access EditEngine and EditView via the functions in the respective window
//! pointers may be 0 (e.g. during reload)
- EditEngine * GetEditEngine() { return pWin ? pWin->GetEditEngine() : 0; }
- EditView * GetEditView() { return pWin ? pWin->GetEditView() : 0; }
+ EditEngine * GetEditEngine() { return pWin ? pWin->GetEditEngine() : nullptr; }
+ EditView * GetEditView() { return pWin ? pWin->GetEditView() : nullptr; }
// XAccessible
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (css::uno::RuntimeException, std::exception) override;