summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/scriptinfo.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-08 21:10:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-08 21:11:47 +0100
commit11df18b7a92fb02ea7decd594485e8c73fe61278 (patch)
treea34254ba7b06b8991a036346d8b43f2904a1b12d /sw/source/core/inc/scriptinfo.hxx
parent89833d454258485dfcf1d52e1f2ddedfc3e9cb5c (diff)
Resolves: fdo#40449 spellchecking tried to keep a reference to a temporary
Diffstat (limited to 'sw/source/core/inc/scriptinfo.hxx')
-rw-r--r--sw/source/core/inc/scriptinfo.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/inc/scriptinfo.hxx b/sw/source/core/inc/scriptinfo.hxx
index fd0ac6a14a9b..f55c77ef733d 100644
--- a/sw/source/core/inc/scriptinfo.hxx
+++ b/sw/source/core/inc/scriptinfo.hxx
@@ -55,7 +55,7 @@ class SwScanner
{
rtl::OUString aWord;
const SwTxtNode& rNode;
- const rtl::OUString& rText;
+ const rtl::OUString aText;
const LanguageType* pLanguage;
const ModelToViewHelper::ConversionMap* pConversionMap;
sal_Int32 nStartPos;