summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
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);
}