summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2010-12-17 12:33:22 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2010-12-17 12:33:22 +0100
commit25aa1b3dcf8a887468a9da27cfa268b9df8dca22 (patch)
tree47db1f32b61d136f60dc84537f4d2eeeafa4d3d0 /reportdesign
parentf2478305d255a1ea18191413406c4edf21f704c9 (diff)
undoapi: (I|Sfx)UndoManager now working with size_t instead of USHORT
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/report/ReportController.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx
index 7542517f11c1..885d605277f8 100644
--- a/reportdesign/source/ui/report/ReportController.cxx
+++ b/reportdesign/source/ui/report/ReportController.cxx
@@ -461,7 +461,7 @@ FeatureState OReportController::GetState(sal_uInt16 _nId) const
case SID_REDO:
case SID_UNDO:
{
- USHORT ( SfxUndoManager::*retrieveCount )( bool const ) const =
+ size_t ( SfxUndoManager::*retrieveCount )( bool const ) const =
( _nId == SID_UNDO ) ? &SfxUndoManager::GetUndoActionCount : &SfxUndoManager::GetRedoActionCount;
SfxUndoManager& rUndoManager( getUndoManager() );
@@ -469,7 +469,7 @@ FeatureState OReportController::GetState(sal_uInt16 _nId) const
if ( aReturn.bEnabled )
{
// TODO: add "Undo/Redo: prefix"
- String ( SfxUndoManager::*retrieveComment )( USHORT, bool const ) const =
+ String ( SfxUndoManager::*retrieveComment )( size_t, bool const ) const =
( _nId == SID_UNDO ) ? &SfxUndoManager::GetUndoActionComment : &SfxUndoManager::GetRedoActionComment;
aReturn.sTitle = (rUndoManager.*retrieveComment)( 0, ::svl::IUndoManager::TopLevel );
}