[Libreoffice-commits] core.git: sfx2/sdi sfx2/source
Maxim Monastirsky
momonasmon at gmail.com
Sat Aug 9 12:34:01 PDT 2014
sfx2/sdi/sfx.sdi | 2 +-
sfx2/source/view/viewfrm.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 154c20cb320fb62cdd54cd248c3b981acc3903c8
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date: Thu Aug 7 23:53:04 2014 +0300
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 at gmail.com>
Tested-by: Maxim Monastirsky <momonasmon at gmail.com>
diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi
index 4302753..4ce0378 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 57de550..bbabaa3 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 )
More information about the Libreoffice-commits
mailing list