summaryrefslogtreecommitdiff
path: root/sfx2/source/doc
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
commit1d687c80fe58250dc8c28b7e3934c2c40c94ec0b (patch)
tree2942a731d7431381daa2c18a01e1c017ddc9a668 /sfx2/source/doc
parent378c71c4ad8f17b910c029f5d99d3d8354cac77f (diff)
use consistent type
Diffstat (limited to 'sfx2/source/doc')
-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 f787d40e1f..5215f26d22 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;
}