summaryrefslogtreecommitdiff
path: root/filter/source/xmlfilteradaptor
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-25 10:19:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-25 10:27:28 +0000
commit4b438423453705ec77bf9e2dfce575fc62655764 (patch)
tree98cc2f5a43d7323d311b8bc7ecb79b5d828867f8 /filter/source/xmlfilteradaptor
parentb2c58db4baba996e4a1feb6621a75cc8e52e2bb8 (diff)
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'filter/source/xmlfilteradaptor')
-rw-r--r--filter/source/xmlfilteradaptor/streamwrap.hxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/filter/source/xmlfilteradaptor/streamwrap.hxx b/filter/source/xmlfilteradaptor/streamwrap.hxx
index 53f865475a22..3751e3b48953 100644
--- a/filter/source/xmlfilteradaptor/streamwrap.hxx
+++ b/filter/source/xmlfilteradaptor/streamwrap.hxx
@@ -34,13 +34,6 @@
#include <com/sun/star/io/XSeekable.hpp>
#include <cppuhelper/implbase1.hxx>
-#define DECLARE_UNO3_AGG_DEFAULTS(classname, baseclass) \
-virtual void SAL_CALL acquire() throw() { baseclass::acquire(); } \
-virtual void SAL_CALL release() throw() { baseclass::release(); } \
-virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException) \
-{ return baseclass::queryInterface(_rType); } \
-void SAL_CALL PUT_SEMICOLON_AT_THE_END()
-
namespace osl
{
class File;
@@ -63,9 +56,6 @@ class OOutputStreamWrapper : public OutputStreamWrapper_Base
public:
OOutputStreamWrapper(::osl::File& _rStream) :rStream(_rStream) { }
-// UNO Anbindung
- DECLARE_UNO3_AGG_DEFAULTS(OOutputStreamWrapper, OutputStreamWrapper_Base);
-
// stario::XOutputStream
virtual void SAL_CALL writeBytes(const staruno::Sequence< sal_Int8 >& aData) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
virtual void SAL_CALL flush() throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);