diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-15 20:39:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-02-15 20:39:45 +0000 |
commit | 7e3edba7497291f089fb4a5aabd721b7192cee64 (patch) | |
tree | 16c7bca6c3cb5ea0bf5c5f96a8bcd75386060503 /oox | |
parent | 6efb8713d46fe59e623445a1a8c8a82e23012a82 (diff) |
no std::lround on android
Change-Id: I910a0a81a925ce4578f3b9b3a51987fbbd91aa13
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/drawingml.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index 13871c95356c..a57fc82d23ed 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -1912,6 +1912,17 @@ 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 ); |