[Libreoffice-commits] core.git: 5 commits - bean/com bean/qa bean/test bridges/source bridges/test chart2/qa comphelper/qa connectivity/qa dbaccess/qa embeddedobj/test extensions/qa extensions/test filter/qa forms/qa framework/qa javaunohelper/com javaunohelper/test jurt/com jurt/test jurt/workbench linguistic/qa nlpsolver/ThirdParty odk/examples qadevOOo/Jar_OOoRunnerLight.mk qadevOOo/Jar_OOoRunner.mk qadevOOo/qa qadevOOo/runner qadevOOo/tests reportbuilder/java reportdesign/qa sc/qa scripting/examples scripting/java scripting/workben sfx2/qa smoketest/org sot/qa stoc/test svl/qa swext/mediawiki sw/qa testtools/com testtools/qa toolkit/qa toolkit/test ucb/qa ucb/test unotools/qa unoxml/qa vcl/qa wizards/com xmlsecurity/test_docs
Noel Grandin
noel at peralex.com
Tue Aug 5 02:32:48 PDT 2014
bean/com/sun/star/beans/LocalOfficeWindow.java | 1
bean/com/sun/star/comp/beans/OOoBean.java | 4
bean/qa/complex/bean/OOoBeanTest.java | 20
bean/qa/complex/bean/ScreenComparer.java | 5
bean/qa/complex/bean/WriterFrame.java | 1
bean/test/applet/oooapplet/OOoViewer.java | 5
bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java | 2
bridges/test/lib/TestBed.java | 4
bridges/test/testclient.java | 1
chart2/qa/TestCaseOldAPI.java | 32
comphelper/qa/complex/comphelper/Map.java | 21
comphelper/qa/complex/comphelper/SequenceOutputStreamUnitTest.java | 20
connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java | 3
connectivity/qa/connectivity/tools/HsqlDatabase.java | 1
dbaccess/qa/complex/dbaccess/Beamer.java | 3
dbaccess/qa/complex/dbaccess/PropertyBag.java | 2
dbaccess/qa/complex/dbaccess/Query.java | 5
dbaccess/qa/complex/dbaccess/TestCase.java | 1
embeddedobj/test/Container1/BitmapPainter.java | 22
embeddedobj/test/Container1/PaintThread.java | 30
extensions/qa/complex/extensions/OfficeResourceLoader.java | 15
extensions/qa/integration/extensions/MethodHandler.java | 1
extensions/test/pgp/TestPGP.java | 12
filter/qa/complex/filter/detection/typeDetection/TypeDetection.java | 1
filter/qa/complex/filter/misc/FinalizedMandatoryTest.java | 14
filter/qa/complex/filter/misc/TypeDetection6FileFormat.java | 8
forms/qa/complex/forms/CheckOGroupBoxModel.java | 5
forms/qa/integration/forms/ImageComparison.java | 1
forms/qa/integration/forms/SingleControlValidation.java | 2
framework/qa/complex/ModuleManager/CheckXModuleManager.java | 18
framework/qa/complex/XUserInputInterception/EventTest.java | 31
framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java | 17
framework/qa/complex/api_internal/CheckAPI.java | 9
framework/qa/complex/broken_document/LoadDocument.java | 13
framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor.java | 14
framework/qa/complex/desktop/DesktopTerminate.java | 21
framework/qa/complex/dispatches/checkdispatchapi.java | 30
framework/qa/complex/disposing/GetServiceWhileDisposingOffice.java | 8
framework/qa/complex/framework/autosave/AutoSave.java | 15
framework/qa/complex/imageManager/CheckImageManager.java | 1
framework/qa/complex/imageManager/_XUIConfiguration.java | 1
framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java | 148 ----
framework/qa/complex/loadAllDocuments/InteractionHandler.java | 4
framework/qa/complex/loadAllDocuments/StatusIndicator.java | 11
framework/qa/complex/path_settings/PathSettingsTest.java | 236 ------
framework/qa/complex/path_substitution/PathSubstitutionTest.java | 8
javaunohelper/com/sun/star/lib/uno/adapter/ByteArrayToXInputStreamAdapter.java | 21
javaunohelper/com/sun/star/lib/uno/adapter/InputStreamToXInputStreamAdapter.java | 2
javaunohelper/com/sun/star/lib/uno/adapter/XInputStreamToInputStreamAdapter.java | 1
javaunohelper/com/sun/star/lib/uno/adapter/XOutputStreamToByteArrayAdapter.java | 4
javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java | 1
javaunohelper/com/sun/star/lib/uno/helper/WeakAdapter.java | 1
javaunohelper/com/sun/star/lib/uno/helper/WeakBase.java | 2
javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java | 1
javaunohelper/test/com/sun/star/lib/uno/helper/AWeakBase.java | 1
javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java | 1
javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java | 36 -
javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java | 46 -
javaunohelper/test/com/sun/star/lib/uno/helper/UnoUrlTest.java | 18
javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java | 2
jurt/com/sun/star/comp/loader/FactoryHelper.java | 1
jurt/com/sun/star/comp/servicemanager/ServiceManager.java | 1
jurt/com/sun/star/comp/urlresolver/UrlResolver.java | 3
jurt/com/sun/star/lib/connections/pipe/pipeAcceptor.java | 2
jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java | 9
jurt/com/sun/star/uno/WeakReference.java | 2
jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java | 8
jurt/test/com/sun/star/lib/uno/protocols/urp/Marshaling_Test.java | 2
jurt/workbench/com/sun/star/comp/urlresolver/UrlResolver_Test.java | 1
linguistic/qa/complex/linguistic/HangulHanjaConversion.java | 6
nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalFile.java | 9
nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalString.java | 1
nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/RandomGenerator.java | 24
odk/examples/DevelopersGuide/Charts/Helper.java | 4
odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java | 1
odk/examples/DevelopersGuide/Components/JavaComponent/TestComponentB.java | 2
odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java | 1
odk/examples/DevelopersGuide/Config/ConfigExamples.java | 3
odk/examples/DevelopersGuide/Database/Sales.java | 1
odk/examples/DevelopersGuide/Database/SalesMan.java | 1
odk/examples/DevelopersGuide/FirstSteps/FirstLoadComponent.java | 156 ----
odk/examples/DevelopersGuide/GUI/MessageBox.java | 8
odk/examples/DevelopersGuide/GUI/UnoDialogSample.java | 5
odk/examples/DevelopersGuide/GUI/UnoMenu.java | 19
odk/examples/DevelopersGuide/OfficeDev/Number_Formats.java | 1
odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java | 2
odk/examples/DevelopersGuide/Spreadsheet/ExampleDataPilotSource.java | 14
odk/examples/DevelopersGuide/Spreadsheet/SpreadsheetDocHelper.java | 3
odk/examples/DevelopersGuide/Spreadsheet/SpreadsheetSample.java | 3
odk/examples/java/Drawing/SDraw.java | 1
odk/examples/java/EmbedDocument/EmbeddedObject/EditorFrame.java | 4
odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java | 2
odk/examples/java/Inspector/Inspector.java | 3
odk/examples/java/Inspector/InspectorAddon.java | 3
odk/examples/java/Inspector/InspectorPane.java | 3
odk/examples/java/Inspector/SourceCodeGenerator.java | 6
odk/examples/java/Inspector/SwingDialogProvider.java | 1
odk/examples/java/Inspector/TestInspector.java | 1
odk/examples/java/Inspector/UnoNode.java | 14
odk/examples/java/Inspector/UnoTreeRenderer.java | 13
odk/examples/java/Spreadsheet/CalcAddins.java | 2
odk/examples/java/Storage/TestHelper.java | 2
odk/examples/java/Text/SWriter.java | 2
odk/examples/java/Text/StyleInitialization.java | 1
odk/examples/java/Text/TextDocumentStructure.java | 1
odk/examples/java/Text/TextReplace.java | 1
odk/examples/java/ToDo/ToDo.java | 1
qadevOOo/Jar_OOoRunner.mk | 3
qadevOOo/Jar_OOoRunnerLight.mk | 3
qadevOOo/qa/complex/junitskeleton/Skeleton.java | 1
qadevOOo/runner/base/java_fat.java | 53 -
qadevOOo/runner/base/java_fat_service.java | 7
qadevOOo/runner/complexlib/Assurance.java | 1
qadevOOo/runner/complexlib/ComplexTestCase.java | 7
qadevOOo/runner/convwatch/Basename.java | 52 -
qadevOOo/runner/convwatch/BorderRemover.java | 43 -
qadevOOo/runner/convwatch/BuildID.java | 24
qadevOOo/runner/convwatch/ConvWatch.java | 39 -
qadevOOo/runner/convwatch/ConvWatchStarter.java | 43 -
qadevOOo/runner/convwatch/DB.java | 141 ----
qadevOOo/runner/convwatch/DBHelper.java | 12
qadevOOo/runner/convwatch/DateHelper.java | 1
qadevOOo/runner/convwatch/DocumentConverter.java | 6
qadevOOo/runner/convwatch/EnhancedComplexTestCase.java | 13
qadevOOo/runner/convwatch/FileHelper.java | 20
qadevOOo/runner/convwatch/FilenameHelper.java | 10
qadevOOo/runner/convwatch/GfxCompare.java | 8
qadevOOo/runner/convwatch/GlobalLogWriter.java | 5
qadevOOo/runner/convwatch/GraphicalDifferenceCheck.java | 1
qadevOOo/runner/convwatch/GraphicalTestArguments.java | 18
qadevOOo/runner/convwatch/HTMLOutputter.java | 36 -
qadevOOo/runner/convwatch/INIOutputter.java | 4
qadevOOo/runner/convwatch/ImageHelper.java | 6
qadevOOo/runner/convwatch/IniFile.java | 85 --
qadevOOo/runner/convwatch/MSOfficePrint.java | 21
qadevOOo/runner/convwatch/OSHelper.java | 75 --
qadevOOo/runner/convwatch/OfficePrint.java | 155 ----
qadevOOo/runner/convwatch/PRNCompare.java | 152 ----
qadevOOo/runner/convwatch/PerformanceContainer.java | 14
qadevOOo/runner/convwatch/PixelCounter.java | 22
qadevOOo/runner/convwatch/ReferenceBuilder.java | 28
qadevOOo/runner/convwatch/ReportDesignerTest.java | 143 ----
qadevOOo/runner/convwatch/StatusHelper.java | 11
qadevOOo/runner/graphical/BuildID.java | 43 -
qadevOOo/runner/graphical/DateHelper.java | 1
qadevOOo/runner/graphical/FileHelper.java | 122 ---
qadevOOo/runner/graphical/GlobalLogWriter.java | 5
qadevOOo/runner/graphical/HTMLResult.java | 11
qadevOOo/runner/graphical/ImageHelper.java | 7
qadevOOo/runner/graphical/IniFile.java | 107 ---
qadevOOo/runner/graphical/MSOfficePostscriptCreator.java | 40 -
qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java | 347 ----------
qadevOOo/runner/graphical/ParameterHelper.java | 50 -
qadevOOo/runner/graphical/PerformanceContainer.java | 22
qadevOOo/runner/graphical/PixelCounter.java | 51 -
qadevOOo/runner/helper/APIDescGetter.java | 9
qadevOOo/runner/helper/ClParser.java | 1
qadevOOo/runner/helper/FileTools.java | 24
qadevOOo/runner/helper/ObjectInspectorModelImpl.java | 1
qadevOOo/runner/helper/OfficeProvider.java | 1
qadevOOo/runner/helper/OfficeWatcher.java | 7
qadevOOo/runner/helper/ProcessHandler.java | 11
qadevOOo/runner/helper/StreamSimulator.java | 14
qadevOOo/runner/helper/URLHelper.java | 1
qadevOOo/runner/lib/MultiMethodTest.java | 1
qadevOOo/runner/lib/MultiPropertyTest.java | 7
qadevOOo/runner/lib/TestParameters.java | 2
qadevOOo/runner/share/DescGetter.java | 3
qadevOOo/runner/stats/ComplexDataBaseOutProducer.java | 2
qadevOOo/runner/stats/SimpleLogWriter.java | 5
qadevOOo/runner/util/AccessibilityTools.java | 4
qadevOOo/runner/util/DesktopTools.java | 7
qadevOOo/runner/util/RegistryTools.java | 2
qadevOOo/runner/util/UITools.java | 1
qadevOOo/runner/util/ValueChanger.java | 9
qadevOOo/runner/util/compare/PDFComparator.java | 13
qadevOOo/runner/util/compare/XMLComparator.java | 49 -
qadevOOo/runner/util/utils.java | 4
qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java | 53 -
qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java | 9
qadevOOo/tests/java/ifc/awt/_XTextComponent.java | 3
qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java | 4
qadevOOo/tests/java/ifc/beans/_XPropertySet.java | 3
qadevOOo/tests/java/ifc/document/_Settings.java | 5
qadevOOo/tests/java/ifc/document/_XViewDataSupplier.java | 4
qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java | 6
qadevOOo/tests/java/ifc/frame/_XFrame.java | 1
qadevOOo/tests/java/ifc/frame/_XFramesSupplier.java | 1
qadevOOo/tests/java/ifc/frame/_XTasksSupplier.java | 32
qadevOOo/tests/java/ifc/i18n/_XCalendar.java | 7
qadevOOo/tests/java/ifc/i18n/_XExtendedTransliteration.java | 1
qadevOOo/tests/java/ifc/i18n/_XLocaleData.java | 13
qadevOOo/tests/java/ifc/qadevooo/_SelfTest.java | 3
qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java | 5
qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement.java | 1
qadevOOo/tests/java/ifc/sheet/_XRangeSelection.java | 18
qadevOOo/tests/java/ifc/task/_XInteractionHandler.java | 63 -
qadevOOo/tests/java/ifc/ucb/_XContentProviderManager.java | 6
qadevOOo/tests/java/mod/_dbaccess/OQueryDesign.java | 5
qadevOOo/tests/java/mod/_forms/ODatabaseForm.java | 3
qadevOOo/tests/java/mod/_shlibloader/uno/DLLComponentLoader.java | 1
qadevOOo/tests/java/mod/_svtools/AccessibleTreeListBox.java | 7
qadevOOo/tests/java/mod/_sw/SwXDrawPage.java | 3
qadevOOo/tests/java/mod/_sw/SwXTextView.java | 4
qadevOOo/tests/java/mod/_toolkit/MutableTreeNode.java | 2
qadevOOo/tests/java/mod/_toolkit/UnoTreeControl.java | 3
reportbuilder/java/org/libreoffice/report/SDBCReportDataFactory.java | 10
reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeStyle.java | 4
reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java | 8
reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java | 13
reportbuilder/java/org/libreoffice/report/pentaho/output/spreadsheet/SpreadsheetRawReportTarget.java | 19
reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/ImageReadHandler.java | 1
reportbuilder/java/org/libreoffice/report/pentaho/parser/style/OfficeStyleReadHandler.java | 3
reportbuilder/java/org/libreoffice/report/pentaho/parser/text/NoCDATATextContentReadHandler.java | 1
reportbuilder/java/org/libreoffice/report/pentaho/styles/LengthCalculator.java | 1
reportdesign/qa/complex/reportdesign/ReportDesignerTest.java | 77 --
sc/qa/complex/calcPreview/ViewForwarder.java | 50 -
sc/qa/complex/cellRanges/CheckXCellRangesQuery.java | 20
sc/qa/complex/dataPilot/CheckDataPilot.java | 5
sc/qa/complex/dataPilot/_XDataPilotDescriptor.java | 16
sc/qa/complex/dataPilot/_XDataPilotTable.java | 9
sc/qa/complex/dataPilot/_XNamed.java | 16
sc/qa/complex/dataPilot/_XPropertySet.java | 10
sc/qa/complex/sc/CalcRTL.java | 14
scripting/examples/java/MemoryUsage/MemoryUsage.java | 1
scripting/examples/java/Newsgroup/MimeConfiguration.java | 4
scripting/examples/java/Newsgroup/OfficeAttachment.java | 21
scripting/examples/java/Newsgroup/PostNewsgroup.java | 8
scripting/examples/java/Newsgroup/Sender.java | 1
scripting/examples/java/Newsgroup/SubscribedNewsgroups.java | 20
scripting/java/com/sun/star/script/framework/browse/ParcelBrowseNode.java | 11
scripting/java/com/sun/star/script/framework/browse/ProviderBrowseNode.java | 3
scripting/java/com/sun/star/script/framework/container/DeployedUnoPackagesDB.java | 11
scripting/java/com/sun/star/script/framework/container/Parcel.java | 1
scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java | 3
scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java | 2
scripting/java/com/sun/star/script/framework/container/UnoPkgContainer.java | 3
scripting/java/com/sun/star/script/framework/io/UCBStreamHandler.java | 4
scripting/java/com/sun/star/script/framework/io/XStorageHelper.java | 3
scripting/java/com/sun/star/script/framework/provider/EditorScriptContext.java | 1
scripting/java/com/sun/star/script/framework/provider/ScriptContext.java | 1
scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java | 1
scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptProviderForBeanShell.java | 1
scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptSourceModel.java | 5
scripting/java/org/openoffice/idesupport/JavaFinder.java | 1
scripting/java/org/openoffice/idesupport/OfficeInstallation.java | 1
scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java | 1
scripting/java/org/openoffice/idesupport/ui/MethodPanel.java | 5
scripting/java/org/openoffice/idesupport/xml/Manifest.java | 5
scripting/java/org/openoffice/netbeans/modules/office/actions/DeployParcelAction.java | 1
scripting/java/org/openoffice/netbeans/modules/office/actions/ParcelDescriptorEditorSupport.java | 2
scripting/java/org/openoffice/netbeans/modules/office/loader/OfficeDocumentDataLoader.java | 3
scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelDataLoader.java | 3
scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelDescriptorDataLoader.java | 8
scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelFolder.java | 6
scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelFolderDataLoader.java | 9
scripting/java/org/openoffice/netbeans/modules/office/options/OfficeSettings.java | 2
scripting/java/org/openoffice/netbeans/modules/office/utils/FrameworkJarChecker.java | 1
scripting/java/org/openoffice/netbeans/modules/office/wizard/JavaScriptIterator.java | 2
scripting/java/org/openoffice/netbeans/modules/office/wizard/ParcelContentsIterator.java | 2
scripting/java/org/openoffice/netbeans/modules/office/wizard/SelectPathPanel.java | 3
scripting/workben/ifc/scripting/SecurityDialogUtil.java | 9
scripting/workben/ifc/scripting/_XScriptInfoAccess.java | 6
scripting/workben/installer/FileUpdater.java | 8
scripting/workben/installer/Final.java | 5
scripting/workben/installer/IdeFinal.java | 11
scripting/workben/installer/IdeUpdater.java | 2
scripting/workben/installer/IdeVersion.java | 24
scripting/workben/installer/IdeWelcome.java | 7
scripting/workben/installer/InstUtil.java | 56 -
scripting/workben/installer/InstallWizard.java | 10
scripting/workben/installer/LogStream.java | 1
scripting/workben/installer/Register.java | 12
scripting/workben/installer/Version.java | 7
scripting/workben/installer/Welcome.java | 1
scripting/workben/installer/XmlUpdater.java | 20
scripting/workben/mod/_scripting/Dispatch.java | 1
sfx2/qa/complex/sfx2/DocumentMetadataAccess.java | 1
sfx2/qa/complex/sfx2/DocumentProperties.java | 6
smoketest/org/libreoffice/smoketest/SmoketestCommandEnvironment.java | 7
sot/qa/complex/olesimplestorage/OLESimpleStorageUnitTest.java | 16
stoc/test/javavm/testapplet/TestApplet.java | 1
stoc/test/javavm/testcomponent/TestComponent.java | 2
svl/qa/complex/ConfigItems/CheckConfigItems.java | 32
svl/qa/complex/passwordcontainer/PasswordContainerUnitTest.java | 10
svl/qa/complex/passwordcontainer/Test01.java | 1
svl/qa/complex/passwordcontainer/TestHelper.java | 3
sw/qa/complex/writer/LoadSaveTest.java | 2
sw/qa/complex/writer/TextPortionEnumerationTest.java | 2
swext/mediawiki/src/com/sun/star/wiki/EditPageParser.java | 1
swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java | 6
swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java | 34
swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java | 3
testtools/com/sun/star/comp/bridge/TestComponent.java | 4
testtools/qa/cli/CLITest.java | 2
testtools/qa/cliversioning/VersionTestCase.java | 1
toolkit/qa/complex/toolkit/UnitConversion.java | 5
toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java | 12
toolkit/qa/complex/toolkit/accessibility/_XAccessibleContext.java | 5
toolkit/qa/complex/toolkit/accessibility/_XAccessibleExtendedComponent.java | 6
toolkit/qa/complex/toolkit/accessibility/_XAccessibleText.java | 31
toolkit/test/accessibility/AccTreeNode.java | 2
toolkit/test/accessibility/AccessibilityTree.java | 4
toolkit/test/accessibility/AccessibilityTreeModel.java | 2
toolkit/test/accessibility/AccessibilityWorkBench.java | 11
toolkit/test/accessibility/Canvas.java | 5
toolkit/test/accessibility/CanvasShape.java | 3
toolkit/test/accessibility/InformationWriter.java | 1
toolkit/test/accessibility/NodeFactory.java | 4
toolkit/test/accessibility/NodeHandler.java | 9
toolkit/test/accessibility/TableEventHandler.java | 3
toolkit/test/accessibility/TextUpdateListener.java | 40 -
toolkit/test/accessibility/ov/ObjectViewContainer.java | 3
toolkit/test/accessibility/tools/NameProvider.java | 2
ucb/qa/complex/tdoc/CheckContentProvider.java | 30
ucb/qa/complex/tdoc/CheckTransientDocumentsContentProvider.java | 1
ucb/qa/complex/tdoc/CheckTransientDocumentsDocumentContent.java | 4
ucb/qa/complex/tdoc/_XChild.java | 2
ucb/qa/complex/tdoc/_XCommandInfoChangeNotifier.java | 4
ucb/qa/complex/tdoc/_XComponent.java | 5
ucb/qa/complex/tdoc/_XPropertiesChangeNotifier.java | 4
ucb/qa/complex/tdoc/_XPropertySetInfoChangeNotifier.java | 3
ucb/test/com/sun/star/comp/ucb/GlobalTransfer_Test.java | 4
unotools/qa/complex/tempfile/TempFileUnitTest.java | 1
unotools/qa/complex/tempfile/Test01.java | 2
unotools/qa/complex/tempfile/Test02.java | 1
unoxml/qa/complex/unoxml/DOMTest.java | 4
unoxml/qa/complex/unoxml/RDFRepositoryTest.java | 35 -
vcl/qa/complex/memCheck/CheckMemoryUsage.java | 38 -
vcl/qa/complex/persistent_window_states/PersistentWindowTest.java | 42 -
wizards/com/sun/star/wizards/common/Configuration.java | 3
wizards/com/sun/star/wizards/common/JavaTools.java | 1
wizards/com/sun/star/wizards/common/NumericalHelper.java | 13
wizards/com/sun/star/wizards/common/PropertySetHelper.java | 2
wizards/com/sun/star/wizards/common/TerminateWizardException.java | 1
wizards/com/sun/star/wizards/common/UCB.java | 1
wizards/com/sun/star/wizards/db/ColumnPropertySet.java | 1
wizards/com/sun/star/wizards/db/CommandMetaData.java | 13
wizards/com/sun/star/wizards/db/DBMetaData.java | 4
wizards/com/sun/star/wizards/db/FieldColumn.java | 1
wizards/com/sun/star/wizards/db/QueryMetaData.java | 13
wizards/com/sun/star/wizards/db/RecordParser.java | 2
wizards/com/sun/star/wizards/db/SQLQueryComposer.java | 7
wizards/com/sun/star/wizards/db/TableDescriptor.java | 3
wizards/com/sun/star/wizards/db/TypeInspector.java | 5
wizards/com/sun/star/wizards/document/FormHandler.java | 1
wizards/com/sun/star/wizards/document/OfficeDocument.java | 6
wizards/com/sun/star/wizards/document/TimeStampControl.java | 3
wizards/com/sun/star/wizards/form/FieldLinker.java | 5
wizards/com/sun/star/wizards/form/Finalizer.java | 2
wizards/com/sun/star/wizards/form/FormConfiguration.java | 1
wizards/com/sun/star/wizards/form/FormControlArranger.java | 4
wizards/com/sun/star/wizards/form/FormDocument.java | 5
wizards/com/sun/star/wizards/form/FormWizard.java | 1
wizards/com/sun/star/wizards/form/UIControlArranger.java | 129 ---
wizards/com/sun/star/wizards/query/QuerySummary.java | 4
wizards/com/sun/star/wizards/query/QueryWizard.java | 1
wizards/com/sun/star/wizards/report/DBColumn.java | 3
wizards/com/sun/star/wizards/report/Dataimport.java | 12
wizards/com/sun/star/wizards/report/GroupFieldHandler.java | 2
wizards/com/sun/star/wizards/report/IReportDocument.java | 4
wizards/com/sun/star/wizards/report/ReportFinalizer.java | 24
wizards/com/sun/star/wizards/report/ReportLayouter.java | 30
wizards/com/sun/star/wizards/report/ReportTextDocument.java | 23
wizards/com/sun/star/wizards/report/ReportWizard.java | 11
wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java | 3
wizards/com/sun/star/wizards/table/CGCategory.java | 1
wizards/com/sun/star/wizards/table/CGTable.java | 2
wizards/com/sun/star/wizards/table/FieldDescription.java | 8
wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java | 4
wizards/com/sun/star/wizards/table/ScenarioSelector.java | 5
wizards/com/sun/star/wizards/text/TextDocument.java | 2
wizards/com/sun/star/wizards/text/TextFieldHandler.java | 15
wizards/com/sun/star/wizards/text/TextStyleHandler.java | 4
wizards/com/sun/star/wizards/text/TextTableHandler.java | 5
wizards/com/sun/star/wizards/text/ViewHandler.java | 9
wizards/com/sun/star/wizards/ui/AggregateComponent.java | 4
wizards/com/sun/star/wizards/ui/CommandFieldSelection.java | 8
wizards/com/sun/star/wizards/ui/ControlScroller.java | 3
wizards/com/sun/star/wizards/ui/DocumentPreview.java | 1
wizards/com/sun/star/wizards/ui/FilterComponent.java | 4
wizards/com/sun/star/wizards/ui/ImageList.java | 8
wizards/com/sun/star/wizards/ui/PathSelection.java | 2
wizards/com/sun/star/wizards/ui/SortingComponent.java | 3
wizards/com/sun/star/wizards/ui/TitlesComponent.java | 1
wizards/com/sun/star/wizards/ui/UnoDialog.java | 16
wizards/com/sun/star/wizards/ui/UnoDialog2.java | 3
wizards/com/sun/star/wizards/ui/WizardDialog.java | 4
wizards/com/sun/star/wizards/ui/event/DataAwareFields.java | 5
xmlsecurity/test_docs/tools/httpserv/src/httpserv/Main.java | 1
390 files changed, 56 insertions(+), 5316 deletions(-)
New commits:
commit 0c5f51ebbcb7e22baa913e2012e3dcfcc6cf7897
Author: Noel Grandin <noel at peralex.com>
Date: Tue Aug 5 09:54:58 2014 +0200
java: remove commented out code
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java
index 4f60fb8..9415e08 100644
--- a/bean/com/sun/star/comp/beans/OOoBean.java
+++ b/bean/com/sun/star/comp/beans/OOoBean.java
@@ -78,7 +78,6 @@ public class OOoBean
// debugging method
private void dbgPrint( String aMessage )
{
- // System.err.println( "OOoBean: " + aMessage );
}
// @requirement FUNC.PER/0.2
diff --git a/bean/qa/complex/bean/OOoBeanTest.java b/bean/qa/complex/bean/OOoBeanTest.java
index 82a604b..d223fb7 100644
--- a/bean/qa/complex/bean/OOoBeanTest.java
+++ b/bean/qa/complex/bean/OOoBeanTest.java
@@ -24,9 +24,7 @@ import com.sun.star.uno.UnoRuntime;
import java.awt.*;
-// import org.junit.After;
import org.junit.AfterClass;
-// import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.openoffice.test.OfficeConnection;
@@ -43,23 +41,6 @@ class PrivateLocalOfficeConnection extends com.sun.star.comp.beans.LocalOfficeCo
public class OOoBeanTest
{
-// public String[] getTestMethodNames()
-// {
-// // TODO think about trigger of sub-tests from outside
-// return new String[]
-// {
-// "test1",
-// "test2",
-// "test3",
-// "test4",
-// "test5",
-// "test6",
-// "test6a",
-// "test7",
-// "test8"
-// };
-// }
-
/** For X-Windows we need to prolong the time between painting windows. Because
it takes longer than on Windows.
*/
diff --git a/bean/qa/complex/bean/ScreenComparer.java b/bean/qa/complex/bean/ScreenComparer.java
index c415c84..9b4815b 100644
--- a/bean/qa/complex/bean/ScreenComparer.java
+++ b/bean/qa/complex/bean/ScreenComparer.java
@@ -18,16 +18,11 @@
package complex.bean;
-// import complexlib.ComplexTestCase;
import java.io.File;
import java.awt.Rectangle;
-// import java.awt.BorderLayout;
import java.awt.image.BufferedImage;
import java.awt.image.PixelGrabber;
-// import java.awt.event.*;
-// import java.awt.Frame;
import javax.imageio.ImageIO;
-// import javax.imageio.stream.FileImageOutputStream;
diff --git a/bean/qa/complex/bean/WriterFrame.java b/bean/qa/complex/bean/WriterFrame.java
index 470c43f..d1efaae 100644
--- a/bean/qa/complex/bean/WriterFrame.java
+++ b/bean/qa/complex/bean/WriterFrame.java
@@ -18,7 +18,6 @@
package complex.bean;
-// import com.sun.star.comp.beans.LocalOfficeConnection;
import com.sun.star.uno.XComponentContext;
import java.awt.Rectangle;
import java.awt.Insets;
diff --git a/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java b/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java
index 6dcc106..82731b5 100644
--- a/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java
+++ b/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java
@@ -181,7 +181,6 @@ public final class JNI_proxy implements java.lang.reflect.InvocationHandler
{
if (method_name.equals( "queryInterface" ))
{
- // Object queryInterface( Type type )
Object registered_proxy =
m_java_env.getRegisteredInterface( m_oid, (Type)args[ 0 ] );
if (null == registered_proxy)
@@ -200,7 +199,6 @@ public final class JNI_proxy implements java.lang.reflect.InvocationHandler
}
else if (method_name.equals( "getOid" ))
{
- // String getOid()
return m_oid;
}
}
diff --git a/chart2/qa/TestCaseOldAPI.java b/chart2/qa/TestCaseOldAPI.java
index 4e02f35..a3f0aee 100644
--- a/chart2/qa/TestCaseOldAPI.java
+++ b/chart2/qa/TestCaseOldAPI.java
@@ -273,21 +273,6 @@ public class TestCaseOldAPI extends ComplexTestCase {
xProp.getPropertyValue( "HasYAxisDescription" ));
assure( "Removing description of first y-axis", bNewFirstYAxisText == bFirstYAxisText );
-// boolean bYAxisTitle = true;
-// xProp.setPropertyValue( "HasYAxisTitle", new Boolean( bYAxisTitle ));
-// boolean bNewYAxisTitle = AnyConverter.toBoolean(
-// xProp.getPropertyValue( "HasYAxisTitle" ));
-// assure( "Adding y-axis title", bNewYAxisTitle == bYAxisTitle );
-
- // set title text
-// XAxisYSupplier xYAxisSuppl = (XAxisYSupplier) UnoRuntime.queryInterface(
-// XAxisYSupplier.class, mxOldDoc.getDiagram() );
-// assure( "Diagram is no y-axis supplier", xYAxisSuppl != null );
-// XPropertySet xAxisTitleProp = (XPropertySet) UnoRuntime.queryInterface(
-// XPropertySet.class, xYAxisSuppl.getYAxisTitle() );
-// assure( "Y-Axis Title is no XPropertySet", xAxisTitleProp != null );
-// xAxisTitleProp.setPropertyValue( "String", "New y axis title" );
-
// second y-axis
boolean bSecondaryYAxis = true;
xProp.setPropertyValue( "HasSecondaryYAxis", new Boolean( bSecondaryYAxis ));
@@ -315,8 +300,6 @@ public class TestCaseOldAPI extends ComplexTestCase {
xDiagramShape.setPosition( aSetPos );
Point aNewPos = xDiagramShape.getPosition();
- //System.out.println( "set X = " + aSetPos.X + ", new X = " + aNewPos.X );
- //System.out.println( "set Y = " + aSetPos.Y + ", new Y = " + aNewPos.Y );
assure( "Diagram Position X", approxEqual( aNewPos.X, aSetPos.X, 1 ));
assure( "Diagram Position Y", approxEqual( aNewPos.Y, aSetPos.Y, 1 ));
}
@@ -335,8 +318,6 @@ public class TestCaseOldAPI extends ComplexTestCase {
xDiagramShape.setSize( aSetSize );
Size aNewSize = xDiagramShape.getSize();
- //System.out.println( "set width = " + aSetSize.Width + ", new width = " + aNewSize.Width );
- //System.out.println( "set height = " + aSetSize.Height + ", new height = " + aNewSize.Height );
assure( "Diagram Width", approxEqual( aNewSize.Width, aSetSize.Width, 2 ));
assure( "Diagram Height", approxEqual( aNewSize.Height, aSetSize.Height, 2 ));
}
@@ -504,19 +485,6 @@ public class TestCaseOldAPI extends ComplexTestCase {
int nColor = 0xf5fffa; // mint cream
xArea.setPropertyValue( "FillColor", new Integer( nColor ) );
xArea.setPropertyValue( "FillStyle", FillStyle.SOLID );
-// XPropertySetInfo xInfo = xArea.getPropertySetInfo();
-// assure( "Area does not support ChartUserDefinedAttributes",
-// xInfo.hasPropertyByName( "ChartUserDefinedAttributes" ));
-
-// String aTestAttributeName = "test:foo";
-// String aTestAttributeValue = "content";
-// XNameContainer xUserDefAttributes = (XNameContainer) AnyConverter.toObject(
-// new Type( XNameContainer.class ), xArea.getPropertyValue( "ChartUserDefinedAttributes" ));
-// xUserDefAttributes.insertByName( aTestAttributeName, aTestAttributeValue );
-
-// String aContent = AnyConverter.toString( xUserDefAttributes.getByName( aTestAttributeName ));
-// assure( "Wrong content in UserDefinedAttributes container",
-// aContent.equals( aTestAttributeValue ));
int nNewColor = AnyConverter.toInt( xArea.getPropertyValue( "FillColor" ) );
assure( "Changing FillColor of Area failed", nNewColor == nColor );
diff --git a/comphelper/qa/complex/comphelper/Map.java b/comphelper/qa/complex/comphelper/Map.java
index 0603ba3..0621792 100644
--- a/comphelper/qa/complex/comphelper/Map.java
+++ b/comphelper/qa/complex/comphelper/Map.java
@@ -29,10 +29,8 @@ import com.sun.star.container.XIdentifierAccess;
import com.sun.star.container.XMap;
import com.sun.star.container.XSet;
import com.sun.star.form.XFormComponent;
-// import com.sun.star.lang.DisposedException;
import com.sun.star.lang.EventObject;
import com.sun.star.lang.Locale;
-// import com.sun.star.lang.NoSupportException;
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.uno.Any;
import com.sun.star.uno.AnyConverter;
@@ -43,9 +41,7 @@ import com.sun.star.uno.XInterface;
import java.util.HashSet;
import java.util.Set;
-// import org.junit.After;
import org.junit.AfterClass;
-// import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.openoffice.test.OfficeConnection;
@@ -55,23 +51,6 @@ import static org.junit.Assert.*;
*/
public class Map /* extends complexlib.ComplexTestCase */
{
-// @Override
-// public String[] getTestMethodNames()
-// {
-// return new String[] {
-// "testSimpleKeyTypes",
-// "testComplexKeyTypes",
-// "testValueTypes",
-// "testEnumerations",
-// "testSpecialValues"
-// };
-// }
-
-// public static String getShortTestDescription()
-// {
-// return "tests the css.container.Map implementation from comphelper/source/misc/map.cxx";
-// }
-
private static String impl_getNth( int n )
{
switch ( n % 10 )
diff --git a/comphelper/qa/complex/comphelper/SequenceOutputStreamUnitTest.java b/comphelper/qa/complex/comphelper/SequenceOutputStreamUnitTest.java
index b5b4d56..ab37ad9 100644
--- a/comphelper/qa/complex/comphelper/SequenceOutputStreamUnitTest.java
+++ b/comphelper/qa/complex/comphelper/SequenceOutputStreamUnitTest.java
@@ -17,7 +17,6 @@
*/
package complex.comphelper;
-// import complexlib.ComplexTestCase;
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.uno.UnoRuntime;
@@ -38,7 +37,6 @@ import static org.junit.Assert.*;
class TestHelper
{
- // LogWriter m_aLogWriter;
String m_sTestPrefix;
/** Creates a new instance of TestHelper
@@ -61,19 +59,6 @@ public class SequenceOutputStreamUnitTest /* extends ComplexTestCase*/ {
TestHelper m_aTestHelper = null;
-// public String[] getTestMethodNames() {
-// return new String[] {
-// "ExecuteTest01"};
-// }
-
-// public String getTestObjectName () {
-// return "SequenceOutputStreamUnitTest";
-// }
-
-// public static String getShortTestDescription() {
-// return "tests the SequenceOutput/InputStream implementations";
-// }
-
@Before public void before() {
try {
m_xMSF = getMSF();
@@ -90,11 +75,6 @@ public class SequenceOutputStreamUnitTest /* extends ComplexTestCase*/ {
m_xMSF = null;
}
-// @Test public void ExecuteTest01() {
-// Test01 aTest = new Test01 (m_xMSF);
-// assertTrue( "Test01 failed!", aTest.test() );
-// }
-
@Test public void test () {
try {
final int nBytesCnt = 20;
diff --git a/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java b/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java
index b34a818..822f1bc 100644
--- a/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java
+++ b/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java
@@ -57,11 +57,9 @@ public class JdbcLongVarCharTest extends ComplexTestCase
System.out.println("== Start testing ==");
String url = "jdbc:mysql://localhost:3306/mysql?user=root";
- //String url = "jdbc:ingres://localhost:II7/demodb;AUTO=multi";
com.sun.star.sdbc.XConnection xConnection = null;
com.sun.star.beans.PropertyValue prop[] = new PropertyValue[1];
prop[0] = new PropertyValue("JavaDriverClass", 0, "com.mysql.jdbc.Driver", PropertyState.DIRECT_VALUE);
- //prop[0] = new PropertyValue("JavaDriverClass", 0, "com.ingres.jdbc.IngresDriver", PropertyState.DIRECT_VALUE);
// get the remote office component context
XMultiServiceFactory xServiceManager = param.getMSF();
@@ -70,7 +68,6 @@ public class JdbcLongVarCharTest extends ComplexTestCase
com.sun.star.sdbc.XDriver xDriver = xDriverAccess.getDriverByURL(url);
xConnection = xDriver.connect(url, prop);
- //Object prepStmnt = xConnection.prepareStatement("SELECT * FROM t1 WHERE t1.c1 = ?");
Object prepStmnt = xConnection.prepareStatement("SELECT * FROM i90114 WHERE i90114.c1 = ?");
UnoRuntime.queryInterface(XParameters.class, prepStmnt).clearParameters();
UnoRuntime.queryInterface(XParameters.class, prepStmnt).setInt(1, 1);
diff --git a/connectivity/qa/connectivity/tools/HsqlDatabase.java b/connectivity/qa/connectivity/tools/HsqlDatabase.java
index dd6831d..3e1395b 100644
--- a/connectivity/qa/connectivity/tools/HsqlDatabase.java
+++ b/connectivity/qa/connectivity/tools/HsqlDatabase.java
@@ -179,7 +179,6 @@ public class HsqlDatabase extends AbstractDatabase
createStatement.append(')');
- //System.err.println( createStatement );
executeSQL(createStatement.toString());
}
diff --git a/dbaccess/qa/complex/dbaccess/Beamer.java b/dbaccess/qa/complex/dbaccess/Beamer.java
index effc4cc..5c9af57 100644
--- a/dbaccess/qa/complex/dbaccess/Beamer.java
+++ b/dbaccess/qa/complex/dbaccess/Beamer.java
@@ -41,11 +41,8 @@ import java.io.IOException;
// ---------- junit imports -----------------
import org.junit.After;
-// import org.junit.AfterClass;
import org.junit.Before;
-// import org.junit.BeforeClass;
import org.junit.Test;
-// import org.openoffice.test.OfficeConnection;
import static org.junit.Assert.*;
diff --git a/dbaccess/qa/complex/dbaccess/PropertyBag.java b/dbaccess/qa/complex/dbaccess/PropertyBag.java
index ea1c570..941549c 100644
--- a/dbaccess/qa/complex/dbaccess/PropertyBag.java
+++ b/dbaccess/qa/complex/dbaccess/PropertyBag.java
@@ -18,8 +18,6 @@
package complex.dbaccess;
-// import complexlib.ComplexTestCase;
-
import com.sun.star.beans.NamedValue;
import com.sun.star.beans.PropertyState;
import com.sun.star.beans.PropertyValue;
diff --git a/dbaccess/qa/complex/dbaccess/Query.java b/dbaccess/qa/complex/dbaccess/Query.java
index 20d4c41..8881bb3 100644
--- a/dbaccess/qa/complex/dbaccess/Query.java
+++ b/dbaccess/qa/complex/dbaccess/Query.java
@@ -56,11 +56,6 @@ public class Query extends TestCase
}
-// private XMultiServiceFactory getFactory()
-// {
-// return (XMultiServiceFactory)param.getMSF();
-// }
-
@Test
public void testQueryColumns()
{
diff --git a/dbaccess/qa/complex/dbaccess/TestCase.java b/dbaccess/qa/complex/dbaccess/TestCase.java
index b30bf7c..86d3425 100644
--- a/dbaccess/qa/complex/dbaccess/TestCase.java
+++ b/dbaccess/qa/complex/dbaccess/TestCase.java
@@ -23,7 +23,6 @@ import com.sun.star.beans.PropertyValue;
import com.sun.star.frame.XComponentLoader;
import com.sun.star.frame.XModel;
import com.sun.star.lang.XMultiServiceFactory;
-// import com.sun.star.uno.Exception;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.uno.XComponentContext;
import helper.FileTools;
diff --git a/embeddedobj/test/Container1/BitmapPainter.java b/embeddedobj/test/Container1/BitmapPainter.java
index 75e9c8a..482421b 100644
--- a/embeddedobj/test/Container1/BitmapPainter.java
+++ b/embeddedobj/test/Container1/BitmapPainter.java
@@ -61,9 +61,6 @@ class BitmapPainter implements XPaintListener, XMouseListener, XMouseMotionListe
private PaintThread m_aPaintThread;
- // private XJob m_xMainThreadExecutor;
- // private NamedValue[] m_pValuesForExecutor;
-
private boolean m_bFree = true;
private boolean m_bProceedWithPainting = true;
@@ -84,10 +81,6 @@ class BitmapPainter implements XPaintListener, XMouseListener, XMouseMotionListe
throw new com.sun.star.uno.RuntimeException();
}
- // m_xMainThreadExecutor = xJob;
- // m_pValuesForExecutor = new NamedValue[1];
- // m_pValuesForExecutor[0] = new NamedValue( "JobToExecute", (Object)this );
-
m_xWindow = xWindow;
m_xBitmap = xBitmap;
@@ -171,29 +164,14 @@ class BitmapPainter implements XPaintListener, XMouseListener, XMouseMotionListe
XBitmap xBitmap = null;
com.sun.star.awt.Rectangle aRect = null;
- // boolean bFree = false;
synchronized( m_oImageLock )
{
xBitmap = m_xBitmap;
aRect = m_aDrawRect;
- // if ( m_bFree )
- // {
- // bFree = true;
- // m_bFree = false;
- // }
}
m_aPaintThread.setPaintRequest( xBitmap, aRect, e.UpdateRect );
- // if ( bFree )
- // {
- // try {
- // m_xMainThreadExecutor.execute( m_pValuesForExecutor );
- // } catch( Exception ex )
- // {
- // m_bFree = true;
- // }
- // }
System.out.println( "VCL window paint event!" );
}
diff --git a/embeddedobj/test/Container1/PaintThread.java b/embeddedobj/test/Container1/PaintThread.java
index 4e6b166..f7eb63e 100644
--- a/embeddedobj/test/Container1/PaintThread.java
+++ b/embeddedobj/test/Container1/PaintThread.java
@@ -73,18 +73,6 @@ class PaintThread extends java.lang.Thread
{
synchronized( m_oRequestsLock )
{
- /*
- System.out.println( "Paint request Pos( "
- + aRect.X + ", "
- + aRect.Y + ", "
- + aRect.Width + ", "
- + aRect.Height + " ), Clip ( "
- + aClip.X + ", "
- + aClip.Y + ", "
- + aClip.Width + ", "
- + aClip.Height + " )" );
- */
-
if ( PaintThread.interceptedRects( aRect, aClip ) )
{
m_xBitmap = xBitmap;
@@ -92,8 +80,6 @@ class PaintThread extends java.lang.Thread
m_bToPaint = true;
}
}
-
- // System.out.println( "Paint request to paint thread is done! xBitmap = " + xBitmap );
}
public void disposeThread()
@@ -126,15 +112,12 @@ class PaintThread extends java.lang.Thread
if ( bPaint )
{
- // System.out.println( "The bitmap is going to be painted!" );
XDevice xDevice = (XDevice)UnoRuntime.queryInterface( XDevice.class, m_xWindow );
if ( xDevice != null )
{
- // System.out.println( "Step1" );
XGraphics xGraphics = xDevice.createGraphics();
if ( xBitmap != null )
{
- // System.out.println( "Step2" );
XDisplayBitmap xDisplayBitmap = xDevice.createDisplayBitmap( xBitmap );
com.sun.star.awt.Size aSize = xBitmap.getSize();
@@ -142,8 +125,6 @@ class PaintThread extends java.lang.Thread
aRect.X, aRect.Y, aRect.Width, aRect.Height );
}
- // System.out.println( "Step3" );
- // xGraphics.drawRect( aRect.X - 1, aRect.Y - 1, aRect.Width + 2, aRect.Height + 2 );
xGraphics.drawLine( aRect.X - 1, aRect.Y - 1,
aRect.X + aRect.Width + 1, aRect.Y - 1 );
xGraphics.drawLine( aRect.X + aRect.Width + 1, aRect.Y - 1,
@@ -152,17 +133,6 @@ class PaintThread extends java.lang.Thread
aRect.X - 1, aRect.Y + aRect.Height + 1 );
xGraphics.drawLine( aRect.X - 1, aRect.Y + aRect.Height + 1,
aRect.X - 1, aRect.Y - 1 );
-
- // draw resize squares
- // System.out.println( "Step4" );
- // xGraphics.drawRect( aRect.X - 2, aRect.Y - 2, 4, 4 );
- // xGraphics.drawRect( aRect.X + aRect.Width - 2, aRect.Y - 2, 4, 4 );
- // xGraphics.drawRect( aRect.X - 2, aRect.Y + aRect.Height - 2, 4, 4 );
- // xGraphics.drawRect( aRect.X + aRect.Width - 2, aRect.Y + aRect.Height - 2, 4, 4 );
-
- // System.out.println( "Step5" );
-
- // System.out.println( "The bitmap is painted by paint thread!" );
}
}
}
diff --git a/extensions/qa/complex/extensions/OfficeResourceLoader.java b/extensions/qa/complex/extensions/OfficeResourceLoader.java
index 45e91e3..cbc57f2 100644
--- a/extensions/qa/complex/extensions/OfficeResourceLoader.java
+++ b/extensions/qa/complex/extensions/OfficeResourceLoader.java
@@ -45,21 +45,6 @@ public class OfficeResourceLoader
}
/* ------------------------------------------------------------------ */
-// public String[] getTestMethodNames()
-// {
-// return new String[] {
-// "checkSimpleStringAccess",
-// "checkLocales"
-// };
-// }
-
- /* ------------------------------------------------------------------ */
-// public String getTestObjectName()
-// {
-// return "Extensions - OfficeResourceLoader";
-// }
-
- /* ------------------------------------------------------------------ */
@Before public void before() throws com.sun.star.uno.Exception, java.lang.Exception
{
XPropertySet orb = UnoRuntime.queryInterface(XPropertySet.class, getMSF());
diff --git a/extensions/test/pgp/TestPGP.java b/extensions/test/pgp/TestPGP.java
index 78d4285..d11164c 100644
--- a/extensions/test/pgp/TestPGP.java
+++ b/extensions/test/pgp/TestPGP.java
@@ -33,7 +33,6 @@ import com.sun.star.uno.Type;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.uno.XInterface;
import com.sun.star.uno.XNamingService;
-// import com.sun.star.comp.bootstrap.Bootstrap;
@@ -57,7 +56,6 @@ public class TestPGP {
System.err.println(" couldn't get XSet from ServiceFactory");
return;
}
-// try{
SimplePGPMailerFactoryReg mailerReg= new SimplePGPMailerFactoryReg();
XSingleServiceFactory factory= mailerReg.getServiceFactory(
"com.sun.star.pgp.SimplePGPMailerImpl", rSmgr, null, null);
@@ -69,10 +67,6 @@ public class TestPGP {
set.insert(factory );
System.err.println("PGP factory inserted into service manager");
-// }catch(Exception e ){
-// System.err.println( "exception caught in TestPGP");
-// }
-
}
}
@@ -84,7 +78,6 @@ public class TestPGP {
System.exit(-1);
}
-// try {
XUnoUrlResolver resolver = UnoUrlResolver.create(Bootstrap.createInitialComponentContext(null));
XConnector xConnector = UnoRuntime.queryInterface(XConnector.class, resolver.resolve("com.sun.star.connection.Connector"));
@@ -94,16 +87,11 @@ public class TestPGP {
IBridge iBridge = UnoRuntime.getBridgeByName("java", null, "remote", null, new Object[]{"iiop", xConnection, null});
Object rInitialObject = iBridge.mapInterfaceFrom(rootOid, new Type(XInterface.class));
-// Object rInitialObject = xBridge.getInstance("NamingService");
if(rInitialObject != null) {
System.err.println("got the remote object");
doSomething(rInitialObject);
}
-// }
-// catch (Exception exception) {
-// System.err.println("Exception thrown:" + exception);
-// }
}
}
diff --git a/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java b/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java
index a78a76e..fcf8efd 100644
--- a/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java
+++ b/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java
@@ -29,8 +29,6 @@ import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.uno.XInterface;
import com.sun.star.util.XFlushable;
-// import complexlib.ComplexTestCase;
-// import util.utils;
import org.junit.AfterClass;
import org.junit.Before;
@@ -75,14 +73,6 @@ public class FinalizedMandatoryTest
static XMultiServiceFactory xMSF;
- /**
- * A function to tell the framework, which test functions are available.
- * @return All test methods.
- */
-// public String[] getTestMethodNames() {
-// return new String[]{"checkReadonlySupportFilterFactory",
-// "checkReadonlySupportTypeDetection"};
-// }
/** Create the environment for following tests.
* Use either a component loader from desktop or
* from frame
@@ -109,10 +99,6 @@ public class FinalizedMandatoryTest
Object oInterface = xMSF.createInstance(serviceName);
assertNotNull("Service wan't created", oInterface);
-// if (oInterface == null) {
-// failed("Service wasn't created") ;
-// throw new Exception("could not create service '"+serviceName+"'");
-// }
return (XInterface) oInterface;
}
diff --git a/filter/qa/complex/filter/misc/TypeDetection6FileFormat.java b/filter/qa/complex/filter/misc/TypeDetection6FileFormat.java
index 14c0427..33a1b1d 100644
--- a/filter/qa/complex/filter/misc/TypeDetection6FileFormat.java
+++ b/filter/qa/complex/filter/misc/TypeDetection6FileFormat.java
@@ -43,14 +43,6 @@ public class TypeDetection6FileFormat
static XMultiServiceFactory xMSF;
- /**
- * A function to tell the framework, which test functions are available.
- * @return All test methods.
- */
-// public String[] getTestMethodNames() {
-// return new String[]{"checkFilterFactory",
-// "checkTypeDetection"};
-// }
/** Create the environment for following tests.
* Use either a component loader from desktop or
* from frame
diff --git a/forms/qa/complex/forms/CheckOGroupBoxModel.java b/forms/qa/complex/forms/CheckOGroupBoxModel.java
index b1f4bba..8e0cea8 100644
--- a/forms/qa/complex/forms/CheckOGroupBoxModel.java
+++ b/forms/qa/complex/forms/CheckOGroupBoxModel.java
@@ -45,7 +45,6 @@ import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.util.CloseVetoException;
import com.sun.star.util.XCloseable;
-// import complexlib.ComplexTestCase;
/**
*/
@@ -55,12 +54,8 @@ public class CheckOGroupBoxModel
private XMultiPropertySet m_xPropSet;
private XComponent m_xDrawDoc;
-// public String[] getTestMethodNames() {
-// return new String[] {"setPropertyValues"};
-// }
@Before public void before()
{
- // XComponent xDrawDoc = null;
SOfficeFactory SOF = SOfficeFactory.getFactory(getMSF());
try
diff --git a/framework/qa/complex/ModuleManager/CheckXModuleManager.java b/framework/qa/complex/ModuleManager/CheckXModuleManager.java
index ef43d15..f4e1a6d 100644
--- a/framework/qa/complex/ModuleManager/CheckXModuleManager.java
+++ b/framework/qa/complex/ModuleManager/CheckXModuleManager.java
@@ -62,24 +62,6 @@ public class CheckXModuleManager
// test environment
- /** @short A function to tell the framework,
- which test functions are available.
-
- @return All test methods.
- @todo Think about selection of tests from outside ...
- */
-// public String[] getTestMethodNames()
-// {
-// return new String[]
-// {
-// "checkModuleIdentification" ,
-// "checkModuleConfigurationReadable" ,
-// "checkModuleConfigurationWriteable",
-// "checkModuleConfigurationQueries"
-// };
-// }
-
-
/** @short Create the environment for following tests.
@descr Use either a component loader from desktop or
diff --git a/framework/qa/complex/XUserInputInterception/EventTest.java b/framework/qa/complex/XUserInputInterception/EventTest.java
index 1ce3814..aef6fca 100644
--- a/framework/qa/complex/XUserInputInterception/EventTest.java
+++ b/framework/qa/complex/XUserInputInterception/EventTest.java
@@ -92,33 +92,6 @@ public class EventTest {
/**
- * The test methods are:
- * <ul>
- * <li><CODE>checkTextDocument</CODE></LI>
- * <li><CODE>checkCalcDocument</CODE></LI>
- * <li><CODE>checkDrawDocument</CODE></LI>
- * <li><CODE>checkImpressDocument</CODE></LI>
- * <li><CODE>checkChartDocument</CODE></LI>
- * <li><CODE>checkMathDocument</CODE></li>
- * </ul>
- * @short A function to tell the framework,
- * which test functions are available.
- * @return All test methods.
- * @todo Think about selection of tests from outside ...
- */
-// public String[] getTestMethodNames() {
-// return new String[]
-// { "checkTextDocument",
-// "checkCalcDocument",
-// "checkDrawDocument",
-// "checkImpressDocument",
-// "checkChartDocument",
-// "checkMathDocument",
-// };
-// }
-
-
- /**
* creates the mebmer <CODE>m_xMSF</CODE> and <CODE>m_SOF</CODE>
* @short Create the environment for following tests.
* @descr create an empty test frame, where we can load
diff --git a/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java b/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java
index 9d2a55a..95314db 100644
--- a/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java
+++ b/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java
@@ -36,9 +36,6 @@ import com.sun.star.uno.AnyConverter;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.util.XChangesBatch;
-// import complex.accelerators.KeyMapping;
-
-
// ---------- junit imports -----------------
import org.junit.After;
import org.junit.AfterClass;
@@ -69,18 +66,6 @@ public class AcceleratorsConfigurationTest
// test environment
- /** @short todo document me
- */
-// public String[] getTestMethodNames()
-// {
-// return new String[]
-// {
-// "checkGlobalAccelCfg",
-// "checkModuleAccelCfg",
-// "checkDocumentAccelCfg"
-// };
-// }
-
/** @short Create the environment for following tests.
*/
@Before
@@ -355,10 +340,8 @@ public class AcceleratorsConfigurationTest
String tempDirURL = util.utils.getOfficeTemp/*Dir*/(getMSF());
sDocCfgName = FileHelper.appendPath(tempDirURL, "test.cfg");
- // sDocCfgName = "file:///c:/test.cfg";
SaveDocumentAcceleratorConfiguration(sDocCfgName);
- // sDocCfgName = "file:///c:/test.cfg";
LoadDocumentAcceleratorConfiguration(sDocCfgName);
}
diff --git a/framework/qa/complex/api_internal/CheckAPI.java b/framework/qa/complex/api_internal/CheckAPI.java
index a57afec..ce73df1 100644
--- a/framework/qa/complex/api_internal/CheckAPI.java
+++ b/framework/qa/complex/api_internal/CheckAPI.java
@@ -15,7 +15,6 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-// package name: as default, start with complex
package complex.api_internal;
// imports
@@ -50,14 +49,6 @@ import com.sun.star.uno.UnoRuntime;
public class CheckAPI {
/**
- * Return all test methods.
- * @return The test methods.
- */
-// public String[] getTestMethodNames() {
-// return new String[]{"checkAPI"};
-// }
-
- /**
* The test parameters
*/
private static TestParameters param = null;
diff --git a/framework/qa/complex/broken_document/LoadDocument.java b/framework/qa/complex/broken_document/LoadDocument.java
index b1ef17e..61edec9 100644
--- a/framework/qa/complex/broken_document/LoadDocument.java
+++ b/framework/qa/complex/broken_document/LoadDocument.java
@@ -18,7 +18,6 @@
package complex.broken_document;
import com.sun.star.beans.PropertyValue;
-// import com.sun.star.frame.FrameSearchFlag;
import com.sun.star.frame.XComponentLoader;
import com.sun.star.frame.XFrame;
import com.sun.star.lang.XMultiServiceFactory;
@@ -38,16 +37,6 @@ import static org.junit.Assert.*;
*/
public class LoadDocument {
- /** defect file to load **/
- // private final String mFileName = "dbf.dbf.emf";
-
- /**
- * Get all test methods.
- * @return The test methods.
- */
-// public String[] getTestMethodNames() {
-// return new String[]{"checkHeadlessState"};
-// }
/**
* Start Office with "--headless" parameter, then
@@ -70,8 +59,6 @@ public class LoadDocument {
System.out.println("xDektopLoader is null: " + (xDesktopLoader == null));
PropertyValue[] val = new PropertyValue[0];
- // String workingDir = (String)param.get("WorkingDir") + System.getProperty("file.separator") + mFileName;
- // System.out.println("Working dir: " + workingDir);
String fileUrl = complex.broken_document.TestDocument.getUrl("dbf.dbf.emf");
System.out.println("File Url: " + fileUrl);
diff --git a/framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor.java b/framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor.java
index 586c362..f621a5a 100644
--- a/framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor.java
+++ b/framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor.java
@@ -109,21 +109,8 @@ public class CheckContextMenuInterceptor
xFrame = null;
-// xClose = UnoRuntime.queryInterface(XCloseable.class, xDrawDoc);
-// try
-// {
-// xClose.close(true);
-// }
-// catch (com.sun.star.util.CloseVetoException exVeto)
-// {
-// fail("Test DrawDoc couldn't be closed successfully.");
-// }
-
}
-// public String[] getTestMethodNames() {
-// return new String[]{"checkContextMenuInterceptor"};
-// }
@Test
public void checkContextMenuInterceptor()
{
@@ -156,7 +143,6 @@ public class CheckContextMenuInterceptor
try
{
String sFile = OfficeFileUrl.getAbsolute(new File("space-metal.jpg"));
- // String sFile = util.utils.getFullTestURL("space-metal.jpg");
oShapeProps.setPropertyValue("GraphicURL", sFile);
Object oProp = oShapeProps.getPropertyValue("GraphicObjectFillBitmap");
xBitmap = (XBitmap) AnyConverter.toObject(new Type(XBitmap.class), oProp);
diff --git a/framework/qa/complex/desktop/DesktopTerminate.java b/framework/qa/complex/desktop/DesktopTerminate.java
index f716e40..468dcc5 100644
--- a/framework/qa/complex/desktop/DesktopTerminate.java
+++ b/framework/qa/complex/desktop/DesktopTerminate.java
@@ -41,19 +41,6 @@ public class DesktopTerminate
private int iOfficeCloseTime = 1000;
/**
- * A frunction to tell the framework, which test functions are available.
- * Right now, it's only 'checkPersistentWindowState'.
- * @return All test methods.
- */
-// public String[] getTestMethodNames()
-// {
-// return new String[]
-// {
-// "checkPersistentWindowState"
-// };
-// }
-
- /**
* Test if all available document types change the
* persistent Window Attributes
*
@@ -80,14 +67,6 @@ public class DesktopTerminate
{
System.out.println("Connect the first time.");
-// System.out.println("AppExecCommand: " + (String) param.get("AppExecutionCommand"));
-// System.out.println("ConnString: " + (String) param.get("ConnectionString"));
-// oProvider = new OfficeProvider();
-// iOfficeCloseTime = param.getInt("OfficeCloseTime");
-// if (iOfficeCloseTime == 0)
-// {
-// iOfficeCloseTime = 1000;
-// }
if (!connect())
{
diff --git a/framework/qa/complex/dispatches/checkdispatchapi.java b/framework/qa/complex/dispatches/checkdispatchapi.java
index 451b4e6..32f9138 100644
--- a/framework/qa/complex/dispatches/checkdispatchapi.java
+++ b/framework/qa/complex/dispatches/checkdispatchapi.java
@@ -69,36 +69,6 @@ public class checkdispatchapi
// test environment
- /** @short A function to tell the framework,
- which test functions are available.
-
- @return All test methods.
- @todo Think about selection of tests from outside ...
- */
-// public String[] getTestMethodNames()
-// {
-// return new String[]
-// {
-// "checkDispatchInfoOfWriter",
-// "checkDispatchInfoOfCalc",
-// "checkDispatchInfoOfDraw",
-// "checkDispatchInfoOfImpress",
-// "checkDispatchInfoOfMath",
-// "checkDispatchInfoOfChart",
-// "checkDispatchInfoOfBibliography",
-// "checkDispatchInfoOfQueryDesign",
-// "checkDispatchInfoOfTableDesign",
-// "checkDispatchInfoOfFormGridView",
-// "checkDispatchInfoOfDataSourceBrowser",
-// "checkDispatchInfoOfRelationDesign",
-// "checkDispatchInfoOfBasic",
-// "checkDispatchInfoOfStartModule",
-// "checkInterceptorLifeTime",
-// "checkInterception"
-// };
-// }
-
-
/** @short Create the environment for following tests.
@descr create an empty test frame, where we can load
diff --git a/framework/qa/complex/disposing/GetServiceWhileDisposingOffice.java b/framework/qa/complex/disposing/GetServiceWhileDisposingOffice.java
index 31e6262..6d042dd 100644
--- a/framework/qa/complex/disposing/GetServiceWhileDisposingOffice.java
+++ b/framework/qa/complex/disposing/GetServiceWhileDisposingOffice.java
@@ -36,14 +36,6 @@ import static org.junit.Assert.*;
public class GetServiceWhileDisposingOffice
{
-// public String[] getTestMethodNames()
-// {
-// return new String[]
-// {
-// "checkServiceWhileDisposing"
-// };
-// }
-
@Test public void checkServiceWhileDisposing()
{
XMultiServiceFactory xMSF = getMSF();
diff --git a/framework/qa/complex/framework/autosave/AutoSave.java b/framework/qa/complex/framework/autosave/AutoSave.java
index 6cb9e7a..1125755 100644
--- a/framework/qa/complex/framework/autosave/AutoSave.java
+++ b/framework/qa/complex/framework/autosave/AutoSave.java
@@ -172,21 +172,6 @@ public class AutoSave
// test environment
- /** @short A function to tell the framework,
- which test functions are available.
-
- @return All test methods.
- @todo Think about selection of tests from outside ...
- */
-// public String[] getTestMethodNames()
-// {
-// return new String[]
-// {
-// "checkConcurrentAutoSaveToNormalUISave",
-// };
-// }
-
-
/** @short Create the environment for following tests.
@descr create an empty test frame, where we can load
diff --git a/framework/qa/complex/imageManager/CheckImageManager.java b/framework/qa/complex/imageManager/CheckImageManager.java
index e91d9ee..02111c0 100644
--- a/framework/qa/complex/imageManager/CheckImageManager.java
+++ b/framework/qa/complex/imageManager/CheckImageManager.java
@@ -127,7 +127,6 @@ public class CheckImageManager {
_XUIConfigurationPersistence _xUIConfigPersistence = new _XUIConfigurationPersistence(param, xUIConfigPersistence);
_xUIConfigPersistence.before();
assertTrue(testObjectName + "::XUIConfigPersistence.isModified", _xUIConfigPersistence._isModified());
- // System.out.println(testObjectName + "::XUIConfigPersistence.isReadOnly "+ _xUIConfigPersistence._isReadOnly());
assertTrue(testObjectName + "::XUIConfigPersistence.isReadOnly", _xUIConfigPersistence._isReadOnly());
assertTrue(testObjectName + "::XUIConfigPersistence.reload", _xUIConfigPersistence._reload());
assertTrue(testObjectName + "::XUIConfigPersistence.store", _xUIConfigPersistence._store());
diff --git a/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java b/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java
index 40c5548..3e2b37b 100644
--- a/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java
+++ b/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java
@@ -115,26 +115,6 @@ public class CheckXComponentLoader
// test environment
- /** @short A function to tell the framework,
- which test functions are available.
-
- @return All test methods.
- @todo Think about selection of tests from outside ...
- */
-// public String[] getTestMethodNames()
-// {
-// // TODO think about trigger of sub-tests from outside
-// return new String[]
-// {
-// "checkURLEncoding" ,
-// "checkURLHandling" ,
-// "checkUsingOfMediaDescriptor",
-// "checkStreamLoading" ,
-// "checkLoadingWithPassword"
-// };
-// }
-
-
/** @short Create the environment for following tests.
@descr Use either a component loader from desktop or
@@ -207,12 +187,6 @@ public class CheckXComponentLoader
String sCompletePath = aFile.getAbsolutePath();
String sSubPath = sCompletePath.substring(nBasePathLength);
- // Some test files are checked into CVS. ignore CVS helper files!
-// if (sSubPath.indexOf("CVS") > -1)
-// {
-// continue;
-// }
-
m_lTestFiles.add(sSubPath);
}
}
@@ -295,10 +269,6 @@ public class CheckXComponentLoader
{
File aDir = new File(sTempPath);
aDir.mkdirs();
-// if (!aDir.exists())
-// {
-// fail("Could not access temp directory \"" + sTempPath + "\".");
-// }
// TODO: create a temp file which not exist!
for (int i=0; i<999999; ++i)
@@ -467,112 +437,6 @@ public class CheckXComponentLoader
}
}
- /**
- * Check url handling with a load of URLs.
- * 1. unsupported URLs.
- * 2. "stupid" URLs
- * 3. case sensitive URLs
- * 4. FTP URLs
- * 5. HTTP URLs
- */
-// public void checkURLHandling() {
-// PropertyValue[] lProps = new PropertyValue[1];
-//
-// lProps[0] = new PropertyValue();
-// lProps[0].Name = "Hidden";
-// lProps[0].Value = Boolean.TRUE;
-//
-// System.out.println("check possible but unsupported URLs");
-//
-// String[] sIllegalArgs = new String[] {
-// "slot:5000", "slot:10909", ".uno:SaveAs", ".uno:Open",
-// };
-// loadURL(m_xLoader, RESULT_ILLEGALARGUMENTEXCEPTION, sIllegalArgs,
-// "_blank", 0, lProps);
-//
-// System.out.println("check stupid URLs");
-//
-// sIllegalArgs = new String[] {
-// "slot:xxx", "slot:111111111", ".uno:save_as", ".uno:open_this",
-// ".UnO:*",
-// };
-// loadURL(m_xLoader, RESULT_ILLEGALARGUMENTEXCEPTION, sIllegalArgs,
-// "_blank", 0, lProps);
-//
-// String[] sEmptyDocs = new String[] {
-// "mailo:hansi.meier at germany.sun.com", "file:/c:\\test/file.cxx",
-// "file:///c|:\\test/file.cxx", "http_server://staroffice-doc\\",
-// "c:\\\\test///\\test.sxw", "news_:staroffice-doc",
-// "newsletter at blubber", "private_factory/swriter",
-// "private:factory//swriter", "private:factory/swriter/___",
-// "c:\\test\\test.sxw", "macro:///ImportWizard.Main.Main",
-// "macro:///Euro.AutoPilotRun.StartAutoPilot",
-// "service:com.sun.star.frame.Frame",
-// "mailto:steffen.grund at germany.sun.com", "news:staroffice-doc",
-// "macro:/ExportWizard", "macro://Euro.AutoPilotRun.StartAutoPilot",
-// "service:com.sun.star.frame."
-// };
-//
-// //with cws_loadenv01 changed to IllegalArgumentException
-// loadURL(m_xLoader, RESULT_ILLEGALARGUMENTEXCEPTION, sEmptyDocs, "_blank", 0,
-// lProps);
-//
-// System.out.println("check case sensitive URLs");
-//
-// sIllegalArgs = new String[] {
-// "sLot:5000", "sloT:10909", ".unO:SaveAs", ".uno:OPEN",
-// };
-// loadURL(m_xLoader, RESULT_ILLEGALARGUMENTEXCEPTION, sIllegalArgs,
-// "_blank", 0, lProps);
-//
-// sEmptyDocs = new String[] {
-// "private:factory/SWRITER", "private:factory/SWRITER/WEB",
-// "macro:///importwizard.main.main",
-// "Macro:///euro.autopilotrun.startautopilot",
-// "Service:Com.Sun.Star.Frame.Frame",
-// "Mailto:andreas.schluens at germany.sun.com", "neWs:staroffice-doc",
-// "News:Staroffice-doc"
-// };
-//
-// //with cws_loadenv01 changed to IllegalArgumentException
-// loadURL(m_xLoader, RESULT_ILLEGALARGUMENTEXCEPTION, sEmptyDocs, "_blank", 0,
-// lProps);
-//
-// System.out.println("check FTP URLs");
-//
-// String sFTPURL = (String) param.get("FtpAccess");
-// Enumeration aSnapshot = m_lTestFiles.elements();
-//
-// while (aSnapshot.hasMoreElements()) {
-// String doc = (String) aSnapshot.nextElement();
-//
-//
-// // if os is windows
-// doc = doc.replace('\\', '/');
-// if (doc.indexOf("CVS")<0) {
-// loadURL(m_xLoader, RESULT_VALID_DOC, sFTPURL + "/" + doc,
-// "_blank", 0, lProps);
-// }
-// }
-//
-// System.out.println("check HTTP URLs");
-//
-// String sHTTPURL = (String) param.get("HttpAccess");
-// aSnapshot = m_lTestFiles.elements();
-//
-// while (aSnapshot.hasMoreElements()) {
-// String doc = (String) aSnapshot.nextElement();
-//
-//
-// // if os is windows
-// doc = doc.replace('\\', '/');
-// if (doc.indexOf("CVS")<0) {
-// loadURL(m_xLoader, RESULT_VALID_DOC, sHTTPURL + "/" + doc,
-// "_blank", 0, lProps);
-// }
-// }
-// }
-
/** TODo document me
*/
@Test public void checkStreamLoading()
@@ -592,11 +456,6 @@ public class CheckXComponentLoader
File aFile = new File(m_sTestDocPath, aSnapshot.next());
String sURL = URLHelper.getFileURLFromSystemPath(aFile);
-// if (sURL.indexOf("CVS") > -1)
-// {
-// continue;
-// }
-
try
{
XInputStream xStream = m_xStreamProvider.openFileRead(sURL);
@@ -609,8 +468,6 @@ public class CheckXComponentLoader
// check different version of "private:stream" URL!
loadURL(m_xLoader, RESULT_VALID_DOC, "private:stream" , "_blank", 0, lProps);
- // loadURL(m_xLoader, RESULT_VALID_DOC, "private:stream" , "_blank", 0, lProps);
- // loadURL(m_xLoader, RESULT_VALID_DOC, "private:stream/", "_blank", 0, lProps);
}
}
diff --git a/framework/qa/complex/loadAllDocuments/StatusIndicator.java b/framework/qa/complex/loadAllDocuments/StatusIndicator.java
index ad1a63c..eb96e2d 100644
--- a/framework/qa/complex/loadAllDocuments/StatusIndicator.java
+++ b/framework/qa/complex/loadAllDocuments/StatusIndicator.java
@@ -158,17 +158,6 @@ public class StatusIndicator implements com.sun.star.task.XStatusIndicator
*/
private void impl_show()
{
-/* synchronized(this)
- {
- if ((m_nOut & SHOWSTATUS_LOG) == SHOWSTATUS_LOG)
- //m_aProtocol.log("\t["+m_nValue+"/"+m_nRange+"] "+m_sText+"\n");
-
- //if ((m_nOut & SHOWSTATUS_DIALOG) == SHOWSTATUS_DIALOG)
- // not supported yet!
-
- //if ((m_nOut & SHOWSTATUS_LINK) == SHOWSTATUS_LINK)
- // not supported yet!
- } */
}
public boolean wasUsed() {
diff --git a/framework/qa/complex/path_settings/PathSettingsTest.java b/framework/qa/complex/path_settings/PathSettingsTest.java
index c05becb..f23cf0e 100644
--- a/framework/qa/complex/path_settings/PathSettingsTest.java
+++ b/framework/qa/complex/path_settings/PathSettingsTest.java
@@ -91,17 +91,6 @@ public class PathSettingsTest
ArrayList<Property> aListOfWorkingProperty;
/**
- * A function to tell the framework, which test functions are available.
- * Right now, it's only 'checkComplexTemplateState'.
- * @return All test methods.
- */
-// public String[] getTestMethodNames() {
-// return new String[]{"checkXFastPropertySet",
-// "checkXMultiPropertySet",
-// "checkXPropertySet"
-// };
-// }
- /**
* Initialize before the tests start: this has to be done only once.
* This methods sets the 'aPathSettings' and 'xPropertyInfoOfPathSettings' variables.
*/
@@ -112,8 +101,6 @@ public class PathSettingsTest
{
aPathSettings = thePathSettings.get(connection.getComponentContext());
assertNotNull("Can't instantiate com.sun.star.util.thePathSettings.", aPathSettings);
-// System.out.println("Implementation: " + util.utils.getImplName(aPathSettings));
-// System.out.println("Service: ");
util.dbg.getSuppServices(aPathSettings);
final XPropertySet xPropSet_of_PathSettings = UnoRuntime.queryInterface(XPropertySet.class, aPathSettings);
@@ -127,7 +114,6 @@ public class PathSettingsTest
for (int i = 0; i < xPropertyInfoOfPathSettings.length; i++)
{
final String sName = xPropertyInfoOfPathSettings[i].Name;
- // System.out.println(sName);
aPathSettingNames[i] = sName;
Object o = xPropSet_of_PathSettings.getPropertyValue(sName);
@@ -251,29 +237,18 @@ public class PathSettingsTest
System.out.println("\n---- All properties ----");
final XPropertySet xPropSet_of_PathSettings = UnoRuntime.queryInterface(XPropertySet.class, aPathSettings);
-// for (int i = 0; i < xPropertyInfoOfPathSettings.length; i++)
for (int i = 0; i < aListOfWorkingProperty.size(); i++)
{
final String sName = aListOfWorkingProperty.get(i).Name;
- // aPathSettingWorkingNames[i] = sName;
-// System.out.print("PathSettings: Name:=");
System.out.print(sName);
Object o = xPropSet_of_PathSettings.getPropertyValue(sName);
- // System.out.println("#### Object: '" + o.getClass().getName() + "' - '" + o.toString() + "'");
try
{
final String sValue = AnyConverter.toString(o);
- // aPathSettingValues[i] = sValue;
- // System.out.println("#### String " + sValue);
- // System.out.println("Property Name: " + sName);
- // System.out.println("Property Value: " + sValue);
-// System.out.print(" ==> ");
-// System.out.print(sValue);
}
catch (com.sun.star.lang.IllegalArgumentException e)
{
-// System.out.print(" FAILED ");
}
System.out.println();
}
@@ -653,222 +628,11 @@ public class PathSettingsTest
}
- /**
- * This tests the XMultiPropertySet interface implementation.
- */
-
- // The test checkXMultiPropertySet() has been marked as outdated!
-
-// @Test
-// public void checkXMultiPropertySet()
-// {
-// System.out.println("---- Testing the XMultiPropertySet interface ----");
-// XMultiPropertySet xMPS = UnoRuntime.queryInterface(XMultiPropertySet.class, aPathSettings);
-//
-// // xPropertyInfoOfPathSettings.length
-// String[] propertiesToTest = new String[1];
-// propertiesToTest[0] = availablePropNames[0];
-//
-// String[] correctVals = new String[propertiesToTest.length];
-// String[] incorrectVals = new String[propertiesToTest.length];
-//
-// String[] aPathSettingWorkingNames = null;
-// aPathSettingWorkingNames = new String[propertiesToTest.length];
-//
-// // get intitial values and create new ones
-// for (int i = 0; i < propertiesToTest.length; i++)
-// {
-// // Property aProp = aListOfWorkingProperty.get(i);
-// final String sName = propertiesToTest[i];
-// final String sValue = getPropertyValueAsString(sName);
-// aPathSettingWorkingNames[i] = sName;
-// correctVals[i] = changeToCorrectValue(sValue);
-// incorrectVals[i] = changeToIncorrectValue(sValue);
-// }
-//
-// try
-// {
-// // add a change listener
-// MyChangeListener mListener = new MyChangeListener();
-// xMPS.addPropertiesChangeListener(aPathSettingWorkingNames, mListener);
-//
-// // first change xPropertyInfoOfPathSettings to correct values
-// System.out.println("Change to correct values.");
-// xMPS.setPropertyValues(aPathSettingWorkingNames, correctVals);
-// assertTrue("Could not change to correct values with XMultiPropertySet.",
-// verifyPropertySet(xMPS, aPathSettingWorkingNames, correctVals) > 0);
-//
-// // second, change to incorrect values: expect an exception
-// System.out.println("Try to change to incorrect values.");
-// try
-// {
-// xMPS.setPropertyValues(aPathSettingWorkingNames, incorrectVals);
-// }
-// catch (com.sun.star.lang.IllegalArgumentException r)
-// {
-// System.out.println("Correctly thrown Exception caught.");
-// }
-// assertTrue("Did change to incorrect values with XMultiPropertySet,"
-// + " but should not have.",
-// verifyPropertySet(xMPS, aPathSettingWorkingNames, correctVals) > 0);
-//
-// // third, change back to initial values
-// System.out.println("Change back to initial values.");
-// xMPS.setPropertyValues(aPathSettingWorkingNames, aPathSettingValues);
-// assertTrue("Could not change back to initial values with"
-// + " XMultiPropertySet.",
-// verifyPropertySet(xMPS, aPathSettingWorkingNames, aPathSettingValues) > 0);
-//
-// // fire the event for the listener
-// System.out.println("Fire event.");
-// xMPS.firePropertiesChangeEvent(aPathSettingWorkingNames, mListener);
-// assertTrue("Event was not fired on XMultiPropertySet.",
-// mListener.changePropertiesEventFired());
-// }
-// catch (com.sun.star.uno.Exception e)
-// {
-//// e.printStackTrace();
-// System.out.println(e.getClass().getName());
-// System.out.println("Message: " + e.getMessage());
-// fail("Unexpected exception on XMultiPropertySet.");
-// }
-//
-// // test finished
-// System.out.println("---- Test of XMultiPropertySet finished ----\n");
-// }
-
- /**
- * Verify if the values of xPropSet_of_PathSettings are the same as vals.
- * @param xPropSet_of_PathSettings A XMultiPropertySet.
- * @param aPathSettingWorkingNames An array with property names.
- * @param vals An array with values of the properties
- * @return -1 if none are equal, 1 if all are equal, 0 if some were equal
- * and some not.
- * @throws com.sun.star.lang.IllegalArgumentException
- */
-// private int verifyPropertySet(XMultiPropertySet xProp,
-// String[] propNames, String[] vals)
-// {
-// int ret = 0;
-// if (vals.length != propNames.length)
-// {
-// System.out.println("Length of array parameters must be equal.");
-// return ret;
-// }
-// for (int i = 0; i < vals.length; i++)
-// {
-// Object[] objs = xProp.getPropertyValues(new String[]
-// {
-// propNames[i]
-// });
-// String retVal = (String) objs[0];
-// boolean nCheck = retVal.equals(vals[i]);
-// if (!nCheck)
-// {
-// System.out.println("Property '" + propNames[i]
-// + "' was supposed to have value:");
-// System.out.println(vals[i]);
-// System.out.println("but has value:");
-// System.out.println(retVal);
-// }
-// // initialize
-// if (i == 0)
-// {
-// ret = nCheck ? 1 : -1;
-// continue;
-// }
-// // return 0 if equal state changes compared to initial value
-// if ((nCheck && ret < 0) || (!nCheck && ret > 0))
-// {
-// ret = 0;
-// }
-// }
-// return ret;
-// }
-
// ____________________
/**
* This tests the XPropertySet interface implementation.
*/
-// The test checkXPropertySet() has been marked as outdated!
-
-
-// @Test
-// public void checkXPropertySet()
-// {
-// System.out.println("---- Testing the XPropertySet interface ----");
-//
-// XPropertySet xPS = UnoRuntime.queryInterface(XPropertySet.class, aPathSettings);
-//
-// MyChangeListener mListener1 = new MyChangeListener();
-// MyChangeListener mListener2 = new MyChangeListener();
-//
-// for (int i = 0; i < xPropertyInfoOfPathSettings.length; i++)
-// {
-// // adding listeners
-// String name = aPathSettingNames[i];
-// System.out.println("Testing property '" + name + "'");
-// try
-// {
-// System.out.println("Add 2 Listeners.");
-// xPS.addPropertyChangeListener(name, mListener1);
-// xPS.addVetoableChangeListener(name, mListener1);
-// xPS.addPropertyChangeListener(name, mListener2);
-// xPS.addVetoableChangeListener(name, mListener2);
-//
-// // change the property
-// System.out.println("Change value.");
-// String changeVal = changeToCorrectValue(aPathSettingValues[i]);
-// xPS.setPropertyValue(name, changeVal);
-// String newVal = (String) xPS.getPropertyValue(name);
-//
-// assertTrue("Value did not change on property " + name + ".",
-// newVal.equals(changeVal));
-//
-// assertTrue("Listener 1 was not called.", checkListener(mListener1));
-// assertTrue("Listener 2 was not called.", checkListener(mListener2));
-//
-// mListener1.resetListener();
-// mListener2.resetListener();
-//
-// System.out.println("Remove Listener 1.");
-//
-// xPS.removePropertyChangeListener(name, mListener1);
-// xPS.removeVetoableChangeListener(name, mListener1);
-//
-// // change the property
-// System.out.println("Change value back.");
-// xPS.setPropertyValue(name, aPathSettingValues[i]);
-// newVal = (String) xPS.getPropertyValue(name);
-// assertTrue("Value did not change on property " + name,
-// newVal.equals(aPathSettingValues[i]));
-//
-// assertTrue("Listener was called, although it was removed on"
-// + " property " + name + ".", !checkListener(mListener1));
-// assertTrue("Listener 2 was not called on property " + name + ".",
-// checkListener(mListener2));
-// }
-// catch (com.sun.star.uno.Exception e)
-// {
-// System.out.println(e.getClass().getName());
-// System.out.println("Message: " + e.getMessage());
-// fail("Unexpcted exception on property " + name);
-// }
-// System.out.println("Finish testing property '" + aPathSettingNames[i] + "'\n");
-// }
-// System.out.println("---- Test of XPropertySet finished ----\n");
-//
-// }
-
-// private boolean checkListener(MyChangeListener ml)
-// {
-// return ml.changePropertyEventFired()
-// || ml.changePropertiesEventFired()
-// || ml.vetoableChangeEventFired();
-// }
-
-
/**
* Change the given String to a correct path URL.
* @return The changed path URL.
diff --git a/framework/qa/complex/path_substitution/PathSubstitutionTest.java b/framework/qa/complex/path_substitution/PathSubstitutionTest.java
index b2d7c86..2c55aea 100644
--- a/framework/qa/complex/path_substitution/PathSubstitutionTest.java
+++ b/framework/qa/complex/path_substitution/PathSubstitutionTest.java
@@ -43,14 +43,6 @@ public class PathSubstitutionTest
private VariableContainer substVars = null;
/**
- * A function to tell the framework, which test functions are available.
- * Right now, it's only 'checkXStringSubstitution'.
- * @return All test methods.
- */
-// public String[] getTestMethodNames() {
-// return new String[]{"checkXStringSubstitution"};
-// }
- /**
* Create an array with all substitution variables
*/
@Before public void initialize()
diff --git a/javaunohelper/com/sun/star/lib/uno/adapter/ByteArrayToXInputStreamAdapter.java b/javaunohelper/com/sun/star/lib/uno/adapter/ByteArrayToXInputStreamAdapter.java
index 1557bfd..fd6553a 100644
--- a/javaunohelper/com/sun/star/lib/uno/adapter/ByteArrayToXInputStreamAdapter.java
+++ b/javaunohelper/com/sun/star/lib/uno/adapter/ByteArrayToXInputStreamAdapter.java
@@ -45,7 +45,6 @@ public class ByteArrayToXInputStreamAdapter
}
public void init(byte[] bytes) {
- // System.err.println("ByteArrayXInputStream");
m_bytes = bytes;
m_length = bytes.length;
m_pos = 0;
@@ -54,11 +53,9 @@ public class ByteArrayToXInputStreamAdapter
private void _check() throws com.sun.star.io.NotConnectedException, com.sun.star.io.IOException {
if (m_bytes == null) {
- // System.err.println("check failed no bytes!");
throw new com.sun.star.io.NotConnectedException("no bytes");
}
if(!m_open) {
- // System.err.println("check failed: closed");
throw new com.sun.star.io.IOException("input closed");
}
}
@@ -69,19 +66,16 @@ public class ByteArrayToXInputStreamAdapter
if (a != (int)a)
throw new com.sun.star.io.IOException("integer overflow");
else {
- // System.err.println("available() -> "+a);
return (int)a;
}
}
public void closeInput() throws com.sun.star.io.NotConnectedException, com.sun.star.io.IOException {
- // System.err.println("closeInput()");
_check();
m_open = false;
}
public int readBytes(byte[][] values, int param) throws com.sun.star.io.NotConnectedException, com.sun.star.io.BufferSizeExceededException, com.sun.star.io.IOException {
- // System.err.println("readbytes(..., "+param+")");
_check();
try {
int remain = (m_length - m_pos);
@@ -89,30 +83,24 @@ public class ByteArrayToXInputStreamAdapter
/* ARGH!!! */
if (values[0] == null){
values[0] = new byte[param];
- // System.err.println("allocated new buffer of "+param+" bytes");
}
System.arraycopy(m_bytes, m_pos, values[0], 0, param);
- // System.err.println("readbytes() -> "+param);
m_pos += param;
return param;
} catch (ArrayIndexOutOfBoundsException ae) {
- // System.err.println("readbytes() -> ArrayIndexOutOfBounds");
ae.printStackTrace();
throw new com.sun.star.io.BufferSizeExceededException("buffer overflow");
} catch (Exception e) {
- // System.err.println("readbytes() -> Exception: "+e.getMessage());
e.printStackTrace();
throw new com.sun.star.io.IOException("error accessing buffer");
}
}
public int readSomeBytes(byte[][] values, int param) throws com.sun.star.io.NotConnectedException, com.sun.star.io.BufferSizeExceededException, com.sun.star.io.IOException {
- // System.err.println("readSomebytes()");
return readBytes(values, param);
}
public void skipBytes(int param) throws com.sun.star.io.NotConnectedException, com.sun.star.io.BufferSizeExceededException, com.sun.star.io.IOException {
- // System.err.println("skipBytes("+param+")");
_check();
if (param > (m_length - m_pos))
throw new com.sun.star.io.BufferSizeExceededException("buffer overflow");
@@ -120,28 +108,19 @@ public class ByteArrayToXInputStreamAdapter
}
public long getLength() throws com.sun.star.io.IOException {
- // System.err.println("getLength() -> "+m_length);
if (m_bytes != null) return m_length;
else throw new com.sun.star.io.IOException("no bytes");
}
public long getPosition() throws com.sun.star.io.IOException {
- // System.err.println("getPosition() -> "+m_pos);
if (m_bytes != null) return m_pos;
else throw new com.sun.star.io.IOException("no bytes");
}
public void seek(long param) throws com.sun.star.lang.IllegalArgumentException, com.sun.star.io.IOException {
- // System.err.println("seek("+param+")");
if (m_bytes != null){
if (param < 0 || param > m_length) throw new com.sun.star.lang.IllegalArgumentException("invalid seek position");
else m_pos = (int)param;
}else throw new com.sun.star.io.IOException("no bytes");
}
-
- public void finalize() throws Throwable{
- // System.err.println("finalizer called for ByteArrayXInputStream!");
- super.finalize();
- }
-
}
diff --git a/javaunohelper/com/sun/star/lib/uno/adapter/XOutputStreamToByteArrayAdapter.java b/javaunohelper/com/sun/star/lib/uno/adapter/XOutputStreamToByteArrayAdapter.java
index 8488e22..ad60793 100644
--- a/javaunohelper/com/sun/star/lib/uno/adapter/XOutputStreamToByteArrayAdapter.java
+++ b/javaunohelper/com/sun/star/lib/uno/adapter/XOutputStreamToByteArrayAdapter.java
@@ -47,11 +47,9 @@ public class XOutputStreamToByteArrayAdapter
externalBuffer = true;
buffer = aBuffer;
size = buffer.length;
- // System.err.println("new outputbuffer with external storage");
} else {
size = initialSize;
buffer = new byte[size];
- // System.err.println("new outputbuffer with internal storage");
}
}
@@ -85,14 +83,12 @@ public class XOutputStreamToByteArrayAdapter
com.sun.star.io.BufferSizeExceededException,
com.sun.star.io.IOException
{
- // System.err.println("writeBytes("+values.length+")");
if ( values.length > size-position )
{
if ( externalBuffer )
throw new BufferSizeExceededException("out of buffer space, cannot grow external buffer");
while ( values.length > size-position )
size *= 2;
- // System.err.println("new buffer size is "+size+" bytes.");
byte[] newBuffer = new byte[size];
System.arraycopy(buffer, 0, newBuffer, 0, position);
buffer = newBuffer;
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java b/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java
index 342e732..02b9265 100644
--- a/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java
+++ b/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java
@@ -100,7 +100,6 @@ public class InterfaceContainer implements Cloneable
private int size;
- //private ArrayList data= new ArrayList();
/** Creates a new instance of InterfaceContainer */
public InterfaceContainer()
{
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/AWeakBase.java b/javaunohelper/test/com/sun/star/lib/uno/helper/AWeakBase.java
index 275ae51..1217b02 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/AWeakBase.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/AWeakBase.java
@@ -33,7 +33,6 @@ public class AWeakBase extends WeakBase implements XEventListener
public void disposing(com.sun.star.lang.EventObject eventObject)
{
-// System.out.println(getClass().getName() + " .disposing called");
nDisposingCalled++;
}
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java
index 8e79811..976968f 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java
@@ -23,7 +23,6 @@ import java.util.ListIterator;
import com.sun.star.uno.XWeak;
import com.sun.star.lang.XTypeProvider;
import java.util.ArrayList;
-//import com.sun.star.lib.uno.environments.java.Proxy;
import com.sun.star.lib.uno.environments.java.java_environment;
import java.util.List;
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java
index 3aaa764..e8bef98 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java
@@ -22,13 +22,11 @@ import com.sun.star.uno.XWeak;
import com.sun.star.lang.XTypeProvider;
import java.util.ArrayList;
import com.sun.star.uno.Type;
-//import com.sun.star.lib.uno.environments.java.Proxy;
import com.sun.star.uno.XInterface;
import com.sun.star.lang.XSingleComponentFactory;
public class MultiTypeInterfaceContainer_Test
{
-// java_environment env= new java_environment(null);
/** Creates a new instance of InterfaceContainerTest */
AWeakBase obj1,obj2,obj3,obj4;
Object proxyObj1Weak1;
@@ -71,39 +69,6 @@ public class MultiTypeInterfaceContainer_Test
list3.add(proxyObj2TypeProv);
list3.add(proxyObj3Weak1);
}
- /** returns Holder proxy objects for the specified interface. If the method is called
- * several times with the same arguments then each time a new HolderProxy is returned.
- * Then all HolderProxy s refer to the same Proxy object.
- * The proxy can be queried for XEventListener. On the returned proxy disposing can be called
- *
- */
-// public Object getHolderProxy(Object obj, Class iface)
-// {
-// Object retVal= null;
-// if (obj == null || iface == null || iface.isInstance(obj) == false )
-// return retVal;
-//
-// Type type= new Type(TypeDescription.getTypeDescription(iface));
-// Type evtType= new Type(TypeDescription.getTypeDescription(com.sun.star.lang.XEventListener.class));
-// // find the object identifier
-// String sOid= UnoRuntime.generateOid(obj);
-// retVal= env.getRegisteredInterface(sOid, type);
-// // if retVal == null then probably not registered
-// if (retVal == null)
-// {
-// // create the XEventListener proxy
-// Requester eventRequester = new Requester(false, false, null);
-// Object aProxyEvt = Proxy.create(eventRequester, sOid, evtType, false, false);
-// String[] arOid= new String[]{sOid};
-// retVal= env.registerInterface(aProxyEvt, arOid, evtType);
-//
-// Requester requester = new Requester(false, false, aProxyEvt);
-// Object aProxy = Proxy.create(requester, sOid, type, false, false);
-// arOid= new String[] {sOid};
-// retVal= env.registerInterface(aProxy, arOid, type);
-// }
-// return retVal;
-// }
public boolean addInterface()
{
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java b/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java
index f25beef..d2c1bbf 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java
@@ -22,9 +22,7 @@ import com.sun.star.lib.uno.typedesc.TypeDescription;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.lang.XEventListener;
import com.sun.star.uno.IQueryInterface;
-//import com.sun.star.lib.uno.environments.java.Proxy;
import com.sun.star.lib.uno.environments.java.java_environment;
-//import com.sun.star.lib.uno.environments.java.IRequester;
public class ProxyProvider
@@ -108,49 +106,5 @@ class Proxy implements IQueryInterface, XEventListener
}
-//class Requester //implements IRequester
-//{
-// int _modus;
-// boolean _virtual;
-// boolean _forceSynchronous;
-// boolean _passed = true;
-//
-// Object _xEventListenerProxy;
-// int nDisposingCalled= 0;
-//
-// Requester(boolean virtual, boolean forceSynchronous, Object evtListener)
-// {
-// _virtual = virtual;
-// _forceSynchronous = forceSynchronous;
-// _xEventListenerProxy= evtListener;
-//
-// }
-//
-// public Object sendRequest(Object object,
-// Type type,
-// String operation,
-// Object params[],
-// Boolean synchron[],
-// Boolean mustReply[]) throws Throwable
-// {
-//
-// Object result = null;
-// if (operation.equals("disposing"))
-// {
-// System.out.println("Disposing called on XEventListener proxy");
-// nDisposingCalled++;
-// }
-// else if (operation.equals("queryInterface"))
-// {
-// if (params[0] instanceof Type)
-// {
-// Type t= (Type) params[0];
-// if (t.equals( new Type("com.sun.star.lang.XEventListener")))
-// result= _xEventListenerProxy;
-// }
-// }
-// return result;
-// }
-//}
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java
index f70f1b2..6177a82 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java
@@ -85,11 +85,9 @@ public class WeakBase_Test
StringBuffer buff= new StringBuffer();
for (int c= 0; c < ar.length - 4; c++){
buff.append((char) ar[4 + c]);
-// buff.append(" ");
}
String retStr= buff.toString();
r[i++]= retStr.equals("com.sun.star.lib.uno.helper.SomeClass");
-// System.out.println(buff.toString());
Foo1 f1= new Foo1();
Foo1 f2= new Foo1();
diff --git a/jurt/com/sun/star/comp/loader/FactoryHelper.java b/jurt/com/sun/star/comp/loader/FactoryHelper.java
index 64ef51f..2a71201 100644
--- a/jurt/com/sun/star/comp/loader/FactoryHelper.java
+++ b/jurt/com/sun/star/comp/loader/FactoryHelper.java
@@ -55,7 +55,6 @@ public class FactoryHelper {
static protected class Factory
implements XSingleServiceFactory, XSingleComponentFactory, XServiceInfo,
XTypeProvider {
-// private static final boolean DEBUG = false;
protected XMultiServiceFactory _xMultiServiceFactory;
protected XRegistryKey _xRegistryKey;
diff --git a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java
index 4a4a4e6..a4a5f8d 100644
--- a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java
+++ b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java
@@ -284,7 +284,6 @@ public class ServiceManager implements XMultiServiceFactory,
}
return null;
}
-// public String[] getAvailableServiceNames();
/**
* Removes all listeners from the <code>ServiceManager</code> and clears the
diff --git a/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java b/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java
index b5e240b..6cd54f0 100644
--- a/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java
+++ b/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java
@@ -94,15 +94,6 @@ public class JobQueue {
}
if(DEBUG) System.err.println("##### " + getClass().getName() + ".run - exit:" + _threadId);
-
-// try {
-// Object object = new Object();
-// synchronized(object) {
-// object.wait();
-// }
-// }
-// catch(InterruptedException interruptedException) {
-// }
}
}
diff --git a/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java b/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java
index 6be7a7b..f907a3c 100644
--- a/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java
+++ b/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java
@@ -52,23 +52,15 @@ class TestWorkAt implements TestIWorkAt {
if(_sync_thread == null)
_sync_thread = Thread.currentThread();
-// if(_sync_thread != Thread.currentThread())
-// _passedAync = false;
-
if(DEBUG) System.err.println("syncCall:" + _sync_counter + " " + _passedAync + " " + Thread.currentThread());
}
public synchronized void asyncCall() throws Throwable {
-// Thread.sleep(50);
-
++ _async_counter;
if(_async_thread == null)
_async_thread = Thread.currentThread();
-// if(_async_thread != Thread.currentThread())
-// _passedAync = false;
-
if(DEBUG) System.err.println("asyncCall:" + _async_counter + " " + Thread.currentThread());
}
diff --git a/jurt/workbench/com/sun/star/comp/urlresolver/UrlResolver_Test.java b/jurt/workbench/com/sun/star/comp/urlresolver/UrlResolver_Test.java
index 89f1d90..05b91a1 100644
--- a/jurt/workbench/com/sun/star/comp/urlresolver/UrlResolver_Test.java
+++ b/jurt/workbench/com/sun/star/comp/urlresolver/UrlResolver_Test.java
@@ -25,7 +25,6 @@ import com.sun.star.bridge.UnoUrlResolver;
import com.sun.star.bridge.XUnoUrlResolver;
import com.sun.star.beans.XPropertySet;
import com.sun.star.uno.UnoRuntime;
-//import com.sun.star.connection.NoConnectionException;
/** start the office with these options <br>
soffice --accept=socket,host=localhost,port=8100;urp;
diff --git a/linguistic/qa/complex/linguistic/HangulHanjaConversion.java b/linguistic/qa/complex/linguistic/HangulHanjaConversion.java
index a391bd5..85274a0 100644
--- a/linguistic/qa/complex/linguistic/HangulHanjaConversion.java
+++ b/linguistic/qa/complex/linguistic/HangulHanjaConversion.java
@@ -41,7 +41,6 @@ import com.sun.star.uno.UnoRuntime;
import util.DesktopTools;
-// import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
@@ -55,10 +54,6 @@ public class HangulHanjaConversion {
Locale aLocale = new Locale("ko", "KR", "");
short dictType = ConversionDictionaryType.HANGUL_HANJA;
-// public String[] getTestMethodNames() {
-// return new String[] { "ConversionDictionaryList" };
-// }
-
@Before public void before() {
xMSF = getMSF();
}
@@ -113,7 +108,6 @@ public class HangulHanjaConversion {
assertTrue("getDictionaryContainer didn't work as expected", localRes);
String FileToLoad = TestDocument.getUrl("hangulhanja.sxc");
- // String FileToLoad = util.utils.getFullTestURL();
XComponent xDoc = DesktopTools.loadDoc(xMSF, FileToLoad,
new PropertyValue[] { });
diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalFile.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalFile.java
index b494d46..ffe0320 100644
--- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalFile.java
+++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalFile.java
@@ -62,15 +62,6 @@ public class GlobalFile {
raFile.seek(raFile.length());
raFile.writeBytes(inStr);
raFile.close();
-
-
-// String oldFileStr = getStringFromFile(fileStr);
-// String newFileStr = inStr;
-// if (oldFileStr != null) {
-// newFileStr = oldFileStr+inStr;
-// }
-// saveStringToFile(newFileStr,fileStr);
-
}
public static Object loadObjectFromFile(String fileName) throws Exception {
diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/RandomGenerator.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/RandomGenerator.java
index 45204c4..47d03c1 100644
--- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/RandomGenerator.java
+++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/RandomGenerator.java
@@ -31,7 +31,6 @@ public class RandomGenerator {
* Example: for find [0,1,2]
*/
public static int intRangeRandom(int lowLimit,int upLimit){
-// int num = (int)Math.rint(doubleRangeRandom(lowLimit,upLimit));
int num = (int)Math.floor(doubleRangeRandom(lowLimit,upLimit+1)-1E-10);
return(num);
}
@@ -75,29 +74,6 @@ public static double doubleRangeRandom(double lowLimit,double upLimit){
return randomSelection(totalIndices, times);
}
-// public static int[] randomSelection(boolean[] types, int times) {
-// int realTimes = times;
-// if(realTimes>types.length) realTimes = types.length;
-// boolean[] internalTypes = (boolean[])types.clone();
-// int upper = types.length-1;
-// int[] indices = new int[realTimes];
-// if(realTimes==types.length) {
-// for(int i=0; i<indices.length; i++) {
-// indices[i] = i;
-// }
-// return indices;
-// }
-// int i = 0;
-// while(i<realTimes) {
-// indices[i] = intRangeRandom(0, upper);
-// if(!internalTypes[indices[i]]) {
-// internalTypes[indices[i]] = true;
-// i++;
-// }
-// }
-// return indices;
-// }
-
public static int[] randomSelection(int low, int up, int times){
int[] totalIndices = new int[up-low];
for (int i=low; i<up; i++) {
diff --git a/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java b/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java
index 32473a3..74f53fd 100644
--- a/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java
+++ b/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java
@@ -65,7 +65,6 @@ import com.sun.star.test.XTestDialogHandler;
// ComponentBase, see implementation of TestComponentA.
public class DialogComponent {
- // public static class _DialogComponent extends WeakBase
public static class _DialogComponent
implements XTypeProvider, XServiceInfo, XTestDialogHandler, XDialogEventHandler {
diff --git a/odk/examples/DevelopersGuide/Config/ConfigExamples.java b/odk/examples/DevelopersGuide/Config/ConfigExamples.java
index cac0194..37debea 100644
--- a/odk/examples/DevelopersGuide/Config/ConfigExamples.java
+++ b/odk/examples/DevelopersGuide/Config/ConfigExamples.java
@@ -863,8 +863,6 @@ public class ConfigExamples
String sSampleDataSourceName = "SampleTextDatabase";
String sSampleDataSourceURL = "sdbc:flat:$(userurl)/database/SampleTextDatabase";
- // String sSampleDataSourceURL = "sdbc:flat:file:///usr/local/database/SampleTextDatabase";
- // String sSampleDataSourceURL = "sdbc:flat:file:///C:/data/database/SampleTextDatabase";
com.sun.star.beans.NamedValue [] aSettings = new com.sun.star.beans.NamedValue [2];
aSettings[0] = new com.sun.star.beans.NamedValue("HeaderLine",new Boolean(true));
diff --git a/odk/examples/DevelopersGuide/Database/Sales.java b/odk/examples/DevelopersGuide/Database/Sales.java
index c90ae13..12f68e9 100644
--- a/odk/examples/DevelopersGuide/Database/Sales.java
+++ b/odk/examples/DevelopersGuide/Database/Sales.java
@@ -32,7 +32,6 @@
*
*************************************************************************/
-// import com.sun.star.bridge.XUnoUrlResolver;
import com.sun.star.uno.*;
import com.sun.star.util.Date;
import com.sun.star.beans.XPropertySet;
diff --git a/odk/examples/DevelopersGuide/Database/SalesMan.java b/odk/examples/DevelopersGuide/Database/SalesMan.java
index 0eaa3cd..5aead05 100644
--- a/odk/examples/DevelopersGuide/Database/SalesMan.java
+++ b/odk/examples/DevelopersGuide/Database/SalesMan.java
@@ -32,7 +32,6 @@
*
*************************************************************************/
-// import com.sun.star.bridge.XUnoUrlResolver;
import com.sun.star.uno.*;
import com.sun.star.util.Date;
import com.sun.star.sdbc.*;
diff --git a/odk/examples/DevelopersGuide/FirstSteps/FirstLoadComponent.java b/odk/examples/DevelopersGuide/FirstSteps/FirstLoadComponent.java
index 0bc329c..ac8d643 100644
--- a/odk/examples/DevelopersGuide/FirstSteps/FirstLoadComponent.java
+++ b/odk/examples/DevelopersGuide/FirstSteps/FirstLoadComponent.java
@@ -161,159 +161,3 @@ public class FirstLoadComponent {
}
}
-
-
-// import com.sun.star.uno.UnoRuntime;
-// import com.sun.star.uno.XComponentContext;
-// import com.sun.star.lang.XMultiComponentFactory;
-// import com.sun.star.lang.XComponent;
-// import com.sun.star.beans.XPropertySet;
-// import com.sun.star.beans.PropertyValue;
-// import com.sun.star.sheet.XSpreadsheetDocument;
-// import com.sun.star.sheet.XSpreadsheets;
-// import com.sun.star.sheet.XSpreadsheet;
-// import com.sun.star.sheet.XSpreadsheetView;
-// import com.sun.star.sheet.XCellRangesQuery;
-// import com.sun.star.sheet.XSheetCellRanges;
-// import com.sun.star.sheet.XCellAddressable;
-// import com.sun.star.table.XCell;
-// import com.sun.star.frame.XModel;
-// import com.sun.star.frame.XController;
-// import com.sun.star.frame.XComponentLoader;
-// import com.sun.star.container.XEnumeration;
-// import com.sun.star.container.XEnumerationAccess;
-
-// import com.sun.star.uno.AnyConverter;
-
-// public class FirstLoadComponent {
-
-// /** Creates a new instance of FirstLoadComponent */
-// public FirstLoadComponent() {
-// }
-
-// /**
-// * @param args the command line arguments
-// */
-// private XComponentContext xRemoteContext = null;
-// private XMultiComponentFactory xRemoteServiceManager = null;
-
-// public static void main(String[] args) {
-// FirstLoadComponent firstLoadComponent1 = new FirstLoadComponent();
-// try {
-// firstLoadComponent1.useConnection();
-// }
-// catch (java.lang.Exception e){
-// System.out.println(e.getMessage());
-// e.printStackTrace();
-// }
-// finally {
-// System.exit(0);
-// }
-// }
-
-// private void useConnection() throws java.lang.Exception {
-// try {
-// // get the remote office component context
-// xRemoteContext = com.sun.star.comp.helper.Bootstrap.bootstrap();
-// System.out.println("Connected to a running office ...");
-
-// xRemoteServiceManager = xRemoteContext.getServiceManager();
-// }
-// catch( Exception e) {
-// e.printStackTrace();
-// System.exit(1);
-// }
-
-// try {
-// Object desktop = xRemoteServiceManager.createInstanceWithContext(
-// "com.sun.star.frame.Desktop", xRemoteContext);
-// XComponentLoader xComponentLoader = (XComponentLoader)
-// UnoRuntime.queryInterface(XComponentLoader.class, desktop);
-
-// PropertyValue[] loadProps = new PropertyValue[0];
-// XComponent xSpreadsheetComponent = xComponentLoader.loadComponentFromURL("private:factory/scalc", "_blank", 0, loadProps);
-
-// XSpreadsheetDocument xSpreadsheetDocument = (XSpreadsheetDocument)
-// UnoRuntime.queryInterface(XSpreadsheetDocument.class,
-// xSpreadsheetComponent);
-
-// XSpreadsheets xSpreadsheets = xSpreadsheetDocument.getSheets();
-// xSpreadsheets.insertNewByName("MySheet", (short)0);
-// com.sun.star.uno.Type elemType = xSpreadsheets.getElementType();
-
-// System.out.println(elemType.getTypeName());
-// Object sheet = xSpreadsheets.getByName("MySheet");
-// XSpreadsheet xSpreadsheet = (XSpreadsheet)UnoRuntime.queryInterface(
-// XSpreadsheet.class, sheet);
-
-// XCell xCell = xSpreadsheet.getCellByPosition(0, 0);
-// xCell.setValue(21);
-// xCell = xSpreadsheet.getCellByPosition(0, 1);
-// xCell.setValue(21);
-// xCell = xSpreadsheet.getCellByPosition(0, 2);
-// xCell.setFormula("=sum(A1:A2)");
-
-// XPropertySet xCellProps = (XPropertySet)UnoRuntime.queryInterface(
-// XPropertySet.class, xCell);
-// xCellProps.setPropertyValue("CellStyle", "Result");
-
-// XModel xSpreadsheetModel = (XModel)UnoRuntime.queryInterface(
-// XModel.class, xSpreadsheetComponent);
-// XController xSpreadsheetController = xSpreadsheetModel.getCurrentController();
-// XSpreadsheetView xSpreadsheetView = (XSpreadsheetView)
-// UnoRuntime.queryInterface(XSpreadsheetView.class,
-// xSpreadsheetController);
-// xSpreadsheetView.setActiveSheet(xSpreadsheet);
-
-// // *********************************************************
-// // example for use of enum types
-// xCellProps.setPropertyValue("VertJustify",
-// com.sun.star.table.CellVertJustify.TOP);
-
-
-// // *********************************************************
-// // example for a sequence of PropertyValue structs
-// // create an array with one PropertyValue struct, it contains
-// // references only
-// loadProps = new PropertyValue[1];
-
-// // instantiate PropertyValue struct and set its member fields
-// PropertyValue asTemplate = new PropertyValue();
-// asTemplate.Name = "AsTemplate";
-// asTemplate.Value = new Boolean(true);
-
-// // assign PropertyValue struct to array of references for PropertyValue
-// // structs
-// loadProps[0] = asTemplate;
-
-// // load calc file as template
-// //xSpreadsheetComponent = xComponentLoader.loadComponentFromURL(
-// // "file:///c:/temp/DataAnalysys.ods", "_blank", 0, loadProps);
-
-// // *********************************************************
-// // example for use of XEnumerationAccess
-// XCellRangesQuery xCellQuery = (XCellRangesQuery)
-// UnoRuntime.queryInterface(XCellRangesQuery.class, sheet);
-// XSheetCellRanges xFormulaCells = xCellQuery.queryContentCells(
-// (short)com.sun.star.sheet.CellFlags.FORMULA);
-// XEnumerationAccess xFormulas = xFormulaCells.getCells();
-// XEnumeration xFormulaEnum = xFormulas.createEnumeration();
-
-// while (xFormulaEnum.hasMoreElements()) {
-// Object formulaCell = xFormulaEnum.nextElement();
-// xCell = (XCell)UnoRuntime.queryInterface(XCell.class, formulaCell);
-// XCellAddressable xCellAddress = (XCellAddressable)
-// UnoRuntime.queryInterface(XCellAddressable.class, xCell);
-// System.out.println("Formula cell in column " +
-// xCellAddress.getCellAddress().Column
-// + ", row " + xCellAddress.getCellAddress().Row
-// + " contains " + xCell.getFormula());
-// }
-
-// }
-// catch( com.sun.star.lang.DisposedException e ) { //works from Patch 1
-// xRemoteContext = null;
-// throw e;
-// }
-// }
-// }
diff --git a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
index a5097b1..10bdcc3 100644
--- a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
+++ b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
@@ -60,7 +60,6 @@ import com.sun.star.awt.XItemEventBroadcaster;
import com.sun.star.awt.XItemListener;
import com.sun.star.awt.XKeyListener;
import com.sun.star.awt.XListBox;
-//import com.sun.star.awt.XMessageBoxFactory;
import com.sun.star.awt.XMouseListener;
import com.sun.star.awt.XPointer;
import com.sun.star.awt.XReschedule;
diff --git a/odk/examples/DevelopersGuide/Spreadsheet/SpreadsheetDocHelper.java b/odk/examples/DevelopersGuide/Spreadsheet/SpreadsheetDocHelper.java
index 5cc0b4a..dbdbc80 100644
--- a/odk/examples/DevelopersGuide/Spreadsheet/SpreadsheetDocHelper.java
+++ b/odk/examples/DevelopersGuide/Spreadsheet/SpreadsheetDocHelper.java
@@ -51,7 +51,6 @@ public class SpreadsheetDocHelper
private com.sun.star.uno.XComponentContext mxRemoteContext;
private com.sun.star.lang.XMultiComponentFactory mxRemoteServiceManager;
-// private com.sun.star.lang.XMultiServiceFactory mxMSFactory;
private com.sun.star.sheet.XSpreadsheetDocument mxDocument;
diff --git a/odk/examples/java/EmbedDocument/EmbeddedObject/EditorFrame.java b/odk/examples/java/EmbedDocument/EmbeddedObject/EditorFrame.java
index e75d1ee..4c9dc1b 100644
--- a/odk/examples/java/EmbedDocument/EmbeddedObject/EditorFrame.java
+++ b/odk/examples/java/EmbedDocument/EmbeddedObject/EditorFrame.java
@@ -34,7 +34,6 @@ public class EditorFrame extends JFrame
{
public void windowClosing( WindowEvent e )
{
- // m_aBufImage = m_aTextArea.getGraphicsConfiguration().createCompatibleImage( m_aTextArea.getWidth(), m_aTextArea.getHeight() );
m_aBufImage = new BufferedImage( m_aTextArea.getWidth(), m_aTextArea.getHeight(), BufferedImage.TYPE_INT_RGB );
Graphics2D aGr = m_aBufImage.createGraphics();
m_aTextArea.paintAll( aGr );
@@ -54,7 +53,6 @@ public class EditorFrame extends JFrame
add( "Center", m_aTextArea );
pack();
- // setResizable( false );
}
public String getText()
@@ -82,8 +80,6 @@ public class EditorFrame extends JFrame
setSize( aToSet );
validate();
-
- // pack();
}
public byte[] getReplacementImage()
diff --git a/odk/examples/java/Inspector/Inspector.java b/odk/examples/java/Inspector/Inspector.java
index 62c8f19..3462493 100644
--- a/odk/examples/java/Inspector/Inspector.java
+++ b/odk/examples/java/Inspector/Inspector.java
@@ -81,8 +81,6 @@ public class Inspector{
private HashMap<String, String> aApplicationHashMap = new HashMap<String, String>();
private String sTitle = "Object Inspector";
private ArrayList<XComponent> aHiddenDocuments = new ArrayList<XComponent>();
-// private String[] sApplicationDocUrls = new String[]{"private:factory/swriter", "private:factory/scalc", "private:factory/simpress", "private:factory/sdraw", "private:factory/sbase"};
-// private String[] sApplicationDocNames = new String[]{"Text Document", "Spreadsheet", "Presentation", "Drawing", "Database"};
private XComponentContext m_xComponentContext;
private HashMap<String, InspectorPane> aInspectorPanes = new HashMap<String, InspectorPane>();
private XDialogProvider m_oSwingDialogProvider;
@@ -100,7 +98,6 @@ public class Inspector{
aApplicationHashMap.put("private:factory/sdraw", "Drawing");
aApplicationHashMap.put("private:factory/smath", "Formula");
m_oSwingDialogProvider = new SwingDialogProvider(this, sTitle);
-// aApplicationHashMap.put("private:factory/sbase", "Database");
}
diff --git a/odk/examples/java/Inspector/InspectorAddon.java b/odk/examples/java/Inspector/InspectorAddon.java
index b32bde1..bf84f25 100644
--- a/odk/examples/java/Inspector/InspectorAddon.java
+++ b/odk/examples/java/Inspector/InspectorAddon.java
@@ -220,7 +220,4 @@ public class InspectorAddon {
return Factory.writeRegistryServiceInfo(InspectorAddonImpl.class.getName(), InspectorAddonImpl.getServiceNames(), regKey);
}
-// __create( XComponentContext ){
-
-// }
}
diff --git a/odk/examples/java/Inspector/InspectorPane.java b/odk/examples/java/Inspector/InspectorPane.java
index 2f0d2c5..f3812d7 100644
--- a/odk/examples/java/Inspector/InspectorPane.java
+++ b/odk/examples/java/Inspector/InspectorPane.java
@@ -613,14 +613,11 @@ import com.sun.star.uno.XComponentContext;
public void showPopUpMenu(Object _invoker, int x, int y) throws ClassCastException{
XUnoNode oUnoNode = getSelectedNode();
boolean bdoEnableInvoke = oUnoNode instanceof XUnoMethodNode;
-// boolean bdoEnableSourceCodeGeneration = true;
if (bdoEnableInvoke){
XUnoMethodNode oUnoMethodNode = (XUnoMethodNode) oUnoNode;
bdoEnableInvoke = oUnoMethodNode.isInvokable();
-// bdoEnableSourceCodeGeneration = bdoEnableInvoke;
}
m_xDialogProvider.enablePopupMenuItem(XDialogProvider.SINVOKE, bdoEnableInvoke);
-// m_xDialogProvider.enablePopupMenuItem(XDialogProvider.SADDTOSOURCECODE, bdoEnableSourceCodeGeneration);
m_xDialogProvider.showPopUpMenu(_invoker, x, y);
}
}
diff --git a/odk/examples/java/Inspector/SourceCodeGenerator.java b/odk/examples/java/Inspector/SourceCodeGenerator.java
index 8ccba8b..7e158af 100644
--- a/odk/examples/java/Inspector/SourceCodeGenerator.java
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list