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

New commits:
commit ee73a6c5573391f5f8e2f100f8392c34d6c61344
Author: Mihai Varga <mihai.va...@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);
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to