summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2015-02-11 22:56:53 +0100
committerAndras Timar <andras.timar@collabora.com>2015-03-04 03:15:48 -0800
commit50006a205ae7602e48c0a6fe1689bbc6012845cf (patch)
tree46cb77e646a51dc1f7be6a7a87583431f75cf337
parentec4afa74c0207bf538c5c4cd385724fc1c91252c (diff)
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()' (cherry picked from commit 8bb0446974282b32d06cdbd35af83f91e033b4af) see also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64812 Change-Id: Ic644a8299cf2f79f02c1e3ca0de9687520f402a9 Signed-off-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit 0ec8a13ed975be89098d31979c7b3e3794ca2aa6)
-rw-r--r--include/unotools/streamwrap.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unotools/streamwrap.hxx b/include/unotools/streamwrap.hxx
index c52d09e68e85..4eae03c3d434 100644
--- a/include/unotools/streamwrap.hxx
+++ b/include/unotools/streamwrap.hxx
@@ -125,12 +125,12 @@ typedef ::cppu::ImplHelper1 < ::com::sun::star::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();