summaryrefslogtreecommitdiff
path: root/sd/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-06 14:50:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-07 12:07:39 +0100
commit9610bab09361f506fd7b1a5f81d796a1f2c8afe4 (patch)
treea548ba147b488ea60230e27b62a57121836e113d /sd/qa
parentb35bb38f18fd94aa67af944f76b820d59380b78b (diff)
loplugin:constparams in sd
Change-Id: Id4b68ca0509111396ed354f4cda43d663083cad0 Reviewed-on: https://gerrit.libreoffice.org/44388 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/qa')
-rw-r--r--sd/qa/unit/sdmodeltestbase.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/qa/unit/sdmodeltestbase.hxx b/sd/qa/unit/sdmodeltestbase.hxx
index 9b503443337a..49aa48e2a552 100644
--- a/sd/qa/unit/sdmodeltestbase.hxx
+++ b/sd/qa/unit/sdmodeltestbase.hxx
@@ -161,7 +161,7 @@ protected:
return pFormat;
}
- void exportTo(sd::DrawDocShell* pShell, FileFormat* pFormat, utl::TempFile& rTempFile)
+ void exportTo(sd::DrawDocShell* pShell, FileFormat const * pFormat, utl::TempFile const & rTempFile)
{
SfxMedium aStoreMedium(rTempFile.GetURL(), StreamMode::STD_WRITE);
SotClipboardFormatId nExportFormat = SotClipboardFormatId::NONE;
@@ -180,7 +180,7 @@ protected:
pShell->DoClose();
}
- void save(sd::DrawDocShell* pShell, FileFormat* pFormat, utl::TempFile& rTempFile)
+ void save(sd::DrawDocShell* pShell, FileFormat const * pFormat, utl::TempFile const & rTempFile)
{
SfxMedium aStoreMedium(rTempFile.GetURL(), StreamMode::STD_WRITE);
SotClipboardFormatId nExportFormat = SotClipboardFormatId::NONE;
@@ -376,7 +376,7 @@ class SdModelTestBaseXML
{
public:
- xmlDocPtr parseExport(utl::TempFile & rTempFile, OUString const& rStreamName)
+ xmlDocPtr parseExport(utl::TempFile const & rTempFile, OUString const& rStreamName)
{
OUString const url(rTempFile.GetURL());
uno::Reference<packages::zip::XZipFileAccess2> const xZipNames(