summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/editable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/docshell/editable.cxx')
-rw-r--r--sc/source/ui/docshell/editable.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/editable.cxx b/sc/source/ui/docshell/editable.cxx
index 2a06c82dc322..feb34d0b41bf 100644
--- a/sc/source/ui/docshell/editable.cxx
+++ b/sc/source/ui/docshell/editable.cxx
@@ -146,10 +146,10 @@ void ScEditableTester::TestBlockForAction(
}
}
-sal_uInt16 ScEditableTester::GetMessageId() const
+const char* ScEditableTester::GetMessageId() const
{
if (mbIsEditable)
- return 0;
+ return nullptr;
else if (mbOnlyMatrix)
return STR_MATRIXFRAGMENTERR;
else