summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Varga <mihai.varga@collabora.com>2015-10-29 16:52:42 +0200
committerMihai Varga <mihai.mv13@gmail.com>2015-10-29 16:53:22 +0200
commitee73a6c5573391f5f8e2f100f8392c34d6c61344 (patch)
tree352a808a714132d3b19791320b308a84a895d928
parent8e3685228d833233fc9a912a5e97df0e14597928 (diff)
LOK: font/back color callback - use sal_Int32 instead of long
Change-Id: I2e2ebc5a12794e9641a6195f07fa4b2d1a7369a9
-rw-r--r--sfx2/source/control/unoctitm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index bd9fd16bcfed..813a48aa7a53 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);
}