summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index c5720c992ea5..d8d217d571ae 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -4715,8 +4715,7 @@ static void doc_initializeForRendering(LibreOfficeKitDocument* pThis,
}
else if (rArg.Name == ".uno:SignatureCa" && rArg.Value.has<OUString>())
{
- std::string aSignatureCa;
- aSignatureCa = rArg.Value.get<OUString>().toUtf8();
+ std::string aSignatureCa(rArg.Value.get<OUString>().toUtf8());
std::vector<std::string> aCerts = SfxLokHelper::extractCertificates(aSignatureCa);
SfxLokHelper::addCertificates(aCerts);
}
setParentStorage is always called with an empty referenceCaolán McNamara 2024-09-24Make an exceptin message more informativeStephan Bergmann 2024-09-18cid#1607362 Overflowed constantCaolán McNamara 2024-09-12use more concrete UNO types in ucbNoel Grandin 2024-08-27tdf#158556 use more comphelper::ByteReaderNoel Grandin 2024-08-23allow an exemption to be made for a specific hostCaolán McNamara 2024-08-22cid#1557276 COPY_INSTEAD_OF_MOVECaolán McNamara 2024-08-20A more precise SAL_WARN messageStephan Bergmann 2024-08-20cid#1557276 COPY_INSTEAD_OF_MOVECaolán McNamara 2024-08-19cid#1557694 COPY_INSTEAD_OF_MOVECaolán McNamara