Commit 727117d2 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 33410

parent 7b71afd2
...@@ -9693,9 +9693,10 @@ function ApplyPropsToCatAxis(aPr, oAxis, oDrawingDocument, bCreate){ ...@@ -9693,9 +9693,10 @@ function ApplyPropsToCatAxis(aPr, oAxis, oDrawingDocument, bCreate){
} }
oAxis.setSpPr(null); oAxis.setSpPr(null);
} }
else else{
{ if(!bCreate){
oAxis.setMajorGridlines(null); oAxis.setMajorGridlines(null);
}
} }
ApplySpPr(aPr[3], oAxis); ApplySpPr(aPr[3], oAxis);
if(oAxis.spPr){ if(oAxis.spPr){
...@@ -9705,7 +9706,9 @@ function ApplyPropsToCatAxis(aPr, oAxis, oDrawingDocument, bCreate){ ...@@ -9705,7 +9706,9 @@ function ApplyPropsToCatAxis(aPr, oAxis, oDrawingDocument, bCreate){
oAxis.setSpPr(null); oAxis.setSpPr(null);
} }
else{ else{
oAxis.setMinorGridlines(null); if(!bCreate){
oAxis.setMinorGridlines(null);
}
} }
ApplySpPr(aPr[1], oAxis); ApplySpPr(aPr[1], oAxis);
...@@ -9731,9 +9734,10 @@ function ApplyPropsToValAxis(aPr, oAxis, oDrawingDocument, bCreate){ ...@@ -9731,9 +9734,10 @@ function ApplyPropsToValAxis(aPr, oAxis, oDrawingDocument, bCreate){
} }
oAxis.setSpPr(null); oAxis.setSpPr(null);
} }
else else{
{ if(!bCreate){
oAxis.setMajorGridlines(null); oAxis.setMajorGridlines(null);
}
} }
ApplySpPr(aPr[3], oAxis); ApplySpPr(aPr[3], oAxis);
if(oAxis.spPr){ if(oAxis.spPr){
...@@ -9743,7 +9747,9 @@ function ApplyPropsToValAxis(aPr, oAxis, oDrawingDocument, bCreate){ ...@@ -9743,7 +9747,9 @@ function ApplyPropsToValAxis(aPr, oAxis, oDrawingDocument, bCreate){
oAxis.setSpPr(null); oAxis.setSpPr(null);
} }
else { else {
oAxis.setMinorGridlines(null); if(!bCreate){
oAxis.setMinorGridlines(null);
}
} }
ApplySpPr(aPr[1], oAxis); ApplySpPr(aPr[1], oAxis);
if(!bCreate){ if(!bCreate){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment