diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-02-17 14:43:15 +0100 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-02-17 17:22:28 +0100 |
commit | f4ae06c6b558628457f3abdade1f2a705bf8b886 (patch) | |
tree | 9cdcf12b2c9df8f23fbf4fb0d4c85aa4d21958f1 /writerfilter | |
parent | 7d040153e8929f4a5a3362f04cd25e6ddb4d9f2c (diff) |
DOCX import: fix position of floating tables
Change-Id: I542acfd3215dcc7bbc2de49c567f73de0cda97a7
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/TablePositionHandler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/source/dmapper/TablePositionHandler.cxx b/writerfilter/source/dmapper/TablePositionHandler.cxx index 4c08bc95c857..6909f715defd 100644 --- a/writerfilter/source/dmapper/TablePositionHandler.cxx +++ b/writerfilter/source/dmapper/TablePositionHandler.cxx @@ -150,7 +150,7 @@ uno::Sequence<beans::PropertyValue> TablePositionHandler::getTablePosition() con pFrameProperties[13].Name = "HoriOrientRelation"; pFrameProperties[13].Value <<= nHoriOrientRelation; pFrameProperties[14].Name = "HoriOrientPosition"; - pFrameProperties[14].Value <<= m_nX; + pFrameProperties[14].Value <<= ConversionHelper::convertTwipToMM100(m_nX); // Vertical positioning @@ -177,7 +177,7 @@ uno::Sequence<beans::PropertyValue> TablePositionHandler::getTablePosition() con pFrameProperties[16].Name = "VertOrientRelation"; pFrameProperties[16].Value <<= nVertOrientRelation; pFrameProperties[17].Name = "VertOrientPosition"; - pFrameProperties[17].Value <<= m_nY; + pFrameProperties[17].Value <<= ConversionHelper::convertTwipToMM100(m_nY); return aFrameProperties; } |