From c56af9da2ebd1cc060fff01cb78e80eb69100cfb 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 (cherry picked from commit 154c20cb320fb62cdd54cd248c3b981acc3903c8) Reviewed-on: https://gerrit.libreoffice.org/10858 Reviewed-by: Christian Lohmaier Tested-by: Christian Lohmaier --- sfx2/sdi/sfx.sdi | 2 +- sfx2/source/view/viewfrm.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sfx2') diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi index 4302753318de..4ce0378cd539 100644 --- a/sfx2/sdi/sfx.sdi +++ b/sfx2/sdi/sfx.sdi @@ -4235,7 +4235,7 @@ SfxVoidItem ObjectCatalog SID_BASICIDE_OBJCAT SfxStringItem ObjectMenue SID_OBJECT -(SfxUInt16Item VerbID SID_OBJECT) +(SfxInt16Item VerbID SID_OBJECT) [ /* flags: */ AutoUpdate = FALSE, diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index 84d0a711c2e7..33e7d4c6d10a 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