summaryrefslogtreecommitdiff
path: root/svx/source/smarttags
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-28 16:18:34 +0200
committerNoel Grandin <noel@peralex.com>2015-05-29 08:48:41 +0200
commite0b2e6e3f767240016133dd2d55e0bfb9192ca39 (patch)
tree16373b19bd514dfad5fa4f3eea128ed801e5b726 /svx/source/smarttags
parent6140ca9f1d728475e332f9fa96ee62dda58687ea (diff)
loplugin:loopvartoosmall
Change-Id: Icbe68b31d4ab04ca3cd9f572e3598413946a75c7
Diffstat (limited to 'svx/source/smarttags')
-rw-r--r--svx/source/smarttags/SmartTagMgr.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/smarttags/SmartTagMgr.cxx b/svx/source/smarttags/SmartTagMgr.cxx
index df96a6b84d9c..f4ba7045c059 100644
--- a/svx/source/smarttags/SmartTagMgr.cxx
+++ b/svx/source/smarttags/SmartTagMgr.cxx
@@ -91,7 +91,7 @@ void SmartTagMgr::RecognizeString( const OUString& rText,
const lang::Locale& rLocale,
sal_uInt32 nStart, sal_uInt32 nLen ) const
{
- for ( sal_uInt32 i = 0; i < maRecognizerList.size(); i++ )
+ for ( size_t i = 0; i < maRecognizerList.size(); i++ )
{
Reference < smarttags::XSmartTagRecognizer > xRecognizer = maRecognizerList[i];
@@ -121,7 +121,7 @@ void SmartTagMgr::RecognizeTextRange(const Reference< text::XTextRange>& xRange,
const Reference< text::XTextMarkup >& xMarkup,
const Reference< frame::XController >& xController) const
{
- for ( sal_uInt32 i = 0; i < maRecognizerList.size(); i++ )
+ for ( size_t i = 0; i < maRecognizerList.size(); i++ )
{
Reference < smarttags::XSmartTagRecognizer > xRecognizer = maRecognizerList[i];
@@ -159,7 +159,7 @@ void SmartTagMgr::GetActionSequences( Sequence < OUString >& rSmartTagTypes,
rActionComponentsSequence.realloc( rSmartTagTypes.getLength() );
rActionIndicesSequence.realloc( rSmartTagTypes.getLength() );
- for ( sal_uInt16 j = 0; j < rSmartTagTypes.getLength(); ++j )
+ for ( sal_Int32 j = 0; j < rSmartTagTypes.getLength(); ++j )
{
const OUString& rSmartTagType = rSmartTagTypes[j];