Kaydet (Commit) 4e097c10 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

sfx items: No need to confuse with 'USHORT_ARG' that is an 'int'.

Change-Id: I61326bc52a5da527930810ff4516c707c31d1fde
üst ac0c2e26
......@@ -31,8 +31,6 @@ class SvStream;
typedef SfxPoolItem const** SfxItemArray;
#define USHORT_ARG int
class SVL_DLLPUBLIC SfxItemSet
{
friend class SfxItemIter;
......@@ -69,7 +67,7 @@ public:
SfxItemSet( SfxItemPool&, bool bTotalPoolRanges = false );
SfxItemSet( SfxItemPool&, sal_uInt16 nWhich1, sal_uInt16 nWhich2 );
SfxItemSet( SfxItemPool&, USHORT_ARG nWh1, USHORT_ARG nWh2, USHORT_ARG nNull, ... );
SfxItemSet( SfxItemPool&, int nWh1, int nWh2, int nNull, ... );
SfxItemSet( SfxItemPool&, const sal_uInt16* nWhichPairTable );
virtual ~SfxItemSet();
......
......@@ -138,8 +138,7 @@ void SfxItemSet::InitRanges_Impl(va_list pArgs, sal_uInt16 nWh1, sal_uInt16 nWh2
memset(static_cast<void*>(m_pItems), 0, sizeof(SfxPoolItem*) * nSize);
}
SfxItemSet::SfxItemSet(SfxItemPool& rPool,
USHORT_ARG nWh1, USHORT_ARG nWh2, USHORT_ARG nNull, ...)
SfxItemSet::SfxItemSet(SfxItemPool& rPool, int nWh1, int nWh2, int nNull, ...)
: m_pPool( &rPool )
, m_pParent(nullptr)
, m_pWhichRanges(nullptr)
......
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