diff options
author | Michael Stahl <mstahl@redhat.com> | 2011-10-11 18:58:57 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2011-10-11 19:01:47 +0200 |
commit | 1eb7b69ef4d58da1459a07a9e562e873ab1078c0 (patch) | |
tree | d54524bf3780951189adbc868a5dc774ffadbf56 /xmloff | |
parent | 8025a41b80d0de2c5fddc3d2d74d2ad34181afe5 (diff) |
xmluconv.hxx: noncopyable (thank you tinderbox)
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/xmloff/xmluconv.hxx | 3 | ||||
-rw-r--r-- | xmloff/source/style/DashStyle.cxx | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/xmloff/inc/xmloff/xmluconv.hxx b/xmloff/inc/xmloff/xmluconv.hxx index a5064fd67ff0..2f822def8342 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 f80375c80aeb..608a7b709848 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; |