summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-04-20 15:11:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-04-22 13:26:46 +0200
commita50045cd9b2a6587f71c1c104c59b1309eeffbb7 (patch)
tree5e62823e28a8af0b774ef3b28f16ab09af95735a /oox
parentbc94047616aaa22c3cd982ee978c320b897f9629 (diff)
loplugin:constantparam
Change-Id: Ic34679736973ed1f10ced8c9f0846514fa556445 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166421 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/ThemeExport.cxx2
-rw-r--r--oox/source/export/drawingml.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/oox/source/export/ThemeExport.cxx b/oox/source/export/ThemeExport.cxx
index 6e0efb341ae2..38c4b96ecee3 100644
--- a/oox/source/export/ThemeExport.cxx
+++ b/oox/source/export/ThemeExport.cxx
@@ -619,7 +619,7 @@ void ThemeExport::writeBlip(model::BlipFill const& rBlipFill)
return;
oox::drawingml::GraphicExport aExporter(mpFS, mpFilterBase, meDocumentType);
Graphic aGraphic(rBlipFill.mxGraphic);
- aExporter.writeBlip(aGraphic, rBlipFill.maBlipEffects, false);
+ aExporter.writeBlip(aGraphic, rBlipFill.maBlipEffects);
}
void ThemeExport::writeBlipFill(model::BlipFill const& rBlipFill)
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 68a6d666b85f..01b8c6c2827e 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1305,9 +1305,9 @@ void GraphicExport::writeSvgExtension(OUString const& rSvgRelId)
mpFS->endElementNS( XML_a, XML_extLst);
}
-void GraphicExport::writeBlip(Graphic const& rGraphic, std::vector<model::BlipEffect> const& rEffects, bool bRelPathToMedia)
+void GraphicExport::writeBlip(Graphic const& rGraphic, std::vector<model::BlipEffect> const& rEffects)
{
- OUString sRelId = writeToStorage(rGraphic, bRelPathToMedia);
+ OUString sRelId = writeToStorage(rGraphic, /*bRelPathToMedia*/false);
mpFS->startElementNS(XML_a, XML_blip, FSNS(XML_r, XML_embed), sRelId);
@@ -1315,7 +1315,7 @@ void GraphicExport::writeBlip(Graphic const& rGraphic, std::vector<model::BlipEf
if (rVectorGraphicDataPtr && rVectorGraphicDataPtr->getType() == VectorGraphicDataType::Svg)
{
- OUString sSvgRelId = writeToStorage(rGraphic, bRelPathToMedia, TypeHint::SVG);
+ OUString sSvgRelId = writeToStorage(rGraphic, /*bRelPathToMedia*/false, TypeHint::SVG);
writeSvgExtension(sSvgRelId);
}