summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oox/source/export/drawingml.cxx22
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 );