summaryrefslogtreecommitdiff
path: root/sfx2/source
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:54:50 +0200
commitf0a2c4219d4785f77c9cb1d8b91e22b6c2488b33 (patch)
tree2c3193471fd20f4d00953ad490dc0ccc85ed6eaf /sfx2/source
parent3d2b18294495a83b2b60764ee84595d6df74c6c5 (diff)
LOK: font/back color callback - use sal_Int32 instead of long
Change-Id: I2e2ebc5a12794e9641a6195f07fa4b2d1a7369a9
Diffstat (limited to 'sfx2/source')
-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 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);
}