summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/dlg/TemplateScanner.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-21 12:14:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-25 13:53:21 +0200
commit4583911575edf98ccd5b15af8eafa6a3a7b64034 (patch)
treef3f33e53c45dd870f19e7e42db9bb5b4bf1f23bf /sd/source/ui/dlg/TemplateScanner.cxx
parentweld HyperLink Dialog (diff)
downloadcore-4583911575edf98ccd5b15af8eafa6a3a7b64034.tar.gz
core-4583911575edf98ccd5b15af8eafa6a3a7b64034.zip
improve loplugin:simplifyconstruct
Change-Id: If863d28c6db470faa0d22273020888d4219e069e Reviewed-on: https://gerrit.libreoffice.org/74559 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/dlg/TemplateScanner.cxx')
-rw-r--r--sd/source/ui/dlg/TemplateScanner.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/TemplateScanner.cxx b/sd/source/ui/dlg/TemplateScanner.cxx
index 14e53a6b6fa2..f1f250f046fa 100644
--- a/sd/source/ui/dlg/TemplateScanner.cxx
+++ b/sd/source/ui/dlg/TemplateScanner.cxx
@@ -173,7 +173,7 @@ TemplateScanner::State TemplateScanner::ScanEntry()
OUString sContentType (xRow->getString (3));
OUString aId = xContentAccess->queryContentIdentifierString();
- ::ucbhelper::Content aContent = ::ucbhelper::Content (aId, mxEntryEnvironment, comphelper::getProcessComponentContext());
+ ::ucbhelper::Content aContent(aId, mxEntryEnvironment, comphelper::getProcessComponentContext());
if (aContent.isDocument ())
{
// Check whether the entry is an impress template. If so