[Libreoffice-commits] .: 6 commits - desktop/source forms/qa fpicker/source odk/examples qadevOOo/runner sc/qa sfx2/qa sfx2/source svl/AllLangResTarget_svl.mk svl/inc svl/source sw/qa toolkit/src2xml wizards/com wizards/source
Thomas Arnhold
tarnhold at kemper.freedesktop.org
Fri Jul 13 03:46:34 PDT 2012
desktop/source/app/desktop.hrc | 8 -
desktop/source/app/desktop.src | 40 ------
desktop/source/deployment/registry/script/dp_script.hrc | 1
desktop/source/deployment/registry/script/dp_script.src | 5
forms/qa/integration/forms/ControlValidation.java | 2
forms/qa/integration/forms/SingleControlValidation.java | 4
forms/qa/integration/forms/TestCase.java | 4
fpicker/source/win32/filepicker/VistaFilePicker.cxx | 36 ------
odk/examples/DevelopersGuide/Components/JavaComponent/TestJavaComponent.java | 2
odk/examples/DevelopersGuide/Database/RowSet.java | 2
odk/examples/DevelopersGuide/Drawing/DrawViewDemo.java | 2
odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java | 2
odk/examples/DevelopersGuide/Forms/SingleControlValidation.java | 4
odk/examples/DevelopersGuide/GUI/DialogDocument.java | 2
odk/examples/DevelopersGuide/GUI/ImageControlSample.java | 2
odk/examples/DevelopersGuide/GUI/MessageBox.java | 4
odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java | 2
odk/examples/DevelopersGuide/GUI/SystemDialog.java | 2
odk/examples/DevelopersGuide/GUI/UnoDialogSample.java | 60 +++++-----
odk/examples/DevelopersGuide/GUI/UnoDialogSample2.java | 4
odk/examples/DevelopersGuide/GUI/UnoMenu.java | 2
odk/examples/DevelopersGuide/GUI/UnoMenu2.java | 2
odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OfficeConnect.java | 2
odk/examples/java/Inspector/Inspector.java | 12 +-
odk/examples/java/Inspector/InspectorAddon.java | 2
odk/examples/java/Inspector/InspectorPane.java | 8 -
odk/examples/java/Inspector/Introspector.java | 10 -
odk/examples/java/Inspector/SourceCodeGenerator.java | 2
odk/examples/java/Inspector/SwingTreeControlProvider.java | 2
odk/examples/java/Inspector/TDocSupplier.java | 6 -
odk/examples/java/Inspector/TestInspector.java | 2
odk/examples/java/Inspector/UnoMethodNode.java | 2
odk/examples/java/Inspector/UnoNode.java | 10 -
odk/examples/java/Text/BookmarkInsertion.java | 2
qadevOOo/runner/util/FormTools.java | 4
sc/qa/complex/sc/CalcRTL.java | 6 -
sfx2/qa/complex/sfx2/DocumentInfo.java | 2
sfx2/qa/complex/sfx2/DocumentMetadataAccess.java | 2
sfx2/source/appl/app.hrc | 5
sfx2/source/appl/app.src | 15 --
sfx2/source/appl/newhelp.src | 10 -
sfx2/source/appl/sfx.src | 5
sfx2/source/menu/menu.hrc | 1
sfx2/source/menu/menu.src | 5
sfx2/source/view/view.hrc | 8 -
sfx2/source/view/view.src | 20 ---
svl/AllLangResTarget_svl.mk | 1
svl/inc/svl/svl.hrc | 2
svl/source/items/cstitem.src | 23 ---
sw/qa/complex/writer/LoadSaveTest.java | 2
toolkit/src2xml/src.lst | 1
wizards/com/sun/star/wizards/common/Configuration.java | 14 +-
wizards/com/sun/star/wizards/common/Desktop.java | 10 -
wizards/com/sun/star/wizards/common/FileAccess.java | 24 ++--
wizards/com/sun/star/wizards/common/Helper.java | 18 +--
wizards/com/sun/star/wizards/common/JavaTools.java | 10 -
wizards/com/sun/star/wizards/common/NumberFormatter.java | 6 -
wizards/com/sun/star/wizards/common/Resource.java | 2
wizards/com/sun/star/wizards/common/SystemDialog.java | 8 -
wizards/com/sun/star/wizards/db/ColumnPropertySet.java | 8 -
wizards/com/sun/star/wizards/db/CommandMetaData.java | 14 +-
wizards/com/sun/star/wizards/db/CommandName.java | 6 -
wizards/com/sun/star/wizards/db/DBMetaData.java | 2
wizards/com/sun/star/wizards/db/FieldColumn.java | 6 -
wizards/com/sun/star/wizards/db/QueryMetaData.java | 2
wizards/com/sun/star/wizards/db/RecordParser.java | 10 -
wizards/com/sun/star/wizards/db/RelationController.java | 4
wizards/com/sun/star/wizards/db/TableDescriptor.java | 60 +++++-----
wizards/com/sun/star/wizards/db/TypeInspector.java | 10 -
wizards/com/sun/star/wizards/document/Control.java | 8 -
wizards/com/sun/star/wizards/document/DatabaseControl.java | 8 -
wizards/com/sun/star/wizards/document/FormHandler.java | 2
wizards/com/sun/star/wizards/document/GridControl.java | 2
wizards/com/sun/star/wizards/document/OfficeDocument.java | 10 -
wizards/com/sun/star/wizards/document/Shape.java | 4
wizards/com/sun/star/wizards/document/TimeStampControl.java | 4
wizards/com/sun/star/wizards/fax/FaxDocument.java | 6 -
wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java | 4
wizards/com/sun/star/wizards/form/FieldLinker.java | 2
wizards/com/sun/star/wizards/form/FormControlArranger.java | 8 -
wizards/com/sun/star/wizards/form/FormDocument.java | 10 -
wizards/com/sun/star/wizards/form/FormWizard.java | 4
wizards/com/sun/star/wizards/form/StyleApplier.java | 12 +-
wizards/com/sun/star/wizards/form/UIControlArranger.java | 2
wizards/com/sun/star/wizards/letter/LetterDocument.java | 10 -
wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java | 4
wizards/com/sun/star/wizards/query/Finalizer.java | 2
wizards/com/sun/star/wizards/query/QuerySummary.java | 2
wizards/com/sun/star/wizards/query/QueryWizard.java | 8 -
wizards/com/sun/star/wizards/report/CallReportWizard.java | 2
wizards/com/sun/star/wizards/report/DBColumn.java | 10 -
wizards/com/sun/star/wizards/report/Dataimport.java | 4
wizards/com/sun/star/wizards/report/GroupFieldHandler.java | 4
wizards/com/sun/star/wizards/report/RecordTable.java | 2
wizards/com/sun/star/wizards/report/ReportFinalizer.java | 4
wizards/com/sun/star/wizards/report/ReportLayouter.java | 4
wizards/com/sun/star/wizards/report/ReportTextDocument.java | 2
wizards/com/sun/star/wizards/report/ReportTextImplementation.java | 4
wizards/com/sun/star/wizards/report/ReportWizard.java | 8 -
wizards/com/sun/star/wizards/table/CGCategory.java | 4
wizards/com/sun/star/wizards/table/CGTable.java | 4
wizards/com/sun/star/wizards/table/FieldDescription.java | 4
wizards/com/sun/star/wizards/table/FieldFormatter.java | 2
wizards/com/sun/star/wizards/table/Finalizer.java | 10 -
wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java | 6 -
wizards/com/sun/star/wizards/table/ScenarioSelector.java | 10 -
wizards/com/sun/star/wizards/table/TableWizard.java | 8 -
wizards/com/sun/star/wizards/text/TextDocument.java | 6 -
wizards/com/sun/star/wizards/text/TextFieldHandler.java | 12 +-
wizards/com/sun/star/wizards/text/TextSectionHandler.java | 18 +--
wizards/com/sun/star/wizards/text/TextStyleHandler.java | 6 -
wizards/com/sun/star/wizards/text/TextTableHandler.java | 20 +--
wizards/com/sun/star/wizards/text/ViewHandler.java | 2
wizards/com/sun/star/wizards/ui/AggregateComponent.java | 10 -
wizards/com/sun/star/wizards/ui/CommandFieldSelection.java | 4
wizards/com/sun/star/wizards/ui/ControlScroller.java | 2
wizards/com/sun/star/wizards/ui/FieldSelection.java | 10 -
wizards/com/sun/star/wizards/ui/FilterComponent.java | 16 +-
wizards/com/sun/star/wizards/ui/PeerConfig.java | 2
wizards/com/sun/star/wizards/ui/SortingComponent.java | 8 -
wizards/com/sun/star/wizards/ui/UnoDialog.java | 34 ++---
wizards/com/sun/star/wizards/ui/WizardDialog.java | 18 +--
wizards/com/sun/star/wizards/web/CallWizard.java | 2
wizards/com/sun/star/wizards/web/WWD_Startup.java | 2
wizards/com/sun/star/wizards/web/WebWizard.java | 2
wizards/com/sun/star/wizards/web/export/FilterExporter.java | 2
wizards/source/template/template.src | 37 ------
127 files changed, 386 insertions(+), 609 deletions(-)
New commits:
commit d436f2063ca7b9a8dfcbf64e599dce82471db139
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Fri Jul 13 12:24:33 2012 +0200
Remove unused debugging macros
Change-Id: Ib9cebcf3680e1761c25be03715423845de78bb92
diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.cxx b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
index 92061de..a0013a3 100644
--- a/fpicker/source/win32/filepicker/VistaFilePicker.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
@@ -92,42 +92,6 @@ namespace
}
//-----------------------------------------------------------------------------------------
-#define ENABLE_LOGGING
-
-#define LOGFILE_VISTA "c:\\temp\\vistafiledialog.log"
-
-#ifdef ENABLE_LOGGING
-
- #define LOG_FILE(PARAM_MESSAGE) \
- { \
- FILE* pFile = fopen(LOGFILE_VISTA, "a"); \
- fprintf(pFile, PARAM_MESSAGE); \
- fclose(pFile); \
- }
-
- #define LOG_FILE_1_PARAM(PARAM_MESSAGE, PARAM_1) \
- { \
- FILE* pFile = fopen(LOGFILE_VISTA, "a"); \
- fprintf(pFile, PARAM_MESSAGE, PARAM_1); \
- fclose(pFile); \
- }
-
- #define LOG_FILE_2_PARAM(PARAM_MESSAGE, PARAM_1, PARAM_2) \
- { \
- FILE* pFile = fopen(LOGFILE_VISTA, "a"); \
- fprintf(pFile, PARAM_MESSAGE, PARAM_1, PARAM_2); \
- fclose(pFile); \
- }
-
-#else
-
- #define LOG_FILE(PARAM_MESSAGE)
- #define LOG_FILE_1_PARAM(PARAM_MESSAGE, PARAM_1)
- #define LOG_FILE_2_PARAM(PARAM_MESSAGE, PARAM_1, PARAM_2)
-
-#endif
-
-//-----------------------------------------------------------------------------------------
VistaFilePicker::VistaFilePicker(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR)
: TVistaFilePickerBase (m_aMutex )
, m_xSMGR (xSMGR )
commit cdaddecc5e3ec93294492b3efc38393c91459e10
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Fri Jul 13 09:23:19 2012 +0200
java: printStackTrace always to stderr
like 3d3b3f656f92790225b89aa31ee61163fb2fc7e5
Change-Id: I6e80717de009e8a3a89ffc80cb945cc832917f8c
diff --git a/forms/qa/integration/forms/ControlValidation.java b/forms/qa/integration/forms/ControlValidation.java
index 7bab946..ca8f2f3 100644
--- a/forms/qa/integration/forms/ControlValidation.java
+++ b/forms/qa/integration/forms/ControlValidation.java
@@ -98,7 +98,7 @@ public class ControlValidation extends complexlib.ComplexTestCase implements com
}
catch ( com.sun.star.uno.Exception e )
{
- e.printStackTrace( System.out );
+ e.printStackTrace( System.err );
}
}
diff --git a/forms/qa/integration/forms/SingleControlValidation.java b/forms/qa/integration/forms/SingleControlValidation.java
index cd1a707..7cadf9e 100644
--- a/forms/qa/integration/forms/SingleControlValidation.java
+++ b/forms/qa/integration/forms/SingleControlValidation.java
@@ -131,7 +131,7 @@ public class SingleControlValidation implements XFormComponentValidityListener
}
catch( java.lang.Exception e )
{
- e.printStackTrace( System.out );
+ e.printStackTrace( System.err );
}
}
@@ -171,7 +171,7 @@ public class SingleControlValidation implements XFormComponentValidityListener
}
catch( com.sun.star.uno.Exception e )
{
- e.printStackTrace( System.out );
+ e.printStackTrace( System.err );
}
}
diff --git a/forms/qa/integration/forms/TestCase.java b/forms/qa/integration/forms/TestCase.java
index 14faad1..54f5b1f 100644
--- a/forms/qa/integration/forms/TestCase.java
+++ b/forms/qa/integration/forms/TestCase.java
@@ -73,7 +73,7 @@ public abstract class TestCase extends complexlib.ComplexTestCase implements com
}
catch ( java.lang.Exception e )
{
- e.printStackTrace( System.out );
+ e.printStackTrace( System.err );
}
}
@@ -93,7 +93,7 @@ public abstract class TestCase extends complexlib.ComplexTestCase implements com
}
catch ( com.sun.star.uno.Exception e )
{
- e.printStackTrace( System.out );
+ e.printStackTrace( System.err );
}
}
diff --git a/odk/examples/DevelopersGuide/Components/JavaComponent/TestJavaComponent.java b/odk/examples/DevelopersGuide/Components/JavaComponent/TestJavaComponent.java
index ab07ccc..6b6c5a1 100644
--- a/odk/examples/DevelopersGuide/Components/JavaComponent/TestJavaComponent.java
+++ b/odk/examples/DevelopersGuide/Components/JavaComponent/TestJavaComponent.java
@@ -134,7 +134,7 @@ public class TestJavaComponent
{
System.out.println( "UNO Exception caught: " + e );
System.out.println( "Message: " + e.getMessage() );
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
// quit, even when a remote bridge is running
diff --git a/odk/examples/DevelopersGuide/Database/RowSet.java b/odk/examples/DevelopersGuide/Database/RowSet.java
index bffcca5..52e9c25 100644
--- a/odk/examples/DevelopersGuide/Database/RowSet.java
+++ b/odk/examples/DevelopersGuide/Database/RowSet.java
@@ -63,7 +63,7 @@ public class RowSet
}
catch( Exception e) {
System.err.println("ERROR: can't get a component context from a running office ...");
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
System.exit(1);
}
diff --git a/odk/examples/DevelopersGuide/Drawing/DrawViewDemo.java b/odk/examples/DevelopersGuide/Drawing/DrawViewDemo.java
index 43fbe81..76cb957 100644
--- a/odk/examples/DevelopersGuide/Drawing/DrawViewDemo.java
+++ b/odk/examples/DevelopersGuide/Drawing/DrawViewDemo.java
@@ -133,7 +133,7 @@ public class DrawViewDemo
catch( Exception ex )
{
System.out.println( ex.getMessage() );
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
System.exit( 0 );
diff --git a/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java b/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java
index 4cbecdd..0dfc269 100644
--- a/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java
+++ b/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java
@@ -172,7 +172,7 @@ public abstract class DocumentBasedExample implements com.sun.star.lang.XEventLi
}
catch ( com.sun.star.uno.Exception e )
{
- e.printStackTrace( System.out );
+ e.printStackTrace( System.err );
}
}
diff --git a/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java b/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java
index b207a8c..400251a 100644
--- a/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java
+++ b/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java
@@ -131,7 +131,7 @@ public class SingleControlValidation implements XFormComponentValidityListener
}
catch( java.lang.Exception e )
{
- e.printStackTrace( System.out );
+ e.printStackTrace( System.err );
}
}
@@ -171,7 +171,7 @@ public class SingleControlValidation implements XFormComponentValidityListener
}
catch( com.sun.star.uno.Exception e )
{
- e.printStackTrace( System.out );
+ e.printStackTrace( System.err );
}
}
diff --git a/odk/examples/DevelopersGuide/GUI/DialogDocument.java b/odk/examples/DevelopersGuide/GUI/DialogDocument.java
index 5edefb8..27d3d80 100644
--- a/odk/examples/DevelopersGuide/GUI/DialogDocument.java
+++ b/odk/examples/DevelopersGuide/GUI/DialogDocument.java
@@ -79,7 +79,7 @@ public class DialogDocument extends UnoDialogSample {
oDialogDocument.insertButton(oDialogDocument, 126, 370, 50, "~Close dialog", (short) PushButtonType.OK_value);
oDialogDocument.executeDialog();
}catch( Exception ex ) {
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
} finally{
//make sure always to dispose the component and free the memory!
if (oDialogDocument != null){
diff --git a/odk/examples/DevelopersGuide/GUI/ImageControlSample.java b/odk/examples/DevelopersGuide/GUI/ImageControlSample.java
index 024894a..ac890e8 100644
--- a/odk/examples/DevelopersGuide/GUI/ImageControlSample.java
+++ b/odk/examples/DevelopersGuide/GUI/ImageControlSample.java
@@ -130,7 +130,7 @@ public class ImageControlSample extends UnoDialogSample{
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return xICModelPropertySet;
}
diff --git a/odk/examples/DevelopersGuide/GUI/MessageBox.java b/odk/examples/DevelopersGuide/GUI/MessageBox.java
index 745b259..65e2e8a 100644
--- a/odk/examples/DevelopersGuide/GUI/MessageBox.java
+++ b/odk/examples/DevelopersGuide/GUI/MessageBox.java
@@ -183,7 +183,7 @@ public class MessageBox {
short nResult = xMessageBox.execute();
}
} catch (com.sun.star.uno.Exception ex) {
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
} finally{
//make sure always to dispose the component and free the memory!
if (xComponent != null){
@@ -212,7 +212,7 @@ public class MessageBox {
return false;
}
} catch (IllegalArgumentException e) {
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return bIsActivated;
}
diff --git a/odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java b/odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java
index a52928c..8ad61f3 100644
--- a/odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java
+++ b/odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java
@@ -58,7 +58,7 @@ public class RoadmapItemStateChangeListener implements XItemListener {
xDialogModelPropertySet.setPropertyValue("Step", new Integer(nNewID));
}
} catch (com.sun.star.uno.Exception exception) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
diff --git a/odk/examples/DevelopersGuide/GUI/SystemDialog.java b/odk/examples/DevelopersGuide/GUI/SystemDialog.java
index 00aa441..541d516 100644
--- a/odk/examples/DevelopersGuide/GUI/SystemDialog.java
+++ b/odk/examples/DevelopersGuide/GUI/SystemDialog.java
@@ -172,7 +172,7 @@ public class SystemDialog {
}
}catch( Exception exception ) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
} finally{
//make sure always to dispose the component and free the memory!
if (xComponent != null){
diff --git a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
index 4013dbb..6db2ef1 100644
--- a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
+++ b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
@@ -202,7 +202,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
XNameAccess xNameAccess = (XNameAccess) UnoRuntime.queryInterface(XNameAccess.class, oNode);
return xNameAccess;
} catch (Exception exception) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return null;
}
}
@@ -235,7 +235,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.lang.IllegalArgumentException,
* com.sun.star.lang.WrappedTargetException,
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return sImageUrl;
}
@@ -263,7 +263,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
XControlModel xControlModel = (XControlModel) UnoRuntime.queryInterface(XControlModel.class, oDialogModel);
m_xDialogControl.setModel(xControlModel);
} catch (com.sun.star.uno.Exception exception) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
@@ -303,7 +303,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
XMultiPropertySet xMultiPropertySet = (XMultiPropertySet) UnoRuntime.queryInterface(XMultiPropertySet.class, m_xDlgModelNameContainer);
xMultiPropertySet.setPropertyValues(PropertyNames, PropertyValues);
} catch (com.sun.star.uno.Exception ex) {
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}}
@@ -329,7 +329,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
return m_xWindowPeer;
}
} catch (com.sun.star.uno.Exception exception) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
return null;
}
@@ -373,7 +373,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
m_xDlgModelNameContainer.insertByName(sName, oControlModel);
return oControlModel;
} catch (com.sun.star.uno.Exception exception) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return null;
}
}
@@ -416,7 +416,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return xFixedText;
}
@@ -461,7 +461,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return xTextComponent;
}
@@ -501,7 +501,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return xPBModelPSet;
}
@@ -539,7 +539,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
}
@@ -576,7 +576,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
}
@@ -622,7 +622,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return xTextComponent;
}
@@ -662,7 +662,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return xTFModelPSet;
}
@@ -709,7 +709,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return xDFModelPSet;
}
@@ -751,7 +751,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return xPFModelPSet;
}
@@ -794,7 +794,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return xNFModelPSet;
}
@@ -843,7 +843,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return xSBModelPSet;
}
@@ -907,7 +907,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return xCheckBox;
}
@@ -951,7 +951,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
}
@@ -990,7 +990,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return xListBox;
}
@@ -1034,7 +1034,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return xComboBox;
}
@@ -1098,7 +1098,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return xFFModelPSet;
}
@@ -1152,7 +1152,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return xTextComponent;
}
@@ -1188,7 +1188,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return xButton;
}
@@ -1239,7 +1239,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
}
@@ -1266,7 +1266,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
}
@@ -1303,7 +1303,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
}
@@ -1384,7 +1384,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
* com.sun.star.beans.PropertyVetoException
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
}
@@ -1443,7 +1443,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
XItemEventBroadcaster xRMBroadcaster = (XItemEventBroadcaster) UnoRuntime.queryInterface(XItemEventBroadcaster.class, xRMControl);
xRMBroadcaster.addItemListener( getRoadmapItemStateChangeListener() );
} catch (java.lang.Exception jexception) {
- jexception.printStackTrace(System.out);
+ jexception.printStackTrace(System.err);
}
}
@@ -1465,7 +1465,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
xRMItemPSet.setPropertyValue("ID", new Integer(_ID));
m_xRMIndexCont.insertByIndex(Index, oRoadmapItem);
} catch (com.sun.star.uno.Exception exception) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
diff --git a/odk/examples/DevelopersGuide/GUI/UnoDialogSample2.java b/odk/examples/DevelopersGuide/GUI/UnoDialogSample2.java
index 3b85eb5..5d9781d 100644
--- a/odk/examples/DevelopersGuide/GUI/UnoDialogSample2.java
+++ b/odk/examples/DevelopersGuide/GUI/UnoDialogSample2.java
@@ -136,7 +136,7 @@ public class UnoDialogSample2 extends UnoDialogSample {
oUnoDialogSample2.xDialog = (XDialog) UnoRuntime.queryInterface(XDialog.class, oUnoDialogSample2.m_xDialogControl);
oUnoDialogSample2.xDialog.execute();
}catch( Exception ex ) {
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
finally{
//make sure always to dispose the component and free the memory!
@@ -257,7 +257,7 @@ public class UnoDialogSample2 extends UnoDialogSample {
* com.sun.star.beans.UnknownPropertyException,
* com.sun.star.uno.Exception
*/
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
}
diff --git a/odk/examples/DevelopersGuide/GUI/UnoMenu.java b/odk/examples/DevelopersGuide/GUI/UnoMenu.java
index 1c62a23..c5fdbe2 100644
--- a/odk/examples/DevelopersGuide/GUI/UnoMenu.java
+++ b/odk/examples/DevelopersGuide/GUI/UnoMenu.java
@@ -55,7 +55,7 @@ public UnoMenu(XComponentContext _xContext, XMultiComponentFactory _xMCF) {
oUnoMenu.mxTopWindow = oUnoMenu.showTopWindow( new Rectangle(100, 100, 500, 500)); //oUnoDialogSample.m_xWindowPeer,
oUnoMenu.addMenuBar(oUnoMenu.mxTopWindow, oUnoMenu);
}catch( Exception ex ) {
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
}
diff --git a/odk/examples/DevelopersGuide/GUI/UnoMenu2.java b/odk/examples/DevelopersGuide/GUI/UnoMenu2.java
index 95bcaf9..a9ba0a1 100644
--- a/odk/examples/DevelopersGuide/GUI/UnoMenu2.java
+++ b/odk/examples/DevelopersGuide/GUI/UnoMenu2.java
@@ -56,7 +56,7 @@ public UnoMenu2(XComponentContext _xContext, XMultiComponentFactory _xMCF) {
oUnoMenu2.addLabelForPopupMenu();
oUnoMenu2.executeDialog();
}catch( Exception ex ) {
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
finally{
//make sure always to dispose the component and free the memory!
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OfficeConnect.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OfficeConnect.java
index e1a8b3f..15a1bf4 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OfficeConnect.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OfficeConnect.java
@@ -107,7 +107,7 @@ public class OfficeConnect
catch (java.lang.Exception ex)
{
System.err.println("connection failed" + ex);
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
System.exit(1);
}
diff --git a/odk/examples/java/Inspector/Inspector.java b/odk/examples/java/Inspector/Inspector.java
index 39daa05..f83f5a7 100644
--- a/odk/examples/java/Inspector/Inspector.java
+++ b/odk/examples/java/Inspector/Inspector.java
@@ -120,7 +120,7 @@ public class Inspector{
XPropertySet xPropertySet = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xNameAccess);
sRetPath = (String) xPropertySet.getPropertyValue("SDKPath");
}catch( Exception exception ) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
return sRetPath;
}
@@ -182,7 +182,7 @@ public class Inspector{
}
xComponent.dispose();
}catch( Exception exception ) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}}
@@ -198,7 +198,7 @@ public class Inspector{
xComponent.dispose();
}
} catch (com.sun.star.uno.Exception ex) {
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}}
@@ -211,7 +211,7 @@ public class Inspector{
getInspectorPages().put(_sTitle, oInspectorPane);
m_oSwingDialogProvider.show(nPageIndex);
}catch( Exception exception ) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}}
@@ -284,7 +284,7 @@ public class Inspector{
m_oSwingDialogProvider.getInspectorPage(i).convertCompleteSourceCode(_nLanguage);
}
}catch( Exception exception ) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}}
@@ -389,7 +389,7 @@ public class Inspector{
}
m_oSwingDialogProvider.selectSourceCodeLanguage(nLanguage);
}catch( Exception exception ) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
return nLanguage;
}
diff --git a/odk/examples/java/Inspector/InspectorAddon.java b/odk/examples/java/Inspector/InspectorAddon.java
index be35f8a..e2cb95e 100644
--- a/odk/examples/java/Inspector/InspectorAddon.java
+++ b/odk/examples/java/Inspector/InspectorAddon.java
@@ -140,7 +140,7 @@ public class InspectorAddon {
}
} catch( Exception e ) {
System.err.println( e + e.getMessage());
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}}
public void addStatusListener( /*IN*/XStatusListener xControl, /*IN*/com.sun.star.util.URL aURL ) {
diff --git a/odk/examples/java/Inspector/InspectorPane.java b/odk/examples/java/Inspector/InspectorPane.java
index 4748c1a..2859ae8 100644
--- a/odk/examples/java/Inspector/InspectorPane.java
+++ b/odk/examples/java/Inspector/InspectorPane.java
@@ -94,7 +94,7 @@ import javax.swing.event.TreeWillExpandListener;
m_xDialogProvider.addInspectorPage(getTitle(), oContainer);
}
catch( Exception exception ) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}}
@@ -291,7 +291,7 @@ import javax.swing.event.TreeWillExpandListener;
}
}
catch( Exception exception ) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}}
@@ -311,7 +311,7 @@ import javax.swing.event.TreeWillExpandListener;
}
}
catch(Exception exception) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}}
@@ -345,7 +345,7 @@ import javax.swing.event.TreeWillExpandListener;
}
}
catch(Exception exception) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}}
diff --git a/odk/examples/java/Inspector/Introspector.java b/odk/examples/java/Inspector/Introspector.java
index f407893..7bc7e39 100644
--- a/odk/examples/java/Inspector/Introspector.java
+++ b/odk/examples/java/Inspector/Introspector.java
@@ -160,7 +160,7 @@ public class Introspector extends WeakBase{
}
}
} catch (IllegalTypeException ex) {
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return bIsContainer;
}
@@ -422,7 +422,7 @@ public class Introspector extends WeakBase{
}
return null;
} catch (Exception ex) {
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
return null;
}}
@@ -454,7 +454,7 @@ public class Introspector extends WeakBase{
}
}
} catch (Exception ex) {
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return xTypeDescription;
}
@@ -637,7 +637,7 @@ public class Introspector extends WeakBase{
}
return xSimpleFileAccess;
} catch (com.sun.star.uno.Exception ex) {
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
return null;
}}
@@ -651,7 +651,7 @@ public class Introspector extends WeakBase{
bIsValid = (getXSimpleFileAccess().exists(sIDLFolder) && getXSimpleFileAccess().exists(sIndexFile));
}
} catch (com.sun.star.uno.Exception ex) {
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return bIsValid;
}
diff --git a/odk/examples/java/Inspector/SourceCodeGenerator.java b/odk/examples/java/Inspector/SourceCodeGenerator.java
index ae8f3c4..315224a 100644
--- a/odk/examples/java/Inspector/SourceCodeGenerator.java
+++ b/odk/examples/java/Inspector/SourceCodeGenerator.java
@@ -1054,7 +1054,7 @@ class UnoObjectDefinition{
sReturn +="\n}";
}
sReturn += "catch (" + sCurException + " " + sExceptionName + "){\n";
- sReturn += "\t" + sExceptionName + ".printStackTrace(System.out);\n";
+ sReturn += "\t" + sExceptionName + ".printStackTrace(System.err);\n";
sReturn += "\t" + getCommentSign() + "Enter your Code here...\n}";
nIndex++;
}
diff --git a/odk/examples/java/Inspector/SwingTreeControlProvider.java b/odk/examples/java/Inspector/SwingTreeControlProvider.java
index 2405e8b..e02286e 100644
--- a/odk/examples/java/Inspector/SwingTreeControlProvider.java
+++ b/odk/examples/java/Inspector/SwingTreeControlProvider.java
@@ -264,7 +264,7 @@ public class SwingTreeControlProvider implements XTreeControlProvider{
addTreeExpandListener();
}
catch( Exception exception ) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
return jPnlContainer;
}
diff --git a/odk/examples/java/Inspector/TDocSupplier.java b/odk/examples/java/Inspector/TDocSupplier.java
index 1022507..4d3d025 100644
--- a/odk/examples/java/Inspector/TDocSupplier.java
+++ b/odk/examples/java/Inspector/TDocSupplier.java
@@ -82,7 +82,7 @@ public class TDocSupplier {
return xModel;
}
}catch(Exception exception){
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
JOptionPane.showMessageDialog(new javax.swing.JFrame(), "The selected Document could not be opened!", "Object Inspector", JOptionPane.ERROR_MESSAGE);
return null;
@@ -96,7 +96,7 @@ public class TDocSupplier {
return xRow.getString(1);
}
}catch(Exception exception){
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
JOptionPane.showMessageDialog(new javax.swing.JFrame(), "The selected Document could not be opened!", "Object Inspector", JOptionPane.ERROR_MESSAGE);
return "";
@@ -124,7 +124,7 @@ public class TDocSupplier {
XRow xRow = (XRow) UnoRuntime.queryInterface(XRow.class, oAny);
return xRow;
}catch(Exception exception){
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return null;
}}
diff --git a/odk/examples/java/Inspector/TestInspector.java b/odk/examples/java/Inspector/TestInspector.java
index a2255df..3141a66 100644
--- a/odk/examples/java/Inspector/TestInspector.java
+++ b/odk/examples/java/Inspector/TestInspector.java
@@ -48,7 +48,7 @@ public class TestInspector {
System.out.println("Connected to a running office ...");
}
catch( Exception e) {
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
System.exit(1);
}
diff --git a/odk/examples/java/Inspector/UnoMethodNode.java b/odk/examples/java/Inspector/UnoMethodNode.java
index 5779380..30960bb 100644
--- a/odk/examples/java/Inspector/UnoMethodNode.java
+++ b/odk/examples/java/Inspector/UnoMethodNode.java
@@ -208,7 +208,7 @@ public class UnoMethodNode extends UnoNode{
aParamInfo[0] = new Object[] {};
return getXIdlMethod().invoke(getUnoObject(), aParamInfo);
} catch (Exception ex) {
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
return null;
}}
diff --git a/odk/examples/java/Inspector/UnoNode.java b/odk/examples/java/Inspector/UnoNode.java
index 9a2958f..1527854 100644
--- a/odk/examples/java/Inspector/UnoNode.java
+++ b/odk/examples/java/Inspector/UnoNode.java
@@ -163,7 +163,7 @@ public class UnoNode{
pv.Value = sIDLUrl;
getXDispatcher(openHyperlink).dispatch(openHyperlink, new PropertyValue[] {pv});
} catch(Exception exception) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}}
@@ -177,7 +177,7 @@ public class UnoNode{
xTransformer.parseStrict(oURL);
return oURL[0];
} catch (Exception e) {
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return null;
}
@@ -189,7 +189,7 @@ public class UnoNode{
XDesktop xDesktop = (XDesktop) UnoRuntime.queryInterface(XDesktop.class, oDesktop);
return xDesktop.getCurrentFrame();
} catch (Exception e) {
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
return null;
}}
@@ -202,7 +202,7 @@ public class UnoNode{
XDispatch xDispatch = xDispatchProvider.queryDispatch(oURLArray[0], "_top", FrameSearchFlag.ALL); // "_self"
return xDispatch;
} catch (Exception e) {
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
return null;
}}
@@ -284,7 +284,7 @@ public class UnoNode{
aVector.toArray(sRetArray);
return sRetArray;
} catch (java.lang.Exception exception) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
return new String[]{};
}
diff --git a/odk/examples/java/Text/BookmarkInsertion.java b/odk/examples/java/Text/BookmarkInsertion.java
index 89fb0ec..ced4ddb 100644
--- a/odk/examples/java/Text/BookmarkInsertion.java
+++ b/odk/examples/java/Text/BookmarkInsertion.java
@@ -276,7 +276,7 @@ public class BookmarkInsertion {
sURL, "_blank", 0, xEmptyArgs);
}
catch( Exception e) {
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return xComponent ;
diff --git a/qadevOOo/runner/util/FormTools.java b/qadevOOo/runner/util/FormTools.java
index 032fe7e..19d53f6 100644
--- a/qadevOOo/runner/util/FormTools.java
+++ b/qadevOOo/runner/util/FormTools.java
@@ -231,7 +231,7 @@ public class FormTools {
}
catch (Exception ex) {
System.out.println("Exception: "+ex);
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return formLoader;
@@ -273,7 +273,7 @@ public class FormTools {
}
catch (Exception ex) {
System.out.println("Exception: "+ex);
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
}
return formLoader;
diff --git a/sc/qa/complex/sc/CalcRTL.java b/sc/qa/complex/sc/CalcRTL.java
index 573cb08..b622b96 100644
--- a/sc/qa/complex/sc/CalcRTL.java
+++ b/sc/qa/complex/sc/CalcRTL.java
@@ -233,7 +233,7 @@ public class CalcRTL /* extends ComplexTestCase */
} catch (com.sun.star.uno.Exception e) {
// Some exception occures.FAILED
worked = false;
- e.printStackTrace(/*(PrintWriter) log*/ System.out);
+ e.printStackTrace(/*(PrintWriter) log*/ System.err);
}
return worked;
@@ -287,9 +287,9 @@ public class CalcRTL /* extends ComplexTestCase */
oSheet = UnoRuntime.queryInterface(
XSpreadsheet.class, oIndexAccess.getByIndex(0));
} catch (com.sun.star.lang.WrappedTargetException e) {
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return oSheet;
diff --git a/sfx2/qa/complex/sfx2/DocumentInfo.java b/sfx2/qa/complex/sfx2/DocumentInfo.java
index fca756b..4822153 100644
--- a/sfx2/qa/complex/sfx2/DocumentInfo.java
+++ b/sfx2/qa/complex/sfx2/DocumentInfo.java
@@ -263,7 +263,7 @@ public class DocumentInfo
}
} catch (Exception e) {
// If anything goes wrong, give the user a stack trace
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
diff --git a/sfx2/qa/complex/sfx2/DocumentMetadataAccess.java b/sfx2/qa/complex/sfx2/DocumentMetadataAccess.java
index 5b01be8..bbccb52 100644
--- a/sfx2/qa/complex/sfx2/DocumentMetadataAccess.java
+++ b/sfx2/qa/complex/sfx2/DocumentMetadataAccess.java
@@ -888,7 +888,7 @@ public class DocumentMetadataAccess
public void report(Exception e) {
System.out.println("Exception occurred:");
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
report2(e);
fail();
}
diff --git a/sw/qa/complex/writer/LoadSaveTest.java b/sw/qa/complex/writer/LoadSaveTest.java
index ca71fe5..55d5a8f 100644
--- a/sw/qa/complex/writer/LoadSaveTest.java
+++ b/sw/qa/complex/writer/LoadSaveTest.java
@@ -201,7 +201,7 @@ public class LoadSaveTest
void report(Exception e) {
System.out.println("Exception occurred:");
System.out.println(e.toString());
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
report2(e);
// failed();
}
diff --git a/wizards/com/sun/star/wizards/common/Configuration.java b/wizards/com/sun/star/wizards/common/Configuration.java
index 1264873..da18fdc 100644
--- a/wizards/com/sun/star/wizards/common/Configuration.java
+++ b/wizards/com/sun/star/wizards/common/Configuration.java
@@ -196,7 +196,7 @@ public abstract class Configuration
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return null;
}
}
@@ -212,7 +212,7 @@ public abstract class Configuration
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
return sLocale;
}
@@ -349,7 +349,7 @@ public abstract class Configuration
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
return snames;
}
}
@@ -364,7 +364,7 @@ public abstract class Configuration
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
return null;
}
}
@@ -380,7 +380,7 @@ public abstract class Configuration
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return null;
}
@@ -409,7 +409,7 @@ public abstract class Configuration
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return null;
}
@@ -438,7 +438,7 @@ public abstract class Configuration
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return null;
}
diff --git a/wizards/com/sun/star/wizards/common/Desktop.java b/wizards/com/sun/star/wizards/common/Desktop.java
index 849b9a1..1702795 100644
--- a/wizards/com/sun/star/wizards/common/Desktop.java
+++ b/wizards/com/sun/star/wizards/common/Desktop.java
@@ -71,7 +71,7 @@ public class Desktop
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
else
@@ -117,7 +117,7 @@ public class Desktop
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return null;
}
@@ -136,7 +136,7 @@ public class Desktop
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return null;
}
@@ -230,7 +230,7 @@ public class Desktop
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
return -1;
}
}
@@ -341,7 +341,7 @@ public class Desktop
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return null;
}
}
diff --git a/wizards/com/sun/star/wizards/common/FileAccess.java b/wizards/com/sun/star/wizards/common/FileAccess.java
index 9ec373a..46e4f8a 100644
--- a/wizards/com/sun/star/wizards/common/FileAccess.java
+++ b/wizards/com/sun/star/wizards/common/FileAccess.java
@@ -116,7 +116,7 @@ public class FileAccess
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return PropertyNames.EMPTY_STRING;
}
}
@@ -194,7 +194,7 @@ public class FileAccess
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
ResultPath = PropertyNames.EMPTY_STRING;
}
if (!bexists)
@@ -275,7 +275,7 @@ public class FileAccess
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
// ResultPath = PropertyNames.EMPTY_STRING;
}
// if (bexists == false)
@@ -394,7 +394,7 @@ public class FileAccess
if (ResultPath.equals(PropertyNames.EMPTY_STRING) == false)
bexists = xSimpleFileAccess.exists(ResultPath);
} catch (Exception exception) {
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
ResultPath = PropertyNames.EMPTY_STRING;
}
if (bexists == false)
@@ -432,7 +432,7 @@ public class FileAccess
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
return bExists;
}
@@ -450,7 +450,7 @@ public class FileAccess
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return PropertyNames.EMPTY_STRING;
}
if (!bexists)
@@ -570,7 +570,7 @@ public class FileAccess
}
catch (com.sun.star.uno.Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
SystemDialog.showMessageBox(xMSF, "ErrorBox", VclWindowPeerAttribute.OK, sMsgFilePathInvalid);
return false;
}
@@ -632,7 +632,7 @@ public class FileAccess
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
return LocLayoutFiles;
}
@@ -774,7 +774,7 @@ public class FileAccess
}
catch (com.sun.star.ucb.CommandAbortedException exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
catch (com.sun.star.uno.Exception e)
{
@@ -953,11 +953,11 @@ public class FileAccess
}
catch (CommandAbortedException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return false;
@@ -1139,7 +1139,7 @@ public class FileAccess
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return sFileData;
}
diff --git a/wizards/com/sun/star/wizards/common/Helper.java b/wizards/com/sun/star/wizards/common/Helper.java
index 8dfc4c9..9a50753 100644
--- a/wizards/com/sun/star/wizards/common/Helper.java
+++ b/wizards/com/sun/star/wizards/common/Helper.java
@@ -69,7 +69,7 @@ public class Helper
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
@@ -89,7 +89,7 @@ public class Helper
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return null;
}
}
@@ -131,7 +131,7 @@ public class Helper
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return null;
}
}
@@ -181,7 +181,7 @@ public class Helper
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return null;
}
}
@@ -199,7 +199,7 @@ public class Helper
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
return null;
}
@@ -220,7 +220,7 @@ public class Helper
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
return null;
}
@@ -241,7 +241,7 @@ public class Helper
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return null;
}
}
@@ -266,7 +266,7 @@ public class Helper
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
@@ -294,7 +294,7 @@ public class Helper
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return null;
}
}
diff --git a/wizards/com/sun/star/wizards/common/JavaTools.java b/wizards/com/sun/star/wizards/common/JavaTools.java
index c84426e..ab28a81 100644
--- a/wizards/com/sun/star/wizards/common/JavaTools.java
+++ b/wizards/com/sun/star/wizards/common/JavaTools.java
@@ -61,7 +61,7 @@ public class JavaTools
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
*/
@@ -142,7 +142,7 @@ public class JavaTools
}
catch (RuntimeException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
return null;
}
}
@@ -168,7 +168,7 @@ public class JavaTools
}
catch (RuntimeException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
return null;
}
}
@@ -416,7 +416,7 @@ public class JavaTools
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return null;
}
}
@@ -450,7 +450,7 @@ public class JavaTools
}
catch (MalformedURLException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return sPath;
}
diff --git a/wizards/com/sun/star/wizards/common/NumberFormatter.java b/wizards/com/sun/star/wizards/common/NumberFormatter.java
index 5b54768..c90ce2f 100644
--- a/wizards/com/sun/star/wizards/common/NumberFormatter.java
+++ b/wizards/com/sun/star/wizards/common/NumberFormatter.java
@@ -151,7 +151,7 @@ public class NumberFormatter
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
return -1;
}
}
@@ -176,7 +176,7 @@ public class NumberFormatter
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
return -1;
}
}
@@ -212,7 +212,7 @@ public class NumberFormatter
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
diff --git a/wizards/com/sun/star/wizards/common/Resource.java b/wizards/com/sun/star/wizards/common/Resource.java
index 787df1b..58acc4e 100644
--- a/wizards/com/sun/star/wizards/common/Resource.java
+++ b/wizards/com/sun/star/wizards/common/Resource.java
@@ -116,7 +116,7 @@ public class Resource
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
throw new java.lang.IllegalArgumentException("Resource with ID not" + String.valueOf(nID) + "not found");
}
}
diff --git a/wizards/com/sun/star/wizards/common/SystemDialog.java b/wizards/com/sun/star/wizards/common/SystemDialog.java
index b1726a2..02a5b79 100644
--- a/wizards/com/sun/star/wizards/common/SystemDialog.java
+++ b/wizards/com/sun/star/wizards/common/SystemDialog.java
@@ -220,7 +220,7 @@ public class SystemDialog
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
@@ -285,7 +285,7 @@ public class SystemDialog
}
catch (com.sun.star.uno.Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return null;
}
}
@@ -342,7 +342,7 @@ public class SystemDialog
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
return iMessage;
}
@@ -384,7 +384,7 @@ public class SystemDialog
catch (Exception e)
{
// TODO Auto-generated catch block
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return iMessage;
}
diff --git a/wizards/com/sun/star/wizards/db/ColumnPropertySet.java b/wizards/com/sun/star/wizards/db/ColumnPropertySet.java
index 9897386..bc0be01 100644
--- a/wizards/com/sun/star/wizards/db/ColumnPropertySet.java
+++ b/wizards/com/sun/star/wizards/db/ColumnPropertySet.java
@@ -102,7 +102,7 @@ public class ColumnPropertySet
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -121,7 +121,7 @@ public class ColumnPropertySet
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -133,7 +133,7 @@ public class ColumnPropertySet
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
return 0;
}
}
@@ -194,7 +194,7 @@ public class ColumnPropertySet
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
diff --git a/wizards/com/sun/star/wizards/db/CommandMetaData.java b/wizards/com/sun/star/wizards/db/CommandMetaData.java
index b29bbd4..e0ca1d6 100644
--- a/wizards/com/sun/star/wizards/db/CommandMetaData.java
+++ b/wizards/com/sun/star/wizards/db/CommandMetaData.java
@@ -149,7 +149,7 @@ public class CommandMetaData extends DBMetaData
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return null;
}
}
@@ -313,7 +313,7 @@ public class CommandMetaData extends DBMetaData
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
Resource oResource = new Resource(xMSF, "Database", "dbw");
String sMsgNoFieldsFromCommand = oResource.getResText(RID_DB_COMMON + 45);
@@ -388,7 +388,7 @@ public class CommandMetaData extends DBMetaData
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return false;
}
}
@@ -411,7 +411,7 @@ public class CommandMetaData extends DBMetaData
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return new String[]
{
};
@@ -471,7 +471,7 @@ public class CommandMetaData extends DBMetaData
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return new String[]
{
};
@@ -624,7 +624,7 @@ public class CommandMetaData extends DBMetaData
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return sTotReferencedTables;
}
@@ -687,7 +687,7 @@ public class CommandMetaData extends DBMetaData
}
catch (SQLException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
diff --git a/wizards/com/sun/star/wizards/db/CommandName.java b/wizards/com/sun/star/wizards/db/CommandName.java
index b026266..91b25e3 100644
--- a/wizards/com/sun/star/wizards/db/CommandName.java
+++ b/wizards/com/sun/star/wizards/db/CommandName.java
@@ -74,7 +74,7 @@ public class CommandName
}
catch (SQLException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -120,7 +120,7 @@ public class CommandName
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
@@ -174,7 +174,7 @@ public class CommandName
}
catch (SQLException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
return false;
}
}
diff --git a/wizards/com/sun/star/wizards/db/DBMetaData.java b/wizards/com/sun/star/wizards/db/DBMetaData.java
index ae23246..2bda1a1 100644
--- a/wizards/com/sun/star/wizards/db/DBMetaData.java
+++ b/wizards/com/sun/star/wizards/db/DBMetaData.java
@@ -856,7 +856,7 @@ public class DBMetaData
callSQLErrorMessageDialog(sqlError, null);
return false;
}
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
catch (SQLException e)
{
diff --git a/wizards/com/sun/star/wizards/db/FieldColumn.java b/wizards/com/sun/star/wizards/db/FieldColumn.java
index 0499d34..9f179fd 100644
--- a/wizards/com/sun/star/wizards/db/FieldColumn.java
+++ b/wizards/com/sun/star/wizards/db/FieldColumn.java
@@ -165,7 +165,7 @@ public class FieldColumn
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -349,7 +349,7 @@ public class FieldColumn
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
m_nDBFormatKey = StandardFormatKey;
}
}
@@ -373,7 +373,7 @@ public class FieldColumn
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
diff --git a/wizards/com/sun/star/wizards/db/QueryMetaData.java b/wizards/com/sun/star/wizards/db/QueryMetaData.java
index 4eca49d..a5435e4 100644
--- a/wizards/com/sun/star/wizards/db/QueryMetaData.java
+++ b/wizards/com/sun/star/wizards/db/QueryMetaData.java
@@ -240,7 +240,7 @@ public class QueryMetaData extends CommandMetaData
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
diff --git a/wizards/com/sun/star/wizards/db/RecordParser.java b/wizards/com/sun/star/wizards/db/RecordParser.java
index 2d97dde..9f13083 100644
--- a/wizards/com/sun/star/wizards/db/RecordParser.java
+++ b/wizards/com/sun/star/wizards/db/RecordParser.java
@@ -78,7 +78,7 @@ public class RecordParser extends QueryMetaData
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
@@ -95,7 +95,7 @@ public class RecordParser extends QueryMetaData
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return null;
}
}
@@ -120,7 +120,7 @@ public class RecordParser extends QueryMetaData
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
return Any.VOID;
}
@@ -223,7 +223,7 @@ public class RecordParser extends QueryMetaData
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
throw new InvalidQueryException(xMSF, Command);
}
}
@@ -254,7 +254,7 @@ public class RecordParser extends QueryMetaData
}
catch (InvalidQueryException queryexception)
{
- queryexception.printStackTrace(System.out);
+ queryexception.printStackTrace(System.err);
return false;
}
}
diff --git a/wizards/com/sun/star/wizards/db/RelationController.java b/wizards/com/sun/star/wizards/db/RelationController.java
index a147b24..1eb3b12 100644
--- a/wizards/com/sun/star/wizards/db/RelationController.java
+++ b/wizards/com/sun/star/wizards/db/RelationController.java
@@ -78,7 +78,7 @@ public class RelationController extends CommandName
}
catch (SQLException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return sReferencedTableNames;
}
@@ -146,7 +146,7 @@ public class RelationController extends CommandName
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return sKeyColumnNames;
}
diff --git a/wizards/com/sun/star/wizards/db/TableDescriptor.java b/wizards/com/sun/star/wizards/db/TableDescriptor.java
index 2419c42..8758d36 100644
--- a/wizards/com/sun/star/wizards/db/TableDescriptor.java
+++ b/wizards/com/sun/star/wizards/db/TableDescriptor.java
@@ -123,7 +123,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return true;
}
@@ -192,19 +192,19 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (UnknownPropertyException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
catch (PropertyVetoException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
catch (IllegalArgumentException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
catch (WrappedTargetException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return false;
@@ -225,7 +225,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (Exception ex)
{
- ex.printStackTrace(System.out);
+ ex.printStackTrace(System.err);
return false;
}
}
@@ -296,7 +296,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
breturn = false;
}
if (!breturn)
@@ -348,7 +348,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (Exception e1)
{
- e1.printStackTrace(System.out);
+ e1.printStackTrace(System.err);
}
return false;
}
@@ -374,7 +374,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
}
@@ -388,7 +388,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
showMessageBox("ErrorBox", VclWindowPeerAttribute.OK, e.getMessage());
return false;
}
@@ -419,19 +419,19 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (UnknownPropertyException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
catch (PropertyVetoException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
catch (IllegalArgumentException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
catch (WrappedTargetException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return false;
}
@@ -458,7 +458,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return false;
}
@@ -484,7 +484,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -504,7 +504,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (RuntimeException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
return new String[]
@@ -530,7 +530,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (RuntimeException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return false;
}
@@ -553,7 +553,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (RuntimeException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return null;
}
@@ -583,7 +583,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (RuntimeException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return null;
}
@@ -608,7 +608,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return xRetPropertySet;
}
@@ -629,7 +629,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return false;
}
@@ -645,7 +645,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
return false;
}
}
@@ -672,7 +672,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return false;
}
@@ -699,13 +699,13 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (RuntimeException e1)
{
- e1.printStackTrace(System.out);
+ e1.printStackTrace(System.err);
}
}
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return null;
}
@@ -731,13 +731,13 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
}
catch (RuntimeException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
String[] sbinaryfieldnames = new String[NonBinaryFieldNameVector.size()];
NonBinaryFieldNameVector.toArray(sbinaryfieldnames);
@@ -778,7 +778,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -844,7 +844,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
bhastoinsert = false;
}
}
diff --git a/wizards/com/sun/star/wizards/db/TypeInspector.java b/wizards/com/sun/star/wizards/db/TypeInspector.java
index d2c294c..7abf13f 100644
--- a/wizards/com/sun/star/wizards/db/TypeInspector.java
+++ b/wizards/com/sun/star/wizards/db/TypeInspector.java
@@ -104,7 +104,7 @@ public class TypeInspector
}
catch (SQLException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -133,7 +133,7 @@ public class TypeInspector
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
return 0;
}
}
@@ -170,7 +170,7 @@ public class TypeInspector
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return ColumnValue.NO_NULLS;
}
@@ -239,7 +239,7 @@ public class TypeInspector
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return -1;
}
@@ -393,7 +393,7 @@ public class TypeInspector
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return INVALID;
diff --git a/wizards/com/sun/star/wizards/document/Control.java b/wizards/com/sun/star/wizards/document/Control.java
index 90585b9..43afd71 100644
--- a/wizards/com/sun/star/wizards/document/Control.java
+++ b/wizards/com/sun/star/wizards/document/Control.java
@@ -112,7 +112,7 @@ public class Control extends Shape
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -130,7 +130,7 @@ public class Control extends Shape
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -251,7 +251,7 @@ public class Control extends Shape
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
return null;
}
}
@@ -335,7 +335,7 @@ public class Control extends Shape
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
return null;
}
}
diff --git a/wizards/com/sun/star/wizards/document/DatabaseControl.java b/wizards/com/sun/star/wizards/document/DatabaseControl.java
index a85abb8..21f1e7a 100644
--- a/wizards/com/sun/star/wizards/document/DatabaseControl.java
+++ b/wizards/com/sun/star/wizards/document/DatabaseControl.java
@@ -95,7 +95,7 @@ public class DatabaseControl extends Control
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -115,7 +115,7 @@ public class DatabaseControl extends Control
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -130,7 +130,7 @@ public class DatabaseControl extends Control
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -250,7 +250,7 @@ public class DatabaseControl extends Control
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
/**
diff --git a/wizards/com/sun/star/wizards/document/FormHandler.java b/wizards/com/sun/star/wizards/document/FormHandler.java
index ed22e30..6aeec8b 100644
--- a/wizards/com/sun/star/wizards/document/FormHandler.java
+++ b/wizards/com/sun/star/wizards/document/FormHandler.java
@@ -476,7 +476,7 @@ public class FormHandler
// if (_xNamedForm.hasByName(sControlName))
// _xNamedForm.removeByName(sControlName);
// } catch (Exception e) {
-// e.printStackTrace(System.out);
+// e.printStackTrace(System.err);
// }
}
}
diff --git a/wizards/com/sun/star/wizards/document/GridControl.java b/wizards/com/sun/star/wizards/document/GridControl.java
index 218b981..ab78017 100644
--- a/wizards/com/sun/star/wizards/document/GridControl.java
+++ b/wizards/com/sun/star/wizards/document/GridControl.java
@@ -78,7 +78,7 @@ public class GridControl extends Shape
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
}
diff --git a/wizards/com/sun/star/wizards/document/OfficeDocument.java b/wizards/com/sun/star/wizards/document/OfficeDocument.java
index 7436f26..7a85f2d 100644
--- a/wizards/com/sun/star/wizards/document/OfficeDocument.java
+++ b/wizards/com/sun/star/wizards/document/OfficeDocument.java
@@ -84,7 +84,7 @@ public class OfficeDocument
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
@@ -106,7 +106,7 @@ public class OfficeDocument
}
catch (PropertyVetoException exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
@@ -153,7 +153,7 @@ public class OfficeDocument
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
return oDocument;
}
@@ -274,7 +274,7 @@ public class OfficeDocument
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
return oDocument;
}
@@ -312,7 +312,7 @@ public class OfficeDocument
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return false;
}
}
diff --git a/wizards/com/sun/star/wizards/document/Shape.java b/wizards/com/sun/star/wizards/document/Shape.java
index 580a97e..bbb7932 100644
--- a/wizards/com/sun/star/wizards/document/Shape.java
+++ b/wizards/com/sun/star/wizards/document/Shape.java
@@ -100,7 +100,7 @@ public class Shape
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -117,7 +117,7 @@ public class Shape
}
catch (PropertyVetoException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
diff --git a/wizards/com/sun/star/wizards/document/TimeStampControl.java b/wizards/com/sun/star/wizards/document/TimeStampControl.java
index 9fcd1ef..84e8278 100644
--- a/wizards/com/sun/star/wizards/document/TimeStampControl.java
+++ b/wizards/com/sun/star/wizards/document/TimeStampControl.java
@@ -84,7 +84,7 @@ public class TimeStampControl extends DatabaseControl
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return null;
}
@@ -121,7 +121,7 @@ public class TimeStampControl extends DatabaseControl
}
catch (PropertyVetoException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
diff --git a/wizards/com/sun/star/wizards/fax/FaxDocument.java b/wizards/com/sun/star/wizards/fax/FaxDocument.java
index 1eb1d1f..c4cd286 100644
--- a/wizards/com/sun/star/wizards/fax/FaxDocument.java
+++ b/wizards/com/sun/star/wizards/fax/FaxDocument.java
@@ -60,7 +60,7 @@ public class FaxDocument extends TextDocument
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
@@ -115,7 +115,7 @@ public class FaxDocument extends TextDocument
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
}
@@ -161,7 +161,7 @@ public class FaxDocument extends TextDocument
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
diff --git a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java
index d5c2cd0..6ee8765 100644
--- a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java
+++ b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java
@@ -194,7 +194,7 @@ public class FaxWizardDialogImpl extends FaxWizardDialog
catch (Exception exception)
{
removeTerminateListener();
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
running = false;
}
}
@@ -771,7 +771,7 @@ public class FaxWizardDialogImpl extends FaxWizardDialog
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
diff --git a/wizards/com/sun/star/wizards/form/FieldLinker.java b/wizards/com/sun/star/wizards/form/FieldLinker.java
index 9e82765..ea49e77 100644
--- a/wizards/com/sun/star/wizards/form/FieldLinker.java
+++ b/wizards/com/sun/star/wizards/form/FieldLinker.java
@@ -151,7 +151,7 @@ public class FieldLinker extends DBLimitedFieldSelection
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
diff --git a/wizards/com/sun/star/wizards/form/FormControlArranger.java b/wizards/com/sun/star/wizards/form/FormControlArranger.java
index b09683d..dc3c761 100644
--- a/wizards/com/sun/star/wizards/form/FormControlArranger.java
+++ b/wizards/com/sun/star/wizards/form/FormControlArranger.java
@@ -155,7 +155,7 @@ public class FormControlArranger
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
break;
case DataType.BIGINT:
@@ -375,7 +375,7 @@ public class FormControlArranger
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -593,7 +593,7 @@ public class FormControlArranger
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -648,7 +648,7 @@ public class FormControlArranger
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
diff --git a/wizards/com/sun/star/wizards/form/FormDocument.java b/wizards/com/sun/star/wizards/form/FormDocument.java
index 41095da..10152d0 100644
--- a/wizards/com/sun/star/wizards/form/FormDocument.java
+++ b/wizards/com/sun/star/wizards/form/FormDocument.java
@@ -93,7 +93,7 @@ public class FormDocument extends TextDocument
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -140,7 +140,7 @@ public class FormDocument extends TextDocument
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -338,7 +338,7 @@ public class FormDocument extends TextDocument
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
return false;
}
finally
@@ -519,7 +519,7 @@ public class FormDocument extends TextDocument
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -562,7 +562,7 @@ public class FormDocument extends TextDocument
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
diff --git a/wizards/com/sun/star/wizards/form/FormWizard.java b/wizards/com/sun/star/wizards/form/FormWizard.java
index d898066..f9d63ad 100644
--- a/wizards/com/sun/star/wizards/form/FormWizard.java
+++ b/wizards/com/sun/star/wizards/form/FormWizard.java
@@ -160,7 +160,7 @@ public class FormWizard extends DatabaseObjectWizard
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -362,7 +362,7 @@ public class FormWizard extends DatabaseObjectWizard
}
catch (java.lang.Exception jexception)
{
- jexception.printStackTrace(System.out);
+ jexception.printStackTrace(System.err);
}
if ((!m_success) && (curFormDocument != null))
{
diff --git a/wizards/com/sun/star/wizards/form/StyleApplier.java b/wizards/com/sun/star/wizards/form/StyleApplier.java
index b3424ce..7e1cfff 100644
--- a/wizards/com/sun/star/wizards/form/StyleApplier.java
+++ b/wizards/com/sun/star/wizards/form/StyleApplier.java
@@ -171,7 +171,7 @@ public class StyleApplier
// }
// catch (Exception e)
// {
-// e.printStackTrace(System.out);
+// e.printStackTrace(System.err);
// }
}
@@ -200,7 +200,7 @@ public class StyleApplier
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -216,7 +216,7 @@ public class StyleApplier
}
catch (IllegalArgumentException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return (short) -1;
}
@@ -316,7 +316,7 @@ public class StyleApplier
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
curFormDocument.unlockallControllers();
}
@@ -428,7 +428,7 @@ public class StyleApplier
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -489,7 +489,7 @@ public class StyleApplier
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
}
diff --git a/wizards/com/sun/star/wizards/form/UIControlArranger.java b/wizards/com/sun/star/wizards/form/UIControlArranger.java
index ef05964..72f981c 100644
--- a/wizards/com/sun/star/wizards/form/UIControlArranger.java
+++ b/wizards/com/sun/star/wizards/form/UIControlArranger.java
@@ -220,7 +220,7 @@ public class UIControlArranger
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
diff --git a/wizards/com/sun/star/wizards/letter/LetterDocument.java b/wizards/com/sun/star/wizards/letter/LetterDocument.java
index 54e31e3..fd2ca0c 100644
--- a/wizards/com/sun/star/wizards/letter/LetterDocument.java
+++ b/wizards/com/sun/star/wizards/letter/LetterDocument.java
@@ -65,7 +65,7 @@ public class LetterDocument extends TextDocument
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
@@ -120,7 +120,7 @@ public class LetterDocument extends TextDocument
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
}
@@ -165,7 +165,7 @@ public class LetterDocument extends TextDocument
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
@@ -285,7 +285,7 @@ public class LetterDocument extends TextDocument
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
@@ -311,7 +311,7 @@ public class LetterDocument extends TextDocument
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
}
diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java
index 6adfc6e..31af8c3 100644
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java
+++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java
@@ -251,7 +251,7 @@ public class LetterWizardDialogImpl extends LetterWizardDialog
catch (Exception exception)
{
removeTerminateListener();
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
running = false;
}
}
@@ -844,7 +844,7 @@ public class LetterWizardDialogImpl extends LetterWizardDialog
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
diff --git a/wizards/com/sun/star/wizards/query/Finalizer.java b/wizards/com/sun/star/wizards/query/Finalizer.java
index 3c38817..f2b351e 100644
--- a/wizards/com/sun/star/wizards/query/Finalizer.java
+++ b/wizards/com/sun/star/wizards/query/Finalizer.java
@@ -148,7 +148,7 @@ public class Finalizer
}
catch (com.sun.star.uno.Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return PropertyNames.EMPTY_STRING;
}
}
diff --git a/wizards/com/sun/star/wizards/query/QuerySummary.java b/wizards/com/sun/star/wizards/query/QuerySummary.java
index 2076fe8..5a41503 100644
--- a/wizards/com/sun/star/wizards/query/QuerySummary.java
+++ b/wizards/com/sun/star/wizards/query/QuerySummary.java
@@ -79,7 +79,7 @@ public class QuerySummary extends QueryMetaData
}
catch (com.sun.star.uno.Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
diff --git a/wizards/com/sun/star/wizards/query/QueryWizard.java b/wizards/com/sun/star/wizards/query/QueryWizard.java
index 2acf1ba..0e8c4b3 100644
--- a/wizards/com/sun/star/wizards/query/QueryWizard.java
+++ b/wizards/com/sun/star/wizards/query/QueryWizard.java
@@ -172,7 +172,7 @@ public class QueryWizard extends DatabaseObjectWizard
}
catch (java.lang.Exception jexception)
{
- jexception.printStackTrace(System.out);
+ jexception.printStackTrace(System.err);
}
}
@@ -218,7 +218,7 @@ public class QueryWizard extends DatabaseObjectWizard
}
catch (java.lang.Exception jexception)
{
- jexception.printStackTrace(System.out);
+ jexception.printStackTrace(System.err);
}
m_groupFilterComponent = null;
m_titlesComponent = null;
@@ -280,7 +280,7 @@ public class QueryWizard extends DatabaseObjectWizard
}
catch (com.sun.star.uno.Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
@@ -409,7 +409,7 @@ public class QueryWizard extends DatabaseObjectWizard
}
catch (SQLException e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
}
diff --git a/wizards/com/sun/star/wizards/report/CallReportWizard.java b/wizards/com/sun/star/wizards/report/CallReportWizard.java
index 768bbf1..d64468a 100644
--- a/wizards/com/sun/star/wizards/report/CallReportWizard.java
+++ b/wizards/com/sun/star/wizards/report/CallReportWizard.java
@@ -53,7 +53,7 @@ public class CallReportWizard
}
catch (java.lang.Exception jexception)
{
- jexception.printStackTrace(System.out);
+ jexception.printStackTrace(System.err);
}
}*/
diff --git a/wizards/com/sun/star/wizards/report/DBColumn.java b/wizards/com/sun/star/wizards/report/DBColumn.java
index 69321d5..83358f2 100644
--- a/wizards/com/sun/star/wizards/report/DBColumn.java
+++ b/wizards/com/sun/star/wizards/report/DBColumn.java
@@ -133,7 +133,7 @@ public class DBColumn
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
}
return false;
}
@@ -291,7 +291,7 @@ public class DBColumn
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
@@ -395,7 +395,7 @@ public class DBColumn
}
catch (com.sun.star.beans.UnknownPropertyException exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
@@ -423,7 +423,7 @@ public class DBColumn
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
@@ -466,7 +466,7 @@ public class DBColumn
{
// sMsgInvalidTextField = oResource.getResText(UIConsts.RID_REPORT + 73);
// SystemDialog.showMessageBox(oTextTableHandler.xMSFDoc, "ErrorBox", VclWindowPeerAttribute.OK, sMsgInvalidTextField);
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
return true; //most probably this is really the Namecell!!!!
}
}
diff --git a/wizards/com/sun/star/wizards/report/Dataimport.java b/wizards/com/sun/star/wizards/report/Dataimport.java
index 19faa33..186ce14 100644
--- a/wizards/com/sun/star/wizards/report/Dataimport.java
+++ b/wizards/com/sun/star/wizards/report/Dataimport.java
@@ -98,11 +98,11 @@ public class Dataimport extends UnoDialog2 implements com.sun.star.awt.XActionLi
// }
// catch (Exception e)
// {
-// e.printStackTrace(System.out);
+// e.printStackTrace(System.err);
// }
// catch (java.lang.Exception javaexception)
// {
-// javaexception.printStackTrace(System.out);
+// javaexception.printStackTrace(System.err);
// }
// }
public void showProgressDisplay(XMultiServiceFactory xMSF, boolean bgetConnection)
diff --git a/wizards/com/sun/star/wizards/report/GroupFieldHandler.java b/wizards/com/sun/star/wizards/report/GroupFieldHandler.java
index 18afc19..b7e5ed3 100644
--- a/wizards/com/sun/star/wizards/report/GroupFieldHandler.java
+++ b/wizards/com/sun/star/wizards/report/GroupFieldHandler.java
@@ -63,7 +63,7 @@ public class GroupFieldHandler extends FieldSelection
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
@@ -99,7 +99,7 @@ public class GroupFieldHandler extends FieldSelection
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
diff --git a/wizards/com/sun/star/wizards/report/RecordTable.java b/wizards/com/sun/star/wizards/report/RecordTable.java
index 40ffa15..7b4cd1a 100644
--- a/wizards/com/sun/star/wizards/report/RecordTable.java
+++ b/wizards/com/sun/star/wizards/report/RecordTable.java
@@ -78,7 +78,7 @@ public class RecordTable
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
diff --git a/wizards/com/sun/star/wizards/report/ReportFinalizer.java b/wizards/com/sun/star/wizards/report/ReportFinalizer.java
index e785420..73a82c2 100644
--- a/wizards/com/sun/star/wizards/report/ReportFinalizer.java
+++ b/wizards/com/sun/star/wizards/report/ReportFinalizer.java
@@ -184,7 +184,7 @@ public class ReportFinalizer
// XSimpleFileAccess xSimpleFileAccess = (XSimpleFileAccess) com.sun.star.uno.UnoRuntime.queryInterface(XSimpleFileAccess.class, xUcbInterface);
// return xSimpleFileAccess.exists(_spath);
// } catch (Exception exception) {
-// exception.printStackTrace(System.out);
+// exception.printStackTrace(System.err);
// return false;
// }}
public void initialize(RecordParser _CurDBMetaData)
@@ -224,7 +224,7 @@ public class ReportFinalizer
}
catch (Exception e)
{
- e.printStackTrace(System.out);
+ e.printStackTrace(System.err);
return PropertyNames.EMPTY_STRING;
}
}
diff --git a/wizards/com/sun/star/wizards/report/ReportLayouter.java b/wizards/com/sun/star/wizards/report/ReportLayouter.java
index a3ba938..e07b6c7 100644
--- a/wizards/com/sun/star/wizards/report/ReportLayouter.java
+++ b/wizards/com/sun/star/wizards/report/ReportLayouter.java
@@ -210,7 +210,7 @@ public class ReportLayouter
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
}
@@ -323,7 +323,7 @@ public class ReportLayouter
}
catch (Exception exception)
{
- exception.printStackTrace(System.out);
+ exception.printStackTrace(System.err);
}
// CurReportDocument.getDoc().unlockallControllers();
Helper.setUnoPropertyValue(CurUnoDialog.xDialogModel, PropertyNames.PROPERTY_ENABLED, Boolean.TRUE);
diff --git a/wizards/com/sun/star/wizards/report/ReportTextDocument.java b/wizards/com/sun/star/wizards/report/ReportTextDocument.java
index b65d67e..ba94d3d 100644
--- a/wizards/com/sun/star/wizards/report/ReportTextDocument.java
+++ b/wizards/com/sun/star/wizards/report/ReportTextDocument.java
@@ -535,7 +535,7 @@ class ReportTextDocument extends com.sun.star.wizards.text.TextDocument implemen
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list