diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-05-11 20:13:19 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-05-24 22:09:08 +0200 |
commit | f4166f967b68d8ec37ac6163de5a1ea82d0fc76b (patch) | |
tree | 5a9a9e25da3020eddade6eaa3b4e79f22ce8ae88 /sd | |
parent | 42f2f473305372050f012aa952ef21b5596fd1cc (diff) |
sal_uInt16 to size_t
Change-Id: I46d85e82376a3135408ab77ad31b76a5edbe9ce7
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/stlpool.cxx | 4 | ||||
-rw-r--r-- | sd/source/core/stlsheet.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/core/stlpool.cxx b/sd/source/core/stlpool.cxx index 84e970a96f8e..b7e39d18a8da 100644 --- a/sd/source/core/stlpool.cxx +++ b/sd/source/core/stlpool.cxx @@ -1443,10 +1443,10 @@ SdStyleSheetVector SdStyleSheetPool::CreateChildList( SdStyleSheet* pSheet ) { SdStyleSheetVector aResult; - sal_uInt16 nListenerCount = pSheet->GetListenerCount(); + const size_t nListenerCount = pSheet->GetListenerCount(); if (nListenerCount > 0) { - for (sal_uInt16 n = 0; n < nListenerCount; n++) + for (size_t n = 0; n < nListenerCount; ++n) { SdStyleSheet* pChild = dynamic_cast< SdStyleSheet* >( pSheet->GetListener(n) ); if(pChild && pChild->GetParent() == pSheet->GetName()) diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx index f01d3aea25d8..a978de4870c4 100644 --- a/sd/source/core/stlsheet.cxx +++ b/sd/source/core/stlsheet.cxx @@ -329,10 +329,10 @@ bool SdStyleSheet::IsUsed() const { bool bResult = false; - sal_uInt16 nListenerCount = GetListenerCount(); + const size_t nListenerCount = GetListenerCount(); if (nListenerCount > 0) { - for (sal_uInt16 n = 0; n < nListenerCount; n++) + for (size_t n = 0; n < nListenerCount; ++n) { SfxListener* pListener = GetListener(n); if( pListener == this ) |