diff options
author | Phil Bordelon <phil@thenexusproject.org> | 2010-09-30 10:40:05 -0500 |
---|---|---|
committer | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2010-09-30 20:24:52 +0200 |
commit | 9b23ce50a37bb9ee88d71e85cb1c3e5a80880190 (patch) | |
tree | 0a4a650955cda4dc5a1ea48af1868e5fa4ec194b /starmath/source/accessibility.cxx | |
parent | 2e4377f6f97f4cf24999135f6fd0e2e120bce5bb (diff) |
Fix commented-out null-pointer check.
In SmEditAccessible::addEventListener(), a previous commenting-out
of a line also removed a null-pointer check. This axes the
commented out code but restores the check.
Signed-off-by: Phil Bordelon <phil@thenexusproject.org>
Diffstat (limited to 'starmath/source/accessibility.cxx')
-rw-r--r-- | starmath/source/accessibility.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx index 9aa39924b619..ae8b04002426 100644 --- a/starmath/source/accessibility.cxx +++ b/starmath/source/accessibility.cxx @@ -2023,7 +2023,7 @@ Locale SAL_CALL SmEditAccessible::getLocale( ) void SAL_CALL SmEditAccessible::addEventListener( const uno::Reference< XAccessibleEventListener >& xListener ) throw (RuntimeException) { - //vos::OGuard aGuard(Application::GetSolarMutex()); if (pTextHelper) // not disposing (about to destroy view shell) + if (pTextHelper) // not disposing (about to destroy view shell) pTextHelper->AddEventListener( xListener ); } |