From 154c20cb320fb62cdd54cd248c3b981acc3903c8 Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Thu, 7 Aug 2014 23:53:04 +0300 Subject: fdo#82278 SfxUInt16Item -> SfxInt16Item A regression of 2245288574ef77b09416872326b4543c82790815. VerbID can be negative. Change-Id: Ib242376696346ab310031d1b7c5c74362fb4b3d1 Reviewed-on: https://gerrit.libreoffice.org/10823 Reviewed-by: Maxim Monastirsky Tested-by: Maxim Monastirsky --- sfx2/source/view/viewfrm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2/source') diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index 57de550aafd4..bbabaa3db562 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -2279,7 +2279,7 @@ void SfxViewFrame::ExecView_Impl case SID_OBJECT: { - SFX_REQUEST_ARG( rReq, pItem, SfxUInt16Item, SID_OBJECT, false ); + SFX_REQUEST_ARG( rReq, pItem, SfxInt16Item, SID_OBJECT, false ); SfxViewShell *pViewShell = GetViewShell(); if ( pViewShell && pItem ) -- cgit