diff options
Diffstat (limited to 'sc/source/ui/Accessibility/AccessiblePreviewCell.cxx')
-rw-r--r-- | sc/source/ui/Accessibility/AccessiblePreviewCell.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx b/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx index 5e19e21cca27..52b5c7f12514 100644 --- a/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx +++ b/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx @@ -261,8 +261,7 @@ bool ScAccessiblePreviewCell::IsOpaque() bool bOpaque(true); if (mpDoc) { - const SvxBrushItem* pItem = static_cast<const SvxBrushItem*>(mpDoc->GetAttr( - maCellAddress.Col(), maCellAddress.Row(), maCellAddress.Tab(), ATTR_BACKGROUND)); + const SvxBrushItem* pItem = mpDoc->GetAttr(maCellAddress, ATTR_BACKGROUND); if (pItem) bOpaque = pItem->GetColor() != COL_TRANSPARENT; } |