Kaydet (Commit) 1215efbf authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Missing ScMergeFlagAttr::Clone

Change-Id: Iaaad0b4130d99bb3aa9edd434a1fc105c59c4c99
üst 99a09427
......@@ -80,6 +80,8 @@ public:
ScMergeFlagAttr(sal_Int16 nFlags);
virtual ~ScMergeFlagAttr();
SfxPoolItem * Clone(SfxItemPool * pPool) const SAL_OVERRIDE;
bool IsHorOverlapped() const { return ( GetValue() & SC_MF_HOR ) != 0; }
bool IsVerOverlapped() const { return ( GetValue() & SC_MF_VER ) != 0; }
bool IsOverlapped() const { return ( GetValue() & ( SC_MF_HOR | SC_MF_VER ) ) != 0; }
......
......@@ -149,6 +149,11 @@ ScMergeFlagAttr::~ScMergeFlagAttr()
{
}
SfxPoolItem * ScMergeFlagAttr::Clone(SfxItemPool *) const
{
return new ScMergeFlagAttr(*this);
}
bool ScMergeFlagAttr::HasPivotButton() const
{
return (GetValue() & SC_MF_BUTTON) != 0;
......
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