summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/uitest/logger.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/source/uitest/logger.cxx b/vcl/source/uitest/logger.cxx
index ccbf44fda51c..861cc4f4fb8e 100644
--- a/vcl/source/uitest/logger.cxx
+++ b/vcl/source/uitest/logger.cxx
@@ -337,6 +337,8 @@ OUString GetValueInMapWithIndex(const std::map<OUString, OUString>& rParameters,
for (; itr != rParameters.end() && j < index; ++itr, ++j)
;
+ assert(itr != rParameters.end());
+
return itr->second;
}
@@ -349,6 +351,8 @@ OUString GetKeyInMapWithIndex(const std::map<OUString, OUString>& rParameters, s
for (; itr != rParameters.end() && j < index; ++itr, ++j)
;
+ assert(itr != rParameters.end());
+
return itr->first;
}
}