[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - include/unotools

David Tardon dtardon at redhat.com
Thu Feb 12 01:45:31 PST 2015


 include/unotools/streamwrap.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5058d8d72e139101ed267ed6e72fcd9b3cd026a5
Author: David Tardon <dtardon at redhat.com>
Date:   Wed Feb 11 22:56:53 2015 +0100

    fix linker error
    
    /builddir/build/BUILD/libreoffice-4.4.1.1/workdir/CxxObject/svtools/source/misc/imageresourceaccess.o: In function `com::sun::star::uno::Reference<com::sun::star::io::XOutputStream>::Reference(com::sun::star::io::XOutputStream*)':
    /builddir/build/BUILD/libreoffice-4.4.1.1/include/com/sun/star/uno/Reference.hxx:137: undefined reference to `non-virtual thunk to utl::OSeekableOutputStreamWrapper::acquire()'
    
    Change-Id: Ic644a8299cf2f79f02c1e3ca0de9687520f402a9
    (cherry picked from commit 8bb0446974282b32d06cdbd35af83f91e033b4af)
    Reviewed-on: https://gerrit.libreoffice.org/14437
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/include/unotools/streamwrap.hxx b/include/unotools/streamwrap.hxx
index e8027ce..8efc227 100644
--- a/include/unotools/streamwrap.hxx
+++ b/include/unotools/streamwrap.hxx
@@ -123,12 +123,12 @@ typedef ::cppu::ImplHelper1 <   css::io::XSeekable
 /** helper class for wrapping an SvStream into an com.sun.star.io::XOutputStream
     which is seekable (i.e. supports the com.sun.star.io::XSeekable interface).
 */
-class OSeekableOutputStreamWrapper
+class UNOTOOLS_DLLPUBLIC OSeekableOutputStreamWrapper
                 :public OOutputStreamWrapper
                 ,public OSeekableOutputStreamWrapper_Base
 {
 public:
-    UNOTOOLS_DLLPUBLIC OSeekableOutputStreamWrapper(SvStream& _rStream);
+    OSeekableOutputStreamWrapper(SvStream& _rStream);
 
 private:
     virtual ~OSeekableOutputStreamWrapper();


More information about the Libreoffice-commits mailing list