summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/GUI/UnoDialogSample2.java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/GUI/UnoDialogSample2.java')
-rw-r--r--odk/examples/DevelopersGuide/GUI/UnoDialogSample2.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/GUI/UnoDialogSample2.java b/odk/examples/DevelopersGuide/GUI/UnoDialogSample2.java
index 3b85eb57d306..5d9781d5dbac 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);
}
}