Blob Blame History Raw
From 4874f8d8125de27fbc98f9f39025e66509be90c2 Mon Sep 17 00:00:00 2001
From: Mihai Varga <mihai.varga@collabora.com>
Date: Thu, 29 Oct 2015 16:52:42 +0200
Subject: [PATCH 241/398] LOK: font/back color callback - use sal_Int32 instead
 of long

Change-Id: I2e2ebc5a12794e9641a6195f07fa4b2d1a7369a9
(cherry picked from commit ee73a6c5573391f5f8e2f100f8392c34d6c61344)
---
 sfx2/source/control/unoctitm.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 843e93d4feae..42d128a20298 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);
     }
-- 
2.12.0