diff --git a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/PropertyInfo.java b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/PropertyInfo.java index f1a7a4714f05..dc5663213458 100644 --- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/PropertyInfo.java +++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/PropertyInfo.java @@ -49,6 +49,7 @@ public class PropertyInfo { return m_description; } + @SuppressWarnings("unchecked") public void setValue(Object value) throws IllegalArgumentException { if (m_property.Type == Type.LONG) { if (!(value instanceof Integer)) diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java b/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java index 3c52473e3d3c..322c2ac1ccfa 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java @@ -205,7 +205,7 @@ public class SOReportJobFactory { if (exception instanceof ReportDataFactoryException == false) return; - exception = ((ReportDataFactoryException)exception).getParent(); + exception = ((ReportDataFactoryException)exception).getCause(); if (exception instanceof DataSourceException == false) return; exception = ((DataSourceException)exception).getCause(); diff --git a/wizards/com/sun/star/wizards/form/UIControlArranger.java b/wizards/com/sun/star/wizards/form/UIControlArranger.java index b73796eca410..8f92e8ce66b5 100644 --- a/wizards/com/sun/star/wizards/form/UIControlArranger.java +++ b/wizards/com/sun/star/wizards/form/UIControlArranger.java @@ -47,7 +47,7 @@ public class UIControlArranger private final XRadioButton optAlignLeft; private final XRadioButton optAlignRight; private final XControl flnLabelPlacement; - private final Map helpTexts = new HashMap(4); + private final Map helpTexts = new HashMap(4); private final ArrangeButtonList[] m_aArrangeList = new ArrangeButtonList[2]; private final Integer IControlStep; private static final int SOBASEIMAGEYPOSITION = 66; @@ -109,7 +109,7 @@ public class UIControlArranger }); - DefaultListModel imageModel = new DefaultListModel(); + DefaultListModel imageModel = new DefaultListModel(); imageModel.addElement(ARRANGELISTSIDE); imageModel.addElement(ARRANGELISTTOP); imageModel.addElement(ARRANGETABLE);