diff options
Diffstat (limited to 'sd/source/ui/tools/PreviewRenderer.cxx')
-rw-r--r-- | sd/source/ui/tools/PreviewRenderer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/tools/PreviewRenderer.cxx b/sd/source/ui/tools/PreviewRenderer.cxx index aa40d46e1cbd..21642e5d0459 100644 --- a/sd/source/ui/tools/PreviewRenderer.cxx +++ b/sd/source/ui/tools/PreviewRenderer.cxx @@ -441,7 +441,7 @@ void PreviewRenderer::ProvideView (DrawDocShell* pDocShell) if (pDocShell != mpDocShellOfView) { // Destroy the view that is connected to the current doc shell. - mpView.reset (NULL); + mpView.reset(); // Switch our attention, i.e. listening for DYING events, to // the new doc shell. @@ -543,7 +543,7 @@ void PreviewRenderer::Notify(SfxBroadcaster&, const SfxHint& rHint) // has to be destroyed as well. The next call to // ProvideView will create a new one (for another // doc shell, of course.) - mpView.reset (NULL); + mpView.reset(); mpDocShellOfView = NULL; } } |