sw/source/core/unocore/unostyle.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 95ed6a2c6d7b7f7dc5cebb25d1c5defabf8a21c0
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Tue Feb 11 17:28:43 2014 +0100

    Do not reference a dangling OUString
    
    Change-Id: I0908d1300d0d1acb515345ccbdf6cdc2bf44d6a5
    (cherry picked from commit 151f3d665581d887cda1e36b817afb124c5c789e)
    Reviewed-on: https://gerrit.libreoffice.org/8004
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sw/source/core/unocore/unostyle.cxx 
b/sw/source/core/unocore/unostyle.cxx
index 8ab87c1..f94adc6 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -1587,7 +1587,7 @@ struct SwStyleBase_Impl
     rtl::Reference< SwDocStyleSheet > mxNewBase;
     SfxItemSet*         pItemSet;
 
-    const OUString&     rStyleName;
+    OUString     rStyleName;
 
     SwStyleBase_Impl(SwDoc& rSwDoc, const OUString& rName) :
         rDoc(rSwDoc),
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to