diff options
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/document.hxx | 2 | ||||
-rw-r--r-- | starmath/source/document.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx index fcf1c200f7af..fa370de600f2 100644 --- a/starmath/inc/document.hxx +++ b/starmath/inc/document.hxx @@ -182,7 +182,7 @@ public: const std::set< OUString > & GetUsedSymbols() const { return maUsedSymbols; } - OUString GetAccessibleText(); + OUString const & GetAccessibleText(); EditEngine & GetEditEngine(); SfxItemPool & GetEditEngineItemPool(); diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx index 3bbda764b41c..1a984526dbdc 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -213,7 +213,7 @@ void SmDocShell::SetFormat(SmFormat& rFormat) } } -OUString SmDocShell::GetAccessibleText() +OUString const & SmDocShell::GetAccessibleText() { ArrangeFormula(); if (maAccText.isEmpty()) |