summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-01-11 11:35:11 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-01-11 11:35:11 +0100
commit817ff8087cc67432de553bf17b9f345d8c99ee20 (patch)
tree7cab20640c9d641adf86f4eda6d4cbb27581ab1e
parent8024a768a8b3f55adf1991d5a30aa369312d4fcd (diff)
Fix one-off error with some text alignments
-rw-r--r--src/lib/VSDXContentCollector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/VSDXContentCollector.cpp b/src/lib/VSDXContentCollector.cpp
index 5bbb9c0..ece8be2 100644
--- a/src/lib/VSDXContentCollector.cpp
+++ b/src/lib/VSDXContentCollector.cpp
@@ -605,10 +605,10 @@ void libvisio::VSDXContentCollector::_flushText()
case 2: // right
paraProps.insert("fo:text-align", "end");
break;
- case 4: // justify
+ case 3: // justify
paraProps.insert("fo:text-align", "justify");
break;
- case 5: // full
+ case 4: // full
paraProps.insert("fo:text-align", "full");
break;
default: // center