summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-06-09 12:05:52 +0200
committerPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-06-09 12:05:52 +0200
commit73334ca49120d11c587f947af2b6f51616b34204 (patch)
treea2f782dc3d854eece1df1a53801711ef3fb4f5b4 /framework
parentab46983bad9dfb4f6af22487e55904938638fc21 (diff)
parent2ff2cdeb55a0a7a66b26d78eda8f8632d043ed1c (diff)
merge in a warning fix
Diffstat (limited to 'framework')
-rw-r--r--framework/source/services/backingwindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/services/backingwindow.cxx b/framework/source/services/backingwindow.cxx
index 962dbe2686c3..8d4b1c10a978 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 );
}