Kaydet (Commit) 8de63ad5 authored tarafından Caolán McNamara's avatar Caolán McNamara

some more de-boostification

Change-Id: I8ee8fd7b99598e484430d91e17e468951288d72d
üst 0f46d906
......@@ -25,9 +25,6 @@
#include <rtl/ustring.hxx>
#include <tools/debug.hxx>
#include <boost/shared_ptr.hpp>
#include <boost/noncopyable.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <formula/opcode.hxx>
......@@ -35,6 +32,7 @@
#include <formula/token.hxx>
#include <formula/ExternalReferenceHelper.hxx>
#include <memory>
#include <unordered_map>
#define FORMULA_MAXJUMPCOUNT 32 /* maximum number of jumps (ocChoose) */
......@@ -64,8 +62,11 @@ struct FormulaArrayStack
typedef std::unordered_map< OUString, OpCode, OUStringHash, ::std::equal_to< OUString > > OpCodeHashMap;
typedef std::unordered_map< OUString, OUString, OUStringHash, ::std::equal_to< OUString > > ExternalHashMap;
class FORMULA_DLLPUBLIC FormulaCompiler : boost::noncopyable
class FORMULA_DLLPUBLIC FormulaCompiler
{
private:
FormulaCompiler(const FormulaCompiler&) SAL_DELETED_FUNCTION;
FormulaCompiler& operator=(const FormulaCompiler&) SAL_DELETED_FUNCTION;
public:
FormulaCompiler();
FormulaCompiler(FormulaTokenArray& _rArr);
......@@ -191,8 +192,8 @@ public:
};
public:
typedef ::boost::shared_ptr< const OpCodeMap > OpCodeMapPtr;
typedef ::boost::shared_ptr< OpCodeMap > NonConstOpCodeMapPtr;
typedef std::shared_ptr< const OpCodeMap > OpCodeMapPtr;
typedef std::shared_ptr< OpCodeMap > NonConstOpCodeMapPtr;
/** Get OpCodeMap for formula language.
@param nLanguage
......
......@@ -24,7 +24,6 @@
#include <vcl/image.hxx>
#include <vcl/lstbox.hxx>
#include <vcl/combobox.hxx>
#include <boost/noncopyable.hpp>
#define LANG_LIST_EMPTY 0x0000
......@@ -45,12 +44,14 @@
// locale, such as Arabic as
// opposed to Arabic-Egypt.
// load language strings from resource
SVX_DLLPUBLIC OUString GetDicInfoStr( const OUString& rName, const sal_uInt16 nLang, bool bNeg );
class SVX_DLLPUBLIC SvxLanguageBoxBase : boost::noncopyable
class SVX_DLLPUBLIC SvxLanguageBoxBase
{
private:
SvxLanguageBoxBase(const SvxLanguageBoxBase&) SAL_DELETED_FUNCTION;
SvxLanguageBoxBase& operator=(const SvxLanguageBoxBase&) SAL_DELETED_FUNCTION;
public:
explicit SvxLanguageBoxBase( bool bCheck );
virtual ~SvxLanguageBoxBase();
......
......@@ -20,7 +20,6 @@
#ifndef INCLUDED_SVX_SDR_OVERLAY_OVERLAYMANAGER_HXX
#define INCLUDED_SVX_SDR_OVERLAY_OVERLAYMANAGER_HXX
#include <boost/utility.hpp>
#include <rtl/ref.hxx>
#include <svx/sdr/animation/scheduler.hxx>
#include <svx/sdr/overlay/overlayobject.hxx>
......@@ -54,10 +53,13 @@ namespace sdr
namespace overlay
{
class SVX_DLLPUBLIC OverlayManager
: private boost::noncopyable
, protected ::sdr::animation::Scheduler
: protected ::sdr::animation::Scheduler
, public salhelper::SimpleReferenceObject
{
private:
OverlayManager(const OverlayManager&) SAL_DELETED_FUNCTION;
OverlayManager& operator=(const OverlayManager&) SAL_DELETED_FUNCTION;
protected:
// the OutputDevice to work on, set on construction and not to be changed
OutputDevice& rmOutputDevice;
......
......@@ -56,9 +56,12 @@ namespace sdr
{
namespace overlay
{
class SVX_DLLPUBLIC OverlayObject : private ::boost::noncopyable, public ::sdr::animation::Event
class SVX_DLLPUBLIC OverlayObject : public ::sdr::animation::Event
{
private:
OverlayObject(const OverlayObject&) SAL_DELETED_FUNCTION;
OverlayObject& operator=(const OverlayObject&) SAL_DELETED_FUNCTION;
// Manager is allowed access to private Member mpOverlayManager
friend class OverlayManager;
......
......@@ -27,7 +27,6 @@
#include <cppuhelper/implbase3.hxx>
#include <boost/noncopyable.hpp>
#include <memory>
namespace toolkit
......@@ -45,7 +44,6 @@ namespace toolkit
> AnimatedImagesPeer_Base;
class AnimatedImagesPeer :public AnimatedImagesPeer_Base
,public ::boost::noncopyable
{
public:
AnimatedImagesPeer();
......@@ -86,6 +84,9 @@ namespace toolkit
void impl_updateImages_nolck( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& i_animatedImages );
private:
AnimatedImagesPeer(const AnimatedImagesPeer&) SAL_DELETED_FUNCTION;
AnimatedImagesPeer& operator=(const AnimatedImagesPeer&) SAL_DELETED_FUNCTION;
std::unique_ptr< AnimatedImagesPeer_Data > m_xData;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment