summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-31 15:51:09 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-31 19:07:51 +0200
commit52da30cd18990c47b5cea0e789f3d1f76c2a9e1b (patch)
tree9e91d91ed3aeac1a47f694a105eb1bf16acdd68a
parent5dd2ef5c783d9079bc70e7b07aea0178a31f4fc2 (diff)
Drop unnecessary cast to int
...when iterating over the enumerators of enum Image_XML_Entry Change-Id: Ic59da7543a41f8b498d6f89e48faafcdf40c6873 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135194 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--framework/source/xml/imagesdocumenthandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/xml/imagesdocumenthandler.cxx b/framework/source/xml/imagesdocumenthandler.cxx
index 30f178416cae..ebdd5366f240 100644
--- a/framework/source/xml/imagesdocumenthandler.cxx
+++ b/framework/source/xml/imagesdocumenthandler.cxx
@@ -98,7 +98,7 @@ OReadImagesDocumentHandler::OReadImagesDocumentHandler( ImageItemDescriptorList&
m_rImageList( rItems )
{
// create hash map to speed up lookup
- for ( int i = 0; i < int(IMG_XML_ENTRY_COUNT); i++ )
+ for ( int i = 0; i < IMG_XML_ENTRY_COUNT; i++ )
{
OUStringBuffer temp( 20 );