diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-06 14:52:38 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-06 14:52:38 -0500 |
commit | fa0739498518f715552438775c0a51b0fd3b7263 (patch) | |
tree | bf3dcbb2e68be20e816067645d80ddc831cd8640 | |
parent | e42792b63dbb136a7bcefe485e7b2936df2a0975 (diff) |
Use the new method.
-rw-r--r-- | sc/source/ui/optdlg/tpcompatibility.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/optdlg/tpcompatibility.cxx b/sc/source/ui/optdlg/tpcompatibility.cxx index 3748fb1fa19d..f94fa99976ba 100644 --- a/sc/source/ui/optdlg/tpcompatibility.cxx +++ b/sc/source/ui/optdlg/tpcompatibility.cxx @@ -69,7 +69,7 @@ sal_Bool ScTpCompatOptions::FillItemSet(SfxItemSet &rCoreAttrs) void ScTpCompatOptions::Reset(const SfxItemSet &rCoreAttrs) { const SfxPoolItem* pItem; - if (SFX_ITEM_SET == rCoreAttrs.GetItemState(SID_SC_OPT_KEY_BINDING_COMPAT, false, &pItem)) + if (rCoreAttrs.HasItem(SID_SC_OPT_KEY_BINDING_COMPAT, pItem)) { const SfxUInt16Item* p16Item = static_cast<const SfxUInt16Item*>(pItem); ScOptionsUtil::KeyBindingType eKeyB = |