diff options
Diffstat (limited to 'comphelper/source')
-rw-r--r-- | comphelper/source/misc/backupfilehelper.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx index ebf93aeb8282..abc8579a542b 100644 --- a/comphelper/source/misc/backupfilehelper.cxx +++ b/comphelper/source/misc/backupfilehelper.cxx @@ -654,9 +654,9 @@ namespace if (aList.is()) { - const long nLength(aList->getLength()); + const sal_Int32 nLength(aList->getLength()); - for (long a(0); a < nLength; a++) + for (sal_Int32 a(0); a < nLength; a++) { const uno::Reference< xml::dom::XElement > aChild(aList->item(a), uno::UNO_QUERY); @@ -765,9 +765,9 @@ namespace if (aList.is()) { - const long nLength(aList->getLength()); + const sal_Int32 nLength(aList->getLength()); - for (long a(0); a < nLength; a++) + for (sal_Int32 a(0); a < nLength; a++) { const uno::Reference< xml::dom::XElement > aChild(aList->item(a), uno::UNO_QUERY); |