diff options
author | Mihai Varga <mihai.varga@collabora.com> | 2015-10-29 16:28:37 +0200 |
---|---|---|
committer | Mihai Varga <mihai.mv13@gmail.com> | 2015-10-29 16:31:23 +0200 |
commit | 8e3685228d833233fc9a912a5e97df0e14597928 (patch) | |
tree | 4642edcf95e209aacbc0643a6402831b8cbf25c9 /sfx2 | |
parent | c5465b860bacd3839446c38d988c6bdc14c539fe (diff) |
LOK: font/back color feedback
This is used to know the current font/back color
Change-Id: Ic524fcb5c26e1c15ec9c50b2879465152ac8ee34
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index f6658be9378f..bd9fd16bcfed 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1097,6 +1097,13 @@ void SfxDispatchController_Impl::InterceptLOKStateChangeEvent(const SfxObjectShe aEvent.State >>= aTemplate; aBuffer.append(aTemplate.StyleName); } + else if (aEvent.FeatureURL.Path == "FontColor" || + aEvent.FeatureURL.Path == "BackColor") + { + long nColor; + aEvent.State >>= nColor; + aBuffer.append(nColor); + } else { return; |