summaryrefslogtreecommitdiff
path: root/forms/source/richtext/richtextunowrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/richtext/richtextunowrapper.cxx')
-rw-r--r--forms/source/richtext/richtextunowrapper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/richtext/richtextunowrapper.cxx b/forms/source/richtext/richtextunowrapper.cxx
index fd1e5cc74e5a..2077b43756a8 100644
--- a/forms/source/richtext/richtextunowrapper.cxx
+++ b/forms/source/richtext/richtextunowrapper.cxx
@@ -119,8 +119,8 @@ namespace frm
{
// this means that the content of the EditEngine changed via the UNO API
// to reflect this in the views, we need to update them
- USHORT viewCount = m_rEngine.GetViewCount();
- for ( USHORT view = 0; view < viewCount; ++view )
+ sal_uInt16 viewCount = m_rEngine.GetViewCount();
+ for ( sal_uInt16 view = 0; view < viewCount; ++view )
{
EditView* pView = m_rEngine.GetView( view );
if ( pView )