[Libreoffice-commits] core.git: Branch 'private/kohei/xlsx-import-speedup' - include/formula

Kohei Yoshida kohei.yoshida at collabora.com
Fri Nov 15 07:51:52 PST 2013


 include/formula/FormulaCompiler.hxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit fd0f4bdd1969b945e44f260c90c28e70de3d077c
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Fri Nov 15 10:52:59 2013 -0500

    Make FormulaCompiler explicitly non-copyable.
    
    Change-Id: Ie0618c7e6e3854d54f117c3fe957925f3f81ac46

diff --git a/include/formula/FormulaCompiler.hxx b/include/formula/FormulaCompiler.hxx
index b450ed6..a90bc82 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();


More information about the Libreoffice-commits mailing list