diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-12-17 12:33:22 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-12-17 12:33:22 +0100 |
commit | fa47896d1aa97f7b796cdfe51f62b8398f767423 (patch) | |
tree | 65deb7c566fec3d3fbe3ca755b37a481d2cba1ef /sc | |
parent | 0c26e1d81d80a750855662d347bce0c12f87b4bd (diff) |
undoapi: (I|Sfx)UndoManager now working with size_t instead of USHORT
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/tabvwshb.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabvwshb.cxx b/sc/source/ui/view/tabvwshb.cxx index 38daeccfa617..b13707a8378b 100644 --- a/sc/source/ui/view/tabvwshb.cxx +++ b/sc/source/ui/view/tabvwshb.cxx @@ -564,8 +564,8 @@ void ScTabViewShell::GetUndoState(SfxItemSet &rSet) { List* pList = aStrLst.GetList(); BOOL bIsUndo = ( nWhich == SID_GETUNDOSTRINGS ); - USHORT nCount = bIsUndo ? pUndoManager->GetUndoActionCount() : pUndoManager->GetRedoActionCount(); - for (USHORT i=0; i<nCount; i++) + size_t nCount = bIsUndo ? pUndoManager->GetUndoActionCount() : pUndoManager->GetRedoActionCount(); + for (size_t i=0; i<nCount; i++) pList->Insert( new String( bIsUndo ? pUndoManager->GetUndoActionComment(i) : pUndoManager->GetRedoActionComment(i) ), LIST_APPEND ); |