[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sw/source
Stephan Bergmann
sbergman at redhat.com
Wed Feb 12 02:53:26 PST 2014
sw/source/core/unocore/unostyle.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 95ed6a2c6d7b7f7dc5cebb25d1c5defabf8a21c0
Author: Stephan Bergmann <sbergman at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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),
More information about the Libreoffice-commits
mailing list