odk/examples/cpp/remoteclient/remoteclient.cxx | 2 +- odk/examples/java/EmbedDocument/Container1/EmbedContApp.java | 2 +- odk/examples/java/Inspector/Inspector.java | 2 +- odk/examples/java/Spreadsheet/SCalc.java | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-)
New commits: commit 2286eb08e7a6a820ec71ed22945cf422fa88a16a Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Sat Jul 20 19:29:05 2019 +0200 Commit: Andrea Gelmini <andrea.gelm...@gelma.net> CommitDate: Sat Jul 20 22:36:27 2019 +0200 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.me...@collabora.com> Tested-by: Andrea Gelmini <andrea.gelm...@gelma.net> 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); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits