summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-03-19 17:16:37 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 12:22:40 +0100
commitd2d83f5a8a0f6f84c4e2692229c960b6677878ef (patch)
tree7309144c1dd985764e3e63c595b0d5f04b76f027 /uui
parentaeacfe0967f930f5e16711a32b90784fc856f0ec (diff)
Move OutputDevice members to VclPtr: filter, reportdesign, uui.
Change-Id: Iafac8812714a0be68f5608f657c76c159f2912a0
Diffstat (limited to 'uui')
-rw-r--r--uui/source/fltdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/fltdlg.cxx b/uui/source/fltdlg.cxx
index 1bd824bf1934..c2135bead606 100644
--- a/uui/source/fltdlg.cxx
+++ b/uui/source/fltdlg.cxx
@@ -169,7 +169,7 @@ class StringCalculator : public ::cppu::WeakImplHelper1< ::com::sun::star::util:
{
public:
StringCalculator( const OutputDevice* pDevice )
- : m_pDevice( pDevice )
+ : m_pDevice( const_cast< OutputDevice * >( pDevice ) )
{
}
@@ -179,7 +179,7 @@ class StringCalculator : public ::cppu::WeakImplHelper1< ::com::sun::star::util:
}
private:
- const OutputDevice* m_pDevice;
+ VclPtr<OutputDevice> m_pDevice;
};
/*-************************************************************************************************************