summaryrefslogtreecommitdiff
path: root/sw/source/filter/inc/fltshell.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/inc/fltshell.hxx')
-rw-r--r--sw/source/filter/inc/fltshell.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/inc/fltshell.hxx b/sw/source/filter/inc/fltshell.hxx
index 702e12f5792e..4ba7b72c7eac 100644
--- a/sw/source/filter/inc/fltshell.hxx
+++ b/sw/source/filter/inc/fltshell.hxx
@@ -97,7 +97,7 @@ public:
SwFltPosition m_aMkPos;
SwFltPosition m_aPtPos;
- SfxPoolItem * pAttr;// Format Attribute
+ std::unique_ptr<SfxPoolItem> pAttr;// Format Attribute
bool bOld; // to mark Attributes *before* skipping field results
bool bOpen; //Entry open, awaiting being closed
@@ -193,7 +193,7 @@ class SwFltAnchorClient;
class SW_DLLPUBLIC SwFltAnchor : public SfxPoolItem
{
SwFrameFormat* pFrameFormat;
- SwFltAnchorClient * pClient;
+ std::unique_ptr<SwFltAnchorClient> pClient;
public:
SwFltAnchor(SwFrameFormat* pFlyFormat);