diff options
author | Bartosz Kosiorek <gang65@openoffice.org> | 2010-10-21 23:25:11 +0200 |
---|---|---|
committer | Bartosz Kosiorek <gang65@openoffice.org> | 2010-10-21 23:25:11 +0200 |
commit | 853eb9487eae742be2f739bfda656c1310f3cbee (patch) | |
tree | bcde9ac05f7503aea47a56f087b12d847b62de83 | |
parent | 873bded8428709ad52045487827c5acd532a7fcc (diff) |
svarray: #i112395#: fix GetItem->GetItem2
-rw-r--r-- | sc/source/core/data/docpool.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/data/docpool.cxx b/sc/source/core/data/docpool.cxx index f341aa4b52fe..d0756d25487f 100644 --- a/sc/source/core/data/docpool.cxx +++ b/sc/source/core/data/docpool.cxx @@ -658,10 +658,10 @@ void ScDocumentPool::CellStyleCreated( const String& rName ) // Calling StyleSheetChanged isn't enough because the pool may still contain items // for undo or clipboard content. - sal_uInt16 nCount = GetItemCount(ATTR_PATTERN); - for (sal_uInt16 i=0; i<nCount; i++) + sal_uInt32 nCount = GetItemCount2(ATTR_PATTERN); + for (sal_uInt32 i=0; i<nCount; i++) { - ScPatternAttr* pPattern = (ScPatternAttr*)GetItem(ATTR_PATTERN, i); + ScPatternAttr* pPattern = (ScPatternAttr*)GetItem2(ATTR_PATTERN, i); if ( pPattern && pPattern->GetStyleSheet() == NULL ) { const String* pStyleName = pPattern->GetStyleName(); |