summaryrefslogtreecommitdiff
path: root/sw/source/core/text/inftxt.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/text/inftxt.hxx')
-rw-r--r--sw/source/core/text/inftxt.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/text/inftxt.hxx b/sw/source/core/text/inftxt.hxx
index c9dabd6825b1..3354df5e45e4 100644
--- a/sw/source/core/text/inftxt.hxx
+++ b/sw/source/core/text/inftxt.hxx
@@ -156,8 +156,8 @@ protected:
SwViewShell *m_pVsh;
// m_pOut is the output device, m_pRef is the device used for formatting
- OutputDevice* m_pOut;
- OutputDevice* m_pRef;
+ VclPtr<OutputDevice> m_pOut;
+ VclPtr<OutputDevice> m_pRef;
// performance hack - this is only used by SwTxtFormatInfo but
// because it's not even possible to dynamic_cast these things