diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-11-15 10:52:59 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-11-18 17:25:37 -0500 |
commit | c32045fcf3045024245525b585f3cad0f4b21686 (patch) | |
tree | 003c4bc320dbdf2efd4c9c8a4cc117a3e4a6b864 /include/formula | |
parent | b8d4d3a59d022ee56b37a835ddb3a282344814e6 (diff) |
Make FormulaCompiler explicitly non-copyable.
Change-Id: Ie0618c7e6e3854d54f117c3fe957925f3f81ac46
Diffstat (limited to 'include/formula')
-rw-r--r-- | include/formula/FormulaCompiler.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/formula/FormulaCompiler.hxx b/include/formula/FormulaCompiler.hxx index b450ed69113e..a90bc82dede1 100644 --- a/include/formula/FormulaCompiler.hxx +++ b/include/formula/FormulaCompiler.hxx @@ -27,6 +27,7 @@ #include <boost/shared_ptr.hpp> #include <boost/unordered_map.hpp> +#include <boost/noncopyable.hpp> #include <com/sun/star/uno/Sequence.hxx> @@ -62,7 +63,7 @@ struct FormulaArrayStack typedef ::boost::unordered_map< OUString, OpCode, OUStringHash, ::std::equal_to< OUString > > OpCodeHashMap; typedef ::boost::unordered_map< OUString, OUString, OUStringHash, ::std::equal_to< OUString > > ExternalHashMap; -class FORMULA_DLLPUBLIC FormulaCompiler +class FORMULA_DLLPUBLIC FormulaCompiler : boost::noncopyable { public: FormulaCompiler(); |