summaryrefslogtreecommitdiff
path: root/winaccessibility/source/UAccCOM/AccComponentBase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'winaccessibility/source/UAccCOM/AccComponentBase.cxx')
-rw-r--r--winaccessibility/source/UAccCOM/AccComponentBase.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/winaccessibility/source/UAccCOM/AccComponentBase.cxx b/winaccessibility/source/UAccCOM/AccComponentBase.cxx
index 68f800f2c20d..e41123ea33e9 100644
--- a/winaccessibility/source/UAccCOM/AccComponentBase.cxx
+++ b/winaccessibility/source/UAccCOM/AccComponentBase.cxx
@@ -142,7 +142,7 @@ STDMETHODIMP CAccComponentBase::get_foreground(IA2Color * foreground)
{
return E_FAIL;
}
- *foreground = (long)GetXInterface()->getForeground();
+ *foreground = static_cast<long>(GetXInterface()->getForeground());
return S_OK;
@@ -167,7 +167,7 @@ STDMETHODIMP CAccComponentBase::get_background(IA2Color * background)
{
return E_FAIL;
}
- *background = (long)GetXInterface()->getBackground();
+ *background = static_cast<long>(GetXInterface()->getBackground());
return S_OK;