summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-12-28 15:35:47 +0100
committerLuboš Luňák <l.lunak@suse.cz>2012-12-28 15:39:00 +0100
commit22b999c3f977b1e13d2167b065253febaf73f3f6 (patch)
tree051c1dc61dafa07baba013cacc75a02b44ccba19 /sw
parent12ee1efbcd53d1550d209c89bf5553bc0d9794a9 (diff)
fix the sw_swdoc_test crash
Keeping a reference to an expired temporary is a rather bad idea. Change-Id: I4d93d644b7db957ea49bcf1127647b7e5427f469
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/swscanner.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/swscanner.hxx b/sw/inc/swscanner.hxx
index fcec9d89c1f4..b1f21baa9994 100644
--- a/sw/inc/swscanner.hxx
+++ b/sw/inc/swscanner.hxx
@@ -38,7 +38,7 @@ class SwScanner
const rtl::OUString aPreDashReplacementText;
rtl::OUString aText;
const LanguageType* pLanguage;
- const ModelToViewHelper& rConversionMap;
+ const ModelToViewHelper rConversionMap;
sal_Int32 nStartPos;
sal_Int32 nEndPos;
sal_Int32 nBegin;