summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlmultiimagehelper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/core/xmlmultiimagehelper.cxx b/xmloff/source/core/xmlmultiimagehelper.cxx
index 3b58451840ba..4397d5ab144a 100644
--- a/xmloff/source/core/xmlmultiimagehelper.cxx
+++ b/xmloff/source/core/xmlmultiimagehelper.cxx
@@ -89,10 +89,10 @@ SvXMLImportContextRef MultiImageImportHelper::solveMultipleImages()
{
// multiple child contexts were imported, decide which is the most valuable one
// and remove the rest
- sal_uInt32 nIndexOfPreferred(maImplContextVector.size());
- sal_uInt32 nBestQuality(0), a(0);
+ std::vector<SvXMLImportContextRef>::size_type nIndexOfPreferred(maImplContextVector.size());
+ sal_uInt32 nBestQuality(0);
- for(a = 0; a < maImplContextVector.size(); a++)
+ for(std::vector<SvXMLImportContextRef>::size_type a = 0; a < maImplContextVector.size(); a++)
{
const OUString aStreamURL(getGraphicURLFromImportContext(*maImplContextVector[a].get()));
const sal_uInt32 nNewQuality(getQualityIndex(aStreamURL));
@@ -116,7 +116,7 @@ SvXMLImportContextRef MultiImageImportHelper::solveMultipleImages()
maImplContextVector.erase(aRemove);
// remove the rest from parent
- for(a = 0; a < maImplContextVector.size(); a++)
+ for(std::vector<SvXMLImportContextRef>::size_type a = 0; a < maImplContextVector.size(); a++)
{
SvXMLImportContext& rCandidate = *maImplContextVector[a].get();