From 3afa389d61f6d06ecefe59f201465783bda4b969 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 26 Oct 2011 16:20:04 +0200 Subject: Added clarifying comment. --- sw/source/core/unocore/unobkm.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/sw/source/core/unocore/unobkm.cxx b/sw/source/core/unocore/unobkm.cxx index 45b22f708ec9..fa2337497ef4 100644 --- a/sw/source/core/unocore/unobkm.cxx +++ b/sw/source/core/unocore/unobkm.cxx @@ -689,6 +689,7 @@ SwXFieldmark::getCheckboxFieldmark() // evil #TODO #FIXME casting away the const-ness pCheckboxFm = const_cast(dynamic_cast< const ::sw::mark::ICheckboxFieldmark* >( GetBookmark())); OSL_ASSERT( GetBookmark() == 0 || pCheckboxFm != 0 ); + // unclear to me whether GetBookmark() can be null here } return pCheckboxFm; -- cgit