Fixed warnings in Linux (default statement in switch case)

--HG--
branch : feature
This commit is contained in:
Valentina Zhuravska 2015-09-30 21:00:58 +03:00
parent c3fef2abd7
commit 418a7ab57f

View File

@ -2277,6 +2277,8 @@ bool DL_Dxf::handleHatchData(DL_CreationInterface* creationInterface)
hatchEdge.defined = true;
}
return true;
default:
return true;
}
}
else
@ -2299,6 +2301,8 @@ bool DL_Dxf::handleHatchData(DL_CreationInterface* creationInterface)
hatchEdge.y2 = toReal(groupValue);
hatchEdge.defined = true;
return true;
default:
return true;
}
}
@ -2326,6 +2330,8 @@ bool DL_Dxf::handleHatchData(DL_CreationInterface* creationInterface)
hatchEdge.ccw = static_cast<bool>(toInt(groupValue));
hatchEdge.defined = true;
return true;
default:
return true;
}
}
@ -2359,6 +2365,8 @@ bool DL_Dxf::handleHatchData(DL_CreationInterface* creationInterface)
hatchEdge.ccw = static_cast<bool>(toInt(groupValue));
hatchEdge.defined = true;
return true;
default:
return true;
}
}
@ -2439,6 +2447,8 @@ bool DL_Dxf::handleHatchData(DL_CreationInterface* creationInterface)
case 23:
hatchEdge.endTangentY = toReal(groupValue);
return true;
default:
return true;
}
}
}
@ -2602,6 +2612,8 @@ void DL_Dxf::writeHeader(DL_WriterA& dw)
case DL_Codes::AC1015:
dw.dxfString(1, "AC1015");
break;
default:
break;
}
// Newer version require that (otherwise a*cad crashes..)