summaryrefslogtreecommitdiff
path: root/sw/inc/swatrset.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/swatrset.hxx')
-rw-r--r--sw/inc/swatrset.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/swatrset.hxx b/sw/inc/swatrset.hxx
index a800d1b1b649..3042f1def0c9 100644
--- a/sw/inc/swatrset.hxx
+++ b/sw/inc/swatrset.hxx
@@ -162,6 +162,9 @@ class SwAttrPool : public SfxItemPool
public:
SwAttrPool( SwDoc* pDoc );
+protected:
+ virtual ~SwAttrPool();
+public:
SwDoc* GetDoc() { return pDoc; }
const SwDoc* GetDoc() const { return pDoc; }