Kaydet (Commit) 8a2af3ca authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

pptx: export slide transition direction parameter correctly

The direction of wipe transition was not exported correctly, left
was right, right was left, up was down and down was up. :)

Change-Id: Ibc709476c03d6c96204fb5fe91d37823a185fa97
üst e4685ade
......@@ -446,18 +446,19 @@ const char* PowerPointExport::GetSideDirection( sal_uInt8 nDirection )
{
const char* pDirection = NULL;
switch( nDirection ) {
switch(nDirection)
{
case 0:
pDirection = "r";
pDirection = "l";
break;
case 1:
pDirection = "d";
pDirection = "u";
break;
case 2:
pDirection = "l";
pDirection = "r";
break;
case 3:
pDirection = "u";
pDirection = "d";
break;
}
......@@ -640,6 +641,7 @@ void PowerPointExport::WriteTransition( FSHelperPtr pFS )
case PPT_TRANSITION_TYPE_NONE:
default:
nTransition = 0;
break;
}
if( nTransition )
......
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