summaryrefslogtreecommitdiff
path: root/sc/source/ui/optdlg/tpcompatibility.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-02-07 11:18:31 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-02-07 11:19:20 -0500
commit8e6e880949b3f603c3d26ab5467cb417b92ae2be (patch)
tree722220e7c814576f4a5f66b6555018ab8d6921e3 /sc/source/ui/optdlg/tpcompatibility.cxx
parent66fa759bb6d8199404b482512d7609ba47265ae8 (diff)
Have SfxItemSet::HasItem take an optional pointer-to-pointer.
To make it clear that the second argument is optional.
Diffstat (limited to 'sc/source/ui/optdlg/tpcompatibility.cxx')
-rw-r--r--sc/source/ui/optdlg/tpcompatibility.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/optdlg/tpcompatibility.cxx b/sc/source/ui/optdlg/tpcompatibility.cxx
index f94fa99976ba..32b3e1278d9b 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 (rCoreAttrs.HasItem(SID_SC_OPT_KEY_BINDING_COMPAT, pItem))
+ if (rCoreAttrs.HasItem(SID_SC_OPT_KEY_BINDING_COMPAT, &pItem))
{
const SfxUInt16Item* p16Item = static_cast<const SfxUInt16Item*>(pItem);
ScOptionsUtil::KeyBindingType eKeyB =