diff options
Diffstat (limited to 'sc/source/ui/view/viewdata.cxx')
-rw-r--r-- | sc/source/ui/view/viewdata.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx index c59aabab3796..f43fcdde2ef8 100644 --- a/sc/source/ui/view/viewdata.cxx +++ b/sc/source/ui/view/viewdata.cxx @@ -286,7 +286,7 @@ void ScViewDataTable::ReadUserDataSequence(const uno::Sequence <beans::PropertyV { sal_Int32 nColor = COL_AUTO; aSettings[i].Value >>= nColor; - if (nColor != COL_AUTO) + if (static_cast<ColorData>(nColor) != COL_AUTO) aTabBgColor.SetColor(static_cast<ColorData>(nColor)); } } |