summaryrefslogtreecommitdiff
path: root/include/svtools/fmtfield.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svtools/fmtfield.hxx')
-rw-r--r--include/svtools/fmtfield.hxx2
1 files changed, 1 insertions, 1 deletions
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; }