summaryrefslogtreecommitdiff
path: root/tools/source/zcodec/zcodec.cxx
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2014-02-18 19:17:46 +0100
committerJan Holesovsky <kendy@collabora.com>2014-02-18 19:57:31 +0100
commit3db6d2cb99f9559ba29759990675e469613a8bb0 (patch)
treec57d319129e59438d9c63ee8e7e31c53431b8ff2 /tools/source/zcodec/zcodec.cxx
parent7fd180c9d0014ac275422501e70e5122026eb364 (diff)
GCC 4.9, LTO: libvcl uses GZCodec but it is not linked with the implementation
This is not valid C++ and GCC now resolves the virtual calls and inlines destructor that leads to undefined symbols. Change-Id: I841d25bc6f994f0e73665b174994f9471597131e
Diffstat (limited to 'tools/source/zcodec/zcodec.cxx')
-rw-r--r--tools/source/zcodec/zcodec.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/source/zcodec/zcodec.cxx b/tools/source/zcodec/zcodec.cxx
index fe2e573699b1..dd993f1a1176 100644
--- a/tools/source/zcodec/zcodec.cxx
+++ b/tools/source/zcodec/zcodec.cxx
@@ -413,9 +413,4 @@ sal_uIntPtr ZCodec::UpdateCRC ( sal_uIntPtr nLatestCRC, sal_uInt8* pSource, long
return rtl_crc32( nLatestCRC, pSource, nDatSize );
}
-void GZCodec::BeginCompression( sal_uIntPtr nCompressMethod )
-{
- ZCodec::BeginCompression( nCompressMethod | ZCODEC_GZ_LIB );
-};
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */