summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorGulsah Kose <gulsah.1004@gmail.com>2018-01-04 16:30:48 +0300
committerKatarina Behrens <Katarina.Behrens@cib.de>2018-01-08 09:36:32 +0100
commit2d771c81d1292ea20f954364a0b8f34875973a17 (patch)
tree2a60edb37692aa9a7cd2207b423dea58b9743cba /sc/source
parent6c9adeed6186e7a65facffc6cb93277686f1b6e4 (diff)
tdf#61418 Show message on protected sheets for conditional formatting.
.uno:ConditionalFormatDialog, .uno:ColorScaleFormatDialog, .uno:DataBarFormatDialog, .uno:IconSetFormatDialog and .uno:CondDateFormatDialog show an error message on protected sheets for conditional formatting. The patch was sent for the ULAKBIM/Pardus project. Change-Id: Id3c1d6f76d1245b0395082b24fa5175c14f55555 Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/47395 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/view/cellsh1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index 7a7ecf3da833..f4599a40b35f 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -1948,7 +1948,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
ScDocument* pDoc = GetViewData()->GetDocument();
if(pDoc->IsTabProtected(pData->GetTabNo()))
{
- //ErrorMessage( STR_ERR_CONDFORMAT_PROTECTED );
+ pTabViewShell->ErrorMessage( STR_ERR_CONDFORMAT_PROTECTED );
break;
}