diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-15 09:28:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-15 09:33:09 +0000 |
commit | 52a242e5bccc4307a1adcff093cfd4df7e6af101 (patch) | |
tree | 311b4fff34aa151d9e6836a7845b3d0bc0138f6d /sd/inc | |
parent | d03d1ad55e0ef37d922aa88a7ed23ed4f7fdca02 (diff) |
coverity#704777 Explicit null dereferenced
Change-Id: Ia9a3a45183b7aa8367b3146061bde5036bcd8cfe
Diffstat (limited to 'sd/inc')
-rw-r--r-- | sd/inc/sdundo.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/inc/sdundo.hxx b/sd/inc/sdundo.hxx index 75636404b0bc..60bb645d6007 100644 --- a/sd/inc/sdundo.hxx +++ b/sd/inc/sdundo.hxx @@ -33,7 +33,7 @@ public: : mpDoc(pSdDrawDocument) {} virtual ~SdUndoAction() {} - void SetComment(OUString& rStr) { maComment = rStr; } + void SetComment(const OUString& rStr) { maComment = rStr; } virtual OUString GetComment() const SAL_OVERRIDE { return maComment; } virtual SdUndoAction* Clone() const { return NULL; } |