diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/stlsheet.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx index 9575169356c4..96850f5b107e 100644 --- a/sd/source/core/stlsheet.cxx +++ b/sd/source/core/stlsheet.cxx @@ -40,6 +40,7 @@ #include <svx/xflbmtit.hxx> #include <svx/xflbstit.hxx> +#include <svx/xlnclit.hxx> #include <editeng/bulletitem.hxx> #include <editeng/lrspitem.hxx> #include <svx/unoshprp.hxx> @@ -1400,6 +1401,15 @@ PropertyState SAL_CALL SdStyleSheet::getPropertyState( const OUString& PropertyN } } break; + case XATTR_LINECOLOR: + if (pEntry->nMemberId == MID_COLOR_THEME_REFERENCE) + { + auto const* pColor = rStyleSet.GetItem<XLineColorItem>(pEntry->nWID); + if (pColor->GetThemeColor().getType() == model::ThemeColorType::Unknown) + { + eState = PropertyState_DEFAULT_VALUE; + } + } break; } } |