Kaydet (Commit) 59698a47 authored tarafından Miklos Vajna's avatar Miklos Vajna

DocxSdrExport: fix indentation

Change-Id: I8318caf6a80fe5fd0dbe98ef5877103f9250f616
üst 5e01f04c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment