summaryrefslogtreecommitdiff
path: root/svx/source/dialog/rlrcitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/rlrcitem.cxx')
-rw-r--r--svx/source/dialog/rlrcitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/rlrcitem.cxx b/svx/source/dialog/rlrcitem.cxx
index 9eeb0e5be632..35b0435209f2 100644
--- a/svx/source/dialog/rlrcitem.cxx
+++ b/svx/source/dialog/rlrcitem.cxx
@@ -48,7 +48,7 @@ void SvxRulerItem::StateChanged( sal_uInt16 nSID, SfxItemState eState,
{
// SfxItemState::DONTCARE => pState == -1 => PTR_CAST buff
if ( eState != SfxItemState::DEFAULT )
- pState = 0;
+ pState = nullptr;
switch(nSID)
{