summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorArmin Le Grand (Allotropia) <armin.le.grand@me.com>2021-06-08 14:17:23 +0200
committerJulien Nabet <serval2412@yahoo.fr>2021-06-08 17:06:15 +0200
commitb60a9bec769339f5f0fe008ef4985263d0cf689e (patch)
tree4c5b2372e4a09fd74e0b8336d400a9d5699255b0 /editeng
parent312334f8488a668e9b5302959b60292ce151e4fc (diff)
Addendum to: Remove SfxItemState::READONLY
unfortunately forgot to remove some of the out-commented lines in f3b737ab76efaf1a70dfb22c6b60b08b340cf343, thanks to Julien for hinting me to that. So this is no semantic change at all, just syntax. Change-Id: If45b0cf1aeed870723914c2c02f6060d8f1bbfb4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116838 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/uno/unotext.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index 68f3319d1b69..0c4a01c748d1 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -1003,7 +1003,6 @@ beans::PropertyState SvxUnoTextRangeBase::_getPropertyState(const SfxItemPropert
case SfxItemState::DONTCARE:
case SfxItemState::DISABLED:
return beans::PropertyState_AMBIGUOUS_VALUE;
-// case SfxItemState::READONLY:
case SfxItemState::SET:
return beans::PropertyState_DIRECT_VALUE;
case SfxItemState::DEFAULT:
@@ -1094,7 +1093,6 @@ bool SvxUnoTextRangeBase::_getOnePropertyStates(const SfxItemSet* pSet, const Sf
}
break;
-// case SfxItemState::READONLY:
case SfxItemState::SET:
if( eItemState != SfxItemState::SET )
{
@@ -1130,7 +1128,6 @@ bool SvxUnoTextRangeBase::_getOnePropertyStates(const SfxItemSet* pSet, const Sf
switch( eItemState )
{
-// case SfxItemState::READONLY:
case SfxItemState::SET:
rState = beans::PropertyState_DIRECT_VALUE;
break;