summaryrefslogtreecommitdiff
path: root/include/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/xmlexp.hxx28
-rw-r--r--include/xmloff/xmlimp.hxx16
2 files changed, 22 insertions, 22 deletions
diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx
index 48aebd413bfc..6ba10d56828e 100644
--- a/include/xmloff/xmlexp.hxx
+++ b/include/xmloff/xmlexp.hxx
@@ -425,27 +425,27 @@ public:
}
// get export helper for text
- inline rtl::Reference< XMLTextParagraphExport > GetTextParagraphExport();
+ inline rtl::Reference< XMLTextParagraphExport > const & GetTextParagraphExport();
// get export helper for shapes
- inline rtl::Reference< XMLShapeExport > GetShapeExport();
+ inline rtl::Reference< XMLShapeExport > const & GetShapeExport();
// get auto style pool
- inline rtl::Reference< SvXMLAutoStylePoolP > GetAutoStylePool();
+ inline rtl::Reference< SvXMLAutoStylePoolP > const & GetAutoStylePool();
// get Page Export
- inline rtl::Reference< XMLPageExport > GetPageExport();
+ inline rtl::Reference< XMLPageExport > const & GetPageExport();
// get chart export helper
- inline rtl::Reference< SchXMLExportHelper > GetChartExport();
+ inline rtl::Reference< SchXMLExportHelper > const & GetChartExport();
// get font auto style pool
- inline rtl::Reference< XMLFontAutoStylePool > GetFontAutoStylePool();
+ inline rtl::Reference< XMLFontAutoStylePool > const & GetFontAutoStylePool();
ProgressBarHelper* GetProgressBarHelper();
// get Formlayer Export
- inline rtl::Reference< xmloff::OFormLayerXMLExport > GetFormExport();
+ inline rtl::Reference< xmloff::OFormLayerXMLExport > const & GetFormExport();
inline bool HasFormExport();
// get XPropertySet with export information
@@ -564,7 +564,7 @@ public:
bool SetNullDateOnUnitConverter();
};
-inline rtl::Reference< XMLTextParagraphExport > SvXMLExport::GetTextParagraphExport()
+inline rtl::Reference< XMLTextParagraphExport > const & SvXMLExport::GetTextParagraphExport()
{
if( !mxTextParagraphExport.is() )
mxTextParagraphExport = CreateTextParagraphExport();
@@ -572,7 +572,7 @@ inline rtl::Reference< XMLTextParagraphExport > SvXMLExport::GetTextParagraphExp
return mxTextParagraphExport;
}
-inline rtl::Reference< XMLShapeExport > SvXMLExport::GetShapeExport()
+inline rtl::Reference< XMLShapeExport > const & SvXMLExport::GetShapeExport()
{
if( !mxShapeExport.is() )
mxShapeExport = CreateShapeExport();
@@ -580,7 +580,7 @@ inline rtl::Reference< XMLShapeExport > SvXMLExport::GetShapeExport()
return mxShapeExport;
}
-inline rtl::Reference< SvXMLAutoStylePoolP > SvXMLExport::GetAutoStylePool()
+inline rtl::Reference< SvXMLAutoStylePoolP > const & SvXMLExport::GetAutoStylePool()
{
if( !mxAutoStylePool.is() )
mxAutoStylePool = CreateAutoStylePool();
@@ -588,7 +588,7 @@ inline rtl::Reference< SvXMLAutoStylePoolP > SvXMLExport::GetAutoStylePool()
return mxAutoStylePool;
}
-inline rtl::Reference< SchXMLExportHelper > SvXMLExport::GetChartExport()
+inline rtl::Reference< SchXMLExportHelper > const & SvXMLExport::GetChartExport()
{
if( !mxChartExport.is() )
mxChartExport = CreateChartExport();
@@ -596,7 +596,7 @@ inline rtl::Reference< SchXMLExportHelper > SvXMLExport::GetChartExport()
return mxChartExport;
}
-inline rtl::Reference< XMLPageExport > SvXMLExport::GetPageExport()
+inline rtl::Reference< XMLPageExport > const & SvXMLExport::GetPageExport()
{
if( !mxPageExport.is() )
mxPageExport = CreatePageExport();
@@ -604,7 +604,7 @@ inline rtl::Reference< XMLPageExport > SvXMLExport::GetPageExport()
return mxPageExport;
}
-inline rtl::Reference< XMLFontAutoStylePool > SvXMLExport::GetFontAutoStylePool()
+inline rtl::Reference< XMLFontAutoStylePool > const & SvXMLExport::GetFontAutoStylePool()
{
if( !mxFontAutoStylePool.is() )
mxFontAutoStylePool = CreateFontAutoStylePool();
@@ -612,7 +612,7 @@ inline rtl::Reference< XMLFontAutoStylePool > SvXMLExport::GetFontAutoStylePool(
return mxFontAutoStylePool;
}
-inline rtl::Reference< xmloff::OFormLayerXMLExport > SvXMLExport::GetFormExport()
+inline rtl::Reference< xmloff::OFormLayerXMLExport > const & SvXMLExport::GetFormExport()
{
if( !mxFormExport.is() )
mxFormExport = CreateFormExport();
diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx
index 7827177518fc..97bbf6ce8eca 100644
--- a/include/xmloff/xmlimp.hxx
+++ b/include/xmloff/xmlimp.hxx
@@ -296,18 +296,18 @@ public:
virtual void SetStatistics(const css::uno::Sequence< css::beans::NamedValue > & i_rStats);
// get import helper for text
- inline rtl::Reference< XMLTextImportHelper > GetTextImport();
+ inline rtl::Reference< XMLTextImportHelper > const & GetTextImport();
bool HasTextImport() const { return mxTextImport.is(); }
inline SvXMLNumFmtHelper* GetDataStylesImport();
// get import helper for shapes
- inline rtl::Reference< XMLShapeImportHelper > GetShapeImport();
+ inline rtl::Reference< XMLShapeImportHelper > const & GetShapeImport();
// get import helper for charts
- inline rtl::Reference< SchXMLImportHelper > GetChartImport();
+ inline rtl::Reference< SchXMLImportHelper > const & GetChartImport();
// get import helper for form layer
- inline rtl::Reference< ::xmloff::OFormLayerXMLImport > GetFormImport();
+ inline rtl::Reference< ::xmloff::OFormLayerXMLImport > const & GetFormImport();
// get XPropertySet with import information
const css::uno::Reference< css::beans::XPropertySet >& getImportInfo() const { return mxImportInfo; }
@@ -520,7 +520,7 @@ public:
bool needFixPositionAfterZ() const;
};
-inline rtl::Reference< XMLTextImportHelper > SvXMLImport::GetTextImport()
+inline rtl::Reference< XMLTextImportHelper > const & SvXMLImport::GetTextImport()
{
if( !mxTextImport.is() )
mxTextImport = CreateTextImport();
@@ -528,7 +528,7 @@ inline rtl::Reference< XMLTextImportHelper > SvXMLImport::GetTextImport()
return mxTextImport;
}
-inline rtl::Reference< XMLShapeImportHelper > SvXMLImport::GetShapeImport()
+inline rtl::Reference< XMLShapeImportHelper > const & SvXMLImport::GetShapeImport()
{
if( !mxShapeImport.is() )
mxShapeImport = CreateShapeImport();
@@ -536,7 +536,7 @@ inline rtl::Reference< XMLShapeImportHelper > SvXMLImport::GetShapeImport()
return mxShapeImport;
}
-inline rtl::Reference< SchXMLImportHelper > SvXMLImport::GetChartImport()
+inline rtl::Reference< SchXMLImportHelper > const & SvXMLImport::GetChartImport()
{
if( !mxChartImport.is() )
mxChartImport = CreateChartImport();
@@ -544,7 +544,7 @@ inline rtl::Reference< SchXMLImportHelper > SvXMLImport::GetChartImport()
return mxChartImport;
}
-inline rtl::Reference< ::xmloff::OFormLayerXMLImport > SvXMLImport::GetFormImport()
+inline rtl::Reference< ::xmloff::OFormLayerXMLImport > const & SvXMLImport::GetFormImport()
{
if( !mxFormImport.is() )
mxFormImport = CreateFormImport();