summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/ximpcustomshape.cxx2
-rw-r--r--xmloff/source/script/XMLEventExport.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/draw/ximpcustomshape.cxx b/xmloff/source/draw/ximpcustomshape.cxx
index ebaf15651950..cf794da63df6 100644
--- a/xmloff/source/draw/ximpcustomshape.cxx
+++ b/xmloff/source/draw/ximpcustomshape.cxx
@@ -426,7 +426,7 @@ static bool GetNextParameter( css::drawing::EnhancedCustomShapeParameter& rParam
static void GetPosition3D( std::vector< css::beans::PropertyValue >& rDest, // e.g. draw:extrusion-viewpoint
std::string_view rValue, const EnhancedCustomShapeTokenEnum eDestProp,
- SvXMLUnitConverter& rUnitConverter )
+ const SvXMLUnitConverter& rUnitConverter )
{
drawing::Position3D aPosition3D;
if ( rUnitConverter.convertPosition3D( aPosition3D, rValue ) )
diff --git a/xmloff/source/script/XMLEventExport.cxx b/xmloff/source/script/XMLEventExport.cxx
index 285bd487c35b..5aed1c76c330 100644
--- a/xmloff/source/script/XMLEventExport.cxx
+++ b/xmloff/source/script/XMLEventExport.cxx
@@ -150,7 +150,7 @@ void XMLEventExport::ExportExt( Reference<XNameAccess> const & rAccess )
/// export a singular event and write <office:events> container
void XMLEventExport::ExportSingleEvent(
- Sequence<PropertyValue>& rEventValues,
+ const Sequence<PropertyValue>& rEventValues,
const OUString& rApiEventName,
bool bUseWhitespace )
{