Kaydet (Commit) 96521249 authored tarafından Jochen Nitschke's avatar Jochen Nitschke Kaydeden (comit) Noel Grandin

use sal_uInt16 to pass PoolItem WhichId

Change-Id: I29593b20d7053bf51b1ef2aee295e73c6f3b858b
Reviewed-on: https://gerrit.libreoffice.org/44650Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 39ba5cbd
...@@ -23,7 +23,7 @@ namespace dbaui ...@@ -23,7 +23,7 @@ namespace dbaui
{ {
// OptionalBoolItem // OptionalBoolItem
OptionalBoolItem::OptionalBoolItem( sal_Int16 _nWhich ) OptionalBoolItem::OptionalBoolItem( sal_uInt16 _nWhich )
:SfxPoolItem( _nWhich ) :SfxPoolItem( _nWhich )
,m_aValue() ,m_aValue()
{ {
......
...@@ -33,7 +33,7 @@ namespace dbaui ...@@ -33,7 +33,7 @@ namespace dbaui
::boost::optional< bool > m_aValue; ::boost::optional< bool > m_aValue;
public: public:
explicit OptionalBoolItem( sal_Int16 nWhich ); explicit OptionalBoolItem( sal_uInt16 nWhich );
virtual bool operator==( const SfxPoolItem& _rItem ) const override; virtual bool operator==( const SfxPoolItem& _rItem ) const override;
virtual SfxPoolItem* Clone( SfxItemPool* _pPool = nullptr ) const override; virtual SfxPoolItem* Clone( SfxItemPool* _pPool = nullptr ) const override;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment