diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-02-16 00:41:52 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-02-16 00:42:12 +0200 |
commit | 50089a812be66d37ea7b660da11f08079ff5277f (patch) | |
tree | f5653ac40c6c2d50b72a43e4266f64a013e1d3b0 /oox | |
parent | 013d9789c753d46f0a038e54db6e21f4d4922891 (diff) |
Try harder to fix Android tinderbox
Change-Id: I4f3f112d4cd301d3ee1806cd2d26564ac3852723
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/drawingml.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index a57fc82d23ed..18240721ac4b 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -104,6 +104,17 @@ using ::css::io::XOutputStream; using ::sax_fastparser::FSHelperPtr; using ::sax_fastparser::FastSerializerHelper; +#if defined(ANDROID) +namespace std +{ +template<typename T> +T lround(T x) +{ + return ::lround(x); +} +} +#endif + namespace oox { 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 ) { Reference< XPropertySet > rXPropSet( rParagraph, UNO_QUERY ); |