summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
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 );