summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2018-11-09 12:14:04 +0100
committerJulien Nabet <serval2412@yahoo.fr>2018-11-09 13:58:11 +0100
commiteadba44a0c5dd12989d6b8613d6dd558c94bb4dc (patch)
treece9f0d3cbe7ac15d9bcd3ce750472eca74181e88 /xmloff
parent015e4266a82ead8135458bd07f01838222521eea (diff)
Revert "Fix some layout values"
Nothing proves this is ok since no feedback. Moreover, since it's only of the assumption that setWidth and setHeight should have value >= 0 or -1, let's revert this one. This reverts commit d467214ac24e22818ff933d76148f3f0987c65ca. Change-Id: Ia030706d150afaebaedc0ec201814cca80db248a Reviewed-on: https://gerrit.libreoffice.org/63171 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/sdxmlexp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx
index 86ecf33a43f7..3f09010adfd0 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -992,9 +992,9 @@ void SdXMLExport::ImpWriteAutoLayoutInfos()
{
case 22 : nColCnt = 1; nRowCnt = 1; break;
case 23 : nColCnt = 1; nRowCnt = 2; break;
- case 24 : nColCnt = 2; nRowCnt = 3; break;
+ case 24 : nColCnt = 1; nRowCnt = 3; break;
case 25 : nColCnt = 2; nRowCnt = 2; break;
- case 26 : nColCnt = 2; nRowCnt = 3; break;
+ case 26 : nColCnt = 3; nRowCnt = 2; break;
case 31 : nColCnt = 3; nRowCnt = 3; break;
default: nColCnt = 0; nRowCnt = 0; break; // FIXME - What is correct values?
}