diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-11 17:28:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-12 10:56:07 +0000 |
commit | a682fd572a2056eaaed9443bad70303879c4eec4 (patch) | |
tree | 473ab6249d31f2a6593b1b0e5eb427d39a03e934 | |
parent | 3e17c731cbe11c79c3283ffefecf4401bd8cb08e (diff) |
Do not reference a dangling OUString
(cherry picked from commit 151f3d665581d887cda1e36b817afb124c5c789e)
Conflicts:
sw/source/core/unocore/unostyle.cxx
Change-Id: I0908d1300d0d1acb515345ccbdf6cdc2bf44d6a5
Reviewed-on: https://gerrit.libreoffice.org/8008
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sw/source/core/unocore/unostyle.cxx | 2 |
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), |