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

Mihai Varga mihai.varga at collabora.com
Thu Oct 29 07:53:49 PDT 2015


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

New commits:
commit ee73a6c5573391f5f8e2f100f8392c34d6c61344
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 bd9fd16..813a48a 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1100,7 +1100,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