summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx7
-rw-r--r--vcl/source/gdi/pdfwriter_impl.hxx12
2 files changed, 8 insertions, 11 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 7a78058d7730..d75bdeb36d23 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -13042,4 +13042,11 @@ void PDFWriterImpl::addStream( const OUString& rMimeType, PDFOutputStream* pStre
}
}
+void PDFWriterImpl::MARK( const char* pString )
+{
+ beginStructureElementMCSeq();
+ if (g_bDebugDisableCompression)
+ emitComment( pString );
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx
index f658533d8625..d974442aae29 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -1219,17 +1219,7 @@ public:
// helper: eventually begin marked content sequence and
// emit a comment in debug case
- void MARK( const char*
-#if OSL_DEBUG_LEVEL > 1
- pString
-#endif
- )
- {
- beginStructureElementMCSeq();
-#if OSL_DEBUG_LEVEL > 1
- emitComment( pString );
-#endif
- }
+ void MARK( const char* pString );
};
class PdfBuiltinFontFace : public PhysicalFontFace