summaryrefslogtreecommitdiff
path: root/oox/qa/unit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-06-04 13:57:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-06-04 18:10:45 +0200
commit54e35feef17580cfcbf0a2db1272fb05c85e2348 (patch)
treecdf05c5371b2f957b3b9ca43c4b623a5180a37d2 /oox/qa/unit
parent5d9348b13674baf1d27f406767274e764c758bd5 (diff)
Upcoming loplugin:elidestringvar: oox
Change-Id: I74da8354fe58c2800a7aaa4145356f61b388dc58 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95507 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'oox/qa/unit')
-rw-r--r--oox/qa/unit/vba_encryption.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/oox/qa/unit/vba_encryption.cxx b/oox/qa/unit/vba_encryption.cxx
index 7e8a44cd9c20..326711cae9fc 100644
--- a/oox/qa/unit/vba_encryption.cxx
+++ b/oox/qa/unit/vba_encryption.cxx
@@ -73,8 +73,7 @@ void TestVbaEncryption::testSimple2()
void TestVbaEncryption::testProjKey1()
{
- OUString const aProjectID("{917DED54-440B-4FD1-A5C1-74ACF261E600}");
- sal_uInt8 nProjKey = VBAEncryption::calculateProjKey(aProjectID);
+ sal_uInt8 nProjKey = VBAEncryption::calculateProjKey("{917DED54-440B-4FD1-A5C1-74ACF261E600}");
CPPUNIT_ASSERT_EQUAL(int(0xdf), static_cast<int>(nProjKey));
}