summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-09 11:40:29 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-09 11:40:29 +0200
commit91594e7fd5f8f36fe5c99c8d04b3473e370fa365 (patch)
treeb8aee7dddf00c5254a2fa67df78fcc89828f4596
parent33ca6057e3ad69498f54562f0869e212dddb0c11 (diff)
PDFWriterImpl::finalizeSignature: -Werror=unused-variable
Change-Id: Iaa7a717dad87e092f5b259054d9c79ad3e7ae642
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 116fffa7a375..f63a33917105 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -6185,8 +6185,11 @@ bool PDFWriterImpl::finalizeSignature()
if (!derEncoded.hasElements())
return false;
+#if 0
+ // FIXME TODO
sal_Int8* n_derArray = derEncoded.getArray();
sal_Int32 n_derLength = derEncoded.getLength();
+#endif
// 4- overwrite the PKCS7 content to the m_nSignatureContentOffset
CHECK_RETURN( (osl_File_E_None == osl_setFilePos( m_aFile, osl_Pos_Absolut, m_nSignatureContentOffset ) ) );