[Libreoffice-commits] .: sax/test

Tor Lillqvist tml at kemper.freedesktop.org
Mon Oct 3 05:10:28 PDT 2011


 sax/test/saxdemo.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cf27d95a6d508a2b5b3bd9e6ac477a3fbbd28bb1
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Mon Oct 3 15:03:12 2011 +0300

    WaE: conversion from 'unsigned int' to 'sal_Int16', possible loss of data

diff --git a/sax/test/saxdemo.cxx b/sax/test/saxdemo.cxx
index f8ac35c..bd3e1c0 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();
 }
 
 


More information about the Libreoffice-commits mailing list