[Libreoffice-commits] .: filter/source

Caolán McNamara caolan at kemper.freedesktop.org
Tue Jan 25 02:34:40 PST 2011


 filter/source/xmlfilteradaptor/streamwrap.hxx |   10 ----------
 1 file changed, 10 deletions(-)

New commits:
commit ad227115601d40fe7eb43ea579832f3de4614b03
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Jan 25 10:19:56 2011 +0000

    WaE: gcc 4.6.0 various warnings

diff --git a/filter/source/xmlfilteradaptor/streamwrap.hxx b/filter/source/xmlfilteradaptor/streamwrap.hxx
index 369a7bb..2a1a2ce 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);


More information about the Libreoffice-commits mailing list