summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-11-04 00:56:45 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2014-11-04 10:19:49 +0900
commit5c5e809605d750d87ae7a5334f8406894f6a4184 (patch)
treeb3f859267c830d996afc3dc5e62e582614d36498 /starmath
parent67276f70039c460332eabc00bd4109d301b2f40a (diff)
mark as noncopyable
Change-Id: Ic464974087f9f8fb161aaffde232668ba01c2f62
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/parse.hxx7
1 files changed, 2 insertions, 5 deletions
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 <boost/noncopyable.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
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 );