diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-10 11:24:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-10 11:24:39 +0200 |
commit | 8f703221a0dcc772a6d5f6087c77747c7759d16d (patch) | |
tree | a48bcb91cd5fcf002c8b1662cef92c0acd81ce9a /svx/source/xml | |
parent | 492c1da6be6ed7950bb58bd860748b81b52e7264 (diff) |
Clean up function declarations and some unused functions
Change-Id: Ic720aa7b30bbe56d67e0b65f3e047ad3ae521a97
Diffstat (limited to 'svx/source/xml')
-rw-r--r-- | svx/source/xml/xmlgrhlp.cxx | 18 | ||||
-rw-r--r-- | svx/source/xml/xmlxtexp.cxx | 1 | ||||
-rw-r--r-- | svx/source/xml/xmlxtimp.cxx | 2 |
3 files changed, 7 insertions, 14 deletions
diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx index 811e074adbe9..3f4a051a8151 100644 --- a/svx/source/xml/xmlgrhlp.cxx +++ b/svx/source/xml/xmlgrhlp.cxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + +#include <boost/noncopyable.hpp> #include <comphelper/string.hxx> #include <sal/macros.h> #include <com/sun/star/embed/XTransactedObject.hpp> @@ -69,7 +72,8 @@ const MetaCommentAction* ImplCheckForEPS( GDIMetaFile& rMtf ) return pComment; } -class SvXMLGraphicInputStream : public::cppu::WeakImplHelper1< XInputStream > +class SvXMLGraphicInputStream: + public cppu::WeakImplHelper1<XInputStream>, private boost::noncopyable { private: @@ -84,11 +88,6 @@ private: ::utl::TempFile maTmp; Reference< XInputStream > mxStmWrapper; - // not available - SvXMLGraphicInputStream(); - SvXMLGraphicInputStream( const SvXMLGraphicInputStream& ); - SvXMLGraphicInputStream& operator==( SvXMLGraphicInputStream& ); - public: SvXMLGraphicInputStream( const OUString& rGraphicId ); @@ -199,7 +198,8 @@ void SAL_CALL SvXMLGraphicInputStream::closeInput() throw( NotConnectedException mxStmWrapper->closeInput(); } -class SvXMLGraphicOutputStream : public::cppu::WeakImplHelper1< XOutputStream > +class SvXMLGraphicOutputStream: + public cppu::WeakImplHelper1<XOutputStream>, private boost::noncopyable { private: @@ -216,10 +216,6 @@ private: GraphicObject maGrfObj; sal_Bool mbClosed; - // not available - SvXMLGraphicOutputStream( const SvXMLGraphicOutputStream& ); - SvXMLGraphicOutputStream& operator==( SvXMLGraphicOutputStream& ); - public: SvXMLGraphicOutputStream(); diff --git a/svx/source/xml/xmlxtexp.cxx b/svx/source/xml/xmlxtexp.cxx index cd36fb985006..dce846eaaae0 100644 --- a/svx/source/xml/xmlxtexp.cxx +++ b/svx/source/xml/xmlxtexp.cxx @@ -88,7 +88,6 @@ class SvxXMLLineEndEntryExporter : public SvxXMLTableEntryExporter { public: SvxXMLLineEndEntryExporter( SvXMLExport& rExport ); - SvxXMLLineEndEntryExporter(); virtual ~SvxXMLLineEndEntryExporter(); virtual void exportEntry( const OUString& rStrName, const Any& rValue ) SAL_OVERRIDE; diff --git a/svx/source/xml/xmlxtimp.cxx b/svx/source/xml/xmlxtimp.cxx index e8ad9d47ceae..bce885e94a86 100644 --- a/svx/source/xml/xmlxtimp.cxx +++ b/svx/source/xml/xmlxtimp.cxx @@ -89,8 +89,6 @@ public: virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< XAttributeList >& xAttrList ) SAL_OVERRIDE; - SvxXMLXTableImport& getImport() const { return *(SvxXMLXTableImport*)&GetImport(); } - protected: void importColor( sal_uInt16 nPrfx, const OUString& rLocalName, const uno::Reference< XAttributeList >& xAttrList, Any& rAny, OUString& rName ); void importMarker( sal_uInt16 nPrfx, const OUString& rLocalName, const uno::Reference< XAttributeList >& xAttrList, Any& rAny, OUString& rName ); |