diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-02-23 21:24:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-02-23 21:24:40 +0000 |
commit | 26df2ac88a4971f6db70307502e70db0f4f4d01e (patch) | |
tree | d39526099dd51aa2bdc099dc6e89b2f4c2470832 /sfx2 | |
parent | cf8dd79050a992ba79649e5aa15b9b25d6a779e8 (diff) |
use consistent type
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/sfxbasemodel.cxx | 4 |
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; } |