diff options
Diffstat (limited to 'sd/source/ui/view/viewshel.cxx')
-rw-r--r-- | sd/source/ui/view/viewshel.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx index 9ba96ff29a87..e1af322f88eb 100644 --- a/sd/source/ui/view/viewshel.cxx +++ b/sd/source/ui/view/viewshel.cxx @@ -767,7 +767,7 @@ void ViewShell::SetupRulers() long nHRulerOfs = 0; - if ( mpVerticalRuler.get() == nullptr ) + if ( !mpVerticalRuler ) { mpVerticalRuler.reset(CreateVRuler(GetActiveWindow())); if ( mpVerticalRuler ) @@ -777,7 +777,7 @@ void ViewShell::SetupRulers() mpVerticalRuler->Show(); } } - if ( mpHorizontalRuler.get() == nullptr ) + if ( !mpHorizontalRuler ) { mpHorizontalRuler.reset(CreateHRuler(GetActiveWindow())); if ( mpHorizontalRuler ) |