diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-07 11:18:31 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-07 11:19:20 -0500 |
commit | 8e6e880949b3f603c3d26ab5467cb417b92ae2be (patch) | |
tree | 722220e7c814576f4a5f66b6555018ab8d6921e3 /sc/source/ui/pagedlg | |
parent | 66fa759bb6d8199404b482512d7609ba47265ae8 (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/pagedlg')
-rw-r--r-- | sc/source/ui/pagedlg/scuitphfedit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/pagedlg/scuitphfedit.cxx b/sc/source/ui/pagedlg/scuitphfedit.cxx index 3b78edf6747e..603a742afc0e 100644 --- a/sc/source/ui/pagedlg/scuitphfedit.cxx +++ b/sc/source/ui/pagedlg/scuitphfedit.cxx @@ -164,7 +164,7 @@ void ScHFEditPage::SetNumType(SvxNumType eNumType) void ScHFEditPage::Reset( const SfxItemSet& rCoreSet ) { const SfxPoolItem* pItem = NULL; - if ( rCoreSet.HasItem(nWhich, pItem) ) + if ( rCoreSet.HasItem(nWhich, &pItem) ) { const ScPageHFItem& rItem = static_cast<const ScPageHFItem&>(*pItem); |