summaryrefslogtreecommitdiffstats
path: root/unotest/source/cpp/filters-test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotest/source/cpp/filters-test.cxx')
-rw-r--r--unotest/source/cpp/filters-test.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/unotest/source/cpp/filters-test.cxx b/unotest/source/cpp/filters-test.cxx
index 384302eec0bd..6ed09e6e6a3f 100644
--- a/unotest/source/cpp/filters-test.cxx
+++ b/unotest/source/cpp/filters-test.cxx
@@ -23,12 +23,12 @@ namespace test {
void decode(const OUString& rIn, const OUString &rOut)
{
rtlCipher cipher = rtl_cipher_create(rtl_Cipher_AlgorithmARCFOUR, rtl_Cipher_ModeStream);
- CPPUNIT_ASSERT_MESSAGE("cipher creation failed", cipher != 0);
+ CPPUNIT_ASSERT_MESSAGE("cipher creation failed", cipher != nullptr);
//mcrypt --bare -a arcfour -o hex -k 435645 -s 3
const sal_uInt8 aKey[3] = {'C', 'V', 'E'};
- rtlCipherError result = rtl_cipher_init(cipher, rtl_Cipher_DirectionDecode, aKey, SAL_N_ELEMENTS(aKey), 0, 0);
+ rtlCipherError result = rtl_cipher_init(cipher, rtl_Cipher_DirectionDecode, aKey, SAL_N_ELEMENTS(aKey), nullptr, 0);
CPPUNIT_ASSERT_EQUAL_MESSAGE("cipher init failed", rtl_Cipher_E_None, result);
@@ -111,7 +111,7 @@ void FiltersTest::recursiveScan(filterStatus nExpected,
OUString realUrl;
if (bEncrypted)
{
- CPPUNIT_ASSERT_EQUAL(osl::FileBase::E_None, osl::FileBase::createTempFile(NULL, NULL, &sTmpFile));
+ CPPUNIT_ASSERT_EQUAL(osl::FileBase::E_None, osl::FileBase::createTempFile(nullptr, nullptr, &sTmpFile));
decode(sURL, sTmpFile);
realUrl = sTmpFile;
}