summaryrefslogtreecommitdiffstats
path: root/lib/libchmfile/libchmfileimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libchmfile/libchmfileimpl.cpp')
-rw-r--r--lib/libchmfile/libchmfileimpl.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/libchmfile/libchmfileimpl.cpp b/lib/libchmfile/libchmfileimpl.cpp
index 39268b0..a5ad04c 100644
--- a/lib/libchmfile/libchmfileimpl.cpp
+++ b/lib/libchmfile/libchmfileimpl.cpp
@@ -531,13 +531,8 @@ bool LCHMFileImpl::ResolveObject(const TQString& fileName, chmUnitInfo *ui) cons
size_t LCHMFileImpl::RetrieveObject(const chmUnitInfo *ui, unsigned char *buffer,
LONGUINT64 fileOffset, LONGINT64 bufferSize) const
{
-#if USE_BUILTIN_CHMLIB
- return ::chm_retrieve_object(m_chmFile, ui, buffer,
- fileOffset, bufferSize);
-#else
return ::chm_retrieve_object(m_chmFile, const_cast<chmUnitInfo*>(ui),
buffer, fileOffset, bufferSize);
-#endif
}