diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-02-17 05:50:50 +0100 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-02-17 05:50:50 +0100 |
commit | b9fce326449160ed0c6f5c07446baa64d38fa3d3 (patch) | |
tree | 3ac042664f45a3676d134a769659ae1911629fad /sc/source/ui/view/viewdata.cxx | |
parent | 53bc54d3dfd169a2e69dd71af3af7e8ab52ea519 (diff) | |
parent | d8c9ce99b4ab513775ef566f4498a66246ffb11b (diff) |
calctabcolor: merged from the repo.
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)); } } |