[Libreoffice-commits] core.git: svl/source

Miklos Vajna vmiklos at collabora.co.uk
Mon Jul 17 06:07:39 UTC 2017


 svl/source/crypto/cryptosign.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit d0264b0748b16d63fdd213a9b9e826ced2dc42f2
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Jul 17 08:07:02 2017 +0200

    svl: fixup Android build fix
    
    Change-Id: I9f4b09ba48cd14e3cdd9cbd126d81f4b40bdb04b

diff --git a/svl/source/crypto/cryptosign.cxx b/svl/source/crypto/cryptosign.cxx
index fc53be7078a0..daaaa3c18413 100644
--- a/svl/source/crypto/cryptosign.cxx
+++ b/svl/source/crypto/cryptosign.cxx
@@ -72,6 +72,7 @@ using namespace com::sun::star;
 
 namespace {
 
+#if HAVE_FEATURE_NSS
 void appendHex( sal_Int8 nInt, OStringBuffer& rBuffer )
 {
     static const sal_Char pHexDigits[] = { '0', '1', '2', '3', '4', '5', '6', '7',
@@ -79,6 +80,7 @@ void appendHex( sal_Int8 nInt, OStringBuffer& rBuffer )
     rBuffer.append( pHexDigits[ (nInt >> 4) & 15 ] );
     rBuffer.append( pHexDigits[ nInt & 15 ] );
 }
+#endif // HAVE_FEATURE_NSS
 
 #if HAVE_FEATURE_NSS && !defined(_WIN32)
 
@@ -2282,10 +2284,9 @@ bool Signing::Verify(SvStream& rStream,
     // Not implemented.
     (void)rStream;
     (void)aByteRanges;
-    (void)bNonDetected;
+    (void)bNonDetached;
     (void)aSignature;
     (void)rInformation;
-static_assert(false, "WHAT!!!");
     return false;
 #endif
 }


More information about the Libreoffice-commits mailing list