summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-25 09:44:25 +0200
committerNoel Grandin <noel@peralex.com>2014-02-25 15:17:00 +0200
commit9321117acdb64a977b000dfc44d296dddd37500d (patch)
treeb3691343d5b7b52de82fa1649919e239f6aaa866
parent497a24b22e452e1b50bdb730bcc29642eb1db2b0 (diff)
remove unused code oox::core::Decrypt::aes128cbc
Change-Id: I12478278de8b719c51b87c335abd5c440a56bd36
-rw-r--r--include/oox/crypto/CryptTools.hxx5
-rw-r--r--oox/source/crypto/CryptTools.cxx8
-rw-r--r--unusedcode.easy1
3 files changed, 0 insertions, 14 deletions
diff --git a/include/oox/crypto/CryptTools.hxx b/include/oox/crypto/CryptTools.hxx
index 5b87296b310e..ae2c6f6f4209 100644
--- a/include/oox/crypto/CryptTools.hxx
+++ b/include/oox/crypto/CryptTools.hxx
@@ -101,11 +101,6 @@ public:
std::vector<sal_uInt8>& input,
std::vector<sal_uInt8>& key );
- static sal_uInt32 aes128cbc(
- std::vector<sal_uInt8>& output,
- std::vector<sal_uInt8>& input,
- std::vector<sal_uInt8>& key,
- std::vector<sal_uInt8>& iv );
};
class Encrypt : public Crypto
diff --git a/oox/source/crypto/CryptTools.cxx b/oox/source/crypto/CryptTools.cxx
index d9ba500e905d..d025609ecd7f 100644
--- a/oox/source/crypto/CryptTools.cxx
+++ b/oox/source/crypto/CryptTools.cxx
@@ -147,14 +147,6 @@ sal_uInt32 Decrypt::aes128ecb(vector<sal_uInt8>& output, vector<sal_uInt8>& inpu
return outputLength;
}
-sal_uInt32 Decrypt::aes128cbc(vector<sal_uInt8>& output, vector<sal_uInt8>& input, vector<sal_uInt8>& key, vector<sal_uInt8>& iv)
-{
- sal_uInt32 outputLength = 0;
- Decrypt crypto(key, iv, Crypto::AES_128_CBC);
- outputLength = crypto.update(output, input);
- return outputLength;
-}
-
// ENCRYPT
Encrypt::Encrypt(vector<sal_uInt8>& key, vector<sal_uInt8>& iv, CryptoType type) :
diff --git a/unusedcode.easy b/unusedcode.easy
index a0a593af8436..60fee99b4f96 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -301,7 +301,6 @@ formula::SingleVectorRefToken::SingleVectorRefToken(double const*, unsigned long
oglcanvas::CanvasHelper::flush() const
oglcanvas::TextLayout::draw(com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&, com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&) const
oox::AttributeConversion::decodeDouble(rtl::OUString const&)
-oox::core::Decrypt::aes128cbc(std::vector<unsigned char, std::allocator<unsigned char> >&, std::vector<unsigned char, std::allocator<unsigned char> >&, std::vector<unsigned char, std::allocator<unsigned char> >&, std::vector<unsigned char, std::allocator<unsigned char> >&)
oox::xls::BiffDrawingObjectBase::BiffDrawingObjectBase(oox::xls::WorksheetHelper const&)
oox::xls::WorkbookHelper::getDocShell()
oox::xls::WorksheetGlobals::getColumns(oox::ValueRange const&) const