From 938d2f9502359f696b0680f249c8e644cd1caba0 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 9 Apr 2013 14:50:18 -0400 Subject: Make the impl class explicitly non-copyable. Change-Id: I58971205bcb0c9f397c64556c84114c0390e8e96 --- sfx2/source/doc/docfile.cxx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'sfx2/source') diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index a339ee45301f..3d57ae8b1499 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -88,12 +88,6 @@ #include #include -using namespace ::com::sun::star; -using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::ucb; -using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::io; - #include #include #include @@ -130,7 +124,14 @@ using namespace ::com::sun::star::io; #include "sfxacldetect.hxx" #include "officecfg/Office/Common.hxx" -//========================================================== +#include + +using namespace ::com::sun::star; +using namespace ::com::sun::star::uno; +using namespace ::com::sun::star::ucb; +using namespace ::com::sun::star::beans; +using namespace ::com::sun::star::io; + namespace { static const sal_Int8 LOCK_UI_NOLOCK = 0; @@ -243,8 +244,7 @@ void SAL_CALL SfxMediumHandler_Impl::handle( const com::sun::star::uno::Referenc m_xInter->handle( xRequest ); } -//---------------------------------------------------------------- -class SfxMedium_Impl +class SfxMedium_Impl : boost::noncopyable { public: StreamMode m_nStorOpenMode; -- cgit