[Libreoffice-commits] core.git: sfx2/source

Jochen Nitschke j.nitschke+logerrit at ok.de
Sun Oct 23 17:14:11 UTC 2016


 sfx2/source/control/unoctitm.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 40d39343cccff39e1f83c4553fda45478de577a9
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Sun Oct 23 14:05:00 2016 +0000

    fix short type for .uno: and slot: URLs
    
    introduced in initial commit:
    00885a1af84ae2f6697000702b439ca789f79627
      INTEGRATION: CWS layoutmanager (1.27.18); FILE MERGED
    
    Change-Id: I7d59316dcaaca2986927bcaebe8029cf82e9eceb
    Reviewed-on: https://gerrit.libreoffice.org/30178
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 4deb987..de693a1 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -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 ))
             {


More information about the Libreoffice-commits mailing list