summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/oox/export/drawingml.hxx2
-rw-r--r--oox/source/export/ThemeExport.cxx2
-rw-r--r--oox/source/export/drawingml.cxx6
3 files changed, 5 insertions, 5 deletions
diff --git a/include/oox/export/drawingml.hxx b/include/oox/export/drawingml.hxx
index 2ea0fa616dac..864aaebbb61c 100644
--- a/include/oox/export/drawingml.hxx
+++ b/include/oox/export/drawingml.hxx
@@ -276,7 +276,7 @@ public:
OUString writeToStorage(Graphic const& rGraphic, bool bRelPathToMedia = false, TypeHint eHint = TypeHint::Detect);
- void writeBlip(Graphic const& rGraphic, std::vector<model::BlipEffect> const& rEffects, bool bRelPathToMedia = false);
+ void writeBlip(Graphic const& rGraphic, std::vector<model::BlipEffect> const& rEffects);
void writeSvgExtension(OUString const& rSvgRelId);
};
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);
}