From 6561fc32afaa0ca992ae988b6d08c62e3e516d43 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 26 Jun 2017 14:47:52 +0200 Subject: loplugin:oncevar in svx Change-Id: I22a3a13e059ac7d3479f12860564fe3eb1b55e44 Reviewed-on: https://gerrit.libreoffice.org/39282 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/qa/unit/xoutdev.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/qa/unit') diff --git a/svx/qa/unit/xoutdev.cxx b/svx/qa/unit/xoutdev.cxx index 2cc088609104..0f0451f3cf2a 100644 --- a/svx/qa/unit/xoutdev.cxx +++ b/svx/qa/unit/xoutdev.cxx @@ -52,7 +52,7 @@ void XOutdevTest::testPdfGraphicExport() // Export it. utl::TempFile aTempFile; aTempFile.EnableKillingFile(); - XOutFlags eFlags = XOutFlags::DontExpandFilename | XOutFlags::DontAddExtension | XOutFlags::UseNativeIfPossible; + XOutFlags const eFlags = XOutFlags::DontExpandFilename | XOutFlags::DontAddExtension | XOutFlags::UseNativeIfPossible; OUString aTempURL = aTempFile.GetURL(); XOutBitmap::WriteGraphic(aGraphic, aTempURL, "pdf", eFlags); -- cgit