[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.0' - sfx2/source

Mihai Varga mihai.varga at collabora.com
Thu Oct 29 07:55:17 PDT 2015


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

New commits:
commit f0a2c4219d4785f77c9cb1d8b91e22b6c2488b33
Author: Mihai Varga <mihai.varga at collabora.com>
Date:   Thu Oct 29 16:52:42 2015 +0200

    LOK: font/back color callback - use sal_Int32 instead of long
    
    Change-Id: I2e2ebc5a12794e9641a6195f07fa4b2d1a7369a9

diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 843e93d..42d128a 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1103,7 +1103,7 @@ void SfxDispatchController_Impl::InterceptLOKStateChangeEvent(const SfxObjectShe
     else if (aEvent.FeatureURL.Path == "FontColor" ||
              aEvent.FeatureURL.Path == "BackColor")
     {
-        long nColor;
+        sal_Int32 nColor = -1;
         aEvent.State >>= nColor;
         aBuffer.append(nColor);
     }


More information about the Libreoffice-commits mailing list