summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-20 19:29:05 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-20 22:36:27 +0200
commit2286eb08e7a6a820ec71ed22945cf422fa88a16a (patch)
tree67fe301fe6299e5625b65d50cde4adf4e4c6fa74 /odk
parenta14b659dc0b5d3de4fc7801907a83eda3476f3c1 (diff)
Fix typos in code
Extracted from https://gerrit.libreoffice.org/#/c/75487/1 Change-Id: I80f9247c5c961a33c0d2c8354ea0524820b33409 Reviewed-on: https://gerrit.libreoffice.org/76028 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/cpp/remoteclient/remoteclient.cxx2
-rw-r--r--odk/examples/java/EmbedDocument/Container1/EmbedContApp.java2
-rw-r--r--odk/examples/java/Inspector/Inspector.java2
-rw-r--r--odk/examples/java/Spreadsheet/SCalc.java4
4 files changed, 5 insertions, 5 deletions
diff --git a/odk/examples/cpp/remoteclient/remoteclient.cxx b/odk/examples/cpp/remoteclient/remoteclient.cxx
index 90f6280c15f4..7af63f15948b 100644
--- a/odk/examples/cpp/remoteclient/remoteclient.cxx
+++ b/odk/examples/cpp/remoteclient/remoteclient.cxx
@@ -168,7 +168,7 @@ sal_Int32 PipeClientMain::run( const Sequence< OUString > & aArguments ) throw (
{
OString o = OUStringToOString( e.Message, RTL_TEXTENCODING_ASCII_US );
printf( "%s\n", o.pData->buffer );
- printf( "couldn't access local resource ( possible security resons )\n" );
+ printf( "couldn't access local resource (possible security reasons)\n" );
}
catch( NoConnectException &e )
{
diff --git a/odk/examples/java/EmbedDocument/Container1/EmbedContApp.java b/odk/examples/java/EmbedDocument/Container1/EmbedContApp.java
index 2f198376652b..a275c27eaf7f 100644
--- a/odk/examples/java/EmbedDocument/Container1/EmbedContApp.java
+++ b/odk/examples/java/EmbedDocument/Container1/EmbedContApp.java
@@ -388,7 +388,7 @@ public class EmbedContApp extends Applet implements MouseListener, XEmbeddedClie
if ( m_xStorage == null )
{
JOptionPane.showMessageDialog( m_aFrame,
- "No storage for oned file!",
+ "No storage for owned file!",
"Error:",
JOptionPane.ERROR_MESSAGE );
return;
diff --git a/odk/examples/java/Inspector/Inspector.java b/odk/examples/java/Inspector/Inspector.java
index 18d8d909a449..18a75bcdb469 100644
--- a/odk/examples/java/Inspector/Inspector.java
+++ b/odk/examples/java/Inspector/Inspector.java
@@ -88,7 +88,7 @@ public class Inspector{
private TDocSupplier oTDocSupplier;
private Introspector m_oIntrospector = null;
// TODO: improve these strings:
- private static final String sWRONGINSTALLATIONPATH = "Your selected path does not refer to an SDK-Installation!";
+ private static final String sWRONGINSTALLATIONPATH = "Your selected path does not refer to a SDK-Installation!";
/** Creates a new instance of Dialog */
public _Inspector(XComponentContext _xComponentContext) {
m_xComponentContext = _xComponentContext;
diff --git a/odk/examples/java/Spreadsheet/SCalc.java b/odk/examples/java/Spreadsheet/SCalc.java
index 96fdc1ad429d..85eea9e0fd04 100644
--- a/odk/examples/java/Spreadsheet/SCalc.java
+++ b/odk/examples/java/Spreadsheet/SCalc.java
@@ -307,7 +307,7 @@ public class SCalc {
XChartDocument xChart = UnoRuntime.queryInterface(
XChartDocument.class,oInt);
XDiagram oDiag = xChart.getDiagram();
- System.out.println("Change Diagramm to 3D");
+ System.out.println("Change Diagram to 3D");
XPropertySet oCPS = UnoRuntime.queryInterface(
XPropertySet.class, oDiag );
oCPS.setPropertyValue("Dim3D", Boolean.TRUE);
@@ -317,7 +317,7 @@ public class SCalc {
XPropertySet.class, xChart.getTitle() );
oTPS.setPropertyValue("String","The new title");
} catch (Exception e){
- System.err.println("Changin Properties failed "+e);
+ System.err.println("Changing Properties failed "+e);
e.printStackTrace(System.err);
}