diff options
Diffstat (limited to 'sd/source/ui/framework/module/ShellStackGuard.cxx')
-rw-r--r-- | sd/source/ui/framework/module/ShellStackGuard.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/framework/module/ShellStackGuard.cxx b/sd/source/ui/framework/module/ShellStackGuard.cxx index c02843769dd9..180aa5119f9a 100644 --- a/sd/source/ui/framework/module/ShellStackGuard.cxx +++ b/sd/source/ui/framework/module/ShellStackGuard.cxx @@ -93,7 +93,7 @@ void SAL_CALL ShellStackGuard::notifyConfigurationChange ( { if (rEvent.Type == FrameworkHelper::msConfigurationUpdateStartEvent) { - if (mpUpdateLock.get() == nullptr && IsPrinting()) + if (mpUpdateLock == nullptr && IsPrinting()) { // Prevent configuration updates while the printer is printing. mpUpdateLock.reset(new ConfigurationController::Lock(mxConfigurationController)); @@ -122,7 +122,7 @@ IMPL_LINK(ShellStackGuard, TimeoutHandler, Timer*, pIdle, void) #else (void)pIdle; #endif - if (mpUpdateLock.get() != nullptr) + if (mpUpdateLock != nullptr) { if ( ! IsPrinting()) { |