diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-19 15:18:52 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-19 16:47:04 +0100 |
commit | 3bdc59bcde10bb4cc676bf7ed13bab2738ad41dc (patch) | |
tree | b23b0ace2d054405af695d631f846d49a964e757 | |
parent | 7d3d4b5c1e14874fb2e2f62838195738d7633d8d (diff) |
LOK: include ModifiedStatus in CALLBACK_STATE_CHANGED
Change-Id: Ic44a9266a67bfad8b0490a8acb4a419af99ea42c
(cherry picked from commit abbfbb4d35d6fa9edbb8f331a9d9503183eb0356)
-rw-r--r-- | desktop/source/lib/init.cxx | 3 | ||||
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index f8d37ef09ae0..cbce5ccc9b75 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -692,7 +692,8 @@ static void doc_iniUnoCommands () OUString(".uno:SuperScript"), OUString(".uno:Strikeout"), OUString(".uno:StyleApply"), - OUString(".uno:Underline") + OUString(".uno:Underline"), + OUString(".uno:ModifiedStatus") }; util::URL aCommandURL; diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index ddc159633310..a189a5faeeba 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1079,7 +1079,8 @@ void SfxDispatchController_Impl::InterceptLOKStateChangeEvent(const SfxObjectShe aEvent.FeatureURL.Path == "SubScript" || aEvent.FeatureURL.Path == "SuperScript" || aEvent.FeatureURL.Path == "Strikeout" || - aEvent.FeatureURL.Path == "Underline") + aEvent.FeatureURL.Path == "Underline" || + aEvent.FeatureURL.Path == "ModifiedStatus") { bool bTemp = false; aEvent.State >>= bTemp; |