summaryrefslogtreecommitdiffstats
path: root/winaccessibility/source/UAccCOM/AccRelation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'winaccessibility/source/UAccCOM/AccRelation.cxx')
-rwxr-xr-x[-rw-r--r--]winaccessibility/source/UAccCOM/AccRelation.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/winaccessibility/source/UAccCOM/AccRelation.cxx b/winaccessibility/source/UAccCOM/AccRelation.cxx
index 9a6ddc31fd28..3df484ad5fb4 100644..100755
--- a/winaccessibility/source/UAccCOM/AccRelation.cxx
+++ b/winaccessibility/source/UAccCOM/AccRelation.cxx
@@ -202,13 +202,13 @@ BSTR CAccRelation::getRelationTypeBSTR(int type)
{IA2_RELATION_LABELED_BY , 6},
{IA2_RELATION_MEMBER_OF , 7},
{IA2_RELATION_SUBWINDOW_OF , 8},
- {IA2_RELATION_NODE_CHILD_OF, 9},
- {IA2_RELATION_DESCRIBED_BY , 10},
+ {IA2_RELATION_NODE_CHILD_OF , 9},
+ {IA2_RELATION_DESCRIBED_BY , 10},
};
USES_CONVERSION;
- return (type >= 0 && type <= 10) ? T2BSTR(map[type].string) : _T("");
+ return (type >= 0 && type <= 10) ? map[type].string : _T("");
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */