summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2014-08-07 23:53:04 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2014-08-09 19:33:38 +0000
commit154c20cb320fb62cdd54cd248c3b981acc3903c8 (patch)
tree2e365f60d4c965c49716fe669ce5b27374f4f74f
parenta1fab361cb3325b2d012942e43660f2c0a2a4b96 (diff)
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 <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
-rw-r--r--sfx2/sdi/sfx.sdi2
-rw-r--r--sfx2/source/view/viewfrm.cxx2
2 files changed, 2 insertions, 2 deletions
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 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 )