summaryrefslogtreecommitdiffstats
path: root/sc/inc/document.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-26 09:51:55 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-26 12:14:36 +0000
commitcc8d68d6f23fd2cde8a47c8aced9fbecfb48ec94 (patch)
treed5092372f8fd48958bcb6d6ec11782d12a944f1d /sc/inc/document.hxx
parentcoverity#1266451 Explicit null dereferenced (diff)
downloadcore-cc8d68d6f23fd2cde8a47c8aced9fbecfb48ec94.tar.gz
core-cc8d68d6f23fd2cde8a47c8aced9fbecfb48ec94.zip
coverity#1266519 Use after free
Change-Id: Ib6b3b33f4b45e3bb0ff35d9e82db46bf59c60916
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r--sc/inc/document.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index e992b0fd8b16..dd5175ae35c3 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -826,7 +826,7 @@ public:
* SfxItemPool instance returned from ScDocument::GetEditPool()</i>.
* This is very important.</p>
*/
- SC_DLLPUBLIC void SetEditText( const ScAddress& rPos, EditTextObject* pEditText );
+ SC_DLLPUBLIC bool SetEditText( const ScAddress& rPos, EditTextObject* pEditText );
void SetEditText( const ScAddress& rPos, const EditTextObject& rEditText, const SfxItemPool* pEditPool );