diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-09-27 18:50:49 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-09-27 18:51:35 +0200 |
commit | 7d92ac2f05679933d9a2df131786efa6ece00705 (patch) | |
tree | af8cb309833b01d7b2ad4d3a858345f0d8f3add7 | |
parent | 4fed2075cc3ae3857485cf5f370ad7717e823be4 (diff) |
sw: hopefully fix windows build
Change-Id: If8d2b964cad9dfd8b847fbc89f9e13ebfb5bc191
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 1252a3bec04e..29aafd2eb3c6 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -2182,7 +2182,7 @@ void DocxAttributeOutput::FlyFrameGraphic( const SwGrfNode& rGrfNode, const Size if ( aShadowItem.GetLocation() != SVX_SHADOW_NONE ) { // Distance is measured diagonally from corner - double nShadowDist = sqrt((aShadowItem.GetWidth()*aShadowItem.GetWidth())*2); + double nShadowDist = sqrt((aShadowItem.GetWidth()*aShadowItem.GetWidth())*2.0); OString aShadowDist( OString::valueOf( TwipsToEMU( nShadowDist ) ) ); OString aShadowColor = impl_ConvertColor( aShadowItem.GetColor() ); sal_uInt32 nShadowDir = 0; |