diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-06 13:08:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-07 07:10:22 +0100 |
commit | 26a016be816826c80fc914a927758a814f29136c (patch) | |
tree | a9737eb927d6d23264ed818ba2d1c2d79dac4307 /starmath/source/accessibility.cxx | |
parent | 9a97b9c051735afb3797888d111f1b6b2cab1a83 (diff) |
use more Color in sfx2..svtools
Change-Id: Idd951841ce7e9c4b4e5229bc24efe5c7b8042617
Reviewed-on: https://gerrit.libreoffice.org/50817
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/source/accessibility.cxx')
-rw-r--r-- | starmath/source/accessibility.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx index 22d5af1c38b1..8f2e4017234b 100644 --- a/starmath/source/accessibility.cxx +++ b/starmath/source/accessibility.cxx @@ -254,7 +254,7 @@ sal_Int32 SAL_CALL SmGraphicAccessible::getForeground() if (!pWin) throw RuntimeException(); - return static_cast<sal_Int32>(pWin->GetTextColor().GetColor()); + return static_cast<sal_Int32>(pWin->GetTextColor()); } sal_Int32 SAL_CALL SmGraphicAccessible::getBackground() @@ -266,9 +266,9 @@ sal_Int32 SAL_CALL SmGraphicAccessible::getBackground() Wallpaper aWall( pWin->GetDisplayBackground() ); Color nCol; if (aWall.IsBitmap() || aWall.IsGradient()) - nCol = pWin->GetSettings().GetStyleSettings().GetWindowColor().GetColor(); + nCol = pWin->GetSettings().GetStyleSettings().GetWindowColor(); else - nCol = aWall.GetColor().GetColor(); + nCol = aWall.GetColor(); return static_cast<sal_Int32>(nCol); } @@ -356,7 +356,7 @@ Reference< XAccessibleStateSet > SAL_CALL SmGraphicAccessible::getAccessibleStat pStateSet->AddState( AccessibleStateType::SHOWING ); if (pWin->IsReallyVisible()) pStateSet->AddState( AccessibleStateType::VISIBLE ); - if (COL_TRANSPARENT != pWin->GetBackground().GetColor().GetColor()) + if (COL_TRANSPARENT != pWin->GetBackground().GetColor()) pStateSet->AddState( AccessibleStateType::OPAQUE ); } @@ -1677,7 +1677,7 @@ sal_Int32 SAL_CALL SmEditAccessible::getForeground() if (!pWin) throw RuntimeException(); - return static_cast<sal_Int32>(pWin->GetTextColor().GetColor()); + return static_cast<sal_Int32>(pWin->GetTextColor()); } sal_Int32 SAL_CALL SmEditAccessible::getBackground() @@ -1689,9 +1689,9 @@ sal_Int32 SAL_CALL SmEditAccessible::getBackground() Wallpaper aWall( pWin->GetDisplayBackground() ); Color nCol; if (aWall.IsBitmap() || aWall.IsGradient()) - nCol = pWin->GetSettings().GetStyleSettings().GetWindowColor().GetColor(); + nCol = pWin->GetSettings().GetStyleSettings().GetWindowColor(); else - nCol = aWall.GetColor().GetColor(); + nCol = aWall.GetColor(); return static_cast<sal_Int32>(nCol); } @@ -1784,7 +1784,7 @@ uno::Reference< XAccessibleStateSet > SAL_CALL SmEditAccessible::getAccessibleSt pStateSet->AddState( AccessibleStateType::SHOWING ); if (pWin->IsReallyVisible()) pStateSet->AddState( AccessibleStateType::VISIBLE ); - if (COL_TRANSPARENT != pWin->GetBackground().GetColor().GetColor()) + if (COL_TRANSPARENT != pWin->GetBackground().GetColor()) pStateSet->AddState( AccessibleStateType::OPAQUE ); } |