Kaydet (Commit) 34ab9e2e authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Samuel Mehrbrodt

Fix typos

Change-Id: I51ed2ccb06ba4ced15cd0b8e23e59a9609f07e93
Reviewed-on: https://gerrit.libreoffice.org/18961Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst 4caaa09d
......@@ -242,7 +242,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
* is shown as title of the info box.
*
* @param sMessage
* inclused the message body, which is shown as info.
* included the message body, which is shown as info.
*/
private void showInfoModal( com.sun.star.awt.XWindow xParent ,
......@@ -327,7 +327,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
* contains all shared configuration items for a job
*
* @param lJobConfig
* contains all job sepcific configuration items
* contains all job specific configuration items
*
* @param lEnvironment
* contains some environment information
......
......@@ -431,7 +431,7 @@ public class ConfigExamples
}
// BROWSE example
/// Interface to procees information when browsing the configuration tree
/// Interface to process information when browsing the configuration tree
public interface IConfigurationProcessor
{
/// process a value item
......
......@@ -305,7 +305,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
bGenerateOnReset = ( 0 == nNewValue );
}
else if ( sRefValue.equals( "reset" ) )
{ // generat on reset
{ // generate on reset
bGenerateOnReset = ( 0 != nNewValue );
}
m_aSalesmanKeyGenerator.activateKeyGenerator( bGenerateOnReset );
......
......@@ -1340,9 +1340,9 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
}
/**
*To fully understand the example one has to be aware that the passed ???Index??? parameter
* To fully understand the example one has to be aware that the passed ???Index??? parameter
* refers to the position of the roadmap item in the roadmapmodel container
* whereas the variable ???_ID??? directyl references to a certain step of dialog.
* whereas the variable ???_ID??? directly references to a certain step of dialog.
*/
public void insertRoadmapItem(int Index, boolean _bEnabled, String _sLabel, int _ID) {
try {
......
......@@ -80,7 +80,7 @@ public class OOoBeanViewer extends java.applet.Applet
private OOoBean aBean;
/**
* Initialize the Appplet
* Initialize the Applet
*/
public void init()
{
......
......@@ -166,7 +166,7 @@ public class CustomizeView extends JPanel
* We use our internal set dispatch objects to
* call it. This calls toogle the menu/object- or toolbar.
* Note: Because we are listener status events too - hopefully
* we get a notification, if toogling was successfully or not.
* we get a notification, if toggling was successfully or not.
* We use this information to update our check boxes again.
* But such update doesn't force (hopefully) an action event. Otherwhise
* we can produce a never ending recursion!
......
......@@ -539,7 +539,7 @@ public class FunctionHelper
com.sun.star.frame.FrameSearchFlag.CHILDREN,
lProperties);
// dont forget to restore old frame name ...
// don't forget to restore old frame name...
xFrame.setName(sOldName);
}
catch(com.sun.star.io.IOException exIO)
......@@ -746,7 +746,7 @@ public class FunctionHelper
* It shows the possible interface to do so.
*
* @param xFrame
* frame which should be clcosed
* frame which should be closed
*
* @return <TRUE/> in case frame could be closed
* <FALSE/> otherwise
......@@ -766,7 +766,7 @@ public class FunctionHelper
if (xCloseable!=null)
{
// We deliver the ownership of this frame not to the (possible)
// source which throw a CloseVetoException. We whishto have it
// source which throw a CloseVetoException. We wish to have it
// under our own control.
try
{
......
......@@ -32,14 +32,14 @@
*
*************************************************************************/
// __________ Imports __________
// Imports
import java.util.ArrayList;
import com.sun.star.frame.FrameActionEvent;
import com.sun.star.uno.UnoRuntime;
// __________ Implementation __________
// Implementation
/**
* This class can be used to intercept dispatched URL's
......@@ -190,7 +190,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
/**
* call back for frame action events
* callback for frame action events
* We use it to update our interception. Because if a new component was loaded into
* the frame or another interceptor was registered, we should refresh our connection
* to the frame. Otherwhise we can't guarantee full functionality here.
......@@ -284,7 +284,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
/**
* Internal call back for frame action events, triggered by the used
* Internal callback for frame action events, triggered by the used
* OnewayExecutor thread we started in frameAction().
* We use it to update our interception on the internal saved frame.
*
......@@ -523,7 +523,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
/**
* Notification of status listener isn't guaranteed (instead of listener on XNotifyingDispatch interface).
* So this interceptor doesn't support that really ...
* So this interceptor doesn't support that really...
*/
public /*ONEWAY*/ void addStatusListener(/*IN*/ com.sun.star.frame.XStatusListener xListener,/*IN*/ com.sun.star.util.URL aURL)
{
......@@ -538,7 +538,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
null);
if (xListener!=null)
{
System.out.println("interceptor disable SavAs by listener notify");
System.out.println("interceptor disable SaveAs by listener notify");
xListener.statusChanged(aEvent);
}
}*/
......@@ -572,7 +572,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
/**
* This class listen on the intercepted frame to free all used resources on closing.
* We forget the reference to the frame only here. Deregistration
* isn't necessary here - because this frame dies and wish to forgoten.
* isn't necessary here - because this frame dies and wish to be forgotten.
*
* @param aSource
* must be our internal saved frame, on which we listen for frame action events
......
......@@ -241,9 +241,9 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
if (m_bDead)
return;
// enable/dsiable th control.
// Means: If the feature isn't available currently - we can't show an status really here.
// Then we should colorize it gray ...
// enable/disable the control.
// Means: if the feature isn't available currently - we can't show an status really here.
// Then we should colorize it gray...
m_rControl.setEnabled(aEvent.IsEnabled);
// Only if status is enabled we can look for his value!
......
......@@ -203,12 +203,12 @@ public class StatusView extends JPanel
/**
* Set new frame for this view and start listening for events imedatly.
* Set new frame for this view and start listening for events immediately.
* We create one status listener for every control we wish to update.
* And because the environment of the frame can be changed - these
* listener refresh himself internally for frame action events too.
* So we register it as such frame action listener only here.
* Rest is done automatically ...
* Rest is done automatically...
*
* @param xFrame
* will be used as source of possible status events
......
......@@ -457,7 +457,7 @@ public class AsciiReplaceFilter
// Create a new paragraph for every line inside original file.
// May not all data could be readed - but that doesn't matter here.
// Reason: somewhere cancelled this function.
// But check for optioanl replace request before ...
// But check for optional replace request before...
int nStart = 0;
int nEnd = -1;
int nLength = sText.length();
......
......@@ -95,7 +95,7 @@ OUString SAL_CALL FilterDetect::detect(Sequence< PropertyValue >& aArguments )
if (!xInStream.is())
{
// open the stream if it was not suplied by the framework
// open the stream if it was not supplied by the framework
Reference< XSimpleFileAccess3 > xSFI(SimpleFileAccess::create(mxContext));
if (sURL.getLength() > 0)
{
......
......@@ -54,7 +54,7 @@ import com.sun.star.uno.UnoRuntime;
public class LinguisticExamples
{
// The remote office ocntext
// The remote office context
protected XComponentContext mxRemoteContext = null;
// The MultiServiceFactory interface of the Office
protected XMultiComponentFactory mxRemoteServiceManager = null;
......
......@@ -1635,7 +1635,7 @@ public class TextDocuments {
{
try
{
// Go to the end of the doucment
// Go to the end of the document
mxDocCursor.gotoEnd( false );
// insert a new paragraph
mxDocText.insertControlCharacter (
......
......@@ -261,7 +261,7 @@ public class ConverterServlet extends HttpServlet {
// Preparing properties for loading the document
PropertyValue propertyvalue[] = new PropertyValue[ 1 ];
// Setting the flag for hidding the open document
// Setting the flag to hide the open document
propertyvalue[ 0 ] = new PropertyValue();
propertyvalue[ 0 ].Name = "Hidden";
propertyvalue[ 0 ].Value = Boolean.TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment