From cf27d95a6d508a2b5b3bd9e6ac477a3fbbd28bb1 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 3 Oct 2011 15:03:12 +0300 Subject: WaE: conversion from 'unsigned int' to 'sal_Int16', possible loss of data --- sax/test/saxdemo.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sax/test') diff --git a/sax/test/saxdemo.cxx b/sax/test/saxdemo.cxx index f8ac35c491a8..bd3e1c0312a8 100644 --- a/sax/test/saxdemo.cxx +++ b/sax/test/saxdemo.cxx @@ -318,7 +318,7 @@ struct AttributeListImpl_impl sal_Int16 AttributeListImpl::getLength(void) throw (RuntimeException) { - return m_pImpl->vecAttribute.size(); + return (sal_Int16) m_pImpl->vecAttribute.size(); } -- cgit v1.2.3