diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-04-09 14:50:18 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-04-13 01:54:35 -0400 |
commit | 938d2f9502359f696b0680f249c8e644cd1caba0 (patch) | |
tree | 2704b5bcfcc378261f2c9de9246d3b5e0f13f844 /sfx2 | |
parent | dad7b573b8b56c346ddfae0e2be2fdb00a994b5a (diff) |
Make the impl class explicitly non-copyable.
Change-Id: I58971205bcb0c9f397c64556c84114c0390e8e96
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
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 <rtl/logfile.hxx> #include <osl/file.hxx> -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 <comphelper/storagehelper.hxx> #include <comphelper/mediadescriptor.hxx> #include <comphelper/configurationhelper.hxx> @@ -130,7 +124,14 @@ using namespace ::com::sun::star::io; #include "sfxacldetect.hxx" #include "officecfg/Office/Common.hxx" -//========================================================== +#include <boost/noncopyable.hpp> + +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; |