summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/unfmco.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/undo/unfmco.cxx')
-rw-r--r--sw/source/core/undo/unfmco.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/undo/unfmco.cxx b/sw/source/core/undo/unfmco.cxx
index e67ec2e9d8c2..e761a1a32bd6 100644
--- a/sw/source/core/undo/unfmco.cxx
+++ b/sw/source/core/undo/unfmco.cxx
@@ -101,7 +101,7 @@ void SwUndoFmtColl::Repeat( SwUndoIter& rUndoIter )
// es kann nur eine TextFmtColl auf einen Bereich angewendet werden,
// also erfrage auch nur in dem Array
- USHORT nPos = rUndoIter.GetDoc().GetTxtFmtColls()->GetPos(
+ sal_uInt16 nPos = rUndoIter.GetDoc().GetTxtFmtColls()->GetPos(
(SwTxtFmtColl*)pFmtColl );
// ist das Format ueberhaupt noch vorhanden?
if( USHRT_MAX != nPos )