diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-15 20:41:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-16 12:54:44 +0000 |
commit | a1ceacc17e3f30d5e9c06b3218ad8ec26ca2f1b9 (patch) | |
tree | 56a29f66f75f326a0a677ab1697ce28f1bc9fcbf /vcl/inc/unx/gtk | |
parent | 18f41dfaf19d656d290c47d196ef2702e169a522 (diff) |
boost::foo_ptr->std::foo_ptr
Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a
Diffstat (limited to 'vcl/inc/unx/gtk')
-rw-r--r-- | vcl/inc/unx/gtk/gtkinst.hxx | 6 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/gtkprn.hxx | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/vcl/inc/unx/gtk/gtkinst.hxx b/vcl/inc/unx/gtk/gtkinst.hxx index e8fb76c374f4..642038056630 100644 --- a/vcl/inc/unx/gtk/gtkinst.hxx +++ b/vcl/inc/unx/gtk/gtkinst.hxx @@ -20,8 +20,6 @@ #ifndef INCLUDED_VCL_INC_UNX_GTK_GTKINST_HXX #define INCLUDED_VCL_INC_UNX_GTK_GTKINST_HXX -#include <boost/shared_ptr.hpp> - #include <unx/salinst.h> #include <generic/gensys.h> #include <headless/svpinst.hxx> @@ -102,14 +100,14 @@ public: void addEvent( sal_uInt16 nMask ); void subtractEvent( sal_uInt16 nMask ); - boost::shared_ptr<vcl::unx::GtkPrintWrapper> getPrintWrapper() const; + std::shared_ptr<vcl::unx::GtkPrintWrapper> getPrintWrapper() const; private: std::vector<GtkSalTimer *> m_aTimers; bool IsTimerExpired(); bool bNeedsInit; - mutable boost::shared_ptr<vcl::unx::GtkPrintWrapper> m_pPrintWrapper; + mutable std::shared_ptr<vcl::unx::GtkPrintWrapper> m_xPrintWrapper; }; #endif // INCLUDED_VCL_INC_UNX_GTK_GTKINST_HXX diff --git a/vcl/inc/unx/gtk/gtkprn.hxx b/vcl/inc/unx/gtk/gtkprn.hxx index 1e9cddc7cd9a..478048a22fe0 100644 --- a/vcl/inc/unx/gtk/gtkprn.hxx +++ b/vcl/inc/unx/gtk/gtkprn.hxx @@ -12,7 +12,7 @@ #include "generic/genprn.h" -#include <boost/scoped_ptr.hpp> +#include <memory> struct GtkSalPrinter_Impl; @@ -35,7 +35,7 @@ private: int i_nCopies, bool i_bCollate, vcl::PrinterController& io_rController); private: - boost::scoped_ptr<GtkSalPrinter_Impl> m_pImpl; + std::unique_ptr<GtkSalPrinter_Impl> m_xImpl; }; class VCL_DLLPUBLIC GtkSalInfoPrinter : public PspSalInfoPrinter |