[Libreoffice-commits] .: sw/inc

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Dec 28 06:39:21 PST 2012


 sw/inc/swscanner.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 22b999c3f977b1e13d2167b065253febaf73f3f6
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Fri Dec 28 15:35:47 2012 +0100

    fix the sw_swdoc_test crash
    
    Keeping a reference to an expired temporary is a rather bad idea.
    
    Change-Id: I4d93d644b7db957ea49bcf1127647b7e5427f469

diff --git a/sw/inc/swscanner.hxx b/sw/inc/swscanner.hxx
index fcec9d8..b1f21ba 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;


More information about the Libreoffice-commits mailing list