summaryrefslogtreecommitdiff
path: root/include/toolkit
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-06 09:46:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-06 16:45:13 +0000
commitc7258cfccdf9f4c5235da1b135801f957a5b0ec1 (patch)
treed5af5085ad1327afe2d41045ea452e017fea1fb6 /include/toolkit
parent027c383584bff4ea2aa7aa2b9e294e614087f28f (diff)
shared_ptr<T>(new T(args)) -> make_shared<T>(args)
and boost:make_shared->std::make_shared Change-Id: Ic1e187c52c856a7b27817967b2caa8920f23a98d
Diffstat (limited to 'include/toolkit')
-rw-r--r--include/toolkit/awt/vclxprinter.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/toolkit/awt/vclxprinter.hxx b/include/toolkit/awt/vclxprinter.hxx
index 434c47a2c2da..71289fe86857 100644
--- a/include/toolkit/awt/vclxprinter.hxx
+++ b/include/toolkit/awt/vclxprinter.hxx
@@ -56,7 +56,7 @@ class VCLXPrinterPropertySet :public VCLXPrinterPropertySet_Base
,public ::cppu::OPropertySetHelper
{
protected:
- boost::shared_ptr<Printer> mpPrinter;
+ std::shared_ptr<Printer> mxPrinter;
::com::sun::star::uno::Reference< ::com::sun::star::awt::XDevice > mxPrnDevice;
sal_Int16 mnOrientation;
@@ -65,7 +65,7 @@ public:
VCLXPrinterPropertySet( const OUString& rPrinterName );
virtual ~VCLXPrinterPropertySet();
- Printer* GetPrinter() const { return mpPrinter.get(); }
+ Printer* GetPrinter() const { return mxPrinter.get(); }
::com::sun::star::uno::Reference< ::com::sun::star::awt::XDevice > GetDevice();
// ::com::sun::star::uno::XInterface
@@ -107,8 +107,8 @@ typedef ::cppu::ImplInheritanceHelper1 < VCLXPrinterPropertySet
> VCLXPrinter_Base;
class VCLXPrinter: public VCLXPrinter_Base
{
- boost::shared_ptr<vcl::OldStylePrintAdaptor> mpListener;
- JobSetup maInitJobSetup;
+ std::shared_ptr<vcl::OldStylePrintAdaptor> mxListener;
+ JobSetup maInitJobSetup;
public:
VCLXPrinter( const OUString& rPrinterName );
virtual ~VCLXPrinter();