summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-11 17:28:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-12 08:07:47 +0100
commit151f3d665581d887cda1e36b817afb124c5c789e (patch)
treea617e294e95b14308a3a450d436e5d85e93512f0 /sw
parent7fb6ae28ae7bebd67c2b9bf2cf517f1f7bb2777e (diff)
Do not reference a dangling OUString
Change-Id: I0908d1300d0d1acb515345ccbdf6cdc2bf44d6a5
Diffstat (limited to 'sw')
-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 d92b6aaad9be..e46a2cc5f4e5 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),