update ooo310-m15
[ooovba.git] / applied_patches / 0469-oox-import-table-autofilter.diff
blob2ad516319e06618ffc55c7247c4d7d4ea2c8aa3b
1 diff --git oox/source/xls/tablefragment.cxx oox/source/xls/tablefragment.cxx
2 index 97f572c..6ab78de 100644
3 --- oox/source/xls/tablefragment.cxx
4 +++ oox/source/xls/tablefragment.cxx
5 @@ -30,6 +30,8 @@
7 #include "oox/xls/tablefragment.hxx"
9 +#include <oox/xls/autofiltercontext.hxx>
11 using ::rtl::OUString;
12 using ::oox::core::RecordInfo;
14 @@ -51,6 +53,14 @@ ContextWrapper OoxTableFragment::onCreateContext( sal_Int32 nElement, const Attr
16 case XML_ROOT_CONTEXT:
17 return (nElement == XLS_TOKEN( table ));
18 + case XLS_TOKEN( table ):
19 + switch (nElement)
20 + {
21 + case XLS_TOKEN( autoFilter ):
22 + {
23 + return new OoxAutoFilterContext( *this );
24 + }
25 + }
27 return false;