diff options
Diffstat (limited to 'sd/source/ui/notes/TextLogger.cxx')
-rw-r--r-- | sd/source/ui/notes/TextLogger.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/notes/TextLogger.cxx b/sd/source/ui/notes/TextLogger.cxx index ffcd743accbc..e3f9cf86dee0 100644 --- a/sd/source/ui/notes/TextLogger.cxx +++ b/sd/source/ui/notes/TextLogger.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -97,7 +97,7 @@ void TextLogger::ConnectToEditWindow (EditWindow* pEditWindow) if (pEditWindow != NULL) pEditWindow->AddEventListener( LINK(this, TextLogger, WindowEventHandler)); - else + else mpEditWindow->RemoveEventListener( LINK(this, TextLogger, WindowEventHandler)); @@ -113,7 +113,7 @@ IMPL_LINK(TextLogger, WindowEventHandler, VclWindowEvent*, pEvent) if (pEvent != NULL) { DBG_ASSERT(static_cast<VclWindowEvent*>(pEvent)->GetWindow() - == mpEditWindow, + == mpEditWindow, "TextLogger: received event from unknown window"); switch (pEvent->GetId()) { |