diff options
55 files changed, 68 insertions, 68 deletions
diff --git a/bean/com/sun/star/beans/LocalOfficeWindow.java b/bean/com/sun/star/beans/LocalOfficeWindow.java index 2db466a96bf0..afeb89e0fd38 100644 --- a/bean/com/sun/star/beans/LocalOfficeWindow.java +++ b/bean/com/sun/star/beans/LocalOfficeWindow.java @@ -263,7 +263,7 @@ public class LocalOfficeWindow Thread aWatchedThread; long nTimeout; - CallWatchThread( long nTimeout ) + private CallWatchThread( long nTimeout ) { this.aWatchedThread = Thread.currentThread(); this.nTimeout = nTimeout; diff --git a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java index 93ac5bbaeb90..f9e5d50cd3e1 100644 --- a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java +++ b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java @@ -732,7 +732,7 @@ public class LocalOfficeConnection java.io.InputStream m_in; java.io.PrintStream m_print; - public StreamProcessor(final java.io.InputStream in, final java.io.PrintStream out) + private StreamProcessor(final java.io.InputStream in, final java.io.PrintStream out) { m_in = in; m_print = out; diff --git a/bean/qa/complex/bean/ScreenComparer.java b/bean/qa/complex/bean/ScreenComparer.java index 9b4815bc3caf..a5e7d1db97e1 100644 --- a/bean/qa/complex/bean/ScreenComparer.java +++ b/bean/qa/complex/bean/ScreenComparer.java @@ -39,7 +39,7 @@ class ScreenComparer this(new Rectangle(x, y, width, height)); } - public ScreenComparer(Rectangle location) + private ScreenComparer(Rectangle location) { m_rect = location; int red = 0xff; diff --git a/connectivity/com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess.java b/connectivity/com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess.java index 3e460a7c48f8..db71e8679b96 100644 --- a/connectivity/com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess.java +++ b/connectivity/com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess.java @@ -73,7 +73,7 @@ public class StorageFileAccess implements org.hsqldb.lib.FileAccess{ public class FileSync implements FileAccess.FileSync { NativeOutputStreamHelper os; - FileSync(NativeOutputStreamHelper _os) + private FileSync(NativeOutputStreamHelper _os) { os = _os; } diff --git a/dbaccess/qa/complex/dbaccess/CopyTableWizard.java b/dbaccess/qa/complex/dbaccess/CopyTableWizard.java index 75eb92ef548f..f4870f55d8c4 100644 --- a/dbaccess/qa/complex/dbaccess/CopyTableWizard.java +++ b/dbaccess/qa/complex/dbaccess/CopyTableWizard.java @@ -94,7 +94,7 @@ public class CopyTableWizard extends CRMBasedTestCase final XCopyTableWizard copyWizard; - CopyThread(final XCopyTableWizard copyWizard) + private CopyThread(final XCopyTableWizard copyWizard) { this.copyWizard = copyWizard; } diff --git a/dbaccess/qa/complex/dbaccess/RowSet.java b/dbaccess/qa/complex/dbaccess/RowSet.java index e26aa233d049..f36a3220da8b 100644 --- a/dbaccess/qa/complex/dbaccess/RowSet.java +++ b/dbaccess/qa/complex/dbaccess/RowSet.java @@ -77,7 +77,7 @@ public class RowSet extends TestCase XRow m_row; int m_id; - ResultSetMovementStress(XResultSet _resultSet, int _id) throws java.lang.Exception + private ResultSetMovementStress(XResultSet _resultSet, int _id) throws java.lang.Exception { m_resultSet = _resultSet; m_row = UnoRuntime.queryInterface( XRow.class, m_resultSet ); diff --git a/forms/qa/integration/forms/FormComponent.java b/forms/qa/integration/forms/FormComponent.java index d6ea10d3bb6e..51f92a142aba 100644 --- a/forms/qa/integration/forms/FormComponent.java +++ b/forms/qa/integration/forms/FormComponent.java @@ -61,7 +61,7 @@ public class FormComponent } /* ------------------------------------------------------------------ */ - public FormComponent( Object element ) + private FormComponent( Object element ) { m_component = element; m_nameAccess = UnoRuntime.queryInterface( diff --git a/framework/qa/complex/framework/autosave/AutoSave.java b/framework/qa/complex/framework/autosave/AutoSave.java index 4ca6eda2a26b..d82f97363125 100644 --- a/framework/qa/complex/framework/autosave/AutoSave.java +++ b/framework/qa/complex/framework/autosave/AutoSave.java @@ -68,7 +68,7 @@ public class AutoSave private URL m_aRegistration; private Protocol m_aLog; - public AutoSaveListener(XMultiServiceFactory xSMGR , + private AutoSaveListener(XMultiServiceFactory xSMGR , XDispatch xAutoSave, Protocol aLog ) { diff --git a/framework/qa/complex/framework/autosave/Protocol.java b/framework/qa/complex/framework/autosave/Protocol.java index bcf3d40a0544..c985a951c1b2 100644 --- a/framework/qa/complex/framework/autosave/Protocol.java +++ b/framework/qa/complex/framework/autosave/Protocol.java @@ -170,7 +170,7 @@ public class Protocol extends JComponent private Timestamp m_aStamp; /** ctor for fast initializing of such line */ - public ProtocolLine( long nLine , + private ProtocolLine( long nLine , long nScope , int nType , String sMessage ) diff --git a/framework/qa/complex/imageManager/_XComponent.java b/framework/qa/complex/imageManager/_XComponent.java index 3f1445e72b44..e1051d28ab56 100644 --- a/framework/qa/complex/imageManager/_XComponent.java +++ b/framework/qa/complex/imageManager/_XComponent.java @@ -51,7 +51,7 @@ public class _XComponent { public class MyEventListener implements XEventListener { int number = 0; String message = null; - public MyEventListener(int number, String message) { + private MyEventListener(int number, String message) { this.message = message; this.number = number; } diff --git a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseEvolutionarySolver.java b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseEvolutionarySolver.java index e51f2e6e7de7..a10a82eecb7b 100644 --- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseEvolutionarySolver.java +++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseEvolutionarySolver.java @@ -67,7 +67,7 @@ public abstract class BaseEvolutionarySolver extends BaseNLPSolver { protected double MaxValue; protected double Granularity; - protected Variable(CellMap cellMap, int originalVariable) { + private Variable(CellMap cellMap, int originalVariable) { this.CellMap = cellMap; this.OriginalVariable = originalVariable; this.MinValue = BasicBound.MINDOUBLE; @@ -81,7 +81,7 @@ public abstract class BaseEvolutionarySolver extends BaseNLPSolver { private ArrayList<Variable> m_variables; private ArrayList<ExtSolverConstraint> m_constraints; - protected CalcProblemEncoder(ArrayList<Variable> variables, + private CalcProblemEncoder(ArrayList<Variable> variables, ArrayList<ExtSolverConstraint> constraints) throws Exception { //m_variableCount variables to solve, target function + constraints to match super(variables.size(), 1 + constraints.size()); diff --git a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java index 8561763afce3..3709ecb9c12a 100644 --- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java +++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java @@ -170,7 +170,7 @@ public abstract class BaseNLPSolver extends WeakBase protected int StartCol; protected int EndCol; - public RowInfo(short sheet, int row) { + private RowInfo(short sheet, int row) { Sheet = sheet; Row = row; } @@ -199,7 +199,7 @@ public abstract class BaseNLPSolver extends WeakBase public XCell Right; public double Data; - public ExtSolverConstraint(XCell left, SolverConstraintOperator operator, Object right) { + private ExtSolverConstraint(XCell left, SolverConstraintOperator operator, Object right) { this.Left = left; this.Operator = operator; this.Right = null; 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 9674213f5520..2371f0eb79e6 100644 --- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/PropertyInfo.java +++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/PropertyInfo.java @@ -69,7 +69,7 @@ public class PropertyInfo<PropType> { this(name, value, (short)0, description); } - public PropertyInfo(String name, PropType value, short attributes, + private PropertyInfo(String name, PropType value, short attributes, String description) { m_property = new Property(); m_property.Name = name; diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java index 8972dd0ab99a..ff88ebe3ce08 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java @@ -188,7 +188,7 @@ public class CustomizeView extends JPanel * ctor * It initialize an instance of this clas only. */ - ClickListener( String sURL , + private ClickListener( String sURL , String sProp , com.sun.star.frame.XFrame xFrame ) { diff --git a/odk/examples/java/Inspector/InspectorAddon.java b/odk/examples/java/Inspector/InspectorAddon.java index c455ec265e49..3b28adcde282 100644 --- a/odk/examples/java/Inspector/InspectorAddon.java +++ b/odk/examples/java/Inspector/InspectorAddon.java @@ -100,7 +100,7 @@ public class InspectorAddon { private XFrame m_xFrame = null; private XModel xModel = null; - public Dispatcher(XFrame _xFrame){ + private Dispatcher(XFrame _xFrame){ m_xFrame = _xFrame; if (m_xFrame != null){ XController xController = m_xFrame.getController(); diff --git a/odk/examples/java/Inspector/SourceCodeGenerator.java b/odk/examples/java/Inspector/SourceCodeGenerator.java index 30e494e04af8..3b48b0fe93eb 100644 --- a/odk/examples/java/Inspector/SourceCodeGenerator.java +++ b/odk/examples/java/Inspector/SourceCodeGenerator.java @@ -554,7 +554,7 @@ class UnoObjectDefinition{ Object[] m_oParameterObjects = null; - public UnoObjectDefinition(Any _oUnoObject){ + private UnoObjectDefinition(Any _oUnoObject){ m_sTypeName = _oUnoObject.getType().getTypeName(); m_aTypeClass = _oUnoObject.getType().getTypeClass(); m_oUnoObject = _oUnoObject; @@ -562,7 +562,7 @@ class UnoObjectDefinition{ } - public UnoObjectDefinition(Object _oUnoObject, String _sTypeName, TypeClass _aTypeClass){ + private UnoObjectDefinition(Object _oUnoObject, String _sTypeName, TypeClass _aTypeClass){ m_oUnoObject = _oUnoObject; m_sTypeName = _sTypeName; m_aTypeClass = _aTypeClass; @@ -570,7 +570,7 @@ class UnoObjectDefinition{ } - public UnoObjectDefinition(Object _oUnoObject, String _sTypeName){ + private UnoObjectDefinition(Object _oUnoObject, String _sTypeName){ m_oUnoObject = _oUnoObject; m_sTypeName = _sTypeName; m_aTypeClass = AnyConverter.getType(_oUnoObject).getTypeClass(); diff --git a/qadevOOo/runner/convwatch/ImageHelper.java b/qadevOOo/runner/convwatch/ImageHelper.java index 6389971b7136..79c5d5cc1fdd 100644 --- a/qadevOOo/runner/convwatch/ImageHelper.java +++ b/qadevOOo/runner/convwatch/ImageHelper.java @@ -32,7 +32,7 @@ class ImageHelper int m_h = 0; boolean m_bGrabbed = false; - public ImageHelper(Image _aImage) + private ImageHelper(Image _aImage) { m_aImage = _aImage; diff --git a/qadevOOo/runner/convwatch/TriState.java b/qadevOOo/runner/convwatch/TriState.java index 80a568329f92..835ff6e67b66 100644 --- a/qadevOOo/runner/convwatch/TriState.java +++ b/qadevOOo/runner/convwatch/TriState.java @@ -32,7 +32,7 @@ public class TriState @param value the value of the <code>TriState</code>. */ - public TriState(int value) + private TriState(int value) { m_nValue = value; } diff --git a/qadevOOo/runner/helper/ConfigurationRead.java b/qadevOOo/runner/helper/ConfigurationRead.java index 30c8ee2d0c4b..5a3e476421dc 100644 --- a/qadevOOo/runner/helper/ConfigurationRead.java +++ b/qadevOOo/runner/helper/ConfigurationRead.java @@ -38,7 +38,7 @@ public class ConfigurationRead { * "com.sun.star.configuration.ConfigurationProvider" * @param rootnode The root of the configuration nodes. */ - public ConfigurationRead(XMultiServiceFactory xMSF, String rootnode) { + private ConfigurationRead(XMultiServiceFactory xMSF, String rootnode) { PropertyValue [] nodeArgs = new PropertyValue [1]; PropertyValue nodepath = new PropertyValue(); diff --git a/qadevOOo/runner/helper/ProcessHandler.java b/qadevOOo/runner/helper/ProcessHandler.java index e88a2a2181f4..03f9bf130d6c 100644 --- a/qadevOOo/runner/helper/ProcessHandler.java +++ b/qadevOOo/runner/helper/ProcessHandler.java @@ -275,7 +275,7 @@ public class ProcessHandler * * */ - public ProcessHandler(String cmdLine, PrintWriter log, File workDir, String[] envVars, long timeOut) + private ProcessHandler(String cmdLine, PrintWriter log, File workDir, String[] envVars, long timeOut) { this.cmdLine = cmdLine; this.workDir = workDir; @@ -829,7 +829,7 @@ public class ProcessHandler private String m_sProcessToStart; private boolean m_bInterrupt; - public ProcessWatcher(int _nTimeOut, String _sProcess) + private ProcessWatcher(int _nTimeOut, String _sProcess) { m_nTimeoutInSec = _nTimeOut; m_sProcessToStart = _sProcess; diff --git a/qadevOOo/runner/lib/Parameters.java b/qadevOOo/runner/lib/Parameters.java index eb28612fd60b..6901323e9641 100644 --- a/qadevOOo/runner/lib/Parameters.java +++ b/qadevOOo/runner/lib/Parameters.java @@ -45,7 +45,7 @@ public class Parameters implements XPropertySet { this (params, null); } - public Parameters(Map<String, Object> params, Parameters defaultParams) { + private Parameters(Map<String, Object> params, Parameters defaultParams) { parameters = params; defaults = defaultParams; checkParameters(parameters); diff --git a/qadevOOo/runner/util/DBTools.java b/qadevOOo/runner/util/DBTools.java index 251406276cbf..43aa834cb1d7 100644 --- a/qadevOOo/runner/util/DBTools.java +++ b/qadevOOo/runner/util/DBTools.java @@ -163,7 +163,7 @@ public class DBTools { * @param dataSource All source properties are copied into * class fields. */ - public DataSourceInfo(Object dataSource) { + private DataSourceInfo(Object dataSource) { XPropertySet xProps = UnoRuntime.queryInterface(XPropertySet.class, dataSource) ; try { diff --git a/qadevOOo/runner/util/WaitUnreachable.java b/qadevOOo/runner/util/WaitUnreachable.java index 605bf752b305..e33220681ff7 100644 --- a/qadevOOo/runner/util/WaitUnreachable.java +++ b/qadevOOo/runner/util/WaitUnreachable.java @@ -97,7 +97,7 @@ public final class WaitUnreachable { */ public static void ensureFinalization(final Object obj) { final class WaitThread extends Thread { - public WaitThread(Object obj) { + private WaitThread(Object obj) { super("ensureFinalization"); unreachable = new WaitUnreachable(obj); } diff --git a/qadevOOo/runner/util/XMLTools.java b/qadevOOo/runner/util/XMLTools.java index 2ee99cbe4843..7516d4b8c895 100644 --- a/qadevOOo/runner/util/XMLTools.java +++ b/qadevOOo/runner/util/XMLTools.java @@ -75,7 +75,7 @@ public class XMLTools { this.log = log ; } - public AttributeList(XAttributeList list) { + private AttributeList(XAttributeList list) { if (list == null) return ; for (short i = 0; i < list.getLength(); i++) { add(list.getNameByIndex(i), list.getTypeByIndex(i), @@ -178,7 +178,7 @@ public class XMLTools { * Creates a SAX handler which writes all XML data * handled into a <code>log</code> stream specified. */ - public XMLWriter(PrintWriter log) { + private XMLWriter(PrintWriter log) { _log = log ; } @@ -260,12 +260,12 @@ public class XMLTools { protected PrintWriter log = null ; protected boolean printXMLData = false ; - public XMLWellFormChecker(PrintWriter log) { + private XMLWellFormChecker(PrintWriter log) { super() ; this.log = log ; } - public XMLWellFormChecker(PrintWriter log_, boolean printXMLData) { + private XMLWellFormChecker(PrintWriter log_, boolean printXMLData) { super(printXMLData ? log_ : null) ; this.printXMLData = printXMLData ; this.log = log_ ; diff --git a/reportbuilder/java/org/libreoffice/report/StorageRepository.java b/reportbuilder/java/org/libreoffice/report/StorageRepository.java index a06bfc717602..d242b42d3899 100644 --- a/reportbuilder/java/org/libreoffice/report/StorageRepository.java +++ b/reportbuilder/java/org/libreoffice/report/StorageRepository.java @@ -63,7 +63,7 @@ public class StorageRepository implements InputRepository, OutputRepository } - public StorageRepository(final XStorage storage, final boolean isOutput, final String rootURL) + private StorageRepository(final XStorage storage, final boolean isOutput, final String rootURL) { this.rootURL = rootURL; if (isOutput) diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/VariablesCollection.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/VariablesCollection.java index 6cd025206eb9..4bb380eea236 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/VariablesCollection.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/VariablesCollection.java @@ -46,7 +46,7 @@ public class VariablesCollection this(namePrefix, null); } - public VariablesCollection(final String namePrefix, final VariablesCollection parent) + private VariablesCollection(final String namePrefix, final VariablesCollection parent) { if (namePrefix == null) { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeStyles.java b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeStyles.java index 59cedd951902..4fd9ebdf642b 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeStyles.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeStyles.java @@ -49,7 +49,7 @@ public class OfficeStyles extends Element private final String family; private final String name; - public StyleKey(final String family, final String name) + private StyleKey(final String family, final String name) { if (family == null) { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/ImageProducer.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/ImageProducer.java index 25c2bf49317f..c7c5a36e8954 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/ImageProducer.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/ImageProducer.java @@ -76,7 +76,7 @@ public class ImageProducer private final CSSNumericValue height; private final String embeddableLink; - public OfficeImage(final String embeddableLink, final CSSNumericValue width, final CSSNumericValue height) + private OfficeImage(final String embeddableLink, final CSSNumericValue width, final CSSNumericValue height) { this.embeddableLink = embeddableLink; this.width = width; diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java index 3adb42dd35c2..98dfbf1b1ffd 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java @@ -152,7 +152,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget private final MemoryByteArrayOutputStream xmlBuffer; private final OfficeStylesCollection stylesCollection; - protected BufferState(final XmlWriter xmlWriter, + private BufferState(final XmlWriter xmlWriter, final MemoryByteArrayOutputStream xmlBuffer, final OfficeStylesCollection stylesCollection) { @@ -208,7 +208,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget private int iterationCount; private boolean groupWithRepeatingSection; - protected GroupContext(final GroupContext parent) + private GroupContext(final GroupContext parent) { this.parent = parent; } diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/MasterDetailReadHandler.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/MasterDetailReadHandler.java index ba39e7ba0c01..498c45c0a03d 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/MasterDetailReadHandler.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/MasterDetailReadHandler.java @@ -40,7 +40,7 @@ public class MasterDetailReadHandler extends ElementReadHandler parseMasterDetail = false; } - public MasterDetailReadHandler(final ObjectOleElement element, final boolean parseMasterDetail) + private MasterDetailReadHandler(final ObjectOleElement element, final boolean parseMasterDetail) { this.element = element; this.parseMasterDetail = parseMasterDetail; diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/SubDocumentReadHandler.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/SubDocumentReadHandler.java index 6698fc5962a9..d9a9ec929af9 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/SubDocumentReadHandler.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/SubDocumentReadHandler.java @@ -42,7 +42,7 @@ public class SubDocumentReadHandler extends NoCDATATextContentReadHandler this.element = element; } - public SubDocumentReadHandler(final Section section, final ObjectOleElement element) + private SubDocumentReadHandler(final Section section, final ObjectOleElement element) { super(section); this.element = element; diff --git a/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java b/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java index bb00331e6e78..31bb3b3c4af7 100644 --- a/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java +++ b/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java @@ -489,7 +489,7 @@ XInitialization { public class ActionListenerImpl implements com.sun.star.awt.XActionListener { private String _buttonName; - public ActionListenerImpl( String buttonName ) { + private ActionListenerImpl( String buttonName ) { _buttonName = buttonName; } @@ -508,7 +508,7 @@ XInitialization { public class ItemListenerImpl implements com.sun.star.awt.XItemListener { private XCheckBox _xCheckBox; - public ItemListenerImpl( XControlContainer xControlCont ) { + private ItemListenerImpl( XControlContainer xControlCont ) { Object objectCheckBox = xControlCont.getControl( _checkBoxName ); _xCheckBox = UnoRuntime.queryInterface( XCheckBox.class, objectCheckBox ); diff --git a/scripting/java/com/sun/star/script/framework/container/DeployedUnoPackagesDB.java b/scripting/java/com/sun/star/script/framework/container/DeployedUnoPackagesDB.java index a77e36f4e1c3..efc9347d5d04 100644 --- a/scripting/java/com/sun/star/script/framework/container/DeployedUnoPackagesDB.java +++ b/scripting/java/com/sun/star/script/framework/container/DeployedUnoPackagesDB.java @@ -50,7 +50,7 @@ public class DeployedUnoPackagesDB { } } - public DeployedUnoPackagesDB(Document document) { + private DeployedUnoPackagesDB(Document document) { this.document = document; } diff --git a/scripting/java/com/sun/star/script/framework/container/Parcel.java b/scripting/java/com/sun/star/script/framework/container/Parcel.java index e6997763d662..1b3da878752b 100644 --- a/scripting/java/com/sun/star/script/framework/container/Parcel.java +++ b/scripting/java/com/sun/star/script/framework/container/Parcel.java @@ -40,7 +40,7 @@ public class Parcel implements XNameContainer this.m_xSFA = xSFA; } - public Parcel( ParcelContainer parent, ParcelDescriptor desc, String parcelName ) + private Parcel( ParcelContainer parent, ParcelDescriptor desc, String parcelName ) { this.parent = parent; this.m_descriptor = desc; diff --git a/scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java b/scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java index be1e2c808be2..ba8ca3adfd9e 100644 --- a/scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java +++ b/scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java @@ -124,7 +124,7 @@ public class ParcelDescriptor { } } - public ParcelDescriptor(Document document) { + private ParcelDescriptor(Document document) { this.document = document; initLanguageProperties(); } @@ -137,7 +137,7 @@ public class ParcelDescriptor { this(file, "Java"); } - public ParcelDescriptor(File file, String language) throws IOException { + private ParcelDescriptor(File file, String language) throws IOException { this.file = file; if (file.exists()) { diff --git a/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java b/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java index d3266a382f72..6532c5f6a95a 100644 --- a/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java +++ b/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java @@ -47,7 +47,7 @@ public class ScriptContext extends PropertySet implements XScriptContext public Integer m_iStorageID = null; public XComponentContext m_xComponentContext = null; - public ScriptContext( XComponentContext xmComponentContext, + private ScriptContext( XComponentContext xmComponentContext, XDesktop xDesktop, XModel xModel, XScriptInvocationContext xInvocContext) { this.m_xDeskTop = xDesktop; diff --git a/scripting/java/com/sun/star/script/framework/provider/javascript/ScriptEditorForJavaScript.java b/scripting/java/com/sun/star/script/framework/provider/javascript/ScriptEditorForJavaScript.java index 28c6a4f6e4f3..130c44bb37ab 100644 --- a/scripting/java/com/sun/star/script/framework/provider/javascript/ScriptEditorForJavaScript.java +++ b/scripting/java/com/sun/star/script/framework/provider/javascript/ScriptEditorForJavaScript.java @@ -326,7 +326,7 @@ public class ScriptEditorForJavaScript implements ScriptEditor class closeHandler implements Runnable { URL url; - closeHandler( URL url ) + private closeHandler( URL url ) { this.url = url; } diff --git a/scripting/java/org/openoffice/idesupport/SVersionRCFile.java b/scripting/java/org/openoffice/idesupport/SVersionRCFile.java index 42cd8f0fa16b..01f2db7858fa 100644 --- a/scripting/java/org/openoffice/idesupport/SVersionRCFile.java +++ b/scripting/java/org/openoffice/idesupport/SVersionRCFile.java @@ -68,7 +68,7 @@ public class SVersionRCFile { this(DEFAULT_NAME); } - public SVersionRCFile(String name) { + private SVersionRCFile(String name) { sversionrc = new File(name); versions = new ArrayList<OfficeInstallation>(5); } diff --git a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleEventBroadcaster.java b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleEventBroadcaster.java index d21d70fb1f12..2d18276cbb0d 100644 --- a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleEventBroadcaster.java +++ b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleEventBroadcaster.java @@ -60,7 +60,7 @@ public class _XAccessibleEventBroadcaster { */ public static class EventProducer { XWindow xWindow; - public EventProducer(XWindow window) { + private EventProducer(XWindow window) { xWindow = window; } diff --git a/wizards/com/sun/star/wizards/common/SystemDialog.java b/wizards/com/sun/star/wizards/common/SystemDialog.java index cf10b62e9171..25cee169add4 100644 --- a/wizards/com/sun/star/wizards/common/SystemDialog.java +++ b/wizards/com/sun/star/wizards/common/SystemDialog.java @@ -50,7 +50,7 @@ public class SystemDialog * * @param type according to com.sun.star.ui.dialogs.TemplateDescription */ - public SystemDialog(XMultiServiceFactory xMSF, String ServiceName, short type) + private SystemDialog(XMultiServiceFactory xMSF, String ServiceName, short type) { try { diff --git a/wizards/com/sun/star/wizards/db/DBMetaData.java b/wizards/com/sun/star/wizards/db/DBMetaData.java index c5a47b4e84cb..5a2660c24236 100644 --- a/wizards/com/sun/star/wizards/db/DBMetaData.java +++ b/wizards/com/sun/star/wizards/db/DBMetaData.java @@ -289,7 +289,7 @@ public class DBMetaData private String Name; private int CommandType; - public CommandObject(String _CommandName, int _CommandType) + private CommandObject(String _CommandName, int _CommandType) { try { diff --git a/wizards/com/sun/star/wizards/db/TypeInspector.java b/wizards/com/sun/star/wizards/db/TypeInspector.java index 6cd8a493c234..b7930bd0f492 100644 --- a/wizards/com/sun/star/wizards/db/TypeInspector.java +++ b/wizards/com/sun/star/wizards/db/TypeInspector.java @@ -56,7 +56,7 @@ public class TypeInspector public String sDataTypeName; public boolean bisAutoIncrementable; - public TypeInfo(int _nDataType, String _sDataTypeName, boolean _bisAutoIncrementable) + private TypeInfo(int _nDataType, String _sDataTypeName, boolean _bisAutoIncrementable) { nDataType = _nDataType; sDataTypeName = _sDataTypeName; diff --git a/wizards/com/sun/star/wizards/form/FormDocument.java b/wizards/com/sun/star/wizards/form/FormDocument.java index c634f4eda9eb..f24cbe4d01f9 100644 --- a/wizards/com/sun/star/wizards/form/FormDocument.java +++ b/wizards/com/sun/star/wizards/form/FormDocument.java @@ -347,7 +347,7 @@ public class FormDocument extends TextDocument CommandMetaData oDBMetaData; XPropertySet xPropertySet; - public ControlForm(FormDocument _oFormDocument, String _sname, Point _astartPoint, Size _aFormSize) + private ControlForm(FormDocument _oFormDocument, String _sname, Point _astartPoint, Size _aFormSize) { aStartPoint = _astartPoint; aFormSize = _aFormSize; diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java index f4dc340b004d..8a4027033603 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java +++ b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java @@ -23,7 +23,7 @@ import com.sun.star.report.XFixedText; public class SectionLabel extends SectionObject { - protected SectionLabel(XFixedText _aFixedText) + private SectionLabel(XFixedText _aFixedText) { m_aParentObject = _aFixedText; } diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionTextField.java b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionTextField.java index 749df02b1e7d..bc7be4e88462 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionTextField.java +++ b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionTextField.java @@ -23,7 +23,7 @@ import com.sun.star.report.XFormattedField; public class SectionTextField extends SectionObject { - protected SectionTextField(XFormattedField _aFormattedField) + private SectionTextField(XFormattedField _aFormattedField) { m_aParentObject = _aFormattedField; // We would like to know, what properties are in this object. diff --git a/wizards/com/sun/star/wizards/ui/AggregateComponent.java b/wizards/com/sun/star/wizards/ui/AggregateComponent.java index c49f21784a1b..67f17ec39950 100644 --- a/wizards/com/sun/star/wizards/ui/AggregateComponent.java +++ b/wizards/com/sun/star/wizards/ui/AggregateComponent.java @@ -514,7 +514,7 @@ public class AggregateComponent extends ControlScroller private XListBox xFunctionListBox; private int index; - protected ControlRow(int _index, int ypos, int _curHelpID) + private ControlRow(int _index, int ypos, int _curHelpID) { try { diff --git a/wizards/com/sun/star/wizards/ui/ButtonList.java b/wizards/com/sun/star/wizards/ui/ButtonList.java index a4aed7619bda..0f17303dc95a 100644 --- a/wizards/com/sun/star/wizards/ui/ButtonList.java +++ b/wizards/com/sun/star/wizards/ui/ButtonList.java @@ -624,7 +624,7 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener public int start, end, max; - public Counter(int start_, int end_, int max_) + private Counter(int start_, int end_, int max_) { start = start_; end = end_; diff --git a/wizards/com/sun/star/wizards/ui/FilterComponent.java b/wizards/com/sun/star/wizards/ui/FilterComponent.java index 6e245c06e68e..c1420c683938 100644 --- a/wizards/com/sun/star/wizards/ui/FilterComponent.java +++ b/wizards/com/sun/star/wizards/ui/FilterComponent.java @@ -518,7 +518,7 @@ public class FilterComponent private boolean m_bEnabled; String[] FieldNames; - protected ControlRow(int iCompPosX, int iCompPosY, int Index, boolean _bEnabled, int _firstRowHelpID) + private ControlRow(int iCompPosX, int iCompPosY, int Index, boolean _bEnabled, int _firstRowHelpID) { int nFieldWidth = 71; int nOperatorWidth = 70; diff --git a/wizards/com/sun/star/wizards/ui/ImageList.java b/wizards/com/sun/star/wizards/ui/ImageList.java index 66969937e191..4ca02a4612d8 100644 --- a/wizards/com/sun/star/wizards/ui/ImageList.java +++ b/wizards/com/sun/star/wizards/ui/ImageList.java @@ -813,7 +813,7 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener public int start, end, max; - public Counter(int start_, int end_, int max_) + private Counter(int start_, int end_, int max_) { start = start_; end = end_; diff --git a/wizards/com/sun/star/wizards/ui/PeerConfig.java b/wizards/com/sun/star/wizards/ui/PeerConfig.java index 48ded39005f7..689c0dd92700 100644 --- a/wizards/com/sun/star/wizards/ui/PeerConfig.java +++ b/wizards/com/sun/star/wizards/ui/PeerConfig.java @@ -50,7 +50,7 @@ public class PeerConfig implements XWindowListener String[] propnames; Object[] propvalues; - public PeerTask(XControl _xControl, String[] propNames_, Object[] propValues_) + private PeerTask(XControl _xControl, String[] propNames_, Object[] propValues_) { propnames = propNames_; propvalues = propValues_; @@ -65,7 +65,7 @@ public class PeerConfig implements XWindowListener String propname; Object propvalue; - public ControlTask(Object _oModel, String _propName, Object _propValue) + private ControlTask(Object _oModel, String _propName, Object _propValue) { propname = _propName; propvalue = _propValue; @@ -80,7 +80,7 @@ public class PeerConfig implements XWindowListener Object oResource; Object oHCResource; - public ImageUrlTask(Object _oModel, Object _oResource, Object _oHCResource) + private ImageUrlTask(Object _oModel, Object _oResource, Object _oHCResource) { oResource = _oResource; oHCResource = _oHCResource; diff --git a/wizards/com/sun/star/wizards/ui/TitlesComponent.java b/wizards/com/sun/star/wizards/ui/TitlesComponent.java index 03e3c5339974..c279e6f329bd 100644 --- a/wizards/com/sun/star/wizards/ui/TitlesComponent.java +++ b/wizards/com/sun/star/wizards/ui/TitlesComponent.java @@ -92,7 +92,7 @@ public class TitlesComponent extends ControlScroller PropertyValue[] regproperties; XTextComponent xTextComponent; - public ControlRow(int _index, int _iCompPosY) + private ControlRow(int _index, int _iCompPosY) { String slabelname = getColumnName(_index); String stextfieldname = getTitleName(_index); diff --git a/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java b/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java index 19b03e86913a..4218c07ffdef 100644 --- a/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java +++ b/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java @@ -55,7 +55,7 @@ public class MethodInvocation this(paramClass == null ? obj.getClass().getMethod(methodName) : obj.getClass().getMethod(methodName, paramClass), obj, paramClass); } - public MethodInvocation(Method method, Object obj, Class<?> paramClass) + private MethodInvocation(Method method, Object obj, Class<?> paramClass) { mMethod = method; mObject = obj; diff --git a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java index f1c176fdb751..cf21494c4cf9 100644 --- a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java +++ b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java @@ -41,7 +41,7 @@ public class UnoDataAware extends DataAware protected Object[] disableObjects = new Object[0]; protected boolean inverse = false; - protected UnoDataAware(Object dataObject, Value value, Object unoObject_, String unoPropName_) + private UnoDataAware(Object dataObject, Value value, Object unoObject_, String unoPropName_) { super(dataObject, value); unoControl = unoObject_; diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/dom/DOMDocument.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/dom/DOMDocument.java index 3cb80341ac7e..d9b4c46047c6 100644 --- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/dom/DOMDocument.java +++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/dom/DOMDocument.java @@ -91,7 +91,7 @@ public class DOMDocument * @param namespaceAware Value for <code>namespaceAware</code> flag. * @param validating Value for <code>validating</code> flag. */ - public DOMDocument(String name, String ext,boolean namespaceAware, boolean validating) { + private DOMDocument(String name, String ext,boolean namespaceAware, boolean validating) { factory.setValidating(validating); factory.setNamespaceAware(namespaceAware); diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/ColumnRowInfo.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/ColumnRowInfo.java index b02efb6b7835..2577096ce038 100644 --- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/ColumnRowInfo.java +++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/ColumnRowInfo.java @@ -54,7 +54,7 @@ public class ColumnRowInfo { * @param repeated how many times it is repeated. * @param type whether ROW or COLUMN record. */ - public ColumnRowInfo(int dimension, int repeated, int type) { + private ColumnRowInfo(int dimension, int repeated, int type) { this.dimension = dimension; this.repeated = repeated; |