diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-18 09:22:27 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-27 06:48:25 +0000 |
commit | 508c95f1b655d9cfa6be37a5a9de9aff6fd383bf (patch) | |
tree | d1c8626818cbf26a699875ae2d82f751a1657e92 /xmloff | |
parent | 9f4af777a832d8a0b9a21d793d421fa6228131e0 (diff) |
improve passstuffbyref return analysis
Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c
Reviewed-on: https://gerrit.libreoffice.org/27317
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/txtfldi.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/XMLRedlineExport.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/XMLRedlineExport.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/txtfldi.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/inc/txtfldi.hxx b/xmloff/inc/txtfldi.hxx index 04d1abe754d5..b6b2a6b8de81 100644 --- a/xmloff/inc/txtfldi.hxx +++ b/xmloff/inc/txtfldi.hxx @@ -160,7 +160,7 @@ protected: const OUString& GetServiceName() { return sServiceName; } inline void SetServiceName(const OUString& sStr) { sServiceName = sStr; } - OUString GetContent(); + OUString const & GetContent(); /// process attribute values virtual void ProcessAttribute( sal_uInt16 nAttrToken, 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()) { |