From 508c95f1b655d9cfa6be37a5a9de9aff6fd383bf Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 18 Jul 2016 09:22:27 +0200 Subject: improve passstuffbyref return analysis Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c Reviewed-on: https://gerrit.libreoffice.org/27317 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svtools/fmtfield.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/svtools') diff --git a/include/svtools/fmtfield.hxx b/include/svtools/fmtfield.hxx index 5cc8bd3f4230..185581c26645 100644 --- a/include/svtools/fmtfield.hxx +++ b/include/svtools/fmtfield.hxx @@ -181,7 +181,7 @@ public: //If someone does not care about all the double handling and just wants to print the text formatted. //(((The text will be formatted, using the Formatter, and then set) void SetTextFormatted(const OUString& rText); - OUString GetTextValue() const; + OUString const & GetTextValue() const; void SetDefaultText(const OUString& rDefault) { m_sDefaultText = rDefault; } const OUString& GetDefaultText() const { return m_sDefaultText; } -- cgit