summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-02-23 21:24:40 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-02-23 21:24:40 +0000
commit26df2ac88a4971f6db70307502e70db0f4f4d01e (patch)
treed39526099dd51aa2bdc099dc6e89b2f4c2470832 /sfx2
parentcf8dd79050a992ba79649e5aa15b9b25d6a779e8 (diff)
use consistent type
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/sfxbasemodel.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index dfc1388c0cfd..d4655c909361 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -3793,10 +3793,10 @@ css::uno::Sequence< ::rtl::OUString > SAL_CALL SfxBaseModel::getAvailableViewCon
SfxModelGuard aGuard( *this );
const SfxObjectFactory& rDocumentFactory = GetObjectShell()->GetFactory();
- const sal_Int32 nViewFactoryCount = rDocumentFactory.GetViewFactoryCount();
+ const sal_Int16 nViewFactoryCount = rDocumentFactory.GetViewFactoryCount();
Sequence< ::rtl::OUString > aViewNames( nViewFactoryCount );
- for ( sal_Int32 nViewNo = 0; nViewNo < nViewFactoryCount; ++nViewNo )
+ for ( sal_Int16 nViewNo = 0; nViewNo < nViewFactoryCount; ++nViewNo )
aViewNames[nViewNo] = rDocumentFactory.GetViewFactory( nViewNo ).GetAPIViewName();
return aViewNames;
}