summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svtools/source/control/roadmap.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/svtools/source/control/roadmap.cxx b/svtools/source/control/roadmap.cxx
index 11f65963e5f7..01960b8dfb81 100644
--- a/svtools/source/control/roadmap.cxx
+++ b/svtools/source/control/roadmap.cxx
@@ -365,8 +365,11 @@ namespace svt
void ORoadmap::InsertRoadmapItem( ItemIndex _Index, const OUString& _RoadmapItem, ItemId _nUniqueId, bool _bEnabled )
{
+ // make coverity happy, because then it knows the return value from InsertHyperLabel won't leak
+ assert( _nUniqueId != RMINCOMPLETE );
+
InsertHyperLabel( _Index, _RoadmapItem, _nUniqueId, _bEnabled );
- // Todo: YPos is superfluous, if items are always appended
+ // TODO YPos is superfluous, if items are always appended
UpdatefollowingHyperLabels( _Index + 1 );
}