summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorsj <sj@openoffice.org>2010-07-22 13:09:02 +0200
committersj <sj@openoffice.org>2010-07-22 13:09:02 +0200
commit9977adcaf8916f52cca1d02634f6c123cc9e7f6e (patch)
treebf98073581f8b51e32f3f1571db7dc7e1ff5f74a /filter
parent34b5697be9084550b7c6e2dd4fd7778fc9f40fa8 (diff)
impress196: #i112309# EnhancedCustomShape::parseError not catched on linux platform
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/escherex.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx
index 2ad33b1e6195..805849279e6b 100644
--- a/filter/source/msfilter/escherex.cxx
+++ b/filter/source/msfilter/escherex.cxx
@@ -2094,6 +2094,13 @@ void ConvertEnhancedCustomShapeEquation( SdrObjCustomShape* pCustoShape,
aEquation.nPara[ 0 ] = 1; // hoping that this will not break anything
rEquations.push_back( aEquation );
}
+ catch ( ... )
+ {
+ EnhancedCustomShapeEquation aEquation; // #i112309# EnhancedCustomShape::Parse error
+ aEquation.nOperation = 0; // not catched on linux platform
+ aEquation.nPara[ 0 ] = 1;
+ rEquations.push_back( aEquation );
+ }
rEquationOrder.push_back( rEquations.size() - 1 );
}
// now updating our old equation indices, they are marked with a bit in the hiword of nOperation