summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewdata.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-02-17 05:50:50 +0100
committerKohei Yoshida <kyoshida@novell.com>2010-02-17 05:50:50 +0100
commitb9fce326449160ed0c6f5c07446baa64d38fa3d3 (patch)
tree3ac042664f45a3676d134a769659ae1911629fad /sc/source/ui/view/viewdata.cxx
parent53bc54d3dfd169a2e69dd71af3af7e8ab52ea519 (diff)
parentd8c9ce99b4ab513775ef566f4498a66246ffb11b (diff)
calctabcolor: merged from the repo.
Diffstat (limited to 'sc/source/ui/view/viewdata.cxx')
-rw-r--r--sc/source/ui/view/viewdata.cxx2
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));
}
}