summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorSzabolcs Toth <toth.szabolcs@nisz.hu>2020-11-06 10:44:17 +0100
committerLászló Németh <nemeth@numbertext.org>2020-11-10 11:08:39 +0100
commit9dd43f97b0d8223b571573d1fe5d899fc38d89ba (patch)
tree781ab543ae3f917a5b2906da2b005681a12bd9f6 /filter
parent34a83f1949b7bcd22765e0405a37343d86a40dea (diff)
tdf#136721 XLSX: add missing A6 paper format
Unrecognized A6 paper format was converted to the default A4/Letter previously, see Paper Format in Format->Page... Co-authored-by: Balázs Regényi Change-Id: If2ea0c4137177aa8be66cb11d4732b14cbc14455 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105392 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/util.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/filter/source/msfilter/util.cxx b/filter/source/msfilter/util.cxx
index 52421c99f892..778fdce07c3f 100644
--- a/filter/source/msfilter/util.cxx
+++ b/filter/source/msfilter/util.cxx
@@ -218,7 +218,9 @@ const ApiPaperSize spPaperSizeTable[] =
{ MM2MM100( 201 ), MM2MM100( 276 ) }, // 65 - ISO B5 extra paper
{ MM2MM100( 420 ), MM2MM100( 594 ) }, // 66 - A2 paper
{ MM2MM100( 297 ), MM2MM100( 420 ) }, // 67 - A3 transverse paper
- { MM2MM100( 322 ), MM2MM100( 445 ) } // 68 - A3 extra transverse paper
+ { MM2MM100( 322 ), MM2MM100( 445 ) }, // 68 - A3 extra transverse paper
+ { 0, 0 }, // 69 - undefined
+ { MM2MM100( 105 ), MM2MM100( 148 ), }, // 70 - A6 paper
};
sal_Int32 PaperSizeConv::getMSPaperSizeIndex( const css::awt::Size& rSize )