diff options
author | hdu <duerr@sun.com> | 2010-06-07 09:49:07 +0200 |
---|---|---|
committer | hdu <duerr@sun.com> | 2010-06-07 09:49:07 +0200 |
commit | 2ff2cdeb55a0a7a66b26d78eda8f8632d043ed1c (patch) | |
tree | e406efd080601f475bdab81391915f6a6a565977 /framework | |
parent | 95bd2079a501ba3083e150b2d42afe07bed31883 (diff) |
#100000# WaE: avoid compiler warning on wntmsci12
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/services/backingwindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/services/backingwindow.cxx b/framework/source/services/backingwindow.cxx index 19afbc29d843..1db8e7c9bf05 100644 --- a/framework/source/services/backingwindow.cxx +++ b/framework/source/services/backingwindow.cxx @@ -386,7 +386,7 @@ void BackingWindow::prepareRecentFileMenu() aBuf.append( i+1 ); aBuf.appendAscii( ": " ); aBuf.append( aMenuTitle ); - mpRecentMenu->InsertItem( i+1, aBuf.makeStringAndClear() ); + mpRecentMenu->InsertItem( static_cast<USHORT>(i+1), aBuf.makeStringAndClear() ); } maOpenButton.SetPopupMenu( mpRecentMenu ); } |