summaryrefslogtreecommitdiff
path: root/include/svl/intitem.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svl/intitem.hxx')
-rw-r--r--include/svl/intitem.hxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/svl/intitem.hxx b/include/svl/intitem.hxx
index 77cb540335a7..0fff3142cdc6 100644
--- a/include/svl/intitem.hxx
+++ b/include/svl/intitem.hxx
@@ -70,15 +70,9 @@ public:
sal_Int16 GetValue() const { return m_nValue; }
- inline void SetValue(sal_Int16 nTheValue);
+ void SetValue(sal_Int16 nTheValue) { ASSERT_CHANGE_REFCOUNTED_ITEM; m_nValue = nTheValue; }
};
-inline void SfxInt16Item::SetValue(sal_Int16 nTheValue)
-{
- assert( !isPooled() && "SetValue() with pooled item" );
- m_nValue = nTheValue;
-}
-
class SVL_DLLPUBLIC SfxUInt16Item: public CntUInt16Item
{