Try harder to fix Android tinderbox

Change-Id: I4f3f112d4cd301d3ee1806cd2d26564ac3852723
This commit is contained in:
Tor Lillqvist
2017-02-16 00:41:52 +02:00
parent 013d9789c7
commit 50089a812b

View File

@@ -104,6 +104,17 @@ using ::css::io::XOutputStream;
using ::sax_fastparser::FSHelperPtr; using ::sax_fastparser::FSHelperPtr;
using ::sax_fastparser::FastSerializerHelper; using ::sax_fastparser::FastSerializerHelper;
#if defined(ANDROID)
namespace std
{
template<typename T>
T lround(T x)
{
return ::lround(x);
}
}
#endif
namespace oox { namespace oox {
namespace drawingml { namespace drawingml {
@@ -1912,17 +1923,6 @@ void DrawingML::WriteLinespacing( LineSpacing& rSpacing )
} }
} }
#if defined(ANDROID)
namespace std
{
template<typename T>
T lround(T x)
{
return ::lround(x);
}
}
#endif
void DrawingML::WriteParagraphProperties( const Reference< XTextContent >& rParagraph ) void DrawingML::WriteParagraphProperties( const Reference< XTextContent >& rParagraph )
{ {
Reference< XPropertySet > rXPropSet( rParagraph, UNO_QUERY ); Reference< XPropertySet > rXPropSet( rParagraph, UNO_QUERY );