diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-06 18:32:13 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-07 07:28:35 +0000 |
commit | f9b200ce54cd67ddc04747f9676568a86e14d864 (patch) | |
tree | 1211402d5a9c5737f0d4979d9719ac068e092eba /canvas/source/directx/dx_canvasfont.hxx | |
parent | 04216006ee038232067bcf74d67b14e8918063f2 (diff) |
tdf#94306 replace boost::noncopyable in canvas
Replace with C++11 delete copy-constructur
and copy-assignment.
Some helper classes had boost/noncopyable.hpp
included but didn't use it.
Change-Id: I339f2c413a944649d9d63c046e8b7f7ee6e46791
Reviewed-on: https://gerrit.libreoffice.org/23866
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'canvas/source/directx/dx_canvasfont.hxx')
-rw-r--r-- | canvas/source/directx/dx_canvasfont.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/canvas/source/directx/dx_canvasfont.hxx b/canvas/source/directx/dx_canvasfont.hxx index fbbdb61bfea5..1f96f7c2d45b 100644 --- a/canvas/source/directx/dx_canvasfont.hxx +++ b/canvas/source/directx/dx_canvasfont.hxx @@ -30,7 +30,6 @@ #include <rtl/ref.hxx> #include <memory> -#include <boost/noncopyable.hpp> #include "dx_winstuff.hxx" #include "dx_gdiplususer.hxx" @@ -47,11 +46,13 @@ namespace dxcanvas css::lang::XServiceInfo > CanvasFont_Base; class CanvasFont : public ::comphelper::OBaseMutex, - public CanvasFont_Base, - private ::boost::noncopyable + public CanvasFont_Base { public: typedef rtl::Reference<CanvasFont> ImplRef; + /// make noncopyable + CanvasFont(const CanvasFont&) = delete; + const CanvasFont& operator=(const CanvasFont&) = delete; CanvasFont( const css::rendering::FontRequest& fontRequest, const css::uno::Sequence< css::beans::PropertyValue >& extraFontProperties, |