summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2015-11-05 21:44:28 +0100
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2015-11-08 19:39:13 +0100
commit8a2af3ca02c8f50ee1e016b99483ad5e1d03cec2 (patch)
tree0a0e87cc84d754880e8086d095db9da559648cfe /sd
parente4685adea31e2494f2991b321c4ce58049c7bc9f (diff)
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
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/eppt/pptx-epptooxml.cxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx
index aacdf0281363..2c42be6ae028 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -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 )