diff options
57 files changed, 71 insertions, 71 deletions
diff --git a/jurt/com/sun/star/uno/AnyConverter.java b/jurt/com/sun/star/uno/AnyConverter.java index d6761c8a3969..f0d13400930d 100644 --- a/jurt/com/sun/star/uno/AnyConverter.java +++ b/jurt/com/sun/star/uno/AnyConverter.java @@ -186,7 +186,7 @@ public class AnyConverter * * <p>If <em>object</em> is an any with an interface type, then true is also * returned if the any contains a null reference. This is because interfaces - * are allowed to havea null value contrary to other UNO types.</p> + * are allowed to have a null value contrary to other UNO types.</p> * * @param object the object to check. * @return true if the any contains an object. diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx index 893066c0bd34..a19b26a18c61 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx @@ -661,7 +661,7 @@ javaPluginError jfw_plugin_startJavaVirtualMachine( #ifndef ANDROID // On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because // libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded - // witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so + // with RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so osl::Module moduleRt; #if defined(LINUX) if (!moduleRt.load(sRuntimeLib, SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW)) diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx index 437d7c4d0348..6b5f8a293a9e 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx @@ -910,7 +910,7 @@ rtl::Reference<VendorBase> getJREInfoByPath( //check if the directory path is good, that is a JRE was already recognized. //Then we need not detect it again - //For example, a sun JKD contains <jdk>/bin/java and <jdk>/jre/bin/java. + //For example, a sun JDK contains <jdk>/bin/java and <jdk>/jre/bin/java. //When <jdk>/bin/java has been found then we need not find <jdk>/jre/bin/java. //Otherwise we would execute java two times for every JDK found. MapIt entry2 = find_if(mapJREs.begin(), mapJREs.end(), diff --git a/lotuswordpro/source/filter/lwpcelllayout.cxx b/lotuswordpro/source/filter/lwpcelllayout.cxx index 39717cd1d45c..5f8bdb6c63f1 100644 --- a/lotuswordpro/source/filter/lwpcelllayout.cxx +++ b/lotuswordpro/source/filter/lwpcelllayout.cxx @@ -324,7 +324,7 @@ XFCell* LwpCellLayout::ConvertCell(LwpObjectID aTableID, sal_uInt16 nRow, sal_uI OUString aStyleName = m_StyleName; // if cell layout is aTableID's default cell layout - // we should judt its style by current position + // we should adjust its style by current position if (pTable->GetDefaultCellStyle() == GetObjectID()) { aStyleName = GetCellStyleName(nRow, nCol, pTable->GetTableLayout()); diff --git a/lotuswordpro/source/filter/lwpfribheader.hxx b/lotuswordpro/source/filter/lwpfribheader.hxx index 5a2d8694a9cf..f0e4abf1910a 100644 --- a/lotuswordpro/source/filter/lwpfribheader.hxx +++ b/lotuswordpro/source/filter/lwpfribheader.hxx @@ -56,7 +56,7 @@ #ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFRIBHEADER_HXX #define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFRIBHEADER_HXX -#define FRIB_TAG_NOUNICODE 0x40 // Don't xlate text to/from Unicode +#define FRIB_TAG_NOUNICODE 0x40 // Don't traslate text to/from Unicode #define FRIB_TAG_MODIFIER 0x80 // This frib has a modifier on it #define FRIB_TAG_TYPEMASK (FRIB_TAG_NOUNICODE | FRIB_TAG_MODIFIER) diff --git a/lotuswordpro/source/filter/lwplayout.cxx b/lotuswordpro/source/filter/lwplayout.cxx index 0ca02f540cc6..7f6e25fa4c47 100644 --- a/lotuswordpro/source/filter/lwplayout.cxx +++ b/lotuswordpro/source/filter/lwplayout.cxx @@ -252,7 +252,7 @@ bool LwpVirtualLayout::IsPage() return (GetLayoutType() == LWP_PAGE_LAYOUT); } /** - * @descr: Whether this layout is heaer layout or not + * @descr: Whether this layout is header layout or not * @param: * @return: */ diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx index 7cebb589f0ea..b903f981df8e 100644 --- a/lotuswordpro/source/filter/lwppara.cxx +++ b/lotuswordpro/source/filter/lwppara.cxx @@ -786,7 +786,7 @@ void LwpPara::RegisterStyle() pStyle->SetParentStyleName(m_ParentStyleName); m_StyleName = pXFStyleManager->AddStyle(pStyle).m_pStyle->GetStyleName(); } - // maybe useful for futer version + // maybe useful for further version // deleted because Leader of Table is not supported in this version //AddTabStyleForTOC(); } diff --git a/lotuswordpro/source/filter/lwpstory.cxx b/lotuswordpro/source/filter/lwpstory.cxx index 9b59b26d5904..b2ed42c13dbc 100644 --- a/lotuswordpro/source/filter/lwpstory.cxx +++ b/lotuswordpro/source/filter/lwpstory.cxx @@ -172,7 +172,7 @@ void LwpStory::Parse(IXFStream* pOutputStream) #include "lwppagelayout.hxx" /************************************************************************** - * @descr: Set current page layout. If pPageLayout is a mirro page layout, + * @descr: Set current page layout. If pPageLayout is a mirror page layout, use odd child page layout as current page layout. * @param: * @param: @@ -235,7 +235,7 @@ void LwpStory::SortPageLayout() if(pLayout->IsPage()) { LwpLayout::UseWhenType eSectionType = static_cast<LwpPageLayout*>(pLayout)->GetUseWhenType(); - //for mirror page, the child is pagelayout + //for mirror page, the child is pagelayout LwpVirtualLayout* pParent = pLayout->GetParentLayout(); if(eSectionType != LwpLayout::StartWithinColume && pParent && !pParent->IsPage()) { diff --git a/lotuswordpro/source/filter/lwptablelayout.cxx b/lotuswordpro/source/filter/lwptablelayout.cxx index e2edf492bda4..3e6d5662883a 100644 --- a/lotuswordpro/source/filter/lwptablelayout.cxx +++ b/lotuswordpro/source/filter/lwptablelayout.cxx @@ -738,7 +738,7 @@ void LwpTableLayout::RegisterStyle() XFStyleManager* pXFStyleManager = LwpGlobalMgr::GetInstance()->GetXFStyleManager(); m_StyleName = pXFStyleManager->AddStyle(pTableStyle).m_pStyle->GetStyleName(); - //convert to OO table now and register row stle + //convert to OO table now and register row style // traverse TraverseTable(); diff --git a/lotuswordpro/source/filter/lwpuidoc.hxx b/lotuswordpro/source/filter/lwpuidoc.hxx index 632088b9a240..73ecdc0a9708 100644 --- a/lotuswordpro/source/filter/lwpuidoc.hxx +++ b/lotuswordpro/source/filter/lwpuidoc.hxx @@ -105,7 +105,7 @@ public: void Read(LwpObjectStream *pStrm); }; /** - * @brief Merget options contained in UIDocument structure + * @brief Merge options contained in UIDocument structure * not parsed yet */ class LwpMergeOptions diff --git a/lotuswordpro/source/filter/xfilter/xffont.cxx b/lotuswordpro/source/filter/xfilter/xffont.cxx index 9a37d5f9c85f..6a6d0f16177c 100644 --- a/lotuswordpro/source/filter/xfilter/xffont.cxx +++ b/lotuswordpro/source/filter/xfilter/xffont.cxx @@ -369,7 +369,7 @@ void XFFont::ToXml(IXFStream *pStrm) pAttrList->AddAttribute("style:text-blinking", "true" ); } - //position & sacle: + //position & scale: if( ((m_nFlag & XFFONT_FLAG_SCALE) && m_nScale>0 ) || ((m_nFlag & XFFONT_FLAG_POSITION) && m_nPosition != 0) ) diff --git a/lotuswordpro/source/filter/xfilter/xffontfactory.hxx b/lotuswordpro/source/filter/xfilter/xffontfactory.hxx index 59f95f89ac3d..33baf5cade35 100644 --- a/lotuswordpro/source/filter/xfilter/xffontfactory.hxx +++ b/lotuswordpro/source/filter/xfilter/xffontfactory.hxx @@ -71,7 +71,7 @@ /** * @brief * Font factory. - * Because font object are so used so offten, so make a factory to manager them. + * Because font object are so used so often, so make a factory to manager them. * The fonts with same properties will only exist one instance. */ class XFFontFactory diff --git a/lotuswordpro/source/filter/xfilter/xfframe.hxx b/lotuswordpro/source/filter/xfilter/xfframe.hxx index d9fdb43c74df..fb14739b2acb 100644 --- a/lotuswordpro/source/filter/xfilter/xfframe.hxx +++ b/lotuswordpro/source/filter/xfilter/xfframe.hxx @@ -122,7 +122,7 @@ public: void SetY(double y); /** - * @descr Set frame wieth. + * @descr Set frame width. */ void SetWidth(double width); diff --git a/odk/config/configure.pl b/odk/config/configure.pl index c0f3188a4274..c9505dc79084 100755 --- a/odk/config/configure.pl +++ b/odk/config/configure.pl @@ -166,7 +166,7 @@ if ( $main::operatingSystem =~ m/darwin/ ) print " Error: An office installation is required, please specify the path to a valid installation.\n"; } else { - # special work for a network installation, no prgram directory but a link to the soffice binary + # special work for a network installation, no program directory but a link to the soffice binary if ( (! -d "$main::OFFICE_HOME/program") && (-e "$main::OFFICE_HOME/soffice") ) { my $soserver = `ls -l $OFFICE_HOME_SUGGESTION/soffice | sed -n 's/.* -> //p'`; diff --git a/odk/docs/idl/wikilinks.py b/odk/docs/idl/wikilinks.py index 51490879ad7d..7854f645063e 100644 --- a/odk/docs/idl/wikilinks.py +++ b/odk/docs/idl/wikilinks.py @@ -8,7 +8,7 @@ # # wikilinks.py: -# This throwaway prgram can be used to convert idl_chapter_refs.txt to a +# This throwaway program can be used to convert idl_chapter_refs.txt to a # "fake" IDL file that can be fed to doxygen to get the DevGuide Wiki links. import sys diff --git a/odk/examples/DevelopersGuide/Config/ConfigExamples.java b/odk/examples/DevelopersGuide/Config/ConfigExamples.java index e197fd529897..db4a63966f84 100644 --- a/odk/examples/DevelopersGuide/Config/ConfigExamples.java +++ b/odk/examples/DevelopersGuide/Config/ConfigExamples.java @@ -647,7 +647,7 @@ public class ConfigExamples } } - /// this method is called to report an error during dialog execution to the zuser + // this method is called to report an error during dialog execution to the user public void informUserOfError(Exception e) { System.err.println("ERROR in GridEditor:"); e.printStackTrace(); diff --git a/odk/examples/DevelopersGuide/Forms/SalesFilter.java b/odk/examples/DevelopersGuide/Forms/SalesFilter.java index 5a1b46cfc9ec..412b46a098ef 100644 --- a/odk/examples/DevelopersGuide/Forms/SalesFilter.java +++ b/odk/examples/DevelopersGuide/Forms/SalesFilter.java @@ -383,7 +383,7 @@ class SalesFilter implements XActionListener, XPropertyChangeListener, XResetLis if ( aFilterItems.size() > 10 ) // (6 standard items + 5 user defined items) { - // the first (and thus oldes) user defined item + // the first (and thus oldest) user defined item aFilterItems.remove( 6 ); // keep our date vector synchron m_aFilterDates.remove( 6 ); diff --git a/odk/examples/DevelopersGuide/GUI/UnoMenu.java b/odk/examples/DevelopersGuide/GUI/UnoMenu.java index b6e9533ecb8a..5f9c244ff70c 100644 --- a/odk/examples/DevelopersGuide/GUI/UnoMenu.java +++ b/odk/examples/DevelopersGuide/GUI/UnoMenu.java @@ -124,7 +124,7 @@ public UnoMenu(XComponentContext _xContext, XMultiComponentFactory _xMCF) { // set up a window description and create the window. A parent window is always necessary for this... com.sun.star.awt.WindowDescriptor aWindowDescriptor = new com.sun.star.awt.WindowDescriptor(); - // a TopWindow is contains a title bar and is able to inlude menus... + // a TopWindow is contains a title bar and is able to include menus... aWindowDescriptor.Type = WindowClass.TOP; // specify the position and height of the window on the parent window aWindowDescriptor.Bounds = _aRectangle; diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java index c7891df841d4..c02ec71aba69 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java @@ -455,7 +455,7 @@ public class FunctionHelper com.sun.star.frame.XDispatchProvider.class, xFrame); - // Ask himn for right dispatch object for given URL. + // Ask him for right dispatch object for given URL. // Force given frame as target for following dispatch by using "". // It means the same like "_self". xDispatcher = xProvider.queryDispatch(aURL,"",0); @@ -866,8 +866,8 @@ public class FunctionHelper /** * helper to get a file URL selected by user - * This method doesn't show any API concepts ... - * but is necessary rof this demo application. + * This method doesn't show any API concepts... + * but is necessary for this demo application. * * @param aParent parent window of this dialog * @param bOpen If it is set to true => diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java index ff4bfe4cc65e..749041d01585 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java @@ -42,7 +42,7 @@ import java.util.ArrayList; * It's not allowed to call synchronous back to the office if a java object * was called in a oneway declared interface method. Then it must be * executed asynchronous. To do so - a thread can be created which use this - * interface. It get the object, which whis to be called back and the type and + * interface. It get the object, which has to be called back and the type and * parameter of the original request. * */ diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java index 850fb236b553..c7dc00d6bedc 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java @@ -624,10 +624,10 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, m_xFrame = null; } - // it's a good idead to cancel listening for frame action events + // it's a good idea to cancel listening for frame action events // before(!) we deregister us as an interceptor. // Because registration and deregistratio nof interceptor objects - // will force sending of frame action events ...! + // will force sending of frame action events...! if (bIsActionListener) xFrame.removeFrameActionListener(this); diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java index 038c80ff92f1..63eecd630a5f 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java @@ -249,7 +249,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener, // Only if status is enabled we can look for his value! if (aEvent.IsEnabled) { - // look for the right type ofthe UI control + // look for the right type of the UI control // Following actions depend on it. diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java index 715854a0b4cd..6d5f2cc27546 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java +++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java @@ -214,8 +214,8 @@ public class AsciiReplaceFilter /** * For external user of us we must provide our internal filter name * (which is registered inside configuration package TypeDetection). - * User will be able then to ask there for furthe information about us. - * Otherwhise we must implement a full featured XPropertySet ... + * User will be able then to ask there for further information about us. + * Otherwhise we must implement a full featured XPropertySet... * * @return our internal filter name of configuration */ @@ -593,7 +593,7 @@ public class AsciiReplaceFilter } /** - * helper function to convert the used StringBuffer into a Strig value. + * helper function to convert the used StringBuffer into a String value. * And we use this chance to have a look on optional filter options * which can invite replacing of strings. */ diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java index c740bc4d276d..cf54bfe3243b 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java +++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java @@ -49,7 +49,7 @@ import com.sun.star.uno.UnoRuntime; @attention This class mustn't be threadsafe - because instances of it are used temp. only - not as members. So no concurrent access should occur. - Another reason: It wuold be very difficult to safe every + Another reason: it would be very difficult to safe every access on our internal member. To do so - we must implement special methods instead of allowing pure member access. ************************************************************************-*/ diff --git a/odk/examples/DevelopersGuide/OfficeDev/PathSettings/PathSettingsTest.java b/odk/examples/DevelopersGuide/OfficeDev/PathSettings/PathSettingsTest.java index 6a46745933c2..387294601470 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/PathSettings/PathSettingsTest.java +++ b/odk/examples/DevelopersGuide/OfficeDev/PathSettings/PathSettingsTest.java @@ -39,7 +39,7 @@ import com.sun.star.util.thePathSettings; /* * Provides example code how to access and use the - * path pathsettings servce. + * path pathsettings service. */ public class PathSettingsTest { @@ -131,7 +131,7 @@ public class PathSettingsTest { } } - // Try to modfiy the work path property. After running this example + // Try to modify the work path property. After running this example // you should see the new value of "My Documents" in the path options // tab page, accessible via "Tools - Options - [Star|Open]Office - // Paths". diff --git a/odk/examples/java/Text/TextDocumentStructure.java b/odk/examples/java/Text/TextDocumentStructure.java index b85c650d4352..83e9bdb2bcee 100644 --- a/odk/examples/java/Text/TextDocumentStructure.java +++ b/odk/examples/java/Text/TextDocumentStructure.java @@ -51,7 +51,7 @@ public class TextDocumentStructure { xContext = com.sun.star.comp.helper.Bootstrap.bootstrap(); System.out.println("Connected to a running office ..."); - // get the rmeote service manger + // get the remote service manager com.sun.star.lang.XMultiComponentFactory xMCF = xContext.getServiceManager(); diff --git a/offapi/com/sun/star/ucb/Content.idl b/offapi/com/sun/star/ucb/Content.idl index f047ec432d71..ead031ed31e0 100644 --- a/offapi/com/sun/star/ucb/Content.idl +++ b/offapi/com/sun/star/ucb/Content.idl @@ -204,7 +204,7 @@ published service Content be sorted, otherwise it can be left empty. </li> </ul> - The exceution must be aborted by the implementation of this command + The execution must be aborted by the implementation of this command (by throwing a CommandAbortedException), if an unsupported mode is requested. </td> @@ -234,7 +234,7 @@ published service Content <li>com::sun::star::ucb::OpenCommandArgument::Properties: empty ( ignored )</li> <li>com::sun::star::ucb::OpenCommandArgument2::SortingInfo: empty ( ignored )</li> </ul> - <p>The exceution must be aborted by the implementation of this command + <p>The execution must be aborted by the implementation of this command (by throwing a CommandAbortedException), if an unsupported mode is requested.</p> </td> diff --git a/offapi/type_reference/typelibrary_history.txt b/offapi/type_reference/typelibrary_history.txt index 0a2e288f4644..793a3bc892ec 100644 --- a/offapi/type_reference/typelibrary_history.txt +++ b/offapi/type_reference/typelibrary_history.txt @@ -82,7 +82,7 @@ the service nad singleton type info. In the same step i have updated the reference type library with the rdb of OOo2.0.1 and have patched the following singleton types to ensure that we need - only one type ibrary: + only one type library: - com.sun.star.script.browse.theBrowseNodeFactory - com.sun.star.script.provider.theMasterScriptProviderFactory - com.sun.star.util.theMacroExpander diff --git a/officecfg/registry/schema/org/openoffice/TypeDetection/GraphicFilter.xcs b/officecfg/registry/schema/org/openoffice/TypeDetection/GraphicFilter.xcs index bd13eefb2900..6c9734f74685 100644 --- a/officecfg/registry/schema/org/openoffice/TypeDetection/GraphicFilter.xcs +++ b/officecfg/registry/schema/org/openoffice/TypeDetection/GraphicFilter.xcs @@ -53,7 +53,7 @@ </prop> <prop oor:name="UIName" oor:localized="true" oor:type="xs:string"> <info> - <desc>Localized name of the filter, whch can be shown at the UI.</desc> + <desc>Localized name of the filter, which can be shown at the UI.</desc> </info> </prop> </group> diff --git a/oox/inc/drawingml/chart/axismodel.hxx b/oox/inc/drawingml/chart/axismodel.hxx index 949f2848f731..9a38cb149847 100644 --- a/oox/inc/drawingml/chart/axismodel.hxx +++ b/oox/inc/drawingml/chart/axismodel.hxx @@ -76,7 +76,7 @@ struct AxisModel sal_Int32 mnLabelOffset; /// Tick mark label distance from axis. sal_Int32 mnMajorTickMark; /// Major tick mark style. sal_Int32 mnMajorTimeUnit; /// Time unit for major tick marks on date axis. - sal_Int32 mnMinorTickMark; /// Mainor tick mark style. + sal_Int32 mnMinorTickMark; /// Minor tick mark style. sal_Int32 mnMinorTimeUnit; /// Time unit for minor tick marks on date axis. sal_Int32 mnOrientation; /// Axis orientation (value order min to max, or max to min). sal_Int32 mnTickLabelPos; /// Position of tick mark labels relative to the axis. diff --git a/oox/source/core/binarycodec.cxx b/oox/source/core/binarycodec.cxx index 43eb3dca1dd5..49fa30325075 100644 --- a/oox/source/core/binarycodec.cxx +++ b/oox/source/core/binarycodec.cxx @@ -378,7 +378,7 @@ bool BinaryCodec_RCF::startBlock( sal_Int32 nCounter ) rtlCipherError eResult = rtl_cipher_init( mhCipher, rtl_Cipher_DirectionDecode, pnKeyData, RTL_DIGEST_LENGTH_MD5, 0, 0 ); - // rrase key data array and leave + // erase key data array and leave rtl_secureZeroMemory (pnKeyData, sizeof(pnKeyData)); return eResult == rtl_Cipher_E_None; } diff --git a/oox/source/ppt/pptfilterhelpers.cxx b/oox/source/ppt/pptfilterhelpers.cxx index a5f145b7ed17..941c5487ce78 100644 --- a/oox/source/ppt/pptfilterhelpers.cxx +++ b/oox/source/ppt/pptfilterhelpers.cxx @@ -158,7 +158,7 @@ namespace oox { namespace ppt { // this was ppt_ without an interesting thing after that // just copy it verbatim sRes.append("ppt_"); - // we are going to adjust for ppt_@ after the swtich + // we are going to adjust for ppt_@ after the switch // so compensate for the fact we did not really process // an extra character after ppt_ nIndex -= 1; diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx index ed2ae1552bee..eb5642dcf816 100644 --- a/package/source/xstor/xstorage.cxx +++ b/package/source/xstor/xstorage.cxx @@ -1676,7 +1676,7 @@ void OStorage_Impl::CloneStreamElement( const OUString& aStreamName, // child stream should be used for copiing. Probably the children m_xPackageStream // can be used as a base of a new stream, that would be copied to result // storage. The only problem is that some package streams can be accessed from outside - // at the same time ( now solwed by wrappers that remember own position ). + // at the same time (now solved by wrappers that remember own position). if ( bEncryptionDataProvided ) pElement->m_pStream->GetCopyOfLastCommit( xTargetStream, aEncryptionData ); diff --git a/qadevOOo/runner/base/java_complex.java b/qadevOOo/runner/base/java_complex.java index f1f669825474..7e639021f52d 100644 --- a/qadevOOo/runner/base/java_complex.java +++ b/qadevOOo/runner/base/java_complex.java @@ -38,7 +38,7 @@ public class java_complex implements TestBase { /** - * This function executes the complex tests given as parameter "-o" or "TestJob". It querys for the correspond class + * This function executes the complex tests given as parameter "-o" or "TestJob". It queries for the correspond class * and crates the JobDescription. * @return true of all tests run successfully, else false */ diff --git a/qadevOOo/runner/complexlib/ComplexTestCase.java b/qadevOOo/runner/complexlib/ComplexTestCase.java index 855669d104df..124107a4807c 100644 --- a/qadevOOo/runner/complexlib/ComplexTestCase.java +++ b/qadevOOo/runner/complexlib/ComplexTestCase.java @@ -137,13 +137,13 @@ public abstract class ComplexTestCase extends Assurance implements ComplexTest try { - // some tests are very dynamic in its exceution time so that - // a threadTimeOut fails. In this cases the logging mechanisim + // some tests are very dynamic in their execution time so that + // a threadTimeOut fails. In this cases the logging mechanism // is a useful way to detect that a office respective a test // is running and not death. // But way ThreadTimeOut? // There exists a complex test which uses no office. Therefore - // a logging mechanisim to detect a stalled test. + // a logging mechanism to detect a stalled test. int lastPing = -1; int newPing = 0; diff --git a/qadevOOo/runner/helper/LoggingThread.java b/qadevOOo/runner/helper/LoggingThread.java index 6878fbc8c708..1bbfaea8c5ae 100644 --- a/qadevOOo/runner/helper/LoggingThread.java +++ b/qadevOOo/runner/helper/LoggingThread.java @@ -25,7 +25,7 @@ import util.utils; /** * This class is printing to a <CODE>LogWriter</CODE>. This could be useful if a UNO-API - * function runns longer the time out. To avoid the assumption of death applikation + * function runs longer than time out. To avoid the assumption of death application * a simple string is logged for 100 times of time out.</br> * Example:</br> * logger = new LoggingThread((LogWriter)log, tParam); diff --git a/qadevOOo/runner/lib/SimpleStatus.java b/qadevOOo/runner/lib/SimpleStatus.java index 9526646c7de7..80afb01cf5c2 100644 --- a/qadevOOo/runner/lib/SimpleStatus.java +++ b/qadevOOo/runner/lib/SimpleStatus.java @@ -89,7 +89,7 @@ class SimpleStatus { } /** - * The constructor initialize state and reson field. + * The constructor initialize state and reason field. */ protected SimpleStatus(String runStateString, boolean state) { this.state = state; @@ -127,4 +127,4 @@ class SimpleStatus { return "FAILED"; } -}
\ No newline at end of file +} diff --git a/qadevOOo/runner/lib/TestResult.java b/qadevOOo/runner/lib/TestResult.java index 347455da524e..4b259777446f 100644 --- a/qadevOOo/runner/lib/TestResult.java +++ b/qadevOOo/runner/lib/TestResult.java @@ -35,7 +35,7 @@ public class TestResult { * and makes the state of the method completed. It's equal to * tested(method, Status(result)) call. * - * @param method reffers to the method whoch was tested + * @param method reffers to the method which was tested * @param result the result of testing the method * * @return the result value @@ -85,4 +85,4 @@ public class TestResult { return testedMethods.get( method ); } -}
\ No newline at end of file +} diff --git a/qadevOOo/runner/stats/Summarizer.java b/qadevOOo/runner/stats/Summarizer.java index dfd9a4f0b2ac..48478df9f618 100644 --- a/qadevOOo/runner/stats/Summarizer.java +++ b/qadevOOo/runner/stats/Summarizer.java @@ -23,7 +23,7 @@ import share.DescEntry; /** * - * this class summs up the results of the subentries of a given DescEntry<br> + * this class adds up the results of the subentries of a given DescEntry * and fills the subentries in cases of SKIPPED states */ public class Summarizer diff --git a/qadevOOo/runner/util/UITools.java b/qadevOOo/runner/util/UITools.java index 73603622063c..f72868e9bab1 100644 --- a/qadevOOo/runner/util/UITools.java +++ b/qadevOOo/runner/util/UITools.java @@ -72,7 +72,7 @@ public class UITools { } /** - * Helper mathod: set a text into AccessibleEdit field + * Helper method: set a text into AccessibleEdit field * @param textfiledName is the name of the text field * @param stringToSet is the string to set * @throws java.lang.Exception if something fail diff --git a/qadevOOo/runner/util/XMLTools.java b/qadevOOo/runner/util/XMLTools.java index 24438008b8a1..ea4a4fcd6ce6 100644 --- a/qadevOOo/runner/util/XMLTools.java +++ b/qadevOOo/runner/util/XMLTools.java @@ -508,7 +508,7 @@ public class XMLTools { /** * Checks if this tag matches tag passed in parameters. - * I.e. if tag specifies only its name it mathes if names + * I.e. if tag specifies only its name it matches if names * are equal (attributes don't make sense). If there are * some attributes names specified in this tag method checks * if all names present in attribute list <code>list</code> diff --git a/qadevOOo/runner/util/utils.java b/qadevOOo/runner/util/utils.java index a584b70d1d2c..9f15fa041dc7 100644 --- a/qadevOOo/runner/util/utils.java +++ b/qadevOOo/runner/util/utils.java @@ -250,7 +250,7 @@ public class utils { settingPath = (String) pthSettings.getPropertyValue(setting); } catch (Exception e) { - System.out.println("Couldn't get stting value for " + setting); + System.out.println("Couldn't get string value for " + setting); e.printStackTrace(); } return settingPath; diff --git a/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java b/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java index 2727633ecd9b..0d0841c397d5 100644 --- a/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java +++ b/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java @@ -395,7 +395,7 @@ public class CheckModuleAPI extends ComplexTestCase final String line = outs[i]; if (line.matches("[0-9]+? of [0-9]+? tests failed")) { - log.println("mached line: " + line); + log.println("matched line: " + line); if (line.matches("0 of [0-9]+? tests failed")) { ok = true; diff --git a/qadevOOo/tests/java/ifc/awt/tree/_XTreeNode.java b/qadevOOo/tests/java/ifc/awt/tree/_XTreeNode.java index 498a9ecb7019..971dab8ac3d2 100644 --- a/qadevOOo/tests/java/ifc/awt/tree/_XTreeNode.java +++ b/qadevOOo/tests/java/ifc/awt/tree/_XTreeNode.java @@ -117,7 +117,7 @@ public class _XTreeNode extends MultiMethodTest { mCount = oObj.getChildCount(); log.println("got count '" + mCount + "' of children"); if (mCount < 1 ) { - log.println("ERROR: got a count < 1. The test object must be support morw then zero children => FAILED"); + log.println("ERROR: got a count < 1. The test object must be support more then zero children => FAILED"); bOK = false; } tRes.tested("getChildCount()", bOK); diff --git a/qadevOOo/tests/java/ifc/beans/_XPropertyAccess.java b/qadevOOo/tests/java/ifc/beans/_XPropertyAccess.java index 965013336898..a2faae3de7e5 100644 --- a/qadevOOo/tests/java/ifc/beans/_XPropertyAccess.java +++ b/qadevOOo/tests/java/ifc/beans/_XPropertyAccess.java @@ -98,7 +98,7 @@ public class _XPropertyAccess extends MultiMethodTest { * <CODE>XPropertyAccess.propertyToChange</CODE> has changed</LI> * <li><CODE>com.sun.star.lang.IllegalArgumentException</CODE> was thrown if a <CODE>Integer</CODE> * value was set to a <CODE>String</CODE> property</LI> - * <li><CODE>com.sun.star.beans.UnknownPropertyException</CODE> was throen if an invalid property + * <li><CODE>com.sun.star.beans.UnknownPropertyException</CODE> was thrown if an invalid property * was set</LI> * </ul> */ @@ -112,7 +112,7 @@ public class _XPropertyAccess extends MultiMethodTest { PropertyValue[] newProps = new PropertyValue[1]; newProps[0] = propertyToChange; - log.println("try to set property vlaues given by object relation 'XPropertyAccess.propertyToChange'..."); + log.println("try to set property values given by object relation 'XPropertyAccess.propertyToChange'..."); oObj.setPropertyValues(newProps); } catch (UnknownPropertyException ex) { diff --git a/qadevOOo/tests/java/ifc/beans/_XPropertyState.java b/qadevOOo/tests/java/ifc/beans/_XPropertyState.java index d062af962683..b7df9cc7c23a 100644 --- a/qadevOOo/tests/java/ifc/beans/_XPropertyState.java +++ b/qadevOOo/tests/java/ifc/beans/_XPropertyState.java @@ -186,7 +186,7 @@ public class _XPropertyState extends MultiMethodTest { result = false ; } else { if (ps.length != 1) { - log.println("!!! Array lebgth returned is invalid - " + + log.println("!!! Array length returned is invalid - " + ps.length) ; result = false ; } diff --git a/qadevOOo/tests/java/ifc/datatransfer/_XDataFormatTranslator.java b/qadevOOo/tests/java/ifc/datatransfer/_XDataFormatTranslator.java index 15bd2455ac17..3790b739f54b 100644 --- a/qadevOOo/tests/java/ifc/datatransfer/_XDataFormatTranslator.java +++ b/qadevOOo/tests/java/ifc/datatransfer/_XDataFormatTranslator.java @@ -52,7 +52,7 @@ public class _XDataFormatTranslator extends MultiMethodTest { /** * Gets data flavour from system data type, which was gotten * from 'text/html' MIME type. <p> - * Has <b>OK</b> status if DataFlavour returned has 'text/hrml' MIME + * Has <b>OK</b> status if DataFlavour returned has 'text/html' MIME * type. */ public void _getDataFlavorFromSystemDataType() { diff --git a/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboardNotifier.java b/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboardNotifier.java index 5b6299e88b36..de60d1b879b2 100644 --- a/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboardNotifier.java +++ b/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboardNotifier.java @@ -65,7 +65,7 @@ public class _XClipboardNotifier extends MultiMethodTest { /** * Simpliest <code>XTransferable</code> interface implementation - * which supports "text/htmp" data type. + * which supports "text/html" data type. */ class MyTransferable implements XTransferable { DataFlavor[] supportedFlavors; diff --git a/qadevOOo/tests/java/ifc/frame/_XModuleManager.java b/qadevOOo/tests/java/ifc/frame/_XModuleManager.java index 48987e6e941d..cc8d84279f0f 100644 --- a/qadevOOo/tests/java/ifc/frame/_XModuleManager.java +++ b/qadevOOo/tests/java/ifc/frame/_XModuleManager.java @@ -100,7 +100,7 @@ public class _XModuleManager extends MultiMethodTest { (Status.failed("Relation 'xModelSeq' not found.")) ; } - /** The method <CODE>identify()</CODE> was tesed for every entry in sequeze of + /** The method <CODE>identify()</CODE> was used for every entry in sequeze of * object relations. */ public void _identify() { diff --git a/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java b/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java index a2776ce3aaaa..322138d11215 100755 --- a/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java +++ b/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java @@ -62,7 +62,7 @@ public class _XSynchronousFrameLoader extends MultiMethodTest { /** * Retrieves all relations. If optional relation * <code>FrameLoader.Frame</code> not found - * creates a new document and otains its frame for loading. <p> + * creates a new document and obtains its frame for loading. <p> * * Also <code>MediaDescriptor</code> is created using * URL from <code>FrameLoader.URL</code> relation. @@ -83,7 +83,7 @@ public class _XSynchronousFrameLoader extends MultiMethodTest { XURLTransformer xURLTrans = null; - // if frame is not contained in relations the writer frmame will be used. + // if frame is not contained in relations the writer frame will be used. if (frame == null) { try { log.println( "creating a textdocument" ); diff --git a/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java b/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java index 004b0144eff1..277ba56fe667 100644 --- a/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java +++ b/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java @@ -202,7 +202,7 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest { /** * Helper class to handle the phonetic equivalence of unicode characters - * This class delivers an amount oif unicode characters and the equivalent phonetics + * This class delivers an amount of unicode characters and the equivalent phonetics * for the "getPhoneticCandidate" test. Euivalents are only usable for zh,CN locale. */ public static class UnicodeStringPair { diff --git a/qadevOOo/tests/java/ifc/sdbcx/_XDeleteRows.java b/qadevOOo/tests/java/ifc/sdbcx/_XDeleteRows.java index 1e412f27f5c4..af79864a52c8 100644 --- a/qadevOOo/tests/java/ifc/sdbcx/_XDeleteRows.java +++ b/qadevOOo/tests/java/ifc/sdbcx/_XDeleteRows.java @@ -43,7 +43,7 @@ public class _XDeleteRows extends MultiMethodTest { * Retrieves bookmark using XRowLocate and deletes * row pointed by this bookmark. <p> * Has OK status if number of rows after deleting is less than before - * and no exception rizes while method call, FAILED otherwise. <p> + * and no exception rises while method call, FAILED otherwise. <p> */ public void _deleteRows() { XRowLocate xRowLocate = UnoRuntime.queryInterface(XRowLocate.class, oObj); diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetOperation.java b/qadevOOo/tests/java/ifc/sheet/_XSheetOperation.java index 222f60bd6e78..e01ac2e5fd62 100644 --- a/qadevOOo/tests/java/ifc/sheet/_XSheetOperation.java +++ b/qadevOOo/tests/java/ifc/sheet/_XSheetOperation.java @@ -70,7 +70,7 @@ public class _XSheetOperation extends MultiMethodTest { /** * Test calls the method and checks returned value. <p> - * Has <b> OK </b> status if returned value is equal or greate than zero + * Has <b> OK </b> status if returned value is equal or greater than zero * and no exceptions were thrown. <p> */ public void _computeFunction() { diff --git a/qadevOOo/tests/java/ifc/table/_XTableChart.java b/qadevOOo/tests/java/ifc/table/_XTableChart.java index d6efc5265050..1730d9f96076 100644 --- a/qadevOOo/tests/java/ifc/table/_XTableChart.java +++ b/qadevOOo/tests/java/ifc/table/_XTableChart.java @@ -83,7 +83,7 @@ public class _XTableChart extends MultiMethodTest { /** * Test calls the method and stores the range returned. <p> * Has <b> OK </b> status if the method returns not - * <code>null</code> valuie. <p> + * <code>null</code> value. <p> */ public void _getRanges() { the_Ranges = oObj.getRanges(); diff --git a/qadevOOo/tests/java/ifc/ucb/_XCommandProcessor.java b/qadevOOo/tests/java/ifc/ucb/_XCommandProcessor.java index d270850d78ca..72bc0250523b 100644 --- a/qadevOOo/tests/java/ifc/ucb/_XCommandProcessor.java +++ b/qadevOOo/tests/java/ifc/ucb/_XCommandProcessor.java @@ -170,7 +170,7 @@ public class _XCommandProcessor extends MultiMethodTest { * The following method tests are to be completed successfully before : * <ul> * <li> <code> createCommandIdentifier() </code> : to have a unique - * identifier which is used to abourt started command. </li> + * identifier which is used to abort started command. </li> * </ul> */ public void _abort() { diff --git a/qadevOOo/tests/java/ifc/view/_XFormLayerAccess.java b/qadevOOo/tests/java/ifc/view/_XFormLayerAccess.java index 01228465caea..f6dfeb53a77b 100644 --- a/qadevOOo/tests/java/ifc/view/_XFormLayerAccess.java +++ b/qadevOOo/tests/java/ifc/view/_XFormLayerAccess.java @@ -60,7 +60,7 @@ public class _XFormLayerAccess extends MultiMethodTest { } /** - * Test disables the FormDesignMode and calls the mthod. <p> + * Test disables the FormDesignMode and calls the method. <p> * Has <b> OK </b> status if the method returns * a not empty object of kind of com.sun.star.form.XFormController<P> * The following method tests are to be completed successfully before : diff --git a/qadevOOo/tests/java/mod/_sw/SwXStyle.java b/qadevOOo/tests/java/mod/_sw/SwXStyle.java index 4bf2823be153..6a01b029e115 100644 --- a/qadevOOo/tests/java/mod/_sw/SwXStyle.java +++ b/qadevOOo/tests/java/mod/_sw/SwXStyle.java @@ -97,7 +97,7 @@ public class SwXStyle extends TestCase { * Object relations created : * <ul> * <li> <code>'PoolStyle'</code> for - * {@link ifc.style._XStyle} : slyle indexed '10' obtained from + * {@link ifc.style._XStyle} : style indexed '10' obtained from * StyleFamily indexed '0' from text document using * <code>XIndexAccess</code> interface.</li> * </ul> |