diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-03-23 15:49:12 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-03-23 15:54:37 +0100 |
commit | 59698a4797101a286c177069c41d43762de6a4d5 (patch) | |
tree | 53e1225aabd699ad8bec567100c3a773eb96ccaf /sw | |
parent | 5e01f04cf34970e8583858146c79380fa1bf7aba (diff) |
DocxSdrExport: fix indentation
Change-Id: I8318caf6a80fe5fd0dbe98ef5877103f9250f616
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/docxsdrexport.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx index d4f63bf373f5..108347703abb 100644 --- a/sw/source/filter/ww8/docxsdrexport.cxx +++ b/sw/source/filter/ww8/docxsdrexport.cxx @@ -73,7 +73,7 @@ OUString lclGetAnchorIdFromGrabBag(const SdrObject* pObj) OUString aResult; uno::Reference<drawing::XShape> xShape(const_cast<SdrObject*>(pObj)->getUnoShape(), uno::UNO_QUERY); uno::Sequence< beans::PropertyValue > propList = - lclGetProperty< uno::Sequence<beans::PropertyValue> >(xShape, "FrameInteropGrabBag"); + lclGetProperty< uno::Sequence<beans::PropertyValue> >(xShape, "FrameInteropGrabBag"); for (sal_Int32 nProp = 0; nProp < propList.getLength(); ++nProp) { OUString aPropName = propList[nProp].Name; @@ -91,19 +91,19 @@ void lclMovePositionWithRotation(awt::Point& aPos, sal_Int64 nRotation) // code from ImplEESdrWriter::ImplFlipBoundingBox (filter/source/msfilter/eschesdo.cxx) // TODO: refactor - if ( nRotation == 0 ) + if (nRotation == 0) return; - if ( nRotation < 0 ) - nRotation = ( 36000 + nRotation ) % 36000; - if ( nRotation % 18000 == 0 ) + if (nRotation < 0) + nRotation = (36000 + nRotation) % 36000; + if (nRotation % 18000 == 0) nRotation = 0; - while ( nRotation > 9000 ) - nRotation = ( 18000 - ( nRotation % 18000 ) ); + while (nRotation > 9000) + nRotation = (18000 - (nRotation % 18000)); double fVal = (double) nRotation * F_PI18000; - double fCos = cos( fVal ); - double fSin = sin( fVal ); + double fCos = cos(fVal); + double fSin = sin(fVal); double nWidthHalf = (double) aPos.X / 2; double nHeightHalf = (double) aPos.Y / 2; @@ -609,7 +609,7 @@ void DocxSdrExport::writeDMLDrawing(const SdrObject* pSdrObject, const SwFrmFmt* bool bLockedCanvas = false; uno::Sequence< beans::PropertyValue > propList = - lclGetProperty< uno::Sequence<beans::PropertyValue> >(xShape, "InteropGrabBag"); + lclGetProperty< uno::Sequence<beans::PropertyValue> >(xShape, "InteropGrabBag"); for (sal_Int32 nProp=0; nProp < propList.getLength(); ++nProp) { OUString propName = propList[nProp].Name; |