diff options
Diffstat (limited to 'sd/source/ui/notes/TextLogger.cxx')
-rwxr-xr-x | 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 bf73b67aad23..05b12199a734 100755 --- a/sd/source/ui/notes/TextLogger.cxx +++ b/sd/source/ui/notes/TextLogger.cxx @@ -1,7 +1,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 @@ -96,7 +96,7 @@ void TextLogger::ConnectToEditWindow (EditWindow* pEditWindow) if (pEditWindow != NULL) pEditWindow->AddEventListener( LINK(this, TextLogger, WindowEventHandler)); - else + else mpEditWindow->RemoveEventListener( LINK(this, TextLogger, WindowEventHandler)); @@ -112,7 +112,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()) { |