[Libreoffice-commits] .: xmloff/inc xmloff/source

Michael Stahl mst at kemper.freedesktop.org
Tue Oct 11 10:02:48 PDT 2011


 xmloff/inc/xmloff/xmluconv.hxx    |    3 +++
 xmloff/source/style/DashStyle.cxx |    2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 1eb7b69ef4d58da1459a07a9e562e873ab1078c0
Author: Michael Stahl <mstahl at redhat.com>
Date:   Tue Oct 11 18:58:57 2011 +0200

    xmluconv.hxx: noncopyable (thank you tinderbox)

diff --git a/xmloff/inc/xmloff/xmluconv.hxx b/xmloff/inc/xmloff/xmluconv.hxx
index a5064fd..2f822de 100644
--- a/xmloff/inc/xmloff/xmluconv.hxx
+++ b/xmloff/inc/xmloff/xmluconv.hxx
@@ -35,6 +35,8 @@
 
 #include <memory>
 #include <limits.h>
+#include <boost/utility.hpp>
+
 #include <tools/solar.h>
 #include <xmloff/xmlement.hxx>
 #include <xmloff/xmltoken.hxx>
@@ -90,6 +92,7 @@ public:
 */
 
 class XMLOFF_DLLPUBLIC SvXMLUnitConverter
+    : private ::boost::noncopyable
 {
 private:
     struct Impl;
diff --git a/xmloff/source/style/DashStyle.cxx b/xmloff/source/style/DashStyle.cxx
index f80375c..608a7b7 100644
--- a/xmloff/source/style/DashStyle.cxx
+++ b/xmloff/source/style/DashStyle.cxx
@@ -243,7 +243,7 @@ sal_Bool XMLDashStyleExport::exportXML(
 {
     sal_Bool bRet = sal_False;
 
-    SvXMLUnitConverter rUnitConverter = rExport.GetMM100UnitConverter();
+    SvXMLUnitConverter & rUnitConverter = rExport.GetMM100UnitConverter();
 
     drawing::LineDash aLineDash;
 


More information about the Libreoffice-commits mailing list