fix short type for .uno: and slot: URLs

introduced in initial commit:
00885a1af8
  INTEGRATION: CWS layoutmanager (1.27.18); FILE MERGED

Change-Id: I7d59316dcaaca2986927bcaebe8029cf82e9eceb
Reviewed-on: https://gerrit.libreoffice.org/30178
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Jochen Nitschke
2016-10-23 14:05:00 +00:00
committed by Noel Grandin
parent 770535d0aa
commit 40d39343cc

View File

@@ -399,7 +399,7 @@ void SfxDispatchController_Impl::addParametersToArgs( const css::util::URL& aURL
else if ( aParamType.equalsAsciiL( URLTypeNames[URLType_SHORT], 5 ))
{
// SHORT support
rArgs[nLen].Value <<= sal_Int8( aValue.toInt32() );
rArgs[nLen].Value <<= sal_Int16( aValue.toInt32() );
}
else if ( aParamType.equalsAsciiL( URLTypeNames[URLType_HYPER], 5 ))
{