diff options
-rw-r--r-- | sd/source/ui/view/drviewsa.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx index 596c6ba84f35..074ad05157b1 100644 --- a/sd/source/ui/view/drviewsa.cxx +++ b/sd/source/ui/view/drviewsa.cxx @@ -341,7 +341,8 @@ void DrawViewShell::Init (bool bIsMainViewShell) { ViewShell::Init(bIsMainViewShell); - StartListening (*GetDocSh()); + if (!IsListening(*GetDocSh())) + StartListening (*GetDocSh()); } void DrawViewShell::Shutdown() |