summaryrefslogtreecommitdiff
path: root/framework/source/services
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
commit197a0a0e404fa3ad20507b3e0872b00a4ff8d19e (patch)
tree34073de9a0eef02926ddfa814b3401a9eb5267cd /framework/source/services
parent0771cc02b7c0a25f1485b4c70c04ca738cd98866 (diff)
parent3a94101822c38faa80fd77176f861eb27e1baa0b (diff)
merge in a warning fix
Diffstat (limited to 'framework/source/services')
-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 80d0b9a687..9bd64dc93c 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 );
}