summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-10-26 16:20:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-10-26 16:21:57 +0200
commit3afa389d61f6d06ecefe59f201465783bda4b969 (patch)
tree7d382e7f29cf579bbd6f0c8da4f7cf4495a11a18 /sw
parent0e73ffc339ff51fc610de5fcbad0aef813610f36 (diff)
Added clarifying comment.
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/unocore/unobkm.cxx1
1 files changed, 1 insertions, 0 deletions
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<sw::mark::ICheckboxFieldmark*>(dynamic_cast< const ::sw::mark::ICheckboxFieldmark* >( GetBookmark()));
OSL_ASSERT( GetBookmark() == 0 || pCheckboxFm != 0 );
+ // unclear to me whether GetBookmark() can be null here
}
return pCheckboxFm;