summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/text/XMLRedlineExport.cxx2
-rw-r--r--xmloff/source/text/XMLRedlineExport.hxx2
-rw-r--r--xmloff/source/text/txtfldi.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/text/XMLRedlineExport.cxx b/xmloff/source/text/XMLRedlineExport.cxx
index 8a5a062c5cfc..baf0d6de8760 100644
--- a/xmloff/source/text/XMLRedlineExport.cxx
+++ b/xmloff/source/text/XMLRedlineExport.cxx
@@ -421,7 +421,7 @@ void XMLRedlineExport::ExportChangedRegion(
}
-const OUString XMLRedlineExport::ConvertTypeName(
+OUString const & XMLRedlineExport::ConvertTypeName(
const OUString& sApiName)
{
if (sApiName == sDelete)
diff --git a/xmloff/source/text/XMLRedlineExport.hxx b/xmloff/source/text/XMLRedlineExport.hxx
index 5ef3d2e9de24..3e43e5653a71 100644
--- a/xmloff/source/text/XMLRedlineExport.hxx
+++ b/xmloff/source/text/XMLRedlineExport.hxx
@@ -171,7 +171,7 @@ private:
const css::uno::Sequence<css::beans::PropertyValue> & rValues);
/// convert the change type from API to XML names
- const OUString ConvertTypeName(const OUString& sApiName);
+ OUString const & ConvertTypeName(const OUString& sApiName);
/// Get ID string!
const OUString GetRedlineID(
diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx
index 438c9783fe90..0bc857a3db83 100644
--- a/xmloff/source/text/txtfldi.cxx
+++ b/xmloff/source/text/txtfldi.cxx
@@ -224,7 +224,7 @@ void XMLTextFieldImportContext::StartElement(
XMLTextFieldImportContext::~XMLTextFieldImportContext() {
}
-OUString XMLTextFieldImportContext::GetContent()
+OUString const & XMLTextFieldImportContext::GetContent()
{
if (sContent.isEmpty())
{