summaryrefslogtreecommitdiff
path: root/comphelper/qa/unit/variadictemplates.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/qa/unit/variadictemplates.cxx')
-rw-r--r--comphelper/qa/unit/variadictemplates.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/qa/unit/variadictemplates.cxx b/comphelper/qa/unit/variadictemplates.cxx
index 0f5dafff6f69..67e76bb79d33 100644
--- a/comphelper/qa/unit/variadictemplates.cxx
+++ b/comphelper/qa/unit/variadictemplates.cxx
@@ -43,7 +43,7 @@ inline void extract(
OUString( "No such argument available!"),
xErrorContext, static_cast<sal_Int16>(nArg) );
}
- if (! (seq[nArg] >>= v)) {
+ if (! fromAny(seq[nArg], &v)) {
OUStringBuffer buf;
buf.append( "Cannot extract ANY { " );
buf.append( seq[nArg].getValueType().getTypeName() );