diff options
Diffstat (limited to 'sax/source/tools/fastattribs.cxx')
-rw-r--r-- | sax/source/tools/fastattribs.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/source/tools/fastattribs.cxx b/sax/source/tools/fastattribs.cxx index b94b705fbf32..e9ae452a7aca 100644 --- a/sax/source/tools/fastattribs.cxx +++ b/sax/source/tools/fastattribs.cxx @@ -120,8 +120,8 @@ void FastAttributeList::addUnknown( const OString& rName, const OString& value ) // XFastAttributeList sal_Bool FastAttributeList::hasAttribute( ::sal_Int32 Token ) throw (RuntimeException, std::exception) { - for (size_t i = 0; i < maAttributeTokens.size(); ++i) - if (maAttributeTokens[i] == Token) + for (sal_Int32 i : maAttributeTokens) + if (i == Token) return true; return false; |