summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-11 17:28:43 +0100
committerAndras Timar <andras.timar@collabora.com>2014-02-12 11:58:38 +0100
commita45d519e5533023f8cb05174e61569207214c74c (patch)
treedcf71b21f311527446ace5a595071cbd48f5174c
parent68cd0dc45e34b856c23adef4835998d604e10e70 (diff)
Do not reference a dangling OUString
(cherry picked from commit 151f3d665581d887cda1e36b817afb124c5c789e) Conflicts: sw/source/core/unocore/unostyle.cxx Change-Id: I0908d1300d0d1acb515345ccbdf6cdc2bf44d6a5
-rw-r--r--sw/source/core/unocore/unostyle.cxx2
1 files changed, 1 insertions, 1 deletions
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),