From 5c5e809605d750d87ae7a5334f8406894f6a4184 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Tue, 4 Nov 2014 00:56:45 +0900 Subject: mark as noncopyable Change-Id: Ic464974087f9f8fb161aaffde232668ba01c2f62 --- starmath/inc/parse.hxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'starmath') diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx index 22de086b2282..c74099114284 100644 --- a/starmath/inc/parse.hxx +++ b/starmath/inc/parse.hxx @@ -26,6 +26,7 @@ #include "types.hxx" +#include #include class SmNode; @@ -169,7 +170,7 @@ struct SmTokenTableEntry sal_uInt16 nLevel; }; -class SmParser +class SmParser : boost::noncopyable { OUString m_aBufferString; SmToken m_aCurToken; @@ -190,10 +191,6 @@ class SmParser //! locale where '.' is decimal separator! ::com::sun::star::lang::Locale m_aDotLoc; - // declare copy-constructor and assignment-operator private - SmParser(const SmParser &); - SmParser & operator = (const SmParser &); - protected: #if OSL_DEBUG_LEVEL > 1 bool IsDelimiter( const OUString &rTxt, sal_Int32 nPos ); -- cgit v1.2.3