From a45d519e5533023f8cb05174e61569207214c74c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 11 Feb 2014 17:28:43 +0100 Subject: Do not reference a dangling OUString (cherry picked from commit 151f3d665581d887cda1e36b817afb124c5c789e) Conflicts: sw/source/core/unocore/unostyle.cxx Change-Id: I0908d1300d0d1acb515345ccbdf6cdc2bf44d6a5 --- sw/source/core/unocore/unostyle.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index 1631a49d1311..47b1acb14ed9 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -1588,7 +1588,7 @@ struct SwStyleBase_Impl rtl::Reference< SwDocStyleSheet > mxNewBase; SfxItemSet* pItemSet; - const String& rStyleName; + String rStyleName; SwStyleBase_Impl(SwDoc& rSwDoc, const String& rName) : rDoc(rSwDoc), -- cgit v1.2.3