summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Giffuni <pfg@apache.org>2014-04-29 19:05:05 +0000
committerPedro Giffuni <pfg@apache.org>2014-04-29 19:05:05 +0000
commita6efc99d19d533fcf53106b6667bafba4d364370 (patch)
treeef4148e08d491e7e2077c8c5f4c2b93170ad56a5
parent86642be54bf5914da333a4e0784ad939f63d83bc (diff)
Many spelling fixes: directories a* - g*.
Attempt to clean up most but certainly not all the spelling mistakes that found home in OpenOffice through decades. We could probably blame the international nature of the code but it is somewhat shameful that this wasn't done before.
Notes
Notes: merged as: 0a1d822372927e3252f40b7a16590716ccc2eedd
-rw-r--r--accessibility/bridge/org/openoffice/java/accessibility/AccessibleTextImpl.java2
-rw-r--r--accessibility/bridge/org/openoffice/java/accessibility/Component.java2
-rw-r--r--accessibility/bridge/org/openoffice/java/accessibility/Container.java2
-rw-r--r--accessibility/bridge/org/openoffice/java/accessibility/DescendantManager.java2
-rw-r--r--accessibility/bridge/org/openoffice/java/accessibility/Dialog.java2
-rw-r--r--accessibility/bridge/org/openoffice/java/accessibility/Frame.java2
-rw-r--r--accessibility/bridge/org/openoffice/java/accessibility/List.java2
-rw-r--r--accessibility/bridge/org/openoffice/java/accessibility/Menu.java2
-rw-r--r--accessibility/bridge/org/openoffice/java/accessibility/Table.java2
-rw-r--r--accessibility/bridge/org/openoffice/java/accessibility/Tree.java2
-rw-r--r--accessibility/bridge/org/openoffice/java/accessibility/Window.java2
-rw-r--r--accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx8
-rw-r--r--accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx2
-rw-r--r--accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx2
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx4
-rw-r--r--accessibility/source/extended/accessibleiconchoicectrl.cxx2
-rw-r--r--accessibility/source/extended/accessibleiconchoicectrlentry.cxx2
-rw-r--r--accessibility/source/extended/accessiblelistboxentry.cxx2
-rw-r--r--accessibility/source/extended/accessibletablistbox.cxx2
-rw-r--r--accessibility/source/extended/accessibletablistboxtable.cxx2
-rw-r--r--accessibility/source/extended/textwindowaccessibility.cxx2
-rw-r--r--accessibility/workben/org/openoffice/accessibility/awb/canvas/Canvas.java2
-rw-r--r--accessibility/workben/org/openoffice/accessibility/misc/OfficeConnection.java2
-rw-r--r--animations/source/animcore/animcore.cxx4
-rw-r--r--apple_remote/AppleRemote.m4
-rwxr-xr-x[-rw-r--r--]apple_remote/RemoteMainController.m4
-rw-r--r--apple_remote/inc/MultiClickRemoteBehavior.h2
-rw-r--r--autodoc/inc/ary/cpp/c_gate.hxx2
-rw-r--r--autodoc/inc/ary/cpp/cp_ce.hxx2
-rw-r--r--autodoc/inc/ary/cpp/cp_def.hxx2
-rw-r--r--autodoc/inc/ary/cpp/cp_type.hxx2
-rw-r--r--autodoc/inc/ary/doc/d_parametrized.hxx2
-rw-r--r--autodoc/inc/ary/idl/i_type.hxx2
-rw-r--r--autodoc/source/ary/inc/cross_refs.hxx2
-rw-r--r--autodoc/source/ary/inc/sorted_idset.hxx2
-rw-r--r--autodoc/source/display/html/outfile.hxx2
-rw-r--r--autodoc/source/display/html/pagemake.cxx2
-rw-r--r--autodoc/source/display/idl/hi_env.hxx2
-rw-r--r--autodoc/source/parser/inc/tokens/tokproct.hxx2
-rw-r--r--autodoc/source/parser_i/inc/s2_luidl/tokproct.hxx2
-rw-r--r--autodoc/source/parser_i/inc/tokens/tkp2.hxx2
-rw-r--r--automation/inc/automation/commtypes.hxx2
-rw-r--r--automation/inc/automation/simplecm.hxx2
-rw-r--r--automation/source/server/recorder.cxx2
-rw-r--r--automation/source/server/recorder.hxx2
-rw-r--r--automation/source/server/statemnt.cxx2
-rw-r--r--automation/source/simplecm/packethandler.hxx2
-rw-r--r--automation/source/simplecm/simplecm.cxx2
-rw-r--r--avmedia/source/framework/soundhandler.cxx10
-rw-r--r--avmedia/source/framework/soundhandler.hxx2
-rw-r--r--basegfx/inc/basegfx/color/bcolormodifier.hxx4
-rw-r--r--basegfx/inc/basegfx/polygon/b2dpolygon.hxx2
-rw-r--r--basegfx/inc/basegfx/polygon/b2dpolygontools.hxx2
-rw-r--r--basegfx/inc/basegfx/range/rangeexpander.hxx2
-rw-r--r--basegfx/inc/basegfx/tools/keystoplerp.hxx4
-rw-r--r--basegfx/source/polygon/b2dpolygonclipper.cxx2
-rw-r--r--basegfx/source/polygon/b2dpolygontools.cxx6
-rw-r--r--basegfx/source/polygon/b2dsvgpolypolygon.cxx8
-rw-r--r--basegfx/source/raster/rasterconvert3d.cxx2
-rw-r--r--basegfx/source/workbench/gauss.hxx2
-rw-r--r--basic/inc/basic/sberrors.hxx2
-rw-r--r--basic/inc/basic/sbxdef.hxx2
-rw-r--r--basic/source/classes/sb.cxx2
-rw-r--r--basic/source/classes/sbunoobj.cxx14
-rw-r--r--basic/source/classes/sbxmod.cxx2
-rw-r--r--basic/source/comp/dim.cxx8
-rw-r--r--basic/source/comp/exprgen.cxx2
-rw-r--r--basic/source/runtime/runtime.cxx2
-rw-r--r--basic/source/runtime/step1.cxx4
-rw-r--r--basic/source/runtime/step2.cxx2
-rw-r--r--basic/source/sbx/sbxint.cxx8
-rw-r--r--basic/source/uno/namecont.cxx4
-rw-r--r--basic/workben/mgrtest.cxx22
-rw-r--r--bean/com/sun/star/beans/LocalOfficeConnection.java6
-rw-r--r--bean/com/sun/star/beans/LocalOfficeWindow.java4
-rw-r--r--bean/com/sun/star/comp/beans/LocalOfficeConnection.java6
-rw-r--r--bean/com/sun/star/comp/beans/LocalOfficeWindow.java4
-rw-r--r--bean/com/sun/star/comp/beans/OOoBean.java6
-rw-r--r--bean/com/sun/star/comp/beans/SystemWindowException.java2
-rw-r--r--bean/qa/complex/bean/OOoBeanTest.java2
-rw-r--r--bean/qa/complex/bean/WriterFrame.java2
-rwxr-xr-xbinaryurp/source/writer.cxx2
-rw-r--r--bridges/inc/bridges/cpp_uno/bridge.hxx2
-rw-r--r--bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx2
-rw-r--r--bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/cc50_solaris_intel/except.cxx4
-rw-r--r--bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/cc50_solaris_sparc/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx4
-rw-r--r--bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_freebsd_intel/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_freebsd_intel/except.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_freebsd_intel/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_alpha/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_arm/except.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_hppa/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_intel/except.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_m68k/except.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_m68k/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx6
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_mips/except.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_s390/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_s390x/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_sparc/except.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_macosx_intel/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_macosx_powerpc/cpp2uno.cxx6
-rw-r--r--bridges/source/cpp_uno/gcc3_macosx_powerpc/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_netbsd_intel/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_netbsd_intel/except.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_netbsd_intel/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_os2_intel/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_os2_intel/except.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_os2_intel/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_solaris_intel/except.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_solaris_sparc/except.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_solaris_sparc/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/mingw_intel/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/mingw_intel/except.cxx4
-rw-r--r--bridges/source/cpp_uno/mingw_intel/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/msvc_win32_intel/except.cxx2
-rw-r--r--bridges/source/cpp_uno/msvc_win32_intel/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/s5abi_macosx_x86-64/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/s5abi_macosx_x86-64/except.cxx4
-rw-r--r--bridges/source/cpp_uno/s5abi_macosx_x86-64/uno2cpp.cxx2
-rw-r--r--bridges/source/cpp_uno/shared/component.cxx2
-rw-r--r--bridges/source/jni_uno/jni_base.h2
-rw-r--r--bridges/source/jni_uno/jni_bridge.cxx2
-rw-r--r--bridges/source/jni_uno/jni_java2uno.cxx4
-rw-r--r--bridges/source/jni_uno/jni_uno2java.cxx8
-rw-r--r--canvas/inc/canvas/base/bitmapcanvasbase.hxx2
-rw-r--r--canvas/inc/canvas/base/bufferedgraphicdevicebase.hxx2
-rw-r--r--canvas/inc/canvas/base/canvasbase.hxx4
-rw-r--r--canvas/inc/canvas/base/canvascustomspritebase.hxx2
-rw-r--r--canvas/inc/canvas/base/doublebitmapbase.hxx2
-rw-r--r--canvas/inc/canvas/base/floatbitmapbase.hxx2
-rw-r--r--canvas/inc/canvas/base/graphicdevicebase.hxx2
-rw-r--r--canvas/inc/canvas/base/integerbitmapbase.hxx2
-rw-r--r--canvas/inc/canvas/base/spritecanvasbase.hxx2
-rwxr-xr-xcanvas/inc/canvas/canvastools.hxx4
-rw-r--r--canvas/inc/canvas/rendering/irendermodule.hxx2
-rw-r--r--canvas/source/cairo/cairo_canvasbitmap.cxx4
-rw-r--r--canvas/source/cairo/cairo_canvasfont.cxx2
-rw-r--r--canvas/source/cairo/cairo_canvashelper.cxx2
-rw-r--r--canvas/source/cairo/cairo_quartz_cairo.cxx2
-rw-r--r--canvas/source/cairo/cairo_textlayout.cxx4
-rw-r--r--canvas/source/cairo/cairo_win32_cairo.cxx4
-rw-r--r--canvas/source/cairo/cairo_xlib_cairo.cxx2
-rw-r--r--canvas/source/directx/dx_vcltools.cxx2
-rw-r--r--canvas/source/tools/pagemanager.cxx2
-rw-r--r--canvas/source/tools/surface.hxx2
-rw-r--r--canvas/source/tools/surfaceproxy.hxx2
-rw-r--r--canvas/source/vcl/canvasfont.cxx2
-rw-r--r--canvas/workben/canvasdemo.cxx2
-rwxr-xr-xchart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx2
-rwxr-xr-xchart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx2
-rw-r--r--chart2/source/controller/dialogs/DataBrowserModel.cxx2
-rw-r--r--chart2/source/controller/dialogs/ObjectNameProvider.cxx2
-rw-r--r--chart2/source/controller/main/ChartController.cxx2
-rw-r--r--chart2/source/inc/DataSeriesHelper.hxx2
-rw-r--r--chart2/source/inc/DiagramHelper.hxx2
-rw-r--r--chart2/source/inc/ObjectIdentifier.hxx2
-rw-r--r--chart2/source/tools/LifeTime.cxx4
-rw-r--r--chart2/source/tools/XMLRangeHelper.cxx2
-rw-r--r--chart2/source/view/axes/VCartesianAxis.cxx2
-rw-r--r--chart2/source/view/charttypes/Splines.cxx2
-rw-r--r--chart2/source/view/diagram/VDiagram.cxx6
-rw-r--r--chart2/source/view/inc/MinimumAndMaximumSupplier.hxx2
-rw-r--r--chart2/source/view/main/ChartView.cxx6
-rw-r--r--chart2/source/view/main/PlottingPositionHelper.cxx2
-rw-r--r--cli_ure/source/climaker/climaker_app.cxx2
-rw-r--r--cli_ure/source/native/makefile.mk2
-rw-r--r--cli_ure/source/native/native_bootstrap.cxx2
-rw-r--r--cli_ure/source/uno_bridge/cli_bridge.cxx4
-rw-r--r--cli_ure/source/uno_bridge/cli_data.cxx2
-rw-r--r--cli_ure/source/uno_bridge/cli_proxy.cxx2
-rw-r--r--cli_ure/source/uno_bridge/cli_uno.cxx4
-rw-r--r--codemaker/source/javamaker/javatype.cxx2
-rw-r--r--comphelper/inc/comphelper/IdPropArrayHelper.hxx2
-rw-r--r--comphelper/inc/comphelper/accessiblecontexthelper.hxx2
-rw-r--r--comphelper/inc/comphelper/accimplaccess.hxx2
-rw-r--r--comphelper/inc/comphelper/componentcontext.hxx8
-rw-r--r--comphelper/inc/comphelper/configurationhelper.hxx12
-rw-r--r--comphelper/inc/comphelper/containermultiplexer.hxx2
-rw-r--r--comphelper/inc/comphelper/docpasswordhelper.hxx8
-rw-r--r--comphelper/inc/comphelper/embeddedobjectcontainer.hxx4
-rw-r--r--comphelper/inc/comphelper/implementationreference.hxx2
-rw-r--r--comphelper/inc/comphelper/interaction.hxx2
-rw-r--r--comphelper/inc/comphelper/locale.hxx14
-rw-r--r--comphelper/inc/comphelper/mediadescriptor.hxx10
-rw-r--r--comphelper/inc/comphelper/numberedcollection.hxx8
-rw-r--r--comphelper/inc/comphelper/propagg.hxx12
-rw-r--r--comphelper/inc/comphelper/proparrhlp.hxx2
-rw-r--r--comphelper/inc/comphelper/property.hxx8
-rw-r--r--comphelper/inc/comphelper/seqstream.hxx4
-rw-r--r--comphelper/inc/comphelper/sequence.hxx2
-rw-r--r--comphelper/inc/comphelper/sequenceashashmap.hxx14
-rw-r--r--comphelper/inc/comphelper/sequenceasvector.hxx2
-rw-r--r--comphelper/inc/comphelper/string.hxx4
-rw-r--r--comphelper/source/container/embeddedobjectcontainer.cxx16
-rw-r--r--comphelper/source/container/enumerablemap.cxx2
-rw-r--r--comphelper/source/misc/accessiblecontexthelper.cxx2
-rw-r--r--comphelper/source/misc/asyncnotification.cxx2
-rw-r--r--comphelper/source/misc/locale.cxx4
-rw-r--r--comphelper/source/misc/mediadescriptor.cxx12
-rw-r--r--comphelper/source/misc/numberedcollection.cxx2
-rw-r--r--comphelper/source/misc/proxyaggregation.cxx2
-rw-r--r--comphelper/source/misc/scopeguard.cxx4
-rw-r--r--comphelper/source/misc/sequenceashashmap.cxx4
-rw-r--r--configure.in10
-rw-r--r--connectivity/inc/connectivity/FValue.hxx2
-rw-r--r--connectivity/inc/connectivity/dbmetadata.hxx2
-rw-r--r--connectivity/inc/connectivity/dbtools.hxx10
-rw-r--r--connectivity/inc/connectivity/parameters.hxx4
-rw-r--r--connectivity/inc/connectivity/sdbcx/VCatalog.hxx2
-rw-r--r--connectivity/inc/connectivity/sqlerror.hxx8
-rw-r--r--connectivity/inc/connectivity/sqliterator.hxx8
-rw-r--r--connectivity/inc/connectivity/sqlnode.hxx4
-rw-r--r--connectivity/inc/connectivity/virtualdbtools.hxx2
-rw-r--r--connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java2
-rw-r--r--connectivity/qa/complex/connectivity/hsqldb/DatabaseMetaData.java2
-rw-r--r--connectivity/source/commontools/TSkipDeletedSet.cxx2
-rw-r--r--connectivity/source/commontools/parameters.cxx10
-rw-r--r--connectivity/source/cpool/ZConnectionPool.hxx2
-rw-r--r--connectivity/source/cpool/ZPoolCollection.hxx2
-rw-r--r--connectivity/source/drivers/ado/ADatabaseMetaDataResultSet.cxx2
-rw-r--r--connectivity/source/drivers/ado/AResultSet.cxx2
-rw-r--r--connectivity/source/drivers/dbase/DTable.cxx2
-rw-r--r--connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx2
-rw-r--r--connectivity/source/drivers/evoab2/NDriver.hxx2
-rw-r--r--connectivity/source/drivers/evoab2/NStatement.cxx2
-rw-r--r--connectivity/source/drivers/file/FPreparedStatement.cxx2
-rw-r--r--connectivity/source/drivers/jdbc/DatabaseMetaData.cxx16
-rw-r--r--connectivity/source/drivers/jdbc/JDriver.cxx2
-rw-r--r--connectivity/source/drivers/kab/KStatement.cxx2
-rw-r--r--connectivity/source/drivers/macab/MacabRecords.cxx2
-rw-r--r--connectivity/source/drivers/macab/MacabStatement.cxx2
-rw-r--r--connectivity/source/inc/TSkipDeletedSet.hxx2
-rw-r--r--connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx2
-rw-r--r--connectivity/source/inc/file/FNumericFunctions.hxx2
-rw-r--r--connectivity/source/inc/file/FResultSet.hxx2
-rw-r--r--connectivity/source/inc/file/FStatement.hxx2
-rw-r--r--connectivity/source/inc/flat/ETable.hxx2
-rw-r--r--connectivity/source/inc/java/ContextClassLoader.hxx2
-rw-r--r--connectivity/source/inc/java/tools.hxx4
-rw-r--r--connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx2
-rw-r--r--connectivity/source/parse/sqlnode.cxx4
-rw-r--r--connectivity/workben/skeleton/SResultSet.hxx2
-rw-r--r--connectivity/workben/skeleton/how_to_write_a_driver.txt2
-rw-r--r--cosv/inc/cosv/persist.hxx2
-rw-r--r--cosv/inc/cosv/ploc_dir.hxx2
-rw-r--r--cosv/inc/cosv/tpl/dyn.hxx2
-rw-r--r--cppu/inc/uno/threadpool.h4
-rw-r--r--cppu/source/LogBridge/LogBridge.cxx2
-rw-r--r--cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx2
-rw-r--r--cppu/source/threadpool/threadpool.hxx2
-rw-r--r--cppu/source/uno/data.cxx2
-rw-r--r--cppu/source/uno/lbmap.cxx2
-rw-r--r--cppuhelper/inc/cppuhelper/compbase_ex.hxx2
-rw-r--r--cppuhelper/inc/cppuhelper/propshlp.hxx8
-rw-r--r--cppuhelper/source/bootstrap.cxx2
-rw-r--r--cppuhelper/source/component.cxx2
-rw-r--r--cppuhelper/source/component_context.cxx4
-rw-r--r--cppuhelper/source/findsofficepath.c6
-rw-r--r--cppuhelper/source/propshlp.cxx6
-rw-r--r--cppuhelper/source/servicefactory.cxx4
-rw-r--r--cppuhelper/test/testhelper.cxx2
-rw-r--r--cpputools/source/registercomponent/registercomponent.cxx2
-rw-r--r--crashrep/source/unx/main.cxx2
-rw-r--r--crashrep/source/win32/soreport.cpp2
-rw-r--r--cui/source/customize/acccfg.cxx2
-rw-r--r--cui/source/customize/cfg.cxx4
-rw-r--r--cui/source/dialogs/SpellDialog.cxx2
-rw-r--r--cui/source/dialogs/about.cxx2
-rw-r--r--cui/source/dialogs/commonlingui.hxx2
-rw-r--r--cui/source/dialogs/scriptdlg.cxx2
-rw-r--r--cui/source/dialogs/showcols.cxx4
-rw-r--r--cui/source/inc/cuihyperdlg.hxx2
-rw-r--r--cui/source/inc/cuitabline.hxx2
-rw-r--r--cui/source/inc/transfrm.hxx2
-rw-r--r--cui/source/options/optsave.src2
-rw-r--r--cui/source/tabpages/tpline.cxx2
-rw-r--r--cui/source/tabpages/transfrm.cxx2
-rw-r--r--dbaccess/qa/complex/dbaccess/DatabaseDocument.java2
-rw-r--r--dbaccess/source/core/api/CacheSet.cxx6
-rw-r--r--dbaccess/source/core/api/KeySet.cxx2
-rw-r--r--dbaccess/source/core/api/RowSet.cxx2
-rw-r--r--dbaccess/source/core/api/RowSet.hxx4
-rw-r--r--dbaccess/source/core/api/RowSetBase.cxx2
-rw-r--r--dbaccess/source/core/api/RowSetBase.hxx4
-rw-r--r--dbaccess/source/core/api/RowSetCache.cxx4
-rw-r--r--dbaccess/source/core/api/definitioncolumn.cxx2
-rw-r--r--dbaccess/source/core/api/query.cxx2
-rw-r--r--dbaccess/source/core/api/querycomposer.cxx2
-rw-r--r--dbaccess/source/core/api/querycontainer.cxx2
-rw-r--r--dbaccess/source/core/dataaccess/ComponentDefinition.cxx2
-rw-r--r--dbaccess/source/core/dataaccess/ModelImpl.hxx2
-rw-r--r--dbaccess/source/core/dataaccess/connection.cxx2
-rw-r--r--dbaccess/source/core/dataaccess/databasedocument.cxx2
-rw-r--r--dbaccess/source/core/dataaccess/databasedocument.hxx2
-rw-r--r--dbaccess/source/core/dataaccess/datasource.cxx8
-rw-r--r--dbaccess/source/core/misc/DatabaseDataProvider.cxx2
-rw-r--r--dbaccess/source/ext/adabas/Acomponentmodule.hxx2
-rw-r--r--dbaccess/source/filter/xml/xmlfilter.cxx2
-rw-r--r--dbaccess/source/ui/app/AppController.hxx6
-rw-r--r--dbaccess/source/ui/app/AppControllerDnD.cxx6
-rw-r--r--dbaccess/source/ui/app/AppDetailPageHelper.hxx2
-rw-r--r--dbaccess/source/ui/app/AppDetailView.cxx2
-rw-r--r--dbaccess/source/ui/browser/brwctrlr.cxx4
-rw-r--r--dbaccess/source/ui/browser/genericcontroller.cxx4
-rw-r--r--dbaccess/source/ui/browser/sbagrid.cxx2
-rw-r--r--dbaccess/source/ui/browser/unodatbr.cxx10
-rw-r--r--dbaccess/source/ui/control/dbtreelistbox.cxx2
-rw-r--r--dbaccess/source/ui/control/tabletree.cxx2
-rw-r--r--dbaccess/source/ui/dlg/AdabasStat.hxx2
-rw-r--r--dbaccess/source/ui/dlg/ConnectionPage.hxx2
-rw-r--r--dbaccess/source/ui/dlg/DbAdminImpl.hxx2
-rw-r--r--dbaccess/source/ui/dlg/UserAdmin.cxx2
-rw-r--r--dbaccess/source/ui/dlg/adminpages.hxx8
-rw-r--r--dbaccess/source/ui/dlg/advancedsettings.cxx2
-rw-r--r--dbaccess/source/ui/dlg/dbadmin.cxx2
-rw-r--r--dbaccess/source/ui/dlg/directsql.cxx2
-rw-r--r--dbaccess/source/ui/dlg/generalpage.cxx2
-rw-r--r--dbaccess/source/ui/dlg/generalpage.hxx2
-rw-r--r--dbaccess/source/ui/dlg/tablespage.cxx4
-rw-r--r--dbaccess/source/ui/inc/JoinTableView.hxx4
-rw-r--r--dbaccess/source/ui/inc/TableController.hxx4
-rw-r--r--dbaccess/source/ui/inc/UITools.hxx8
-rw-r--r--dbaccess/source/ui/inc/brwctrlr.hxx4
-rw-r--r--dbaccess/source/ui/inc/datasourcemap.hxx2
-rw-r--r--dbaccess/source/ui/inc/dbadmin.hxx2
-rw-r--r--dbaccess/source/ui/inc/dbwiz.hxx2
-rw-r--r--dbaccess/source/ui/inc/dbwizsetup.hxx2
-rw-r--r--dbaccess/source/ui/inc/dsitems.hxx2
-rw-r--r--dbaccess/source/ui/inc/sbagrid.hxx2
-rw-r--r--dbaccess/source/ui/misc/TokenWriter.cxx2
-rw-r--r--dbaccess/source/ui/misc/UITools.cxx2
-rw-r--r--dbaccess/source/ui/misc/indexcollection.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/JoinTableView.cxx4
-rw-r--r--dbaccess/source/ui/querydesign/QueryDesignView.cxx8
-rw-r--r--dbaccess/source/ui/querydesign/QueryTableView.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx4
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx10
-rw-r--r--dbaccess/source/ui/querydesign/TableWindow.cxx4
-rw-r--r--dbaccess/source/ui/querydesign/TableWindowAccess.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/querycontroller.cxx2
-rw-r--r--dbaccess/source/ui/relationdesign/RelationTableView.cxx2
-rw-r--r--dbaccess/source/ui/tabledesign/TableController.cxx6
-rw-r--r--dbaccess/source/ui/uno/copytablewizard.cxx8
-rw-r--r--desktop/source/app/app.cxx18
-rw-r--r--desktop/source/app/appinit.cxx2
-rw-r--r--desktop/source/app/dispatchwatcher.cxx2
-rw-r--r--desktop/source/app/dispatchwatcher.hxx2
-rw-r--r--desktop/source/app/langselect.cxx2
-rw-r--r--desktop/source/app/officeipcthread.cxx6
-rw-r--r--desktop/source/deployment/inc/dp_descriptioninfoset.hxx4
-rw-r--r--desktop/source/deployment/manager/dp_extensionmanager.cxx6
-rw-r--r--desktop/source/deployment/misc/dp_descriptioninfoset.cxx2
-rw-r--r--desktop/source/deployment/misc/dp_misc.cxx2
-rw-r--r--desktop/source/deployment/misc/dp_resource.cxx2
-rw-r--r--desktop/source/deployment/misc/dp_ucb.cxx2
-rw-r--r--desktop/source/deployment/registry/configuration/dp_configuration.cxx2
-rw-r--r--desktop/source/deployment/registry/dp_backend.cxx2
-rw-r--r--desktop/source/deployment/registry/help/dp_help.cxx2
-rw-r--r--desktop/source/deployment/registry/inc/dp_backenddb.hxx2
-rw-r--r--desktop/source/deployment/registry/package/dp_package.cxx4
-rw-r--r--desktop/source/migration/cfgfilter.cxx2
-rwxr-xr-xdesktop/source/migration/migration.cxx2
-rw-r--r--desktop/source/migration/services/jvmfwk.cxx2
-rw-r--r--desktop/source/splash/splash.cxx2
-rw-r--r--desktop/win32/source/QuickStart/QuickStart.cpp2
-rw-r--r--desktop/win32/source/applauncher/launcher.cxx2
-rw-r--r--desktop/win32/source/setup/setup.cpp4
-rw-r--r--desktop/win32/source/wrapper.h4
-rw-r--r--drawinglayer/inc/drawinglayer/primitive2d/baseprimitive2d.hxx4
-rw-r--r--drawinglayer/inc/drawinglayer/primitive2d/metafileprimitive2d.hxx2
-rw-r--r--drawinglayer/inc/drawinglayer/primitive2d/modifiedcolorprimitive2d.hxx2
-rw-r--r--drawinglayer/inc/drawinglayer/primitive2d/pointarrayprimitive2d.hxx2
-rw-r--r--drawinglayer/inc/drawinglayer/primitive2d/polygonprimitive2d.hxx2
-rw-r--r--drawinglayer/inc/drawinglayer/primitive2d/polypolygonprimitive2d.hxx2
-rw-r--r--drawinglayer/inc/drawinglayer/primitive3d/polygonprimitive3d.hxx2
-rw-r--r--drawinglayer/inc/drawinglayer/primitive3d/polypolygonprimitive3d.hxx2
-rw-r--r--drawinglayer/source/primitive2d/metafileprimitive2d.cxx6
-rw-r--r--drawinglayer/source/processor2d/contourextractor2d.cxx6
-rw-r--r--drawinglayer/source/processor2d/hittestprocessor2d.cxx6
-rw-r--r--drawinglayer/source/processor2d/linegeometryextractor2d.cxx2
-rw-r--r--drawinglayer/source/processor2d/textaspolygonextractor2d.cxx4
-rw-r--r--drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx4
-rw-r--r--drawinglayer/source/processor2d/vclpixelprocessor2d.cxx2
-rw-r--r--drawinglayer/source/processor2d/vclprocessor2d.cxx6
-rw-r--r--drawinglayer/source/processor3d/geometry2dextractor.cxx2
-rw-r--r--dtrans/source/cnttype/wbench/testcnttype.cxx2
-rw-r--r--dtrans/source/inc/MtaOleClipb.hxx2
-rw-r--r--dtrans/source/win32/clipb/WinClipbImpl.cxx2
-rw-r--r--dtrans/source/win32/clipb/WinClipboard.cxx2
-rw-r--r--dtrans/source/win32/dtobj/DataFmtTransl.cxx2
-rw-r--r--dtrans/source/win32/mtaole/MtaOleClipb.cxx2
-rw-r--r--dtrans/source/win32/workbench/test_wincb.cxx2
-rw-r--r--editeng/inc/editeng/AccessibleContextBase.hxx2
-rw-r--r--editeng/inc/editeng/AccessibleStaticTextBase.hxx2
-rw-r--r--editeng/inc/editeng/editdata.hxx2
-rw-r--r--editeng/inc/editeng/hangulhanja.hxx2
-rw-r--r--editeng/inc/editeng/unoedsrc.hxx2
-rw-r--r--editeng/source/accessibility/AccessibleEditableTextPara.cxx2
-rw-r--r--editeng/source/accessibility/AccessibleStaticTextBase.cxx2
-rw-r--r--editeng/source/editeng/editeng.cxx2
-rw-r--r--editeng/source/editeng/editobj.cxx2
-rw-r--r--editeng/source/editeng/editview.cxx2
-rw-r--r--editeng/source/editeng/eehtml.cxx2
-rw-r--r--editeng/source/editeng/impedit.cxx2
-rw-r--r--editeng/source/editeng/impedit2.cxx4
-rw-r--r--editeng/source/editeng/impedit3.cxx14
-rw-r--r--editeng/source/editeng/impedit4.cxx6
-rw-r--r--editeng/source/editeng/textconv.hxx2
-rw-r--r--editeng/source/misc/hangulhanja.cxx2
-rw-r--r--editeng/source/misc/unolingu.cxx2
-rw-r--r--embeddedobj/source/commonembedding/persistence.cxx8
-rw-r--r--embeddedobj/source/general/dummyobject.cxx2
-rw-r--r--embeddedobj/source/inc/commonembobj.hxx4
-rw-r--r--embeddedobj/source/msole/olecomponent.cxx10
-rw-r--r--embeddedobj/source/msole/oleembed.cxx2
-rw-r--r--embeddedobj/source/msole/olepersist.cxx6
-rw-r--r--embeddedobj/test/Container1/EmbedContApp.java4
-rw-r--r--embeddedobj/test/Container1/NativeView.java12
-rw-r--r--embeddedobj/test/MainThreadExecutor/xexecutor.cxx2
-rw-r--r--embedserv/source/embed/docholder.cxx4
-rw-r--r--embedserv/source/embed/ed_ioleobject.cxx2
-rw-r--r--extensions/source/bibliography/framectr.cxx2
-rw-r--r--extensions/source/inc/componentmodule.hxx2
-rw-r--r--extensions/source/logging/loghandler.hxx4
-rw-r--r--extensions/source/macosx/spotlight/OOoContentDataParser.m2
-rw-r--r--extensions/source/macosx/spotlight/unzip.h4
-rw-r--r--extensions/source/macosx/spotlight/unzip.m6
-rw-r--r--extensions/source/ole/unoconversionutilities.hxx6
-rw-r--r--extensions/source/ole/unoobjw.cxx6
-rw-r--r--extensions/source/oooimprovement/myconfigurationhelper.hxx8
-rw-r--r--extensions/source/propctrlr/browserlistbox.cxx2
-rw-r--r--extensions/source/propctrlr/cellbindinghandler.hxx2
-rw-r--r--extensions/source/propctrlr/cellbindinghelper.hxx6
-rw-r--r--extensions/source/propctrlr/eventhandler.cxx2
-rw-r--r--extensions/source/propctrlr/eventhandler.hxx6
-rw-r--r--extensions/source/propctrlr/fontdialog.cxx2
-rw-r--r--extensions/source/propctrlr/formcomponenthandler.cxx2
-rw-r--r--extensions/source/propctrlr/formcomponenthandler.hxx2
-rw-r--r--extensions/source/propctrlr/pcrcomponentcontext.hxx4
-rw-r--r--extensions/source/scanner/twain.cxx2
-rw-r--r--extensions/source/update/check/download.cxx2
-rw-r--r--extensions/source/update/check/updatecheck.cxx2
-rwxr-xr-xextensions/source/update/check/updatecheckconfig.hxx4
-rw-r--r--extensions/source/update/ui/updatecheckui.cxx2
-rw-r--r--extensions/test/ole/OleConverterVar1/convTest.cxx2
-rw-r--r--extensions/test/ole/StarBasic_OleClient/oleclient.bas2
-rw-r--r--external/mingwheaders/mingw_atl_headers.patch4
-rw-r--r--extras/source/misc_config/wizard/web/layouts/frame_bottom/tocframe.html.xsl2
-rw-r--r--extras/source/misc_config/wizard/web/layouts/frame_left/tocframe.html.xsl2
-rw-r--r--extras/source/misc_config/wizard/web/layouts/frame_right/tocframe.html.xsl2
-rw-r--r--extras/source/misc_config/wizard/web/layouts/frame_top/tocframe.html.xsl2
-rw-r--r--extras/source/misc_config/wizard/web/layouts/layout.xsl4
-rw-r--r--extras/source/misc_config/wizard/web/layouts/layoutF.xsl2
-rw-r--r--extras/source/misc_config/wizard/web/layouts/layoutX.xsl4
-rwxr-xr-x[-rw-r--r--]extras/source/misc_config/wizard/web/layouts/simple/index.html.xsl2
-rw-r--r--extras/source/misc_config/wizard/web/layouts/source.xml.xsl2
-rw-r--r--extras/source/misc_config/wizard/web/layouts/table_2/index.html.xsl4
-rw-r--r--extras/source/misc_config/wizard/web/layouts/table_3/index.html.xsl4
-rw-r--r--extras/source/misc_config/wizard/web/layouts/zigzag/index.html.xsl2
-rw-r--r--fileaccess/source/FileAccess.cxx16
-rw-r--r--filter/inc/filter/msfilter/escherex.hxx2
-rw-r--r--filter/inc/filter/msfilter/mscodec.hxx4
-rw-r--r--filter/inc/filter/msfilter/msocximex.hxx4
-rw-r--r--filter/inc/filter/msfilter/svxmsbas.hxx2
-rw-r--r--filter/qa/complex/filter/detection/typeDetection/Helper.java6
-rw-r--r--filter/qa/complex/filter/misc/FinalizedMandatoryTest.java2
-rw-r--r--filter/source/config/cache/basecontainer.cxx22
-rw-r--r--filter/source/config/cache/basecontainer.hxx12
-rw-r--r--filter/source/config/cache/cacheitem.hxx10
-rw-r--r--filter/source/config/cache/configflush.cxx4
-rw-r--r--filter/source/config/cache/constant.hxx4
-rw-r--r--filter/source/config/cache/contenthandlerfactory.cxx2
-rw-r--r--filter/source/config/cache/filtercache.cxx80
-rw-r--r--filter/source/config/cache/filtercache.hxx56
-rw-r--r--filter/source/config/cache/filterfactory.cxx22
-rw-r--r--filter/source/config/cache/frameloaderfactory.cxx2
-rw-r--r--filter/source/config/cache/lateinitlistener.cxx2
-rw-r--r--filter/source/config/cache/querytokenizer.hxx4
-rw-r--r--filter/source/config/cache/typedetection.cxx32
-rw-r--r--filter/source/config/cache/typedetection.hxx24
-rw-r--r--filter/source/config/cache/versions.hxx2
-rw-r--r--filter/source/config/fragments/makefile.mk2
-rwxr-xr-xfilter/source/config/tools/merge/pyAltFCFGMerge4
-rw-r--r--filter/source/config/tools/split/FCFGSplit.java4
-rw-r--r--filter/source/config/tools/split/Splitter.java2
-rw-r--r--filter/source/flash/swfdialog.cxx2
-rw-r--r--filter/source/flash/swffilter.cxx2
-rw-r--r--filter/source/flash/swfwriter.cxx2
-rw-r--r--filter/source/flash/swfwriter1.cxx16
-rw-r--r--filter/source/graphicfilter/ieps/ieps.cxx2
-rw-r--r--filter/source/msfilter/countryid.cxx2
-rw-r--r--filter/source/msfilter/dffpropset.cxx2
-rw-r--r--filter/source/msfilter/msdffimp.cxx6
-rw-r--r--filter/source/msfilter/msocximex.cxx14
-rw-r--r--filter/source/msfilter/msvbahelper.cxx2
-rw-r--r--filter/source/msfilter/svxmsbas.cxx2
-rw-r--r--filter/source/xmlfilterdetect/filterdetect.cxx2
-rw-r--r--filter/source/xslt/common/math.xsl2
-rw-r--r--filter/source/xslt/export/spreadsheetml/ooo2spreadsheetml.xsl2
-rw-r--r--filter/source/xslt/export/spreadsheetml/table.xsl2
-rw-r--r--filter/source/xslt/export/wordml/ooo2wordml_draw.xsl2
-rw-r--r--filter/source/xslt/export/wordml/ooo2wordml_field.xsl2
-rw-r--r--filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl2
-rw-r--r--filter/source/xslt/import/uof2/uof2odf.xsl6
-rw-r--r--filter/source/xslt/import/wordml/wordml2ooo.xsl2
-rw-r--r--filter/source/xslt/import/wordml/wordml2ooo_draw.xsl2
-rw-r--r--filter/source/xslt/import/wordml/wordml2ooo_path.xsl10
-rw-r--r--filter/source/xslt/odf2xhtml/export/common/table/table_cells.xsl10
-rw-r--r--filter/source/xslt/odf2xhtml/export/common/table/table_rows.xsl2
-rw-r--r--filter/source/xslt/odf2xhtml/export/common/table_of_content.xsl2
-rw-r--r--filter/source/xslt/odf2xhtml/export/xhtml/body.xsl8
-rw-r--r--filter/source/xslt/odf2xhtml/export/xhtml/opendoc2xhtml.xsl2
-rw-r--r--filter/source/xsltdialog/xmlfiltertestdialog.cxx2
-rw-r--r--filter/source/xsltfilter/com/sun/star/comp/xsltfilter/Base64.java4
-rw-r--r--forms/qa/complex/forms/CheckOGroupBoxModel.java6
-rw-r--r--forms/source/component/Columns.cxx2
-rw-r--r--forms/source/component/DatabaseForm.cxx4
-rw-r--r--forms/source/component/FormComponent.cxx6
-rw-r--r--forms/source/component/ListBox.cxx2
-rw-r--r--forms/source/component/RadioButton.hxx2
-rw-r--r--forms/source/component/clickableimage.cxx2
-rw-r--r--forms/source/component/propertybaghelper.cxx2
-rw-r--r--forms/source/inc/FormComponent.hxx4
-rw-r--r--forms/source/richtext/richtextcontrol.cxx4
-rw-r--r--forms/source/richtext/richtextcontrol.hxx2
-rw-r--r--forms/source/richtext/richtextimplcontrol.cxx6
-rw-r--r--forms/source/solar/component/navbarcontrol.cxx4
-rw-r--r--forms/source/solar/component/navbarcontrol.hxx2
-rw-r--r--forms/source/solar/inc/navtoolbar.hxx2
-rw-r--r--forms/source/xforms/binding.cxx4
-rw-r--r--forms/source/xforms/convert.hxx2
-rw-r--r--forms/source/xforms/datatypes.hxx4
-rw-r--r--forms/source/xforms/model.cxx2
-rw-r--r--forms/source/xforms/model_ui.cxx2
-rw-r--r--formula/source/core/api/token.cxx2
-rw-r--r--fpicker/source/aqua/SalAquaFilePicker.cxx2
-rw-r--r--fpicker/source/aqua/SalAquaFolderPicker.cxx2
-rw-r--r--fpicker/source/office/OfficeFilePicker.cxx2
-rw-r--r--fpicker/source/office/fpinteraction.cxx2
-rw-r--r--fpicker/source/office/fpsmartcontent.cxx20
-rw-r--r--fpicker/source/office/iodlg.cxx4
-rw-r--r--fpicker/source/unx/gnome/SalGtkFilePicker.cxx2
-rw-r--r--fpicker/source/unx/gnome/SalGtkFolderPicker.cxx2
-rw-r--r--fpicker/source/unx/kde4/KDE4FilePicker.cxx2
-rw-r--r--fpicker/source/win32/filepicker/FileOpenDlg.hxx4
-rw-r--r--fpicker/source/win32/filepicker/FilePicker.cxx2
-rw-r--r--fpicker/source/win32/filepicker/PreviewCtrl.cxx4
-rw-r--r--fpicker/source/win32/filepicker/PreviewCtrl.hxx2
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePicker.cxx4
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx2
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx4
-rw-r--r--fpicker/source/win32/filepicker/WinFileOpenImpl.cxx2
-rw-r--r--fpicker/source/win32/filepicker/dialogcustomcontrols.cxx2
-rw-r--r--fpicker/source/win32/filepicker/dibpreview.cxx2
-rw-r--r--fpicker/source/win32/filepicker/filepickerstate.cxx2
-rw-r--r--fpicker/source/win32/filepicker/helppopupwindow.cxx2
-rw-r--r--fpicker/source/win32/filepicker/helppopupwindow.hxx4
-rw-r--r--fpicker/source/win32/filepicker/workbench/Test_fps.cxx4
-rw-r--r--fpicker/source/win32/folderpicker/MtaFop.cxx4
-rw-r--r--fpicker/source/win32/folderpicker/MtaFop.hxx2
-rw-r--r--fpicker/source/win32/folderpicker/workbench/Test_fops.cxx4
-rw-r--r--framework/inc/classes/checkediterator.hxx4
-rw-r--r--framework/inc/classes/droptargetlistener.hxx2
-rw-r--r--framework/inc/classes/filtercache.hxx2
-rw-r--r--framework/inc/classes/filtercachedata.hxx16
-rw-r--r--framework/inc/classes/framecontainer.hxx2
-rw-r--r--framework/inc/classes/protocolhandlercache.hxx6
-rw-r--r--framework/inc/classes/servicemanager.hxx12
-rw-r--r--framework/inc/commands.h2
-rw-r--r--framework/inc/dispatch/basedispatcher.hxx10
-rw-r--r--framework/inc/dispatch/blankdispatcher.hxx2
-rw-r--r--framework/inc/dispatch/closedispatcher.hxx18
-rw-r--r--framework/inc/dispatch/createdispatcher.hxx2
-rw-r--r--framework/inc/dispatch/dispatchprovider.hxx4
-rw-r--r--framework/inc/dispatch/helpagentdispatcher.hxx2
-rw-r--r--framework/inc/dispatch/interceptionhelper.hxx2
-rw-r--r--framework/inc/dispatch/mailtodispatcher.hxx4
-rw-r--r--framework/inc/dispatch/menudispatcher.hxx8
-rw-r--r--framework/inc/dispatch/oxt_handler.hxx2
-rw-r--r--framework/inc/dispatch/popupmenudispatcher.hxx2
-rw-r--r--framework/inc/dispatch/selfdispatcher.hxx2
-rw-r--r--framework/inc/dispatch/servicehandler.hxx6
-rw-r--r--framework/inc/dispatch/startmoduledispatcher.hxx4
-rw-r--r--framework/inc/dispatch/systemexec.hxx4
-rw-r--r--framework/inc/framework/addonsoptions.hxx4
-rw-r--r--framework/inc/framework/framelistanalyzer.hxx6
-rw-r--r--framework/inc/framework/preventduplicateinteraction.hxx6
-rw-r--r--framework/inc/general.h2
-rw-r--r--framework/inc/helper/fixeddocumentproperties.hxx8
-rw-r--r--framework/inc/helper/ocomponentaccess.hxx6
-rw-r--r--framework/inc/helper/ocomponentenumeration.hxx2
-rw-r--r--framework/inc/helper/oframes.hxx2
-rw-r--r--framework/inc/helper/otasksenumeration.hxx2
-rw-r--r--framework/inc/helper/persistentwindowstate.hxx6
-rw-r--r--framework/inc/helper/statusindicator.hxx2
-rw-r--r--framework/inc/helper/statusindicatorfactory.hxx2
-rw-r--r--framework/inc/helper/tagwindowasmodified.hxx4
-rw-r--r--framework/inc/helper/titlebarupdate.hxx4
-rw-r--r--framework/inc/helper/vclstatusindicator.hxx2
-rw-r--r--framework/inc/interaction/quietinteraction.hxx8
-rw-r--r--framework/inc/jobs/configaccess.hxx2
-rw-r--r--framework/inc/jobs/helponstartup.hxx8
-rw-r--r--framework/inc/jobs/job.hxx12
-rw-r--r--framework/inc/jobs/jobconst.hxx2
-rw-r--r--framework/inc/jobs/jobdata.hxx10
-rw-r--r--framework/inc/jobs/jobexecutor.hxx2
-rw-r--r--framework/inc/jobs/jobresult.hxx2
-rw-r--r--framework/inc/jobs/joburl.hxx2
-rw-r--r--framework/inc/jobs/shelljob.hxx2
-rw-r--r--framework/inc/loadstate.h4
-rw-r--r--framework/inc/macros/debug/assertion.hxx2
-rw-r--r--framework/inc/macros/debug/event.hxx2
-rw-r--r--framework/inc/macros/debug/filterdbg.hxx2
-rw-r--r--framework/inc/macros/debug/memorymeasure.hxx2
-rw-r--r--framework/inc/macros/debug/timemeasure.hxx2
-rw-r--r--framework/inc/macros/xserviceinfo.hxx2
-rw-r--r--framework/inc/macros/xtypeprovider.hxx4
-rw-r--r--framework/inc/protocols.h2
-rw-r--r--framework/inc/queries.h2
-rw-r--r--framework/inc/recording/dispatchrecordersupplier.hxx4
-rw-r--r--framework/inc/services/autorecovery.hxx40
-rw-r--r--framework/inc/services/backingcomp.hxx2
-rw-r--r--framework/inc/services/contenthandlerfactory.hxx2
-rw-r--r--framework/inc/services/desktop.hxx20
-rw-r--r--framework/inc/services/detectorfactory.hxx10
-rw-r--r--framework/inc/services/frame.hxx4
-rw-r--r--framework/inc/services/frameloaderfactory.hxx14
-rw-r--r--framework/inc/services/layoutmanager.hxx2
-rw-r--r--framework/inc/services/license.hxx2
-rw-r--r--framework/inc/services/logindialog.hxx18
-rw-r--r--framework/inc/services/modulemanager.hxx4
-rw-r--r--framework/inc/services/pathsettings.hxx8
-rw-r--r--framework/inc/services/pluginframe.hxx4
-rw-r--r--framework/inc/services/substitutepathvars.hxx2
-rw-r--r--framework/inc/services/task.hxx6
-rw-r--r--framework/inc/services/taskcreatorsrv.hxx4
-rw-r--r--framework/inc/stdtypes.h10
-rw-r--r--framework/inc/threadhelp/fairrwlock.hxx4
-rw-r--r--framework/inc/threadhelp/gate.hxx2
-rw-r--r--framework/inc/threadhelp/inoncopyable.h4
-rw-r--r--framework/inc/threadhelp/itransactionmanager.h4
-rw-r--r--framework/inc/threadhelp/lockhelper.hxx12
-rw-r--r--framework/inc/threadhelp/readguard.hxx8
-rw-r--r--framework/inc/threadhelp/resetableguard.hxx4
-rw-r--r--framework/inc/threadhelp/transactionguard.hxx10
-rw-r--r--framework/inc/threadhelp/transactionmanager.hxx2
-rw-r--r--framework/inc/threadhelp/writeguard.hxx12
-rw-r--r--framework/inc/uifactory/uielementfactorymanager.hxx2
-rw-r--r--framework/inc/xml/acceleratorconfigurationreader.hxx2
-rw-r--r--framework/qa/complex/XUserInputInterception/EventTest.java4
-rw-r--r--framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java2
-rw-r--r--framework/qa/complex/dispatches/Interceptor.java6
-rw-r--r--framework/qa/complex/dispatches/checkdispatchapi.java6
-rw-r--r--framework/qa/complex/framework/autosave/AutoSave.java6
-rw-r--r--framework/qa/complex/framework/autosave/Protocol.java18
-rw-r--r--framework/qa/complex/framework/recovery/RecoveryTest.java44
-rw-r--r--framework/qa/complex/imageManager/_XInitialization.java2
-rw-r--r--framework/qa/complex/imageManager/_XTypeProvider.java2
-rw-r--r--framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java6
-rw-r--r--framework/qa/complex/loadAllDocuments/StatusIndicator.java2
-rw-r--r--framework/qa/complex/loadAllDocuments/StreamSimulator.java8
-rw-r--r--framework/qa/complex/path_settings/PathSettingsTest.java4
-rw-r--r--framework/source/accelerators/acceleratorcache.cxx2
-rw-r--r--framework/source/accelerators/acceleratorconfiguration.cxx10
-rw-r--r--framework/source/accelerators/acceleratorexecute.cxx2
-rw-r--r--framework/source/accelerators/acceleratorexecute.hxx2
-rw-r--r--framework/source/accelerators/keymapping.cxx2
-rw-r--r--framework/source/accelerators/presethandler.cxx6
-rw-r--r--framework/source/accelerators/storageholder.cxx6
-rw-r--r--framework/source/application/framework.cxx2
-rw-r--r--framework/source/application/login.cxx16
-rw-r--r--framework/source/classes/framecontainer.cxx12
-rw-r--r--framework/source/classes/menumanager.cxx2
-rw-r--r--framework/source/classes/taskcreator.cxx4
-rw-r--r--framework/source/dispatch/closedispatcher.cxx30
-rw-r--r--framework/source/dispatch/dispatchinformationprovider.cxx4
-rw-r--r--framework/source/dispatch/dispatchprovider.cxx12
-rw-r--r--framework/source/dispatch/helpagentdispatcher.cxx4
-rw-r--r--framework/source/dispatch/interceptionhelper.cxx6
-rw-r--r--framework/source/dispatch/loaddispatcher.cxx4
-rw-r--r--framework/source/dispatch/mailtodispatcher.cxx14
-rw-r--r--framework/source/dispatch/menudispatcher.cxx2
-rw-r--r--framework/source/dispatch/oxt_handler.cxx8
-rw-r--r--framework/source/dispatch/servicehandler.cxx12
-rw-r--r--framework/source/fwe/classes/actiontriggerpropertyset.cxx2
-rw-r--r--framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx2
-rw-r--r--framework/source/fwe/classes/framelistanalyzer.cxx18
-rw-r--r--framework/source/fwe/dispatch/interaction.cxx6
-rw-r--r--framework/source/fwe/helper/titlehelper.cxx2
-rw-r--r--framework/source/fwe/helper/undomanagerhelper.cxx2
-rw-r--r--framework/source/fwe/xml/eventsdocumenthandler.cxx4
-rw-r--r--framework/source/fwe/xml/saxnamespacefilter.cxx2
-rw-r--r--framework/source/fwe/xml/statusbardocumenthandler.cxx4
-rw-r--r--framework/source/fwe/xml/toolboxdocumenthandler.cxx6
-rw-r--r--framework/source/fwi/classes/protocolhandlercache.cxx8
-rw-r--r--framework/source/fwi/jobs/configaccess.cxx2
-rw-r--r--framework/source/fwi/threadhelp/lockhelper.cxx16
-rw-r--r--framework/source/fwi/threadhelp/transactionmanager.cxx8
-rw-r--r--framework/source/fwi/uielement/constitemcontainer.cxx2
-rw-r--r--framework/source/fwi/uielement/rootitemcontainer.cxx2
-rwxr-xr-xframework/source/helper/ocomponentaccess.cxx2
-rwxr-xr-xframework/source/helper/ocomponentenumeration.cxx2
-rwxr-xr-xframework/source/helper/oframes.cxx2
-rw-r--r--framework/source/helper/persistentwindowstate.cxx4
-rw-r--r--framework/source/helper/statusindicatorfactory.cxx10
-rw-r--r--framework/source/helper/uiconfigelementwrapperbase.cxx2
-rw-r--r--framework/source/helper/uielementwrapperbase.cxx2
-rw-r--r--framework/source/helper/vclstatusindicator.cxx2
-rw-r--r--framework/source/inc/accelerators/acceleratorcache.hxx2
-rw-r--r--framework/source/inc/accelerators/acceleratorconfiguration.hxx4
-rw-r--r--framework/source/inc/accelerators/keymapping.hxx2
-rw-r--r--framework/source/inc/accelerators/presethandler.hxx16
-rw-r--r--framework/source/inc/accelerators/storageholder.hxx4
-rw-r--r--framework/source/inc/dispatch/loaddispatcher.hxx4
-rw-r--r--framework/source/inc/dispatch/windowcommanddispatch.hxx2
-rw-r--r--framework/source/inc/loadenv/actionlockguard.hxx4
-rw-r--r--framework/source/inc/loadenv/loadenv.hxx40
-rw-r--r--framework/source/inc/loadenv/loadenvexception.hxx12
-rw-r--r--framework/source/inc/pattern/frame.hxx8
-rw-r--r--framework/source/inc/pattern/storages.hxx2
-rw-r--r--framework/source/inc/pattern/window.hxx8
-rw-r--r--framework/source/interaction/quietinteraction.cxx4
-rw-r--r--framework/source/jobs/helponstartup.cxx4
-rw-r--r--framework/source/jobs/job.cxx16
-rw-r--r--framework/source/jobs/jobdata.cxx22
-rw-r--r--framework/source/jobs/jobdispatch.cxx12
-rw-r--r--framework/source/jobs/jobexecutor.cxx6
-rw-r--r--framework/source/jobs/jobresult.cxx8
-rw-r--r--framework/source/jobs/joburl.cxx12
-rw-r--r--framework/source/jobs/shelljob.cxx12
-rw-r--r--framework/source/layoutmanager/layoutmanager.cxx2
-rw-r--r--framework/source/layoutmanager/toolbarlayoutmanager.cxx4
-rw-r--r--framework/source/loadenv/loadenv.cxx48
-rw-r--r--framework/source/loadenv/targethelper.cxx4
-rw-r--r--framework/source/recording/dispatchrecordersupplier.cxx2
-rw-r--r--framework/source/services/autorecovery.cxx66
-rw-r--r--framework/source/services/backingcomp.cxx12
-rw-r--r--framework/source/services/backingwindow.cxx2
-rw-r--r--framework/source/services/desktop.cxx48
-rw-r--r--framework/source/services/frame.cxx62
-rw-r--r--framework/source/services/modulemanager.cxx4
-rw-r--r--framework/source/services/pathsettings.cxx32
-rw-r--r--framework/source/services/substitutepathvars.cxx14
-rw-r--r--framework/source/services/taskcreatorsrv.cxx6
-rw-r--r--framework/source/tabwin/tabwindow.cxx2
-rw-r--r--framework/source/uiconfiguration/moduleuicfgsupplier.cxx2
-rw-r--r--framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx2
-rw-r--r--framework/source/uiconfiguration/uicategorydescription.cxx4
-rw-r--r--framework/source/uiconfiguration/uiconfigurationmanagerimpl.cxx2
-rw-r--r--framework/source/uiconfiguration/windowstateconfiguration.cxx6
-rw-r--r--framework/source/uielement/popuptoolbarcontroller.cxx4
-rw-r--r--framework/source/uielement/uicommanddescription.cxx4
-rw-r--r--framework/source/unotypes/fwk.xml8
-rw-r--r--framework/source/xml/acceleratorconfigurationreader.cxx6
-rw-r--r--framework/source/xml/imagesdocumenthandler.cxx22
-rw-r--r--framework/test/test.cxx6
-rw-r--r--framework/test/test_componentenumeration.bas4
-rw-r--r--framework/test/test_statusindicatorfactory.bas10
-rw-r--r--framework/test/threadtest.cxx4
-rw-r--r--framework/test/threadtest/threadtest.cxx4
-rw-r--r--framework/test/typecfg/cfgview.cxx4
-rw-r--r--framework/test/typecfg/xml2xcd.cxx18
799 files changed, 1862 insertions, 1862 deletions
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/AccessibleTextImpl.java b/accessibility/bridge/org/openoffice/java/accessibility/AccessibleTextImpl.java
index 226fed223be2..979ee54b6a1d 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/AccessibleTextImpl.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/AccessibleTextImpl.java
@@ -637,7 +637,7 @@ public class AccessibleTextImpl implements javax.accessibility.AccessibleText {
}
}
- /** Returns the number of characters (valid indicies) */
+ /** Returns the number of characters (valid indices) */
public int getCharCount() {
try {
return unoObject.getCharacterCount();
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Component.java b/accessibility/bridge/org/openoffice/java/accessibility/Component.java
index 2fda8772ce4e..4255399270ad 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/Component.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/Component.java
@@ -199,7 +199,7 @@ public abstract class Component extends java.awt.Component {
}
/**
- * Update the proxy objects appropriatly on property change events
+ * Update the proxy objects appropriately on property change events
*/
protected class AccessibleUNOComponentListener implements XAccessibleEventListener {
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Container.java b/accessibility/bridge/org/openoffice/java/accessibility/Container.java
index 019e88ca50c9..97ca3288917d 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/Container.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/Container.java
@@ -196,7 +196,7 @@ public class Container extends java.awt.Container implements javax.accessibility
}
/**
- * Update the proxy objects appropriatly on property change events
+ * Update the proxy objects appropriately on property change events
*/
protected class AccessibleContainerListener implements XAccessibleEventListener {
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/DescendantManager.java b/accessibility/bridge/org/openoffice/java/accessibility/DescendantManager.java
index 794cb4709ba5..6282da7a5fdd 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/DescendantManager.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/DescendantManager.java
@@ -46,7 +46,7 @@ public abstract class DescendantManager extends Component {
}
/**
- * Update the proxy objects appropriatly on property change events
+ * Update the proxy objects appropriately on property change events
*/
protected class AccessibleDescendantManagerListener
extends AccessibleUNOComponentListener {
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Dialog.java b/accessibility/bridge/org/openoffice/java/accessibility/Dialog.java
index 2de886a1521f..82f8bbf319b4 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/Dialog.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/Dialog.java
@@ -190,7 +190,7 @@ public class Dialog extends java.awt.Dialog implements javax.accessibility.Acces
}
/**
- * Update the proxy objects appropriatly on property change events
+ * Update the proxy objects appropriately on property change events
*/
protected class AccessibleDialogListener implements XAccessibleEventListener {
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Frame.java b/accessibility/bridge/org/openoffice/java/accessibility/Frame.java
index 8196d6fc421e..82b5407ca341 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/Frame.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/Frame.java
@@ -161,7 +161,7 @@ public class Frame extends java.awt.Frame implements javax.accessibility.Accessi
}
/**
- * Update the proxy objects appropriatly on property change events
+ * Update the proxy objects appropriately on property change events
*/
protected class AccessibleFrameListener implements XAccessibleEventListener {
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/List.java b/accessibility/bridge/org/openoffice/java/accessibility/List.java
index 9e217dbf0360..9709337713e3 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/List.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/List.java
@@ -104,7 +104,7 @@ public class List extends DescendantManager implements javax.accessibility.Acces
}
/**
- * Update the proxy objects appropriatly on property change events
+ * Update the proxy objects appropriately on property change events
*/
protected class AccessibleListListener extends AccessibleDescendantManagerListener {
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Menu.java b/accessibility/bridge/org/openoffice/java/accessibility/Menu.java
index 3ee9cdd57929..c3f6bb4c3cf3 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/Menu.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/Menu.java
@@ -141,7 +141,7 @@ public class Menu extends AbstractButton
}
/**
- * Update the proxy objects appropriatly on property change events
+ * Update the proxy objects appropriately on property change events
*/
protected class AccessibleMenuListener
extends AccessibleUNOComponentListener {
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Table.java b/accessibility/bridge/org/openoffice/java/accessibility/Table.java
index c90b9a3ae699..c9ff11ca02ee 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/Table.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/Table.java
@@ -93,7 +93,7 @@ public class Table extends DescendantManager implements javax.accessibility.Acce
}
/**
- * Update the proxy objects appropriatly on property change events
+ * Update the proxy objects appropriately on property change events
*/
protected class AccessibleTableListener extends AccessibleDescendantManagerListener {
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Tree.java b/accessibility/bridge/org/openoffice/java/accessibility/Tree.java
index c124cad75d57..144e10105ce6 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/Tree.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/Tree.java
@@ -88,7 +88,7 @@ public class Tree extends DescendantManager implements javax.accessibility.Acces
}
/**
- * Update the proxy objects appropriatly on property change events
+ * Update the proxy objects appropriately on property change events
*/
protected class AccessibleTreeListener extends AccessibleDescendantManagerListener {
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Window.java b/accessibility/bridge/org/openoffice/java/accessibility/Window.java
index 1ff53dc74d1a..3ad9fc6ae41e 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/Window.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/Window.java
@@ -166,7 +166,7 @@ public class Window extends java.awt.Window implements javax.accessibility.Acces
}
/**
- * Update the proxy objects appropriatly on property change events
+ * Update the proxy objects appropriately on property change events
*/
protected class AccessibleWindowListener implements XAccessibleEventListener {
diff --git a/accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx b/accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx
index 951afcae857f..e294b0baf338 100644
--- a/accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx
+++ b/accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx
@@ -95,17 +95,17 @@ Java_org_openoffice_accessibility_WindowsAccessBridgeAdapter_getProcessID(JNIEnv
g_jcWindowsAccessBridgeAdapter =
static_cast< jclass > (pJNIEnv->NewGlobalRef(clazz));
if (NULL == g_jcWindowsAccessBridgeAdapter) {
- return 0; /* jni error occured */
+ return 0; /* jni error occurred */
}
g_jmRegisterTopWindow =
pJNIEnv->GetStaticMethodID(clazz, "registerTopWindow", "(ILcom/sun/star/accessibility/XAccessible;)V");
if (0 == g_jmRegisterTopWindow) {
- return 0; /* jni error occured */
+ return 0; /* jni error occurred */
}
g_jmRevokeTopWindow =
pJNIEnv->GetStaticMethodID(clazz, "revokeTopWindow", "(ILcom/sun/star/accessibility/XAccessible;)V");
if (0 == g_jmRevokeTopWindow) {
- return 0; /* jni error occured */
+ return 0; /* jni error occurred */
}
// Use the special protocol of XJavaVM.getJavaVM: If the passed in
@@ -285,7 +285,7 @@ void handleWindowEvent(Window * pWindow, bool bShow)
(bShow) ? g_jmRegisterTopWindow : g_jmRevokeTopWindow,
(jint) GetHWND(pWindow), joXAccessible );
- // Clear any exception that might have been occured.
+ // Clear any exception that might have been occurred.
if (pJNIEnv->ExceptionCheck()) {
pJNIEnv->ExceptionClear();
}
diff --git a/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx b/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx
index ef1d8abbd045..a5b96082daf7 100644
--- a/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx
+++ b/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx
@@ -65,7 +65,7 @@ namespace accessibility {
// ============================================================================
-/** Aquire the solar mutex. */
+/** Acquire the solar mutex. */
class BBSolarGuard : public ::vos::OGuard
{
public:
diff --git a/accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx b/accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx
index 02af9ef0b7ae..fef4e2f39c50 100644
--- a/accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx
+++ b/accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx
@@ -60,7 +60,7 @@ namespace accessibility {
// ============================================================================
-/** Aquire the solar mutex. */
+/** Acquire the solar mutex. */
class TCSolarGuard : public ::vos::OGuard
{
public:
diff --git a/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx b/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx
index bd9b016476e3..e62122451703 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx
@@ -112,7 +112,7 @@ public:
virtual sal_Bool SAL_CALL doAccessibleAction (sal_Int32 nIndex)
throw (::com::sun::star::lang::IndexOutOfBoundsException,
::com::sun::star::uno::RuntimeException);
- /** The returned string is assoicated with resource
+ /** The returned string is associated with resource
<const>RID_STR_ACC_ACTION_TOGGLEPOPUP</const>.
*/
virtual ::rtl::OUString SAL_CALL getAccessibleActionDescription (sal_Int32 nIndex)
@@ -175,7 +175,7 @@ protected:
/** This flag specifies whether an object has a list as child regardless
of whether that child being currently instantiated or not. This
flag is always true in the current implementation because the list
- child is just another wrapper arround this object and thus has the
+ child is just another wrapper around this object and thus has the
same life time.
*/
bool m_bHasListChild;
diff --git a/accessibility/source/extended/accessibleiconchoicectrl.cxx b/accessibility/source/extended/accessibleiconchoicectrl.cxx
index bd64c074dc29..f31d544112a2 100644
--- a/accessibility/source/extended/accessibleiconchoicectrl.cxx
+++ b/accessibility/source/extended/accessibleiconchoicectrl.cxx
@@ -368,7 +368,7 @@ namespace accessibility
}
}
- // if only one entry is selected and its index is choosen to deselect -> no selection anymore
+ // if only one entry is selected and its index is chosen to deselect -> no selection anymore
if ( 1 == nSelCount && bFound )
pCtrl->SetNoSelection();
}
diff --git a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
index d756bcf8aeab..d88f5d1d3b1c 100644
--- a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
+++ b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
@@ -63,7 +63,7 @@ namespace accessibility
//........................................................................
// class ALBSolarGuard ---------------------------------------------------------
- /** Aquire the solar mutex. */
+ /** Acquire the solar mutex. */
class ALBSolarGuard : public ::vos::OGuard
{
public:
diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx
index eff014063e16..2a998575f474 100644
--- a/accessibility/source/extended/accessiblelistboxentry.cxx
+++ b/accessibility/source/extended/accessiblelistboxentry.cxx
@@ -67,7 +67,7 @@ namespace accessibility
//........................................................................
// class ALBSolarGuard ---------------------------------------------------------
- /** Aquire the solar mutex. */
+ /** Acquire the solar mutex. */
class ALBSolarGuard : public ::vos::OGuard
{
public:
diff --git a/accessibility/source/extended/accessibletablistbox.cxx b/accessibility/source/extended/accessibletablistbox.cxx
index 5a090bb0f488..975902a64091 100644
--- a/accessibility/source/extended/accessibletablistbox.cxx
+++ b/accessibility/source/extended/accessibletablistbox.cxx
@@ -38,7 +38,7 @@ namespace accessibility
// class TLBSolarGuard ---------------------------------------------------------
- /** Aquire the solar mutex. */
+ /** Acquire the solar mutex. */
class TLBSolarGuard : public ::vos::OGuard
{
public:
diff --git a/accessibility/source/extended/accessibletablistboxtable.cxx b/accessibility/source/extended/accessibletablistboxtable.cxx
index 4654a8e24018..7903da487a0b 100644
--- a/accessibility/source/extended/accessibletablistboxtable.cxx
+++ b/accessibility/source/extended/accessibletablistboxtable.cxx
@@ -42,7 +42,7 @@ namespace accessibility
// class TLBSolarGuard ---------------------------------------------------------
- /** Aquire the solar mutex. */
+ /** Acquire the solar mutex. */
class TLBSolarGuard : public ::vos::OGuard
{
public:
diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx
index adae45338632..b58811ce69df 100644
--- a/accessibility/source/extended/textwindowaccessibility.cxx
+++ b/accessibility/source/extended/textwindowaccessibility.cxx
@@ -1160,7 +1160,7 @@ Document::retrieveCharacterAttributes(
for( i = 0; i < nLength; i++ )
pIndices[i] = i;
std::sort( &pIndices[0], &pIndices[nLength], IndexCompare(pPairs) );
- // create sorted sequences accoring to index array
+ // create sorted sequences according to index array
::css::uno::Sequence< ::css::beans::PropertyValue > aNewValues( nLength );
::css::beans::PropertyValue* pNewValues = aNewValues.getArray();
for( i = 0; i < nLength; i++ )
diff --git a/accessibility/workben/org/openoffice/accessibility/awb/canvas/Canvas.java b/accessibility/workben/org/openoffice/accessibility/awb/canvas/Canvas.java
index 21403a3e9cc9..ddaff69c7416 100644
--- a/accessibility/workben/org/openoffice/accessibility/awb/canvas/Canvas.java
+++ b/accessibility/workben/org/openoffice/accessibility/awb/canvas/Canvas.java
@@ -130,7 +130,7 @@ public class Canvas
0,
aScreenSize.getWidth(),
aScreenSize.getHeight());
- // Fill the screen rectangle and draw a frame arround it to increase its visibility.
+ // Fill the screen rectangle and draw a frame around it to increase its visibility.
g2.setColor (new Color (250,240,230));
g2.fill (aScreen);
g2.setColor (Color.BLACK);
diff --git a/accessibility/workben/org/openoffice/accessibility/misc/OfficeConnection.java b/accessibility/workben/org/openoffice/accessibility/misc/OfficeConnection.java
index 9ccb8af352d1..349a63883375 100644
--- a/accessibility/workben/org/openoffice/accessibility/misc/OfficeConnection.java
+++ b/accessibility/workben/org/openoffice/accessibility/misc/OfficeConnection.java
@@ -179,7 +179,7 @@ public class OfficeConnection
String msPipeName;
/** A value of true just indicates that it has been tried to establish a connection,
- not that that has been successfull.
+ not that that has been successful.
*/
private boolean mbInitialized = false;
diff --git a/animations/source/animcore/animcore.cxx b/animations/source/animcore/animcore.cxx
index dbb93aaf1934..31d5c07fe986 100644
--- a/animations/source/animcore/animcore.cxx
+++ b/animations/source/animcore/animcore.cxx
@@ -327,7 +327,7 @@ private:
sal_Int16 mnColorSpace;
sal_Bool mbDirection;
- // atributes for XAnimateMotion
+ // attributes for XAnimateMotion
Any maPath, maOrigin;
// attributes for XAnimateTransform
@@ -484,7 +484,7 @@ AnimationNode::AnimationNode( const AnimationNode& rNode )
mnColorSpace( rNode.mnColorSpace ),
mbDirection( rNode.mbDirection ),
- // atributes for XAnimateMotion
+ // attributes for XAnimateMotion
maPath( rNode.maPath ),
maOrigin( rNode.maOrigin ),
diff --git a/apple_remote/AppleRemote.m b/apple_remote/AppleRemote.m
index 44369f775990..fee5fc3703b3 100644
--- a/apple_remote/AppleRemote.m
+++ b/apple_remote/AppleRemote.m
@@ -118,14 +118,14 @@ const char* AppleRemoteDeviceName = "AppleIRController";
- (void) sendRemoteButtonEvent: (RemoteControlEventIdentifier) event pressedDown: (BOOL) pressedDown
{
if (pressedDown == NO && event == kRemoteButtonMenu_Hold) {
- // There is no seperate event for pressed down on menu hold. We are simulating that event here
+ // There is no separate event for pressed down on menu hold. We are simulating that event here
[super sendRemoteButtonEvent:event pressedDown:YES];
}
[super sendRemoteButtonEvent:event pressedDown:pressedDown];
if (pressedDown && (event == kRemoteButtonRight || event == kRemoteButtonLeft || event == kRemoteButtonPlay || event == kRemoteButtonMenu || event == kRemoteButtonPlay_Hold)) {
- // There is no seperate event when the button is being released. We are simulating that event here
+ // There is no separate event when the button is being released. We are simulating that event here
[super sendRemoteButtonEvent:event pressedDown:NO];
}
}
diff --git a/apple_remote/RemoteMainController.m b/apple_remote/RemoteMainController.m
index 2896b3d4dbd0..01def69f0091 100644..100755
--- a/apple_remote/RemoteMainController.m
+++ b/apple_remote/RemoteMainController.m
@@ -55,7 +55,7 @@
if ( [container instantiateAndAddRemoteControlDeviceWithClass: [AppleRemote class]] != 0 ) {
#ifdef DEBUG
- NSLog(@"[container instantiateAndAddRemoteControlDeviceWithClass: [AppleRemote class]] successfull");
+ NSLog(@"[container instantiateAndAddRemoteControlDeviceWithClass: [AppleRemote class]] successful");
}
else {
NSLog(@"[container instantiateAndAddRemoteControlDeviceWithClass: [AppleRemote class]] failed");
@@ -64,7 +64,7 @@
if ( [container instantiateAndAddRemoteControlDeviceWithClass: [GlobalKeyboardDevice class]] != 0 ) {
#ifdef DEBUG
- NSLog(@"[container instantiateAndAddRemoteControlDeviceWithClass: [GlobalKeyboardDevice class]] successfull");
+ NSLog(@"[container instantiateAndAddRemoteControlDeviceWithClass: [GlobalKeyboardDevice class]] successful");
}
else {
NSLog(@"[container instantiateAndAddRemoteControlDeviceWithClass: [GlobalKeyboardDevice class]] failed");
diff --git a/apple_remote/inc/MultiClickRemoteBehavior.h b/apple_remote/inc/MultiClickRemoteBehavior.h
index 9cffa35fae2f..19029dbaf969 100644
--- a/apple_remote/inc/MultiClickRemoteBehavior.h
+++ b/apple_remote/inc/MultiClickRemoteBehavior.h
@@ -61,7 +61,7 @@
// Simulating hold events does deactivate sending of individual requests for pressed down/released.
// Instead special hold events are being triggered when the user is pressing and holding a button for a small period.
-// Simulation is activated only for those buttons and remote control that do not have a seperate event already
+// Simulation is activated only for those buttons and remote control that do not have a separate event already
- (BOOL) simulateHoldEvent;
- (void) setSimulateHoldEvent: (BOOL) value;
diff --git a/autodoc/inc/ary/cpp/c_gate.hxx b/autodoc/inc/ary/cpp/c_gate.hxx
index 78032aea0923..e15f4c82c3f4 100644
--- a/autodoc/inc/ary/cpp/c_gate.hxx
+++ b/autodoc/inc/ary/cpp/c_gate.hxx
@@ -65,7 +65,7 @@ namespace cpp
-/** Acess to all stored objcts in the repository, which are
+/** Access to all stored objcts in the repository, which are
relevant to C++.
*/
class Gate
diff --git a/autodoc/inc/ary/cpp/cp_ce.hxx b/autodoc/inc/ary/cpp/cp_ce.hxx
index 2a0c3d6e0e3c..0bf32f73340e 100644
--- a/autodoc/inc/ary/cpp/cp_ce.hxx
+++ b/autodoc/inc/ary/cpp/cp_ce.hxx
@@ -64,7 +64,7 @@ namespace cpp
-/** Acess to all declared C++ code entites (types, variables, operations)
+/** Access to all declared C++ code entites (types, variables, operations)
in the repository.
*/
class CePilot
diff --git a/autodoc/inc/ary/cpp/cp_def.hxx b/autodoc/inc/ary/cpp/cp_def.hxx
index 0867d4d9d287..63d70ffc81ac 100644
--- a/autodoc/inc/ary/cpp/cp_def.hxx
+++ b/autodoc/inc/ary/cpp/cp_def.hxx
@@ -50,7 +50,7 @@ namespace cpp
-/** Acess to C++ defines and macros in the repository.
+/** Access to C++ defines and macros in the repository.
*/
class DefPilot
{
diff --git a/autodoc/inc/ary/cpp/cp_type.hxx b/autodoc/inc/ary/cpp/cp_type.hxx
index ff83f6004b54..3a0223b918fe 100644
--- a/autodoc/inc/ary/cpp/cp_type.hxx
+++ b/autodoc/inc/ary/cpp/cp_type.hxx
@@ -52,7 +52,7 @@ namespace cpp
-/** Acess to all found C++ types (as they are used in declarations)
+/** Access to all found C++ types (as they are used in declarations)
in the repository.
*/
class TypePilot
diff --git a/autodoc/inc/ary/doc/d_parametrized.hxx b/autodoc/inc/ary/doc/d_parametrized.hxx
index 2b790e92b263..47124056b3cf 100644
--- a/autodoc/inc/ary/doc/d_parametrized.hxx
+++ b/autodoc/inc/ary/doc/d_parametrized.hxx
@@ -50,7 +50,7 @@ class Parametrized : public Node
const HyperText & Doc() const;
const T & Parameter() const;
- // ACESS
+ // ACCESS
HyperText & Doc();
void Set_Parameter(
const T & i_param );
diff --git a/autodoc/inc/ary/idl/i_type.hxx b/autodoc/inc/ary/idl/i_type.hxx
index 0159fcfa46a8..06a60cbaf2eb 100644
--- a/autodoc/inc/ary/idl/i_type.hxx
+++ b/autodoc/inc/ary/idl/i_type.hxx
@@ -53,7 +53,7 @@ class Type_2s
/** Base of all IDL types.
- Type represents the occurence of a type as base,
+ Type represents the occurrence of a type as base,
parameter, return type or element type in UNO IDL code.
Some of them relate to a ->CodeEntity, but
the ->Type "MyInterface" is something different than
diff --git a/autodoc/source/ary/inc/cross_refs.hxx b/autodoc/source/ary/inc/cross_refs.hxx
index 7cb158757e8a..7f1000d6da94 100644
--- a/autodoc/source/ary/inc/cross_refs.hxx
+++ b/autodoc/source/ary/inc/cross_refs.hxx
@@ -39,7 +39,7 @@ class CrossReferences
public:
typedef TYPES::element_type element;
- /// Checks for double occurences
+ /// Checks for double occurrences
void Add(
VALUE_LIST::index_type
i_nPosition
diff --git a/autodoc/source/ary/inc/sorted_idset.hxx b/autodoc/source/ary/inc/sorted_idset.hxx
index bb1d3c7ad999..f0fea0790278 100644
--- a/autodoc/source/ary/inc/sorted_idset.hxx
+++ b/autodoc/source/ary/inc/sorted_idset.hxx
@@ -39,7 +39,7 @@ template <class XY> class SortedIdSet;
class Interface_2s
{
public:
- /// Checks for double occurences
+ /// Checks for double occurrences
void Add_ExportingService(
Ce_id i_nId );
void Get_ExportingServices(
diff --git a/autodoc/source/display/html/outfile.hxx b/autodoc/source/display/html/outfile.hxx
index 5b4bafb7caa0..447cdc1f10ab 100644
--- a/autodoc/source/display/html/outfile.hxx
+++ b/autodoc/source/display/html/outfile.hxx
@@ -73,7 +73,7 @@ class HtmlDocuFile
uintt nDepthInOutputTree;
Html::Body aBodyData;
- StreamStr aBuffer; // Output buffer, should be transfered into csv::File.
+ StreamStr aBuffer; // Output buffer, should be transferred into csv::File.
};
diff --git a/autodoc/source/display/html/pagemake.cxx b/autodoc/source/display/html/pagemake.cxx
index c66b466cfffe..967793329cc7 100644
--- a/autodoc/source/display/html/pagemake.cxx
+++ b/autodoc/source/display/html/pagemake.cxx
@@ -92,7 +92,7 @@ void
PageDisplay::Create_AllDefsFile()
{
// This method is a provisorium, because later this will
- // be spreaded over the files.
+ // be spread over the files.
Env().MoveDir_2Root();
Env().SetFile_AllDefs();
diff --git a/autodoc/source/display/idl/hi_env.hxx b/autodoc/source/display/idl/hi_env.hxx
index 00739261af45..9e4fe5ba30a4 100644
--- a/autodoc/source/display/idl/hi_env.hxx
+++ b/autodoc/source/display/idl/hi_env.hxx
@@ -54,7 +54,7 @@ class AryAccess;
class LinkHelper;
/** @resp
- Provides enviroment information to the HTML factory
+ Provides environment information to the HTML factory
classes.
@descr
diff --git a/autodoc/source/parser/inc/tokens/tokproct.hxx b/autodoc/source/parser/inc/tokens/tokproct.hxx
index 952f6f699024..361e7b575ddf 100644
--- a/autodoc/source/parser/inc/tokens/tokproct.hxx
+++ b/autodoc/source/parser/inc/tokens/tokproct.hxx
@@ -51,7 +51,7 @@ class TokenProcessing_Types
stay, // same parse environment
push, // push sub environment
pop_success, // return to parent environment, parsing was successful
- pop_failure // return to parent environment, but an error occured.
+ pop_failure // return to parent environment, but an error occurred.
};
struct TokenProcessing_Result
diff --git a/autodoc/source/parser_i/inc/s2_luidl/tokproct.hxx b/autodoc/source/parser_i/inc/s2_luidl/tokproct.hxx
index 5c7172351760..7ff225b2f569 100644
--- a/autodoc/source/parser_i/inc/s2_luidl/tokproct.hxx
+++ b/autodoc/source/parser_i/inc/s2_luidl/tokproct.hxx
@@ -59,7 +59,7 @@ class TokenProcessing_Types
push_sure, // push sub environment, which must be the correct one
push_try, // push sub environment, which is tried, if it may be the right one
pop_success, // return to parent environment, parsing was successful
- pop_failure // return to parent environment, but an error occured.
+ pop_failure // return to parent environment, but an error occurred.
};
struct TokenProcessing_Result
diff --git a/autodoc/source/parser_i/inc/tokens/tkp2.hxx b/autodoc/source/parser_i/inc/tokens/tkp2.hxx
index 1bb1d2307741..79061be03723 100644
--- a/autodoc/source/parser_i/inc/tokens/tkp2.hxx
+++ b/autodoc/source/parser_i/inc/tokens/tkp2.hxx
@@ -60,7 +60,7 @@ class TokenParse2
source code.
@return true, if there was passed a valid token.
false, if the parsed stream is finished or
- an error occured.
+ an error occurred.
*/
bool GetNextToken();
diff --git a/automation/inc/automation/commtypes.hxx b/automation/inc/automation/commtypes.hxx
index 4c6ce8a120c9..5080b1dda3bb 100644
--- a/automation/inc/automation/commtypes.hxx
+++ b/automation/inc/automation/commtypes.hxx
@@ -27,7 +27,7 @@
* This file is intended to supply the types and defines for Environment independent
* building of the packethandler
* Only adaption of this file should be necessary. Else it is a bug!
- * Ether including apropriate files or defining the types when not available in the environment
+ * Ether including appropriate files or defining the types when not available in the environment
*
************************************************************************/
diff --git a/automation/inc/automation/simplecm.hxx b/automation/inc/automation/simplecm.hxx
index 2665c6693908..e1795847a9d4 100644
--- a/automation/inc/automation/simplecm.hxx
+++ b/automation/inc/automation/simplecm.hxx
@@ -343,7 +343,7 @@ protected:
void SetStreamSocket( vos::OStreamSocket* pSocket );
SvStream *pReceiveStream;
- sal_Bool DoReceiveDataStream(); /// Recieve DataPacket from Socket
+ sal_Bool DoReceiveDataStream(); /// Receive DataPacket from Socket
virtual sal_Bool SendHandshake( HandshakeType aHandshakeType, SvStream* pData = NULL);
void SetFinalRecieveTimeout();
sal_Bool bIsRequestShutdownPending;
diff --git a/automation/source/server/recorder.cxx b/automation/source/server/recorder.cxx
index 94c1c5cbdfee..6d95793c44d1 100644
--- a/automation/source/server/recorder.cxx
+++ b/automation/source/server/recorder.cxx
@@ -161,7 +161,7 @@ IMPL_LINK( MacroRecorder, EventListener, VclSimpleEvent*, pEvent )
{
if ( m_bRecord )
{
- // we cannot access pKeyWin since it might have dissapeared
+ // we cannot access pKeyWin since it might have disappeared
if ( bKeyFollowFocus )
StatementList::pRet->GenReturn( RET_MacroRecorder, aKeyUniqueID, (sal_uInt16)M_TypeKeys, aKeyString, bKeyFollowFocus );
else
diff --git a/automation/source/server/recorder.hxx b/automation/source/server/recorder.hxx
index 1b05f7a4c4c6..491fdf982b48 100644
--- a/automation/source/server/recorder.hxx
+++ b/automation/source/server/recorder.hxx
@@ -46,7 +46,7 @@ private:
// record keys
String aKeyString;
- rtl::OString aKeyUniqueID; // has to be remembered seperately since Window might be gone when needed
+ rtl::OString aKeyUniqueID; // has to be remembered separately since Window might be gone when needed
Window* pKeyWin;
sal_Bool bKeyFollowFocus;
diff --git a/automation/source/server/statemnt.cxx b/automation/source/server/statemnt.cxx
index 8552c64542a0..8762dd9f0099 100644
--- a/automation/source/server/statemnt.cxx
+++ b/automation/source/server/statemnt.cxx
@@ -422,7 +422,7 @@ void StatementSlot::AddReferer()
{
HACK( "only to test!" );
// because slot 6102 /*SID_VERB_START*/ crashes when called with Property Referer
-// We return to the previous behavior (which was a bug realy) of not adding this Property to calls which have no properties at all
+// We return to the previous behavior (which was a bug really) of not adding this Property to calls which have no properties at all
// according to MBA most likely this Property can be removed at all and is maybe only needed for Slots with URLs
if ( !nAnzahl )
return;
diff --git a/automation/source/simplecm/packethandler.hxx b/automation/source/simplecm/packethandler.hxx
index dd59c0036809..b18a19e0401f 100644
--- a/automation/source/simplecm/packethandler.hxx
+++ b/automation/source/simplecm/packethandler.hxx
@@ -57,7 +57,7 @@ public:
comm_UINT16 GetReceiveProtocol() { return nReceiveProtocol; }
comm_UINT16 GetReceiveHeaderType() { return nReceiveHeaderType; }
- comm_BOOL ReceiveData( void* &pData, comm_UINT32 &nLen ); /// Recieve DataPacket from Socket
+ comm_BOOL ReceiveData( void* &pData, comm_UINT32 &nLen ); /// Receive DataPacket from Socket
virtual comm_BOOL SendHandshake( HandshakeType aHandshakeType, const void* pData = NULL, comm_UINT32 nLen = 0 );
virtual comm_BOOL TransferData( const void* pData, comm_UINT32 nLen, CMProtocol nProtocol = CM_PROTOCOL_OLDSTYLE );
};
diff --git a/automation/source/simplecm/simplecm.cxx b/automation/source/simplecm/simplecm.cxx
index f573e005273d..5f3bf2c79741 100644
--- a/automation/source/simplecm/simplecm.cxx
+++ b/automation/source/simplecm/simplecm.cxx
@@ -164,7 +164,7 @@ void SimpleCommunicationLinkViaSocket::SetStreamSocket( vos::OStreamSocket* pSoc
sal_Bool SimpleCommunicationLinkViaSocket::StopCommunication()
{
CommunicationLinkRef rHold(this); // avoid deleting this link before the end of the method
- if ( !IsCommunicationError() ) // Meaning that the Communication is still runnung
+ if ( !IsCommunicationError() ) // Meaning that the Communication is still running
{
#if OSL_DEBUG_LEVEL > 1
debug_printf("Sending REQUEST_ShutdownLink\n");
diff --git a/avmedia/source/framework/soundhandler.cxx b/avmedia/source/framework/soundhandler.cxx
index b767d049a3c7..158494a2fac9 100644
--- a/avmedia/source/framework/soundhandler.cxx
+++ b/avmedia/source/framework/soundhandler.cxx
@@ -307,12 +307,12 @@ SoundHandler::~SoundHandler()
@short try to load audio file
@descr This method try to load given audio file by URL and play it. We use vcl/Sound class to do that.
- Playing of sound is asynchron everytime.
+ Playing of sound is asynchron every time.
@attention We must hold us alive by ourself ... because we use async. vcl sound player ... but playing is started
in async interface call "dispatch()" too. And caller forget us imediatly. But then our uno ref count
will decreased to 0 and will die. The only solution is to use own reference to our implementation.
- But we do it for realy started jobs only and release it during call back of vcl.
+ But we do it for really started jobs only and release it during call back of vcl.
@seealso class vcl/Sound
@seealso method implts_PlayerNotify()
@@ -391,7 +391,7 @@ void SAL_CALL SoundHandler::dispatch( const css::util::URL&
@attention a) We don't need any mutex here ... because we don't use any member!
b) Dont' use internal player instance "m_pPlayer" to detect given sound file!
- It's not neccessary to do that ... and we can use temp. variable to do the same.
+ It's not necessary to do that ... and we can use temp. variable to do the same.
This way is easy - we don't must synchronize it with currently played sounds!
Another reason to do so ... We are a listener on our internal ma_Player object.
If you would call "IsSoundFile()" on this instance, he would call us back and
@@ -407,7 +407,7 @@ void SAL_CALL SoundHandler::dispatch( const css::util::URL&
*//*-*************************************************************************************************************/
::rtl::OUString SAL_CALL SoundHandler::detect( css::uno::Sequence< css::beans::PropertyValue >& lDescriptor ) throw( css::uno::RuntimeException )
{
- // Our default is "nothing". So we can return it, if detection failed or fily type is realy unknown.
+ // Our default is "nothing". So we can return it, if detection failed or fily type is really unknown.
::rtl::OUString sTypeName;
// Analyze given descriptor to find filename or input stream or ...
@@ -440,7 +440,7 @@ void SAL_CALL SoundHandler::dispatch( const css::util::URL&
@seealso method dispatchWithNotification()
@param -
- @return 0 everytime ... it doesnt matter for us.
+ @return 0 every time ... it doesn't matter for us.
@onerror -
@threadsafe yes
diff --git a/avmedia/source/framework/soundhandler.hxx b/avmedia/source/framework/soundhandler.hxx
index 99587f094f16..012e21448065 100644
--- a/avmedia/source/framework/soundhandler.hxx
+++ b/avmedia/source/framework/soundhandler.hxx
@@ -90,7 +90,7 @@ class SoundHandler : // interfaces
, public css::frame::XNotifyingDispatch // => XDispatch
, public css::document::XExtendedFilterDetection
// baseclasses
- // Order is neccessary for right initialization!
+ // Order is necessary for right initialization!
, private ThreadHelpBase
, public ::cppu::OWeakObject
{
diff --git a/basegfx/inc/basegfx/color/bcolormodifier.hxx b/basegfx/inc/basegfx/color/bcolormodifier.hxx
index 4009239b00c4..01659c47ccc6 100644
--- a/basegfx/inc/basegfx/color/bcolormodifier.hxx
+++ b/basegfx/inc/basegfx/color/bcolormodifier.hxx
@@ -61,12 +61,12 @@ namespace basegfx
{
private:
protected:
- // noone is allowed to incarnate the abstract base class
+ // no one is allowed to incarnate the abstract base class
// except derivations
BColorModifier() {}
public:
- // noone should directly destroy it; all incarnations should be
+ // no one should directly destroy it; all incarnations should be
// handled in a boost::shared_ptr of type BColorModifierSharedPtr
virtual ~BColorModifier();
diff --git a/basegfx/inc/basegfx/polygon/b2dpolygon.hxx b/basegfx/inc/basegfx/polygon/b2dpolygon.hxx
index fd988a382f86..dd2823502ee4 100644
--- a/basegfx/inc/basegfx/polygon/b2dpolygon.hxx
+++ b/basegfx/inc/basegfx/polygon/b2dpolygon.hxx
@@ -109,7 +109,7 @@ namespace basegfx
/** check edge for being a bezier segment
- This test the existance of control vectors, but do not apply
+ This test the existence of control vectors, but do not apply
testAndSolveTrivialBezier() to the bezier segment, so it is still useful
to do so.
Since it can use internal data representations, it is faster
diff --git a/basegfx/inc/basegfx/polygon/b2dpolygontools.hxx b/basegfx/inc/basegfx/polygon/b2dpolygontools.hxx
index c853f26bbf7b..63dc4ac84ad8 100644
--- a/basegfx/inc/basegfx/polygon/b2dpolygontools.hxx
+++ b/basegfx/inc/basegfx/polygon/b2dpolygontools.hxx
@@ -463,7 +463,7 @@ namespace basegfx
@param fEnd
The maximum distance for the last point. No more points behind this distance will be created.
- Use 0.0 to proccess the whole polygon. Negative values are truncated to 0.0. It also
+ Use 0.0 to process the whole polygon. Negative values are truncated to 0.0. It also
needs to be more or equal to fStart, else it is truncated to fStart.
@return
diff --git a/basegfx/inc/basegfx/range/rangeexpander.hxx b/basegfx/inc/basegfx/range/rangeexpander.hxx
index fb260f6875cf..de28b0e0fb75 100644
--- a/basegfx/inc/basegfx/range/rangeexpander.hxx
+++ b/basegfx/inc/basegfx/range/rangeexpander.hxx
@@ -43,7 +43,7 @@ namespace basegfx
in at the function operator.
@tpl RangeType
- Range type to operate with. Preferrably, one of B1*Range,
+ Range type to operate with. Preferably, one of B1*Range,
B2*Range, or B3*Range.
*/
template< typename RangeType > class RangeExpander
diff --git a/basegfx/inc/basegfx/tools/keystoplerp.hxx b/basegfx/inc/basegfx/tools/keystoplerp.hxx
index 31c50a7b10fe..a98fbbe03637 100644
--- a/basegfx/inc/basegfx/tools/keystoplerp.hxx
+++ b/basegfx/inc/basegfx/tools/keystoplerp.hxx
@@ -56,7 +56,7 @@ namespace basegfx
@param rKeyStops
Vector of stops, must contain at least two elements
- (though preferrably more, otherwise you probably don't
+ (though preferably more, otherwise you probably don't
need key stop lerping in the first place). All
elements must be of monotonically increasing value.
*/
@@ -67,7 +67,7 @@ namespace basegfx
@param rKeyStops
Sequence of stops, must contain at least two elements
- (though preferrably more, otherwise you probably don't
+ (though preferably more, otherwise you probably don't
need key stop lerping in the first place). All
elements must be of monotonically increasing value.
*/
diff --git a/basegfx/source/polygon/b2dpolygonclipper.cxx b/basegfx/source/polygon/b2dpolygonclipper.cxx
index 7dd59d1fecae..39d7e8c9e436 100644
--- a/basegfx/source/polygon/b2dpolygonclipper.cxx
+++ b/basegfx/source/polygon/b2dpolygonclipper.cxx
@@ -808,7 +808,7 @@ namespace basegfx
if(nIndex > 1)
{
- // consume vertices until a single seperate triangle has been visited.
+ // consume vertices until a single separate triangle has been visited.
if(!((nIndex+1)%3))
{
// if any of the last three vertices was outside
diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx
index f201607a4b5c..394978957f56 100644
--- a/basegfx/source/polygon/b2dpolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolygontools.cxx
@@ -715,13 +715,13 @@ namespace basegfx
{
if(fTools::moreOrEqual(fDistance, fEdgeLength))
{
- // end point of choosen edge
+ // end point of chosen edge
const sal_uInt32 nNextIndex((nIndex + 1) % nPointCount);
aRetval = rCandidate.getB2DPoint(nNextIndex);
}
else if(fTools::equalZero(fDistance))
{
- // start point of choosen edge
+ // start point of chosen edge
aRetval = aRetval;
}
else
@@ -3420,7 +3420,7 @@ namespace basegfx
}
}
- // substract length of current edge
+ // subtract length of current edge
fPositionInEdge -= fEdgeLength;
}
diff --git a/basegfx/source/polygon/b2dsvgpolypolygon.cxx b/basegfx/source/polygon/b2dsvgpolypolygon.cxx
index 59d8872b10aa..073db143b9e0 100644
--- a/basegfx/source/polygon/b2dsvgpolypolygon.cxx
+++ b/basegfx/source/polygon/b2dsvgpolypolygon.cxx
@@ -241,7 +241,7 @@ namespace basegfx
nY += nLastY;
}
- // ensure existance of start point
+ // ensure existence of start point
if(!aCurrPoly.count())
{
aCurrPoly.append(B2DPoint(nLastX, nLastY));
@@ -305,7 +305,7 @@ namespace basegfx
nY += nLastY;
}
- // ensure existance of start point
+ // ensure existence of start point
if(!aCurrPoly.count())
{
aCurrPoly.append(B2DPoint(nLastX, nLastY));
@@ -356,7 +356,7 @@ namespace basegfx
const double nX2Prime((nX1 * 2.0 + nX) / 3.0);
const double nY2Prime((nY1 * 2.0 + nY) / 3.0);
- // ensure existance of start point
+ // ensure existence of start point
if(!aCurrPoly.count())
{
aCurrPoly.append(B2DPoint(nLastX, nLastY));
@@ -396,7 +396,7 @@ namespace basegfx
nY += nLastY;
}
- // ensure existance of start point
+ // ensure existence of start point
if(!aCurrPoly.count())
{
aCurrPoly.append(B2DPoint(nLastX, nLastY));
diff --git a/basegfx/source/raster/rasterconvert3d.cxx b/basegfx/source/raster/rasterconvert3d.cxx
index a69157b80e6f..07ba306b2d00 100644
--- a/basegfx/source/raster/rasterconvert3d.cxx
+++ b/basegfx/source/raster/rasterconvert3d.cxx
@@ -118,7 +118,7 @@ namespace basegfx
// sort current scanline using comparator. Only X is used there
// since all entries are already in one processed line. This needs to be done
- // everytime since not only new spans may have benn added or old removed,
+ // every time since not only new spans may have benn added or old removed,
// but incrementing may also have changed the order
::std::sort(aCurrentLine.begin(), aCurrentLine.end(), lineComparator());
diff --git a/basegfx/source/workbench/gauss.hxx b/basegfx/source/workbench/gauss.hxx
index 2e3b46bdb9d3..e290bb484394 100644
--- a/basegfx/source/workbench/gauss.hxx
+++ b/basegfx/source/workbench/gauss.hxx
@@ -102,7 +102,7 @@ bool eliminate( Matrix& matrix,
Result vector. Given matrix must have space for one column (rows entries).
@return true, if back substitution was possible (i.e. no division
- by zero occured).
+ by zero occurred).
*/
template <class Matrix, class Vector, typename BaseType>
bool substitute( const Matrix& matrix,
diff --git a/basic/inc/basic/sberrors.hxx b/basic/inc/basic/sberrors.hxx
index 8799a203fbd9..a2364ae36bb2 100644
--- a/basic/inc/basic/sberrors.hxx
+++ b/basic/inc/basic/sberrors.hxx
@@ -193,7 +193,7 @@ typedef sal_uIntPtr SbError;
#define ERRCODE_BASIC_GETPROP_FAILED ((LAST_SBX_ERROR_ID+62UL) | ERRCODE_AREA_SBX | \
ERRCODE_CLASS_RUNTIME) // Unable to get property
-// Compiler Errors (do not occure at runtime)
+// Compiler Errors (do not occur at runtime)
// These IDs can shift at any time
#define ERRCODE_BASIC_UNEXPECTED ((LAST_SBX_ERROR_ID+63UL) | ERRCODE_AREA_SBX | \
diff --git a/basic/inc/basic/sbxdef.hxx b/basic/inc/basic/sbxdef.hxx
index cf8f4fde1047..87bbb172ab1b 100644
--- a/basic/inc/basic/sbxdef.hxx
+++ b/basic/inc/basic/sbxdef.hxx
@@ -332,7 +332,7 @@ enum SbxError { // Ergebnis einer Rechenoperation/Konversion
#define SBXCR_SBX 0x20584253 // SBX(blank)
-// List of predefined SBX-IDs. New SBX-IDs must be precisly defined so that
+// List of predefined SBX-IDs. New SBX-IDs must be precisely defined so that
// they are unique within the Stream and appropriate Factory.
#define SBXID_VALUE 0x4E4E // NN: SbxValue
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index bc3c57baaecd..12a867be45bf 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -1049,7 +1049,7 @@ void StarBASIC::implClearDependingVarsOnDelete( StarBASIC* pDeletedBasic )
/**************************************************************************
*
-* Creation/Managment of modules
+* Creation/Management of modules
*
**************************************************************************/
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 85ce59ce4d85..b966d3510ea4 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -192,12 +192,12 @@ Reference< XIdlReflection > getCoreReflection_Impl( void )
xContext->getValueByName(
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("/singletons/com.sun.star.reflection.theCoreReflection") ) )
>>= xCoreReflection;
- OSL_ENSURE( xCoreReflection.is(), "### CoreReflection singleton not accessable!?" );
+ OSL_ENSURE( xCoreReflection.is(), "### CoreReflection singleton not accessible!?" );
}
if( !xCoreReflection.is() )
{
throw DeploymentException(
- ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("/singletons/com.sun.star.reflection.theCoreReflection singleton not accessable") ),
+ ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("/singletons/com.sun.star.reflection.theCoreReflection singleton not accessible") ),
Reference< XInterface >() );
}
}
@@ -235,13 +235,13 @@ Reference< XHierarchicalNameAccess > getTypeProvider_Impl( void )
xContext->getValueByName(
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("/singletons/com.sun.star.reflection.theTypeDescriptionManager") ) )
>>= xAccess;
- OSL_ENSURE( xAccess.is(), "### TypeDescriptionManager singleton not accessable!?" );
+ OSL_ENSURE( xAccess.is(), "### TypeDescriptionManager singleton not accessible!?" );
}
if( !xAccess.is() )
{
throw DeploymentException(
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM
- ("/singletons/com.sun.star.reflection.theTypeDescriptionManager singleton not accessable") ),
+ ("/singletons/com.sun.star.reflection.theTypeDescriptionManager singleton not accessible") ),
Reference< XInterface >() );
}
}
@@ -269,7 +269,7 @@ Reference< XTypeConverter > getTypeConverter_Impl( void )
{
throw DeploymentException(
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM
- ("com.sun.star.script.Converter service not accessable") ),
+ ("com.sun.star.script.Converter service not accessible") ),
Reference< XInterface >() );
}
}
@@ -2599,7 +2599,7 @@ void clearUnoMethodsForBasic( StarBASIC* pBasic )
if ( pModBasic == pBasic )
{
// for now the solution is to remove the method from the list and to clear it,
- // but in case the element should be correctly transfered to another StarBASIC,
+ // but in case the element should be correctly transferred to another StarBASIC,
// we should either set module parent to NULL without clearing it, or even
// set the new StarBASIC as the parent of the module
// pObject->SetParent( NULL );
@@ -3739,7 +3739,7 @@ void SbUnoService::SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType,
continue;
com::sun::star::uno::Type aType( xParamTypeDesc->getTypeClass(), xParamTypeDesc->getName() );
- // sbx paramter needs offset 1
+ // sbx parameter needs offset 1
pAnyArgs[i] = sbxToUnoValue( pParams->Get( iSbx ), aType );
// Check for out parameter if not already done
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index be51a7c06175..ecf06c6c1df4 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -1307,7 +1307,7 @@ void SbModule::RunInit()
void SbModule::AddVarName( const String& aName )
{
- // see if the name is added allready
+ // see if the name is added already
std::vector< String >::iterator it_end = mModuleVariableNames.end();
for ( std::vector< String >::iterator it = mModuleVariableNames.begin(); it != it_end; ++it )
{
diff --git a/basic/source/comp/dim.cxx b/basic/source/comp/dim.cxx
index 64043c454cfb..76bc801d3407 100644
--- a/basic/source/comp/dim.cxx
+++ b/basic/source/comp/dim.cxx
@@ -595,7 +595,7 @@ void SbiParser::DefType( sal_Bool bPrivate )
pDim = NULL;
pElem = VarDecl(&pDim,sal_False,sal_False);
if( !pElem )
- bDone = sal_True; // Error occured
+ bDone = sal_True; // Error occurred
}
if( pElem )
{
@@ -727,14 +727,14 @@ void SbiParser::DefEnum( sal_Bool bPrivate )
pElem = VarDecl( &pDim, sal_False, sal_True );
if( !pElem )
{
- bDone = sal_True; // Error occured
+ bDone = sal_True; // Error occurred
break;
}
else if( pDim )
{
delete pDim;
Error( SbERR_SYNTAX );
- bDone = sal_True; // Error occured
+ bDone = sal_True; // Error occurred
break;
}
@@ -764,7 +764,7 @@ void SbiParser::DefEnum( sal_Bool bPrivate )
if( pOld )
{
Error( SbERR_VAR_DEFINED, pElem->GetName() );
- bDone = sal_True; // Error occured
+ bDone = sal_True; // Error occurred
break;
}
diff --git a/basic/source/comp/exprgen.cxx b/basic/source/comp/exprgen.cxx
index 63c090ec66fc..3d41f9f60cee 100644
--- a/basic/source/comp/exprgen.cxx
+++ b/basic/source/comp/exprgen.cxx
@@ -258,7 +258,7 @@ void SbiExpression::Gen( RecursiveMode eRecMode )
{
sal_uInt16 uBase = pParser->nBase;
if( pParser->IsCompatible() )
- uBase |= 0x8000; // #109275 Flag compatiblity
+ uBase |= 0x8000; // #109275 Flag compatibility
pParser->aGen.Gen( _BASED, uBase );
pParser->aGen.Gen( _ARGV );
}
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index f4ffc29d2830..1dd31ad56a26 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -777,7 +777,7 @@ sal_Bool SbiRuntime::Step()
pInst->nErl = nLine;
pErrCode = pCode;
pErrStmnt = pStmnt;
- // An error occured in an error handler
+ // An error occurred in an error handler
// force parent handler ( if there is one )
// to handle the error
bool bLetParentHandleThis = false;
diff --git a/basic/source/runtime/step1.cxx b/basic/source/runtime/step1.cxx
index e324414d1147..f08e9b4f42a1 100644
--- a/basic/source/runtime/step1.cxx
+++ b/basic/source/runtime/step1.cxx
@@ -376,7 +376,7 @@ void SbiRuntime::StepRESUME( sal_uInt32 nOp1 )
}
else
pCode = pErrStmnt;
- if ( pError ) // current in error handler ( and got a Resume Next statment )
+ if ( pError ) // current in error handler ( and got a Resume Next statement )
SbxErrObject::getUnoErrObject()->Clear();
if( nOp1 > 1 )
@@ -553,7 +553,7 @@ void SbiRuntime::StepBASED( sal_uInt32 nOp1 )
SbxVariable* p1 = new SbxVariable;
SbxVariableRef x2 = PopVar();
- // #109275 Check compatiblity mode
+ // #109275 Check compatibility mode
bool bCompatible = ((nOp1 & 0x8000) != 0);
sal_uInt16 uBase = static_cast<sal_uInt16>(nOp1 & 1); // Can only be 0 or 1
p1->PutInteger( uBase );
diff --git a/basic/source/runtime/step2.cxx b/basic/source/runtime/step2.cxx
index 29ed68dedc1b..c2a1a9eab5c1 100644
--- a/basic/source/runtime/step2.cxx
+++ b/basic/source/runtime/step2.cxx
@@ -81,7 +81,7 @@ SbxVariable* SbiRuntime::FindElement
{
// emulate pcode here
StepARGC();
- // psuedo StepLOADSC
+ // pseudo StepLOADSC
String sArg = aName.Copy( 1, aName.Len() - 2 );
SbxVariable* p = new SbxVariable;
p->PutString( sArg );
diff --git a/basic/source/sbx/sbxint.cxx b/basic/source/sbx/sbxint.cxx
index 95ae7a57cd1b..a7c8bba6c534 100644
--- a/basic/source/sbx/sbxint.cxx
+++ b/basic/source/sbx/sbxint.cxx
@@ -530,7 +530,7 @@ void ImpPutInt64( SbxValues* p, sal_Int64 n )
start:
switch( +p->eType )
{
- // Check neccessary
+ // Check necessary
case SbxCHAR:
aTmp.pChar = &p->nChar; goto direct;
case SbxBYTE:
@@ -557,7 +557,7 @@ start:
aTmp.eType = SbxDataType( p->eType | SbxBYREF );
p = &aTmp; goto start;
- // Check not neccessary
+ // Check not necessary
case SbxSALINT64:
p->nInt64 = n; break;
case SbxSINGLE:
@@ -833,7 +833,7 @@ void ImpPutUInt64( SbxValues* p, sal_uInt64 n )
start:
switch( +p->eType )
{
- // Check neccessary
+ // Check necessary
case SbxCHAR:
aTmp.pChar = &p->nChar; goto direct;
case SbxBYTE:
@@ -865,7 +865,7 @@ start:
aTmp.eType = SbxDataType( p->eType | SbxBYREF );
p = &aTmp; goto start;
- // Check not neccessary
+ // Check not necessary
case SbxSALUINT64:
p->uInt64 = n; break;
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index 112014e3dc71..4e40c432cb39 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -654,7 +654,7 @@ sal_Bool SfxLibraryContainer::init_Impl(
}
else
{
- // Default pathes
+ // Default paths
maLibraryPath = SvtPathOptions().GetBasicPath();
}
@@ -1313,7 +1313,7 @@ SfxLibrary* SfxLibraryContainer::getImplLib( const String& rLibraryName )
// Storing with password encryption
-// Empty implementation, avoids unneccesary implementation in dlgcont.cxx
+// Empty implementation, avoids unnecessary implementation in dlgcont.cxx
sal_Bool SfxLibraryContainer::implStorePasswordLibrary(
SfxLibrary*,
const OUString&,
diff --git a/basic/workben/mgrtest.cxx b/basic/workben/mgrtest.cxx
index 142b387cc698..5331bb7dea29 100644
--- a/basic/workben/mgrtest.cxx
+++ b/basic/workben/mgrtest.cxx
@@ -151,33 +151,33 @@ TestWindow::TestWindow() :
aToolBox.InsertBreak();
aToolBox.InsertItem( TB_CREATELIB1, "CreateLib1" );
- aToolBox.SetHelpText( TB_CREATELIB1, "Create Libary LIB1" );
+ aToolBox.SetHelpText( TB_CREATELIB1, "Create Library LIB1" );
aToolBox.InsertItem( TB_CREATELIB2, "CreateLib2" );
- aToolBox.SetHelpText( TB_CREATELIB2, "Create Libary LIB2" );
+ aToolBox.SetHelpText( TB_CREATELIB2, "Create Library LIB2" );
aToolBox.InsertItem( TB_CREATELIB3, "CreateLib3" );
- aToolBox.SetHelpText( TB_CREATELIB3, "Create Libary LIB3" );
+ aToolBox.SetHelpText( TB_CREATELIB3, "Create Library LIB3" );
aToolBox.InsertSeparator();
aToolBox.InsertItem( TB_LOADLIB1, "LoadLib1" );
- aToolBox.SetHelpText( TB_LOADLIB1, "Load Libary LIB1" );
+ aToolBox.SetHelpText( TB_LOADLIB1, "Load Library LIB1" );
aToolBox.InsertItem( TB_LOADLIB2, "LoadLib2" );
- aToolBox.SetHelpText( TB_LOADLIB2, "Load Libary LIB2" );
+ aToolBox.SetHelpText( TB_LOADLIB2, "Load Library LIB2" );
aToolBox.InsertItem( TB_LOADLIB3, "LoadLib3" );
- aToolBox.SetHelpText( TB_LOADLIB3, "Load Libary LIB3" );
+ aToolBox.SetHelpText( TB_LOADLIB3, "Load Library LIB3" );
aToolBox.InsertSeparator();
aToolBox.InsertItem( TB_STORELIBX, "StoreLibX" );
- aToolBox.SetHelpText( TB_STORELIBX, "Store Libary LIBX" );
+ aToolBox.SetHelpText( TB_STORELIBX, "Store Library LIBX" );
aToolBox.InsertItem( TB_UNLOADX, "UnloadX" );
- aToolBox.SetHelpText( TB_UNLOADX, "Unload Libary LIBX" );
+ aToolBox.SetHelpText( TB_UNLOADX, "Unload Library LIBX" );
aToolBox.InsertItem( TB_LOADX, "LoadX" );
- aToolBox.SetHelpText( TB_LOADX, "Load Libary LIBX" );
+ aToolBox.SetHelpText( TB_LOADX, "Load Library LIBX" );
aToolBox.InsertItem( TB_EXECX, "ExecX" );
aToolBox.SetHelpText( TB_EXECX, "Execute 'Libary' LIBX" );
aToolBox.InsertItem( TB_REMOVEX, "RemoveX" );
- aToolBox.SetHelpText( TB_REMOVEX, "Remove Libary LIBX" );
+ aToolBox.SetHelpText( TB_REMOVEX, "Remove Library LIBX" );
aToolBox.InsertItem( TB_REMOVEDELX, "RemDelX" );
- aToolBox.SetHelpText( TB_REMOVEDELX, "Remove and delete Libary LIBX" );
+ aToolBox.SetHelpText( TB_REMOVEDELX, "Remove and delete Library LIBX" );
pBasMgr = 0;
diff --git a/bean/com/sun/star/beans/LocalOfficeConnection.java b/bean/com/sun/star/beans/LocalOfficeConnection.java
index 8fd16caf8817..f2e26e9a960a 100644
--- a/bean/com/sun/star/beans/LocalOfficeConnection.java
+++ b/bean/com/sun/star/beans/LocalOfficeConnection.java
@@ -98,7 +98,7 @@ public class LocalOfficeConnection
* pipev := local_office_connection_pipe_name
* </pre>
*
- * @param url This is UNO URL which discribes the type of a connection.
+ * @param url This is UNO URL which describes the type of a connection.
*/
public void setUnoUrl(String url)
throws java.net.MalformedURLException
@@ -601,9 +601,9 @@ public class LocalOfficeConnection
}
/**
- * Retrives the ammount of time to wait for the startup.
+ * Retrives the amount of time to wait for the startup.
*
- * @return The ammount of time to wait in seconds(?).
+ * @return The amount of time to wait in seconds(?).
*/
public int getStartupTime()
{
diff --git a/bean/com/sun/star/beans/LocalOfficeWindow.java b/bean/com/sun/star/beans/LocalOfficeWindow.java
index f19703e4b30a..c6e8314258e9 100644
--- a/bean/com/sun/star/beans/LocalOfficeWindow.java
+++ b/bean/com/sun/star/beans/LocalOfficeWindow.java
@@ -243,14 +243,14 @@ public class LocalOfficeWindow
}
/**
- * Retrives a platform dependant system window identifier.
+ * Retrives a platform dependent system window identifier.
*
* @return The system window identifier.
*/
private native long getNativeWindow();
/**
- * Retrives a platform dependant system window type.
+ * Retrives a platform dependent system window type.
*
* @return The system window type.
*/
diff --git a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
index c16cbdbd9e16..626dfd6cd217 100644
--- a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
+++ b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
@@ -172,7 +172,7 @@ public class LocalOfficeConnection
* pipev := local_office_connection_pipe_name
* </pre>
*
- * @param url This is UNO URL which discribes the type of a connection.
+ * @param url This is UNO URL which describes the type of a connection.
*/
public void setUnoUrl(String url)
throws java.net.MalformedURLException
@@ -786,9 +786,9 @@ public class LocalOfficeConnection
}
/**
- * Retrives the ammount of time to wait for the startup.
+ * Retrives the amount of time to wait for the startup.
*
- * @return The ammount of time to wait in seconds(?).
+ * @return The amount of time to wait in seconds(?).
*/
public int getStartupTime()
{
diff --git a/bean/com/sun/star/comp/beans/LocalOfficeWindow.java b/bean/com/sun/star/comp/beans/LocalOfficeWindow.java
index bc3425fae770..c7be5fe4cdb9 100644
--- a/bean/com/sun/star/comp/beans/LocalOfficeWindow.java
+++ b/bean/com/sun/star/comp/beans/LocalOfficeWindow.java
@@ -238,14 +238,14 @@ public class LocalOfficeWindow
}
/**
- * Retrives a platform dependant system window identifier.
+ * Retrives a platform dependent system window identifier.
*
* @return The system window identifier.
*/
private native long getNativeWindow();
/**
- * Retrives a platform dependant system window type.
+ * Retrives a platform dependent system window type.
*
* @return The system window type.
*/
diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java
index ae369cf47678..47b3a87655e0 100644
--- a/bean/com/sun/star/comp/beans/OOoBean.java
+++ b/bean/com/sun/star/comp/beans/OOoBean.java
@@ -458,7 +458,7 @@ public class OOoBean
to be called after the container window is displayed.
@throws SystemWindowException
- if no system window can be aquired.
+ if no system window can be acquired.
@throws NoConnectionException
if the connection is not established.
@@ -483,14 +483,14 @@ public class OOoBean
// @requirement FUNC.PAR.RWL/0.4
// @estimation 16h
/** This method must be called when the OOoBean before the
- sytem window may be released by it's parent AWT/Swing component.
+ system window may be released by it's parent AWT/Swing component.
This is the case when java.awt.Component.isDisplayable() returns
true. This is definitely the case when the OOoBean is removed
from it's parent container.
@throws SystemWindowException
- if system window is not aquired.
+ if system window is not acquired.
@throws NoConnectionException
if the connection is not established.
diff --git a/bean/com/sun/star/comp/beans/SystemWindowException.java b/bean/com/sun/star/comp/beans/SystemWindowException.java
index 30426b8632b9..593c6ffd2170 100644
--- a/bean/com/sun/star/comp/beans/SystemWindowException.java
+++ b/bean/com/sun/star/comp/beans/SystemWindowException.java
@@ -24,7 +24,7 @@
package com.sun.star.comp.beans;
/** indicates that an operation needed a system window,
- but no system window was aquired yet.
+ but no system window was acquired yet.
@see com.sun.star.comp.beans.OOoBean.aquireSystemWindow
diff --git a/bean/qa/complex/bean/OOoBeanTest.java b/bean/qa/complex/bean/OOoBeanTest.java
index 29699b5d6a62..6274a46b2632 100644
--- a/bean/qa/complex/bean/OOoBeanTest.java
+++ b/bean/qa/complex/bean/OOoBeanTest.java
@@ -467,7 +467,7 @@ public class OOoBeanTest
}
/** Tests focus problem just like test6, but the implementation is a little
- * different. The bean is added and removed from withing the event dispatch
+ * different. The bean is added and removed from within the event dispatch
* thread. Using Thread.sleep at various points (#1, #2, #3) seems to workaround
* the problem.
* @throws Exception
diff --git a/bean/qa/complex/bean/WriterFrame.java b/bean/qa/complex/bean/WriterFrame.java
index 43c42d92af8f..fb2869b197c7 100644
--- a/bean/qa/complex/bean/WriterFrame.java
+++ b/bean/qa/complex/bean/WriterFrame.java
@@ -172,7 +172,7 @@ class WriterFrame extends java.awt.Frame
|| client.width != unoWin.width
|| client.height != unoWin.height)
{
- System.out.println("\nPosition of client are of Java frame does not match the postion" +
+ System.out.println("\nPosition of client are of Java frame does not match the position" +
"of the UNO window. These are the values of Java frame, followed by" +
"the UNO window: ");
System.out.println(client);
diff --git a/binaryurp/source/writer.cxx b/binaryurp/source/writer.cxx
index 9cfffbca126a..47022ffadd92 100755
--- a/binaryurp/source/writer.cxx
+++ b/binaryurp/source/writer.cxx
@@ -132,7 +132,7 @@ void Writer::queueReply(
void Writer::unblock() {
// Assumes that osl::Condition::set works as a memory barrier, so that
- // changes made by preceeding sendDirectRequest/Reply calls are visible to
+ // changes made by preceding sendDirectRequest/Reply calls are visible to
// subsequent sendRequest/Reply calls:
unblocked_.set();
}
diff --git a/bridges/inc/bridges/cpp_uno/bridge.hxx b/bridges/inc/bridges/cpp_uno/bridge.hxx
index 3e7fd5096a1a..4490861f2fa6 100644
--- a/bridges/inc/bridges/cpp_uno/bridge.hxx
+++ b/bridges/inc/bridges/cpp_uno/bridge.hxx
@@ -463,7 +463,7 @@ inline void SAL_CALL cppu_cppenv_computeObjectIdentifier(
}
catch (::com::sun::star::uno::RuntimeException &)
{
- OSL_ENSURE( 0, "### RuntimeException occured udring queryInterface()!" );
+ OSL_ENSURE( 0, "### RuntimeException occurred udring queryInterface()!" );
}
}
}
diff --git a/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx b/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx
index 34c601bf91e6..00f6e24babf8 100644
--- a/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx
+++ b/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx
@@ -62,7 +62,7 @@ public:
void * start;
#ifdef USE_DOUBLE_MMAP
- /** When seperately mmapping the block for writing and executing
+ /** When separately mmapping the block for writing and executing
exec points to the same memory as start, except start is used
exclusively for writing and exec for executing
*/
diff --git a/bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno.cxx b/bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno.cxx
index e231fcada401..20b66332d299 100644
--- a/bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno.cxx
@@ -155,7 +155,7 @@ void cpp2uno_call(
(*pThis->getUnoI()->pDispatcher)(
pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case no exception occured...
+ // in case no exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -174,7 +174,7 @@ void cpp2uno_call(
&aUnoExc, pThis->getBridge()->getUno2Cpp() );
// has to destruct the any
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/cc50_solaris_intel/except.cxx b/bridges/source/cpp_uno/cc50_solaris_intel/except.cxx
index ea2ca3bb3300..900772281410 100644
--- a/bridges/source/cpp_uno/cc50_solaris_intel/except.cxx
+++ b/bridges/source/cpp_uno/cc50_solaris_intel/except.cxx
@@ -329,7 +329,7 @@ void cc50_solaris_intel_raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cp
OUStringToOString(
*reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() );
+ fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
#endif
bridges::cpp_uno::shared::ArrayPointer< unsigned char > thunkPtr(
new unsigned char[24]);
@@ -430,7 +430,7 @@ void cc50_solaris_intel_fillUnoException(
}
#if OSL_DEBUG_LEVEL > 1
- fprintf( stderr, "> c++ exception occured: %s\n",
+ fprintf( stderr, "> c++ exception occurred: %s\n",
::rtl::OUStringToOString(
pExcTypeDescr->pTypeName,
RTL_TEXTENCODING_ASCII_US ).getStr() );
diff --git a/bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp.cxx b/bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp.cxx
index 612ec11570cc..28ab5a060793 100644
--- a/bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp.cxx
@@ -208,7 +208,7 @@ static inline void cpp_call(
nStackLongs
);
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/cc50_solaris_sparc/cpp2uno.cxx b/bridges/source/cpp_uno/cc50_solaris_sparc/cpp2uno.cxx
index e552dc545714..31bf1e9b11d6 100644
--- a/bridges/source/cpp_uno/cc50_solaris_sparc/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/cc50_solaris_sparc/cpp2uno.cxx
@@ -158,7 +158,7 @@ static typelib_TypeClass cpp2uno_call(
(*pThis->getUnoI()->pDispatcher)(
pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case no exception occured...
+ // in case no exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -179,7 +179,7 @@ static typelib_TypeClass cpp2uno_call(
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx b/bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx
index ca0b414f9ec1..97c80e464bc4 100644
--- a/bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx
+++ b/bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx
@@ -330,7 +330,7 @@ void cc50_solaris_sparc_raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cp
OUStringToOString(
*reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() );
+ fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
#endif
bridges::cpp_uno::shared::ArrayPointer< unsigned int > thunkPtr(
new unsigned int[6]);
@@ -423,7 +423,7 @@ void cc50_solaris_sparc_fillUnoException(
}
#if OSL_DEBUG_LEVEL > 1
- fprintf( stderr, "> c++ exception occured: %s\n",
+ fprintf( stderr, "> c++ exception occurred: %s\n",
::rtl::OUStringToOString(
pExcTypeDescr->pTypeName,
RTL_TEXTENCODING_ASCII_US ).getStr() );
diff --git a/bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp.cxx b/bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp.cxx
index 6e6538253826..939e96bf6c9b 100644
--- a/bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp.cxx
@@ -199,7 +199,7 @@ static void cpp_call(
nStackLongs
);
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_freebsd_intel/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_freebsd_intel/cpp2uno.cxx
index f58a9fe3dc28..03103e6d78d2 100644
--- a/bridges/source/cpp_uno/gcc3_freebsd_intel/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_freebsd_intel/cpp2uno.cxx
@@ -159,7 +159,7 @@ void cpp2uno_call(
(*pThis->getUnoI()->pDispatcher)(
pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -178,7 +178,7 @@ void cpp2uno_call(
&aUnoExc, pThis->getBridge()->getUno2Cpp() );
// has to destruct the any
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_freebsd_intel/except.cxx b/bridges/source/cpp_uno/gcc3_freebsd_intel/except.cxx
index 0a0c8bed24f8..d8149c1845b3 100644
--- a/bridges/source/cpp_uno/gcc3_freebsd_intel/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_freebsd_intel/except.cxx
@@ -233,7 +233,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
OUStringToOString(
*reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() );
+ fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
#endif
void * pCppExc;
type_info * rtti;
@@ -307,7 +307,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping
OUString unoName( toUNOname( header->exceptionType->name() ) );
#if OSL_DEBUG_LEVEL > 1
OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() );
+ fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() );
#endif
typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData );
if (0 == pExcTypeDescr)
diff --git a/bridges/source/cpp_uno/gcc3_freebsd_intel/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_freebsd_intel/uno2cpp.cxx
index a11653131c27..a3651338d982 100644
--- a/bridges/source/cpp_uno/gcc3_freebsd_intel/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_freebsd_intel/uno2cpp.cxx
@@ -266,7 +266,7 @@ static void cpp_call(
pAdjustedThisPtr, aVtableSlot.index,
pCppReturn, pReturnTypeDescr->eTypeClass,
(sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) );
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx
index f027a41e5bac..632529bd1c87 100644
--- a/bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx
@@ -194,7 +194,7 @@ static typelib_TypeClass cpp2uno_call(
// invoke uno dispatch call
(*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if ( pUnoExc )
{
// destruct temporary in/inout params
@@ -213,7 +213,7 @@ static typelib_TypeClass cpp2uno_call(
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx b/bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx
index 078424d5be37..24e6adaa412e 100644
--- a/bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_freebsd_x86-64/except.cxx
@@ -238,7 +238,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
OUStringToOString(
*reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() );
+ fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
#endif
void * pCppExc;
type_info * rtti;
@@ -312,7 +312,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping
OUString unoName( toUNOname( header->exceptionType->name() ) );
#if OSL_DEBUG_LEVEL > 1
OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() );
+ fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() );
#endif
typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData );
if (0 == pExcTypeDescr)
diff --git a/bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx
index 8aa9e3271be6..cc3d83d95ecb 100644
--- a/bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp.cxx
@@ -407,7 +407,7 @@ static void cpp_call(
Reference< XInterface >());
}
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx
index f75639a4fd28..fc9f8af53b6b 100644
--- a/bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx
@@ -268,7 +268,7 @@ static typelib_TypeClass cpp2uno_call(
// invoke uno dispatch call
(*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -287,7 +287,7 @@ static typelib_TypeClass cpp2uno_call(
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_linux_alpha/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_alpha/uno2cpp.cxx
index d927bc7fcf2e..bf7b734e1058 100644
--- a/bridges/source/cpp_uno/gcc3_linux_alpha/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_alpha/uno2cpp.cxx
@@ -337,7 +337,7 @@ static void cpp_call(
pStackStart, (pStack - pStackStart),
pGPR, nRegs,
pFPR, nRegs );
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx
index b16988fe4a48..7ab52372d5ab 100644
--- a/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx
@@ -182,7 +182,7 @@ namespace
(*pThis->getUnoI()->pDispatcher)(
pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -203,7 +203,7 @@ namespace
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx b/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx
index 1b06ecea6e25..461b00604f97 100644
--- a/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx
@@ -223,7 +223,7 @@ namespace CPPU_CURRENT_NAMESPACE
OUStringToOString(
*reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() );
+ fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
#endif
void * pCppExc;
type_info * rtti;
@@ -310,7 +310,7 @@ namespace CPPU_CURRENT_NAMESPACE
OUString unoName( toUNOname( header->exceptionType->name() ) );
#if OSL_DEBUG_LEVEL > 1
OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() );
+ fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() );
#endif
typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData );
if (0 == pExcTypeDescr)
diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx
index b51d3c46d993..517b9f6154ce 100644
--- a/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx
@@ -465,7 +465,7 @@ static void cpp_call(
(pStack - pStackStart),
pGPR, nGPR);
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx
index 042d24a054c0..5d087b23f792 100644
--- a/bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx
@@ -301,7 +301,7 @@ namespace
fprintf(stderr, "after dispatch\n");
#endif
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -322,7 +322,7 @@ namespace
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx b/bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx
index 63267f5e69f5..a289050e6921 100644
--- a/bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx
@@ -223,7 +223,7 @@ namespace CPPU_CURRENT_NAMESPACE
OUStringToOString(
*reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() );
+ fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
#endif
void * pCppExc;
type_info * rtti;
@@ -303,7 +303,7 @@ namespace CPPU_CURRENT_NAMESPACE
OUString unoName( toUNOname( header->exceptionType->name() ) );
#if OSL_DEBUG_LEVEL > 1
OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() );
+ fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() );
#endif
typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData );
if (0 == pExcTypeDescr)
diff --git a/bridges/source/cpp_uno/gcc3_linux_hppa/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_hppa/uno2cpp.cxx
index 33c1d076ff5a..1b2667bc4b95 100644
--- a/bridges/source/cpp_uno/gcc3_linux_hppa/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_hppa/uno2cpp.cxx
@@ -318,7 +318,7 @@ static void cpp_call(
pStackStart,
(pStack - pStackStart), pGPR, pFPR);
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx
index 85c583b350ee..a5982f9262a2 100644
--- a/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx
@@ -244,7 +244,7 @@ static typelib_TypeClass cpp2uno_call(
// invoke uno dispatch call
(*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -264,7 +264,7 @@ static typelib_TypeClass cpp2uno_call(
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp.cxx
index 311f282707b7..9bd2f59bebf4 100644
--- a/bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp.cxx
@@ -500,7 +500,7 @@ static void cpp_call(
pStackStart, ( pStack - pStackStart ),
pGPR, nGPR,
pFPR, nFPR );
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx
index 776bc8153959..5de57aa4760f 100644
--- a/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx
@@ -159,7 +159,7 @@ void cpp2uno_call(
(*pThis->getUnoI()->pDispatcher)(
pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -178,7 +178,7 @@ void cpp2uno_call(
&aUnoExc, pThis->getBridge()->getUno2Cpp() );
// has to destruct the any
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx
index fecb4629f833..3e097b8660fc 100644
--- a/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx
@@ -223,7 +223,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
OUStringToOString(
*reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() );
+ fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
#endif
void * pCppExc;
type_info * rtti;
@@ -297,7 +297,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping
OUString unoName( toUNOname( header->exceptionType->name() ) );
#if OSL_DEBUG_LEVEL > 1
OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() );
+ fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() );
#endif
typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData );
if (0 == pExcTypeDescr)
diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx
index 0336c1717457..bcaec7acfc8d 100644
--- a/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx
@@ -266,7 +266,7 @@ static void cpp_call(
pAdjustedThisPtr, aVtableSlot.index,
pCppReturn, pReturnTypeDescr->eTypeClass,
(sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) );
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx
index 073ea80053ab..7f6cfb309668 100644
--- a/bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx
@@ -196,7 +196,7 @@ namespace
fprintf(stderr, "after dispatch\n");
#endif
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -217,7 +217,7 @@ namespace
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_linux_m68k/except.cxx b/bridges/source/cpp_uno/gcc3_linux_m68k/except.cxx
index 63267f5e69f5..a289050e6921 100644
--- a/bridges/source/cpp_uno/gcc3_linux_m68k/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_m68k/except.cxx
@@ -223,7 +223,7 @@ namespace CPPU_CURRENT_NAMESPACE
OUStringToOString(
*reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() );
+ fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
#endif
void * pCppExc;
type_info * rtti;
@@ -303,7 +303,7 @@ namespace CPPU_CURRENT_NAMESPACE
OUString unoName( toUNOname( header->exceptionType->name() ) );
#if OSL_DEBUG_LEVEL > 1
OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() );
+ fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() );
#endif
typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData );
if (0 == pExcTypeDescr)
diff --git a/bridges/source/cpp_uno/gcc3_linux_m68k/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_m68k/uno2cpp.cxx
index 841ff25dcd98..aca3814f6737 100644
--- a/bridges/source/cpp_uno/gcc3_linux_m68k/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_m68k/uno2cpp.cxx
@@ -297,7 +297,7 @@ static void cpp_call(
pStackStart,
(pStack - pStackStart));
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx
index 8ee1e053683d..08d3ef5f78b6 100644
--- a/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx
@@ -308,7 +308,7 @@ namespace
fprintf(stderr,"cpp2uno_call2,after dispatch\n");
#endif
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -328,7 +328,7 @@ namespace
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
@@ -678,7 +678,7 @@ namespace
40: 00000000 nop
be careful, we use the argument space reserved by the caller to
- write down regs. This can avoid the need to make use of arbitary far away
+ write down regs. This can avoid the need to make use of arbitrary far away
stack space or to allocate a function frame for this code snippet itself.
Since only functions with variable arguments will overwrite the space,
cpp_vtable_call should be safe.
diff --git a/bridges/source/cpp_uno/gcc3_linux_mips/except.cxx b/bridges/source/cpp_uno/gcc3_linux_mips/except.cxx
index 948c4513eeca..edc98d7fe649 100644
--- a/bridges/source/cpp_uno/gcc3_linux_mips/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_mips/except.cxx
@@ -220,7 +220,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
OUStringToOString(
*reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() );
+ fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
#endif
void * pCppExc;
type_info * rtti;
@@ -294,7 +294,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping
OUString unoName( toUNOname( header->exceptionType->name() ) );
#if defined BRIDGES_DEBUG
OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() );
+ fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() );
#endif
typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData );
if (0 == pExcTypeDescr)
diff --git a/bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp.cxx
index bd6807547cbf..4b1fd5b4cefe 100644
--- a/bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp.cxx
@@ -108,7 +108,7 @@ namespace
fprintf(stderr,"overflow area pointer p=%p\n",p);
/* Let's figure out what is really going on here*/
- fprintf(stderr,"callVirtualMethod paramters string is %s\n",pPT);
+ fprintf(stderr,"callVirtualMethod parameters string is %s\n",pPT);
int k = nStackLongs;
long * q = (long *)pStackLongs;
while (k > 0) {
@@ -401,7 +401,7 @@ namespace
pAdjustedThisPtr, aVtableSlot.index,
pCppReturn, pReturnTypeDescr->eTypeClass, pParamType,
(sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) );
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx
index f4cb7ecb5937..7ec40d1467b3 100644
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx
@@ -292,7 +292,7 @@ static typelib_TypeClass cpp2uno_call(
// invoke uno dispatch call
(*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -312,7 +312,7 @@ static typelib_TypeClass cpp2uno_call(
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx
index e63bf17e3b47..693d54cea4d6 100644
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx
@@ -125,7 +125,7 @@ static void callVirtualMethod(
#if 0
/* Let's figure out what is really going on here*/
- fprintf(stderr,"callVirtualMethod paramters string is %s\n",pPT);
+ fprintf(stderr,"callVirtualMethod parameters string is %s\n",pPT);
int k = nStackLongs;
long * q = (long *)pStackLongs;
while (k > 0) {
@@ -483,7 +483,7 @@ static void cpp_call(
pAdjustedThisPtr, aVtableSlot.index,
pCppReturn, pReturnTypeDescr->eTypeClass, pParamType,
(sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) );
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx
index 59de0bd9c1fa..4e99d26b2edc 100644
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx
@@ -263,7 +263,7 @@ static typelib_TypeClass cpp2uno_call(
// invoke uno dispatch call
(*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -283,7 +283,7 @@ static typelib_TypeClass cpp2uno_call(
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx
index 1ba2fa3e8d88..47fe7fd272d8 100644
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx
@@ -410,7 +410,7 @@ static void cpp_call(
pStackStart, ( pStack - pStackStart ),
pGPR, nGPR,
pFPR, nFPR );
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx
index eef4a4576bd8..eb32fa41f064 100644
--- a/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx
@@ -251,7 +251,7 @@ static typelib_TypeClass cpp2uno_call(
// invoke uno dispatch call
(*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -270,7 +270,7 @@ static typelib_TypeClass cpp2uno_call(
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_linux_s390/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_s390/uno2cpp.cxx
index fcee3b5e8d09..20fba60acad6 100644
--- a/bridges/source/cpp_uno/gcc3_linux_s390/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_s390/uno2cpp.cxx
@@ -439,7 +439,7 @@ static void cpp_call(
pAdjustedThisPtr, aVtableSlot.index,
pCppReturn, pReturnTypeDescr->eTypeClass, pParamType,
(sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) );
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx
index e720984b9f46..cc53eba4b557 100644
--- a/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx
@@ -253,7 +253,7 @@ static typelib_TypeClass cpp2uno_call(
// invoke uno dispatch call
(*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -272,7 +272,7 @@ static typelib_TypeClass cpp2uno_call(
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_linux_s390x/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_s390x/uno2cpp.cxx
index 1e77f3d11daf..6ac65862b075 100644
--- a/bridges/source/cpp_uno/gcc3_linux_s390x/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_s390x/uno2cpp.cxx
@@ -342,7 +342,7 @@ static void cpp_call(
pStackStart, (pStack - pStackStart),
pGPR, nGPR,
pFPR, nFPR );
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx
index 8f52fd2ef679..ec579fa5f167 100644
--- a/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx
@@ -159,7 +159,7 @@ static typelib_TypeClass cpp2uno_call(
// invoke uno dispatch call
(*pThis->getUnoI()->pDispatcher)(pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -178,7 +178,7 @@ static typelib_TypeClass cpp2uno_call(
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_linux_sparc/except.cxx b/bridges/source/cpp_uno/gcc3_linux_sparc/except.cxx
index 698233b4e4a4..e5a08a6677d0 100644
--- a/bridges/source/cpp_uno/gcc3_linux_sparc/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_sparc/except.cxx
@@ -223,7 +223,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
OUStringToOString(
*reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() );
+ fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
#endif
void * pCppExc;
type_info * rtti;
@@ -297,7 +297,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping
OUString unoName( toUNOname( header->exceptionType->name() ) );
#if defined BRIDGES_DEBUG
OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() );
+ fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() );
#endif
typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData );
if (0 == pExcTypeDescr)
diff --git a/bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx
index 0b44265c257f..0e546d9d72d7 100644
--- a/bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx
@@ -408,7 +408,7 @@ static void cpp_call(
pReturnTypeDescr->eTypeClass,
(sal_Int32 *)pCppStackStart,
nStackLongs);
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
index f027a41e5bac..632529bd1c87 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
@@ -194,7 +194,7 @@ static typelib_TypeClass cpp2uno_call(
// invoke uno dispatch call
(*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if ( pUnoExc )
{
// destruct temporary in/inout params
@@ -213,7 +213,7 @@ static typelib_TypeClass cpp2uno_call(
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
index 8ea0be39fe2e..8148070c906a 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
@@ -225,7 +225,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
OUStringToOString(
*reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() );
+ fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
#endif
void * pCppExc;
type_info * rtti;
@@ -299,7 +299,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping
OUString unoName( toUNOname( header->exceptionType->name() ) );
#if OSL_DEBUG_LEVEL > 1
OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() );
+ fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() );
#endif
typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData );
if (0 == pExcTypeDescr)
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx
index a9891192a29c..fa597a71ee99 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx
@@ -408,7 +408,7 @@ static void cpp_call(
Reference< XInterface >());
}
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_macosx_intel/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_macosx_intel/cpp2uno.cxx
index fb9e0effa441..3843718349cf 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_intel/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_intel/cpp2uno.cxx
@@ -162,7 +162,7 @@ void cpp2uno_call(
(*pThis->getUnoI()->pDispatcher)(
pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -181,7 +181,7 @@ void cpp2uno_call(
&aUnoExc, pThis->getBridge()->getUno2Cpp() );
// has to destruct the any
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx b/bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx
index 53c654ad7f79..8c890a7a2cfb 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx
@@ -224,7 +224,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
OUStringToOString(
*reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() );
+ fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
#endif
void * pCppExc;
type_info * rtti;
@@ -298,7 +298,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping
OUString unoName( toUNOname( header->exceptionType->name() ) );
#if OSL_DEBUG_LEVEL > 1
OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() );
+ fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() );
#endif
typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData );
if (0 == pExcTypeDescr)
diff --git a/bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx
index 2f6179b58cce..562e621e51bc 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx
@@ -283,7 +283,7 @@ static void cpp_call(
pAdjustedThisPtr, aVtableSlot.index,
pCppReturn, pReturnTypeDescr, bSimpleReturn,
(sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) );
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_macosx_powerpc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_macosx_powerpc/cpp2uno.cxx
index 4457c7412b14..4b91d0fdb1a3 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_powerpc/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_powerpc/cpp2uno.cxx
@@ -142,7 +142,7 @@ static typelib_TypeClass cpp2uno_call(
}
}
- // now the stack has all of the paramters stored in it ready to be processed
+ // now the stack has all of the parameters stored in it ready to be processed
// so we are ready to build the uno call stack
pCppStack = (char *)ovrflw;
@@ -238,7 +238,7 @@ static typelib_TypeClass cpp2uno_call(
(*pThis->getUnoI()->pDispatcher)(
pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -259,7 +259,7 @@ static typelib_TypeClass cpp2uno_call(
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_macosx_powerpc/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_macosx_powerpc/uno2cpp.cxx
index c1c7e6ff8d4a..0d1a26de94fb 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_powerpc/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_powerpc/uno2cpp.cxx
@@ -445,7 +445,7 @@ static void cpp_call(
pAdjustedThisPtr, aVtableSlot.index,
pCppReturn, pReturnTypeDescr->eTypeClass, pParamType,
(sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) );
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_netbsd_intel/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_netbsd_intel/cpp2uno.cxx
index cadc775ddbbf..8811012fa0e3 100644
--- a/bridges/source/cpp_uno/gcc3_netbsd_intel/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_netbsd_intel/cpp2uno.cxx
@@ -159,7 +159,7 @@ static typelib_TypeClass cpp2uno_call(
// invoke uno dispatch call
(*pThis->pUnoI->pDispatcher)( pThis->pUnoI, pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -178,7 +178,7 @@ static typelib_TypeClass cpp2uno_call(
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_netbsd_intel/except.cxx b/bridges/source/cpp_uno/gcc3_netbsd_intel/except.cxx
index a60cdd000490..4b084800822f 100644
--- a/bridges/source/cpp_uno/gcc3_netbsd_intel/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_netbsd_intel/except.cxx
@@ -226,7 +226,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
OUStringToOString(
*reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() );
+ fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
#endif
void * pCppExc;
type_info * rtti;
@@ -300,7 +300,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping
OUString unoName( toUNOname( header->exceptionType->name() ) );
#if defined DEBUG
OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() );
+ fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() );
#endif
typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData );
if (0 == pExcTypeDescr)
diff --git a/bridges/source/cpp_uno/gcc3_netbsd_intel/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_netbsd_intel/uno2cpp.cxx
index e812ffe95ff4..7a45e9176424 100644
--- a/bridges/source/cpp_uno/gcc3_netbsd_intel/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_netbsd_intel/uno2cpp.cxx
@@ -246,7 +246,7 @@ static void cpp_call(
pThis->pCppI, nVtableCall,
pCppReturn, pReturnTypeDescr->eTypeClass,
(sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) );
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_os2_intel/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_os2_intel/cpp2uno.cxx
index 1b7e645fda39..1f33b15d64b1 100644
--- a/bridges/source/cpp_uno/gcc3_os2_intel/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_os2_intel/cpp2uno.cxx
@@ -160,7 +160,7 @@ static typelib_TypeClass cpp2uno_call(
fprintf( stderr, ">cpp2uno_call pUnoExc %x\n", pUnoExc);
#endif
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -181,7 +181,7 @@ static typelib_TypeClass cpp2uno_call(
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_os2_intel/except.cxx b/bridges/source/cpp_uno/gcc3_os2_intel/except.cxx
index 5bc6d6e0b72f..4bd4a61832a1 100644
--- a/bridges/source/cpp_uno/gcc3_os2_intel/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_os2_intel/except.cxx
@@ -233,7 +233,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
OUStringToOString(
*reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() );
+ fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
#endif
void * pCppExc;
type_info * rtti;
@@ -307,7 +307,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping
OUString unoName( toUNOname( header->exceptionType->name() ) );
#if OSL_DEBUG_LEVEL > 1
OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() );
+ fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() );
#endif
typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData );
if (0 == pExcTypeDescr)
diff --git a/bridges/source/cpp_uno/gcc3_os2_intel/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_os2_intel/uno2cpp.cxx
index 33d5f22334d9..e70beec1b1c3 100644
--- a/bridges/source/cpp_uno/gcc3_os2_intel/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_os2_intel/uno2cpp.cxx
@@ -265,7 +265,7 @@ static void cpp_call(
pAdjustedThisPtr, aVtableSlot.index,
pCppReturn, pReturnTypeDescr->eTypeClass,
(sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) );
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx
index 759cbf3e2727..ca44f6bb0271 100644
--- a/bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx
@@ -158,7 +158,7 @@ static typelib_TypeClass cpp2uno_call(
(*pThis->getUnoI()->pDispatcher)(
pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -179,7 +179,7 @@ static typelib_TypeClass cpp2uno_call(
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_solaris_intel/except.cxx b/bridges/source/cpp_uno/gcc3_solaris_intel/except.cxx
index 8242bbfb7d6b..fc5704381ff5 100644
--- a/bridges/source/cpp_uno/gcc3_solaris_intel/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_solaris_intel/except.cxx
@@ -224,7 +224,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
OUStringToOString(
*reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() );
+ fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
#endif
void * pCppExc;
type_info * rtti;
@@ -298,7 +298,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping
OUString unoName( toUNOname( header->exceptionType->name() ) );
#if OSL_DEBUG_LEVEL > 1
OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() );
+ fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() );
#endif
typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData );
if (0 == pExcTypeDescr)
diff --git a/bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp.cxx
index 9c7995933793..8c7ab0b35ab6 100644
--- a/bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp.cxx
@@ -256,7 +256,7 @@ static void cpp_call(
pAdjustedThisPtr, aVtableSlot.index,
pCppReturn, pReturnTypeDescr->eTypeClass,
(sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) );
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx
index 63b6c2000249..20d86ca3aeed 100644
--- a/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx
@@ -158,7 +158,7 @@ static typelib_TypeClass cpp2uno_call(
// invoke uno dispatch call
(*pThis->getUnoI()->pDispatcher)(pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -177,7 +177,7 @@ static typelib_TypeClass cpp2uno_call(
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/gcc3_solaris_sparc/except.cxx b/bridges/source/cpp_uno/gcc3_solaris_sparc/except.cxx
index 51a28735d651..35459702c575 100644
--- a/bridges/source/cpp_uno/gcc3_solaris_sparc/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_solaris_sparc/except.cxx
@@ -222,7 +222,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
OUStringToOString(
*reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() );
+ fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
#endif
void * pCppExc;
type_info * rtti;
@@ -296,7 +296,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping
OUString unoName( toUNOname( header->exceptionType->name() ) );
#if defined BRIDGES_DEBUG
OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() );
+ fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() );
#endif
typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData );
if (0 == pExcTypeDescr)
diff --git a/bridges/source/cpp_uno/gcc3_solaris_sparc/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_solaris_sparc/uno2cpp.cxx
index 326f5ca68b88..91f0714cdf29 100644
--- a/bridges/source/cpp_uno/gcc3_solaris_sparc/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_solaris_sparc/uno2cpp.cxx
@@ -403,7 +403,7 @@ static void cpp_call(
pReturnTypeDescr->eTypeClass,
(sal_Int32 *)pCppStackStart,
nStackLongs);
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/mingw_intel/cpp2uno.cxx b/bridges/source/cpp_uno/mingw_intel/cpp2uno.cxx
index 4797817868bf..641d04b7667a 100644
--- a/bridges/source/cpp_uno/mingw_intel/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/mingw_intel/cpp2uno.cxx
@@ -166,7 +166,7 @@ void cpp2uno_call(
(*pThis->getUnoI()->pDispatcher)(
pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -185,7 +185,7 @@ void cpp2uno_call(
&aUnoExc, pThis->getBridge()->getUno2Cpp() );
// has to destruct the any
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/mingw_intel/except.cxx b/bridges/source/cpp_uno/mingw_intel/except.cxx
index 6f2365d8d1d1..30b6951eedde 100644
--- a/bridges/source/cpp_uno/mingw_intel/except.cxx
+++ b/bridges/source/cpp_uno/mingw_intel/except.cxx
@@ -209,7 +209,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
OUStringToOString(
*reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() );
+ fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
#endif
void * pCppExc;
type_info * rtti;
@@ -283,7 +283,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping
OUString unoName( toUNOname( header->exceptionType->name() ) );
#if OSL_DEBUG_LEVEL > 1
OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() );
+ fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() );
#endif
typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData );
if (0 == pExcTypeDescr)
diff --git a/bridges/source/cpp_uno/mingw_intel/uno2cpp.cxx b/bridges/source/cpp_uno/mingw_intel/uno2cpp.cxx
index 03d6886a788d..27e656705735 100644
--- a/bridges/source/cpp_uno/mingw_intel/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/mingw_intel/uno2cpp.cxx
@@ -300,7 +300,7 @@ static void cpp_call(
pAdjustedThisPtr, aVtableSlot.index,
pCppReturn, pReturnTypeDescr,
(sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) );
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx b/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx
index 915ff6274642..81cf2bd3ff9a 100644
--- a/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx
@@ -161,7 +161,7 @@ static inline typelib_TypeClass cpp2uno_call(
(*pThis->getUnoI()->pDispatcher)(
pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if (pUnoExc)
{
// destruct temporary in/inout params
@@ -186,7 +186,7 @@ static inline typelib_TypeClass cpp2uno_call(
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
while (nTempIndizes--)
diff --git a/bridges/source/cpp_uno/msvc_win32_intel/except.cxx b/bridges/source/cpp_uno/msvc_win32_intel/except.cxx
index 494e8b1514fd..68355c31c790 100644
--- a/bridges/source/cpp_uno/msvc_win32_intel/except.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_intel/except.cxx
@@ -614,7 +614,7 @@ int msci_filterCppException(
RuntimeException exc(
OUString( RTL_CONSTASCII_USTRINGPARAM(
"[msci_uno bridge error] unexpected "
- "C++ exception occured!") ),
+ "C++ exception occurred!") ),
Reference< XInterface >() );
uno_type_any_constructAndConvert(
pUnoExc, &exc, ::getCppuType( &exc ).getTypeLibType(), pCpp2Uno );
diff --git a/bridges/source/cpp_uno/msvc_win32_intel/uno2cpp.cxx b/bridges/source/cpp_uno/msvc_win32_intel/uno2cpp.cxx
index 790e8cc43a84..a1463054ec76 100644
--- a/bridges/source/cpp_uno/msvc_win32_intel/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_intel/uno2cpp.cxx
@@ -286,7 +286,7 @@ static void cpp_call(
return;
}
- // NO exception occured
+ // NO exception occurred
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/s5abi_macosx_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/s5abi_macosx_x86-64/cpp2uno.cxx
index e649dd32e51b..b08cd6c47425 100644
--- a/bridges/source/cpp_uno/s5abi_macosx_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/s5abi_macosx_x86-64/cpp2uno.cxx
@@ -194,7 +194,7 @@ static typelib_TypeClass cpp2uno_call(
// invoke uno dispatch call
(*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
- // in case an exception occured...
+ // in case an exception occurred...
if ( pUnoExc )
{
// destruct temporary in/inout params
@@ -213,7 +213,7 @@ static typelib_TypeClass cpp2uno_call(
// is here for dummy
return typelib_TypeClass_VOID;
}
- else // else no exception occured...
+ else // else no exception occurred...
{
// temporary params
for ( ; nTempIndizes--; )
diff --git a/bridges/source/cpp_uno/s5abi_macosx_x86-64/except.cxx b/bridges/source/cpp_uno/s5abi_macosx_x86-64/except.cxx
index 71126ff8c9c4..53abcf355140 100644
--- a/bridges/source/cpp_uno/s5abi_macosx_x86-64/except.cxx
+++ b/bridges/source/cpp_uno/s5abi_macosx_x86-64/except.cxx
@@ -242,7 +242,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
OUStringToOString(
*reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ),
RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() );
+ fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
#endif
void * pCppExc;
type_info * rtti;
@@ -316,7 +316,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping
OUString unoName( toUNOname( header->exceptionType->name() ) );
#if OSL_DEBUG_LEVEL > 1
OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() );
+ fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() );
#endif
typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData );
if (0 == pExcTypeDescr)
diff --git a/bridges/source/cpp_uno/s5abi_macosx_x86-64/uno2cpp.cxx b/bridges/source/cpp_uno/s5abi_macosx_x86-64/uno2cpp.cxx
index e40ad9fbb32d..6afd0ae4488e 100644
--- a/bridges/source/cpp_uno/s5abi_macosx_x86-64/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/s5abi_macosx_x86-64/uno2cpp.cxx
@@ -409,7 +409,7 @@ static void cpp_call(
Reference< XInterface >());
}
- // NO exception occured...
+ // NO exception occurred...
*ppUnoExc = 0;
// reconvert temporary params
diff --git a/bridges/source/cpp_uno/shared/component.cxx b/bridges/source/cpp_uno/shared/component.cxx
index 6ec7cb7404f4..433c7860ea38 100644
--- a/bridges/source/cpp_uno/shared/component.cxx
+++ b/bridges/source/cpp_uno/shared/component.cxx
@@ -144,7 +144,7 @@ static void s_stub_computeObjectIdentifier(va_list * pParam)
catch (::com::sun::star::uno::RuntimeException &)
{
OSL_ENSURE(
- 0, "### RuntimeException occured udring queryInterface()!" );
+ 0, "### RuntimeException occurred udring queryInterface()!" );
}
}
}
diff --git a/bridges/source/jni_uno/jni_base.h b/bridges/source/jni_uno/jni_base.h
index f6a7b5e2b588..23334100021a 100644
--- a/bridges/source/jni_uno/jni_base.h
+++ b/bridges/source/jni_uno/jni_base.h
@@ -122,7 +122,7 @@ inline bool JNI_context::assert_no_exception() const
if (JNI_FALSE != m_env->ExceptionCheck())
{
m_env->ExceptionClear();
- OSL_ENSURE( 0, "unexpected java exception occured!" );
+ OSL_ENSURE( 0, "unexpected java exception occurred!" );
return false;
}
return true;
diff --git a/bridges/source/jni_uno/jni_bridge.cxx b/bridges/source/jni_uno/jni_bridge.cxx
index 8c3322590fba..b9204aa65f2b 100644
--- a/bridges/source/jni_uno/jni_bridge.cxx
+++ b/bridges/source/jni_uno/jni_bridge.cxx
@@ -297,7 +297,7 @@ void JNI_context::java_exc_occured() const
if (! jo_exc.is())
{
throw BridgeRuntimeError(
- OUSTR("java exception occured, but not available!?") +
+ OUSTR("java exception occurred, but not available!?") +
get_stack_trace() );
}
diff --git a/bridges/source/jni_uno/jni_java2uno.cxx b/bridges/source/jni_uno/jni_java2uno.cxx
index 77783cbda5ee..46ffd20e5c4d 100644
--- a/bridges/source/jni_uno/jni_java2uno.cxx
+++ b/bridges/source/jni_uno/jni_java2uno.cxx
@@ -105,7 +105,7 @@ void Bridge::handle_uno_exc( JNI_context const & jni, uno_Any * uno_exc ) const
{
OUStringBuffer buf( 128 );
buf.appendAscii(
- RTL_CONSTASCII_STRINGPARAM("exception occured java->uno: [") );
+ RTL_CONSTASCII_STRINGPARAM("exception occurred java->uno: [") );
buf.append( OUString::unacquired( &uno_exc->pType->pTypeName ) );
buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("] ") );
buf.append(
@@ -356,7 +356,7 @@ jobject Bridge::call_uno(
#endif
return 0; // void return
}
- else // exception occured
+ else // exception occurred
{
// destruct uno in args
for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos )
diff --git a/bridges/source/jni_uno/jni_uno2java.cxx b/bridges/source/jni_uno/jni_uno2java.cxx
index 713f7ee2c851..6e7f76c78a94 100644
--- a/bridges/source/jni_uno/jni_uno2java.cxx
+++ b/bridges/source/jni_uno/jni_uno2java.cxx
@@ -73,7 +73,7 @@ void Bridge::handle_java_exc(
if (! jo_exc.is())
{
throw BridgeRuntimeError(
- OUSTR("java exception occured, but no java exception available!?") +
+ OUSTR("java exception occurred, but no java exception available!?") +
jni.get_stack_trace() );
}
@@ -121,7 +121,7 @@ void Bridge::handle_java_exc(
#if OSL_DEBUG_LEVEL > 1
OUStringBuffer trace_buf( 128 );
trace_buf.appendAscii(
- RTL_CONSTASCII_STRINGPARAM("exception occured uno->java: [") );
+ RTL_CONSTASCII_STRINGPARAM("exception occurred uno->java: [") );
trace_buf.append( exc_name );
trace_buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("] ") );
trace_buf.append(
@@ -408,7 +408,7 @@ void Bridge::call_java(
}
} // else: already set integral uno return value
- // no exception occured
+ // no exception occurred
*uno_exc = 0;
}
#ifdef BROKEN_ALLOCA
@@ -779,7 +779,7 @@ void SAL_CALL UNO_proxy_dispatch(
reinterpret_cast< uno_Any * >( uno_ret ),
0, 0, 0 );
}
- // no exception occured
+ // no exception occurred
*uno_exc = 0;
}
}
diff --git a/canvas/inc/canvas/base/bitmapcanvasbase.hxx b/canvas/inc/canvas/base/bitmapcanvasbase.hxx
index 647f739d7527..833e214ea029 100644
--- a/canvas/inc/canvas/base/bitmapcanvasbase.hxx
+++ b/canvas/inc/canvas/base/bitmapcanvasbase.hxx
@@ -48,7 +48,7 @@ namespace canvas
@tpl Mutex
Lock strategy to use. Defaults to using the
- OBaseMutex-provided lock. Everytime one of the methods is
+ OBaseMutex-provided lock. Every time one of the methods is
entered, an object of type Mutex is created with m_aMutex as
the sole parameter, and destroyed again when the method scope
is left.
diff --git a/canvas/inc/canvas/base/bufferedgraphicdevicebase.hxx b/canvas/inc/canvas/base/bufferedgraphicdevicebase.hxx
index 931b04191629..2cb89158fbd3 100644
--- a/canvas/inc/canvas/base/bufferedgraphicdevicebase.hxx
+++ b/canvas/inc/canvas/base/bufferedgraphicdevicebase.hxx
@@ -73,7 +73,7 @@ namespace canvas
@tpl Mutex
Lock strategy to use. Defaults to using the
- OBaseMutex-provided lock. Everytime one of the methods is
+ OBaseMutex-provided lock. Every time one of the methods is
entered, an object of type Mutex is created with m_aMutex as
the sole parameter, and destroyed again when the method scope
is left.
diff --git a/canvas/inc/canvas/base/canvasbase.hxx b/canvas/inc/canvas/base/canvasbase.hxx
index b4ffb2360630..286093f321d9 100644
--- a/canvas/inc/canvas/base/canvasbase.hxx
+++ b/canvas/inc/canvas/base/canvasbase.hxx
@@ -78,13 +78,13 @@ namespace canvas
Canvas helper implementation for the backend in question. This
object will be held as a member of this template class, and
basically gets forwarded all XCanvas API calls. Furthermore,
- everytime the canvas API semantically changes the content of
+ every time the canvas API semantically changes the content of
the canvas, CanvasHelper::modifying() will get called
(<em>before</em> the actual modification takes place).
@tpl Mutex
Lock strategy to use. Defaults to using the
- OBaseMutex-provided lock. Everytime one of the methods is
+ OBaseMutex-provided lock. Every time one of the methods is
entered, an object of type Mutex is created with m_aMutex as
the sole parameter, and destroyed again when the method scope
is left.
diff --git a/canvas/inc/canvas/base/canvascustomspritebase.hxx b/canvas/inc/canvas/base/canvascustomspritebase.hxx
index 52e044af1b8b..40f31a5da260 100644
--- a/canvas/inc/canvas/base/canvascustomspritebase.hxx
+++ b/canvas/inc/canvas/base/canvascustomspritebase.hxx
@@ -60,7 +60,7 @@ namespace canvas
@tpl Mutex
Lock strategy to use. Defaults to using the
- OBaseMutex-provided lock. Everytime one of the methods is
+ OBaseMutex-provided lock. Every time one of the methods is
entered, an object of type Mutex is created with m_aMutex as
the sole parameter, and destroyed again when the method scope
is left.
diff --git a/canvas/inc/canvas/base/doublebitmapbase.hxx b/canvas/inc/canvas/base/doublebitmapbase.hxx
index 916e83c7740b..aca04fb57daf 100644
--- a/canvas/inc/canvas/base/doublebitmapbase.hxx
+++ b/canvas/inc/canvas/base/doublebitmapbase.hxx
@@ -49,7 +49,7 @@ namespace canvas
@tpl Mutex
Lock strategy to use. Defaults to using the
- OBaseMutex-provided lock. Everytime one of the methods is
+ OBaseMutex-provided lock. Every time one of the methods is
entered, an object of type Mutex is created with m_aMutex as
the sole parameter, and destroyed again when the method scope
is left.
diff --git a/canvas/inc/canvas/base/floatbitmapbase.hxx b/canvas/inc/canvas/base/floatbitmapbase.hxx
index 0e5157af4a34..d52b625aedb4 100644
--- a/canvas/inc/canvas/base/floatbitmapbase.hxx
+++ b/canvas/inc/canvas/base/floatbitmapbase.hxx
@@ -49,7 +49,7 @@ namespace canvas
@tpl Mutex
Lock strategy to use. Defaults to using the
- OBaseMutex-provided lock. Everytime one of the methods is
+ OBaseMutex-provided lock. Every time one of the methods is
entered, an object of type Mutex is created with m_aMutex as
the sole parameter, and destroyed again when the method scope
is left.
diff --git a/canvas/inc/canvas/base/graphicdevicebase.hxx b/canvas/inc/canvas/base/graphicdevicebase.hxx
index 374fdfa728d4..3dfaa16d6864 100644
--- a/canvas/inc/canvas/base/graphicdevicebase.hxx
+++ b/canvas/inc/canvas/base/graphicdevicebase.hxx
@@ -90,7 +90,7 @@ namespace canvas
@tpl Mutex
Lock strategy to use. Defaults to using the
- BaseMutexHelper-provided lock. Everytime one of the methods is
+ BaseMutexHelper-provided lock. Every time one of the methods is
entered, an object of type Mutex is created with m_aMutex as
the sole parameter, and destroyed again when the method scope
is left.
diff --git a/canvas/inc/canvas/base/integerbitmapbase.hxx b/canvas/inc/canvas/base/integerbitmapbase.hxx
index 47e990caa92b..e1e7d76849b6 100644
--- a/canvas/inc/canvas/base/integerbitmapbase.hxx
+++ b/canvas/inc/canvas/base/integerbitmapbase.hxx
@@ -49,7 +49,7 @@ namespace canvas
@tpl Mutex
Lock strategy to use. Defaults to using the
- OBaseMutex-provided lock. Everytime one of the methods is
+ OBaseMutex-provided lock. Every time one of the methods is
entered, an object of type Mutex is created with m_aMutex as
the sole parameter, and destroyed again when the method scope
is left.
diff --git a/canvas/inc/canvas/base/spritecanvasbase.hxx b/canvas/inc/canvas/base/spritecanvasbase.hxx
index 66df2d802411..21ab86c28128 100644
--- a/canvas/inc/canvas/base/spritecanvasbase.hxx
+++ b/canvas/inc/canvas/base/spritecanvasbase.hxx
@@ -52,7 +52,7 @@ namespace canvas
@tpl Mutex
Lock strategy to use. Defaults to using the
- OBaseMutex-provided lock. Everytime one of the methods is
+ OBaseMutex-provided lock. Every time one of the methods is
entered, an object of type Mutex is created with m_aMutex as
the sole parameter, and destroyed again when the method scope
is left.
diff --git a/canvas/inc/canvas/canvastools.hxx b/canvas/inc/canvas/canvastools.hxx
index e369ef4c5482..55430d349172 100755
--- a/canvas/inc/canvas/canvastools.hxx
+++ b/canvas/inc/canvas/canvastools.hxx
@@ -454,7 +454,7 @@ namespace canvas
/// Convert standard 8888 RGBA color to vcl color
::com::sun::star::uno::Sequence<sal_Int8> colorToStdIntSequence( const ::Color& rColor );
- // Modeled closely after boost::numeric_cast, only that we
+ // Modelled closely after boost::numeric_cast, only that we
// issue some trace output here and throw a RuntimeException
/** Cast numeric value into another (numeric) data type
@@ -470,7 +470,7 @@ namespace canvas
typedef ::std::numeric_limits< Source > SourceLimits;
typedef ::std::numeric_limits< Target > TargetLimits;
- if( ( arg<0 && !TargetLimits::is_signed) || // loosing the sign here
+ if( ( arg<0 && !TargetLimits::is_signed) || // losing the sign here
( SourceLimits::is_signed && arg<TargetLimits::min()) || // underflow will happen
( arg>TargetLimits::max() ) ) // overflow will happen
{
diff --git a/canvas/inc/canvas/rendering/irendermodule.hxx b/canvas/inc/canvas/rendering/irendermodule.hxx
index 64faeb2dbadd..12764c5bc3e0 100644
--- a/canvas/inc/canvas/rendering/irendermodule.hxx
+++ b/canvas/inc/canvas/rendering/irendermodule.hxx
@@ -114,7 +114,7 @@ namespace canvas
/** Query error status
- @returns true, if an error occured during primitive
+ @returns true, if an error occurred during primitive
construction.
*/
virtual bool isError() = 0;
diff --git a/canvas/source/cairo/cairo_canvasbitmap.cxx b/canvas/source/cairo/cairo_canvasbitmap.cxx
index 4adf92794dd8..02200d0a6583 100644
--- a/canvas/source/cairo/cairo_canvasbitmap.cxx
+++ b/canvas/source/cairo/cairo_canvasbitmap.cxx
@@ -49,7 +49,7 @@ namespace
{
HBITMAP surface2HBitmap( const SurfaceSharedPtr& rSurface, const basegfx::B2ISize& rSize )
{
- // cant seem to retrieve HBITMAP from cairo. copy content then
+ // can't seem to retrieve HBITMAP from cairo. copy content then
HDC hScreenDC=GetDC(NULL);
HBITMAP hBmpBitmap = CreateCompatibleBitmap( hScreenDC,
rSize.getX(),
@@ -242,7 +242,7 @@ namespace cairocanvas
cairo_paint( pAlphaCairo.get() );
pAlphaCairo.reset();
- // cant seem to retrieve HBITMAP from cairo. copy content then
+ // can't seem to retrieve HBITMAP from cairo. copy content then
uno::Sequence< uno::Any > args( 1 );
args[1] = uno::Any( sal_Int64(surface2HBitmap(pAlphaSurface,maSize)) );
diff --git a/canvas/source/cairo/cairo_canvasfont.cxx b/canvas/source/cairo/cairo_canvasfont.cxx
index cebcfc6fe67a..ae73362336b5 100644
--- a/canvas/source/cairo/cairo_canvasfont.cxx
+++ b/canvas/source/cairo/cairo_canvasfont.cxx
@@ -87,7 +87,7 @@ namespace cairocanvas
maFont->SetLanguage(MsLangId::convertLocaleToLanguage(rFontRequest.Locale));
- // adjust to stretched/shrinked font
+ // adjust to stretched/shrunk font
if( !::rtl::math::approxEqual( rFontMatrix.m00, rFontMatrix.m11) )
{
OutputDevice* pOutDev( mpRefDevice->getOutputDevice() );
diff --git a/canvas/source/cairo/cairo_canvashelper.cxx b/canvas/source/cairo/cairo_canvashelper.cxx
index a8045fefdecf..b0306ae3c3ca 100644
--- a/canvas/source/cairo/cairo_canvashelper.cxx
+++ b/canvas/source/cairo/cairo_canvashelper.cxx
@@ -598,7 +598,7 @@ namespace cairocanvas
aColor = pBitmapReadAcc->GetColor( nY, nX );
// cairo need premultiplied color values
- // TODO(rodo) handle endianess
+ // TODO(rodo) handle endianness
#ifdef OSL_BIGENDIAN
if( pAlphaReadAcc )
nAlpha = data[ nOff++ ];
diff --git a/canvas/source/cairo/cairo_quartz_cairo.cxx b/canvas/source/cairo/cairo_quartz_cairo.cxx
index db8316fd894a..50072943f31c 100644
--- a/canvas/source/cairo/cairo_quartz_cairo.cxx
+++ b/canvas/source/cairo/cairo_quartz_cairo.cxx
@@ -310,7 +310,7 @@ namespace cairo
}
/**
- * cairo::createBitmapSurface: Create platfrom native Canvas surface from BitmapSystemData
+ * cairo::createBitmapSurface: Create platform native Canvas surface from BitmapSystemData
* @param OutputDevice (not used)
* @param rData Platform native image data (struct BitmapSystemData in vcl/inc/bitmap.hxx)
* @param rSize width and height of the new surface
diff --git a/canvas/source/cairo/cairo_textlayout.cxx b/canvas/source/cairo/cairo_textlayout.cxx
index 35f498ddfc08..4a776bb7e734 100644
--- a/canvas/source/cairo/cairo_textlayout.cxx
+++ b/canvas/source/cairo/cairo_textlayout.cxx
@@ -343,7 +343,7 @@ namespace cairocanvas
/**
* TextLayout::isCairoRenderable
*
- * Features currenly not supported by Cairo (VCL rendering is used as fallback):
+ * Features currently not supported by Cairo (VCL rendering is used as fallback):
* - vertical glyphs
*
* @return true, if text/font can be rendered with cairo
@@ -547,7 +547,7 @@ namespace cairocanvas
FontMetric aMetric( rOutDev.GetFontMetric(aFont) );
long nWidth = 0;
- // width calculation is deep magic and platform/font dependant.
+ // width calculation is deep magic and platform/font dependent.
// width == 0 means no scaling, and usually width == height means the same.
// Other values mean horizontal scaling (narrow or stretching)
// see issue #101566
diff --git a/canvas/source/cairo/cairo_win32_cairo.cxx b/canvas/source/cairo/cairo_win32_cairo.cxx
index e5f42eaa89d7..86ec2c62dd86 100644
--- a/canvas/source/cairo/cairo_win32_cairo.cxx
+++ b/canvas/source/cairo/cairo_win32_cairo.cxx
@@ -88,7 +88,7 @@ namespace cairo
}
/**
- * Surface::Surface: Create platfrom native Canvas surface from BitmapSystemData
+ * Surface::Surface: Create platform native Canvas surface from BitmapSystemData
* @param pBmpData Platform native image data (struct BitmapSystemData in vcl/inc/bitmap.hxx)
*
* Create a surface based on image data on pBmpData
@@ -255,7 +255,7 @@ namespace cairo
/**
- * cairo::createBitmapSurface: Create platfrom native Canvas surface from BitmapSystemData
+ * cairo::createBitmapSurface: Create platform native Canvas surface from BitmapSystemData
* @param OutputDevice (not used)
* @param rData Platform native image data (struct BitmapSystemData in vcl/inc/bitmap.hxx)
* @param rSize width and height of the new surface
diff --git a/canvas/source/cairo/cairo_xlib_cairo.cxx b/canvas/source/cairo/cairo_xlib_cairo.cxx
index 4fa58fa06a3f..d78d1ddc7daf 100644
--- a/canvas/source/cairo/cairo_xlib_cairo.cxx
+++ b/canvas/source/cairo/cairo_xlib_cairo.cxx
@@ -154,7 +154,7 @@ namespace cairo
}
/**
- * Surface::Surface: Create platfrom native Canvas surface from BitmapSystemData
+ * Surface::Surface: Create platform native Canvas surface from BitmapSystemData
* @param pSysData Platform native system environment data (struct SystemEnvData in vcl/inc/sysdata.hxx)
* @param pBmpData Platform native image data (struct BitmapSystemData in vcl/inc/bitmap.hxx)
* @param width width of the new surface
diff --git a/canvas/source/directx/dx_vcltools.cxx b/canvas/source/directx/dx_vcltools.cxx
index 6f6625cccec2..b33009f8e618 100644
--- a/canvas/source/directx/dx_vcltools.cxx
+++ b/canvas/source/directx/dx_vcltools.cxx
@@ -116,7 +116,7 @@ namespace dxcanvas
!aBmpSysData.pDIB )
{
// first of all, ensure that Bitmap contains a DIB, by
- // aquiring a read access
+ // acquiring a read access
BitmapReadAccess* pReadAcc = rBmp.AcquireReadAccess();
// TODO(P2): Acquiring a read access can actually
diff --git a/canvas/source/tools/pagemanager.cxx b/canvas/source/tools/pagemanager.cxx
index ebf3b69a3165..22b954d2929f 100644
--- a/canvas/source/tools/pagemanager.cxx
+++ b/canvas/source/tools/pagemanager.cxx
@@ -171,7 +171,7 @@ namespace canvas
PageContainer_t::iterator it(maPages.begin());
while(it != aEnd)
{
- // if the page at hand takes the fragment, we immediatelly
+ // if the page at hand takes the fragment, we immediately
// call select() to pull the information from the associated
// image to the hardware surface.
if((*it)->nakedFragment(pFragment))
diff --git a/canvas/source/tools/surface.hxx b/canvas/source/tools/surface.hxx
index 204fa2ff269e..98388d515083 100644
--- a/canvas/source/tools/surface.hxx
+++ b/canvas/source/tools/surface.hxx
@@ -43,7 +43,7 @@ namespace canvas
// Surface
//////////////////////////////////////////////////////////////////////////////////
- /** surfaces denote occupied areas withing pages.
+ /** surfaces denote occupied areas within pages.
pages encapsulate the hardware buffers that
contain image data which can be used for texturing.
diff --git a/canvas/source/tools/surfaceproxy.hxx b/canvas/source/tools/surfaceproxy.hxx
index d1a67159cf16..bb8665aac8d3 100644
--- a/canvas/source/tools/surfaceproxy.hxx
+++ b/canvas/source/tools/surfaceproxy.hxx
@@ -41,7 +41,7 @@ namespace canvas
Surface proxies are the connection between *one* source image
and *one or more* hardware surfaces (or textures). in a
- logical structure surface proxies represent soley this
+ logical structure surface proxies represent solely this
dependeny plus some simple cache management.
*/
class SurfaceProxy : public ISurfaceProxy
diff --git a/canvas/source/vcl/canvasfont.cxx b/canvas/source/vcl/canvasfont.cxx
index f42279bd7e5d..4222e22d5457 100644
--- a/canvas/source/vcl/canvasfont.cxx
+++ b/canvas/source/vcl/canvasfont.cxx
@@ -67,7 +67,7 @@ namespace vclcanvas
maFont->SetLanguage(MsLangId::convertLocaleToLanguage(rFontRequest.Locale));
- // adjust to stretched/shrinked font
+ // adjust to stretched/shrunk font
if( !::rtl::math::approxEqual( rFontMatrix.m00, rFontMatrix.m11) )
{
OutputDevice& rOutDev( rOutDevProvider->getOutDev() );
diff --git a/canvas/workben/canvasdemo.cxx b/canvas/workben/canvasdemo.cxx
index 5728d1d7b0cd..999e6c7f9785 100644
--- a/canvas/workben/canvasdemo.cxx
+++ b/canvas/workben/canvasdemo.cxx
@@ -471,7 +471,7 @@ class DemoRenderer
//begin hacks
//This stuff doesn't belong here, but probably in curves
//This stuff doesn't work in VCL b/c vcl doesn't do beziers
- //Hah! Everytime the window redraws, we do this
+ //Hah! Every time the window redraws, we do this
double ax;
double ay;
double bx;
diff --git a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx
index a1df143e95cd..bbfaa57328a2 100755
--- a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx
+++ b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx
@@ -88,7 +88,7 @@ public:
*/
::com::sun::star::awt::Size GetPageSize() const;
- /** calculates the current axes title sizes and substract that space them from the given recangle
+ /** calculates the current axes title sizes and subtract that space them from the given recangle
*/
::com::sun::star::awt::Rectangle SubstractAxisTitleSizes( const ::com::sun::star::awt::Rectangle& rPositionRect );
diff --git a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
index c138755767fa..9bdcb3dcfb59 100755
--- a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
@@ -1025,7 +1025,7 @@ void ChartDocumentWrapper::impl_resetAddIn()
{
try
{
- //make sure that the add-in does not hold a refernce to us anymore:
+ //make sure that the add-in does not hold a references to us anymore:
Reference< lang::XComponent > xComp( xAddIn, uno::UNO_QUERY );
if( xComp.is())
xComp->dispose();
diff --git a/chart2/source/controller/dialogs/DataBrowserModel.cxx b/chart2/source/controller/dialogs/DataBrowserModel.cxx
index 2e2b5f7dacdd..d3b02ef8409d 100644
--- a/chart2/source/controller/dialogs/DataBrowserModel.cxx
+++ b/chart2/source/controller/dialogs/DataBrowserModel.cxx
@@ -413,7 +413,7 @@ void DataBrowserModel::insertDataSeries( sal_Int32 nAfterColumnIndex )
}
if( nSeriesNumberFormat != 0 )
{
- //give the new series the same number format as the former series especially for bubble charts thus the bubble size values can be edited with same format immidiately
+ //give the new series the same number format as the former series especially for bubble charts thus the bubble size values can be edited with same format immediately
Reference< beans::XPropertySet > xNewSeriesProps( xNewSeries, uno::UNO_QUERY );
if( xNewSeriesProps.is() )
xNewSeriesProps->setPropertyValue( C2U( "NumberFormat" ), uno::makeAny( nSeriesNumberFormat ) );
diff --git a/chart2/source/controller/dialogs/ObjectNameProvider.cxx b/chart2/source/controller/dialogs/ObjectNameProvider.cxx
index 9113d55aa00f..22bd50a5cf2c 100644
--- a/chart2/source/controller/dialogs/ObjectNameProvider.cxx
+++ b/chart2/source/controller/dialogs/ObjectNameProvider.cxx
@@ -567,7 +567,7 @@ rtl::OUString ObjectNameProvider::getHelpText( const rtl::OUString& rObjectCID,
else if( OBJECTTYPE_DIAGRAM == eObjectType )
{
//todo different names for different diagram types ???
- //or different names for series of diferent charttypes
+ //or different names for series of different charttypes
}
*/
else if( OBJECTTYPE_DATA_CURVE == eObjectType )
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx
index 9f6ad5c81b64..74ae423975af 100644
--- a/chart2/source/controller/main/ChartController.cxx
+++ b/chart2/source/controller/main/ChartController.cxx
@@ -235,7 +235,7 @@ void ChartController::TheModel::tryTermination()
}
catch( util::CloseVetoException& )
{
- //since we have indicated to give up the ownership with paramter true in close call
+ //since we have indicated to give up the ownership with parameter true in close call
//the one who has thrown the CloseVetoException is the new owner
#if OSL_DEBUG_LEVEL > 2
diff --git a/chart2/source/inc/DataSeriesHelper.hxx b/chart2/source/inc/DataSeriesHelper.hxx
index 2ec5f080c4b6..f3f3bd8b26bc 100644
--- a/chart2/source/inc/DataSeriesHelper.hxx
+++ b/chart2/source/inc/DataSeriesHelper.hxx
@@ -102,7 +102,7 @@ OOO_DLLPUBLIC_CHARTTOOLS ::rtl::OUString getDataSeriesLabel(
::com::sun::star::chart2::XDataSeries > & xSeries,
const ::rtl::OUString & rLabelSequenceRole );
-/** Get the label of a labeled sequence including neccessary automatic generation
+/** Get the label of a labeled sequence including necessary automatic generation
*/
OOO_DLLPUBLIC_CHARTTOOLS ::rtl::OUString getLabelForLabeledDataSequence(
const ::com::sun::star::uno::Reference<
diff --git a/chart2/source/inc/DiagramHelper.hxx b/chart2/source/inc/DiagramHelper.hxx
index 55e1e7ed4901..b485bb09300f 100644
--- a/chart2/source/inc/DiagramHelper.hxx
+++ b/chart2/source/inc/DiagramHelper.hxx
@@ -156,7 +156,7 @@ public:
::com::sun::star::chart2::XDiagram > & xDiagram,
sal_Int32 nNewDimensionCount );
- /** Replaces all occurences of xCooSysToReplace in the tree with
+ /** Replaces all occurrences of xCooSysToReplace in the tree with
xReplacement in the diagram's tree
*/
SAL_DLLPRIVATE static void replaceCoordinateSystem(
diff --git a/chart2/source/inc/ObjectIdentifier.hxx b/chart2/source/inc/ObjectIdentifier.hxx
index 10331995520f..ad7fb497e73b 100644
--- a/chart2/source/inc/ObjectIdentifier.hxx
+++ b/chart2/source/inc/ObjectIdentifier.hxx
@@ -86,7 +86,7 @@ class OOO_DLLPUBLIC_CHARTTOOLS ObjectIdentifier
//syntax of a CID: CID:/classification/ObjectID
//where classification: nothing or "MultiClick" or "DragMethod=DragMethodServiceName" and "DragParameter=DragParameterString"
- // or a combination of these seperated with a colon
+ // or a combination of these separated with a colon
//where DragMethodServiceName can be a selfdefined servicename for special actions //todo define standard service for this purpose
//where DragParameterString is any string you like to transport information to your special drag service
// only semicolon, colon, equal sign and slash are not allowed characters
diff --git a/chart2/source/tools/LifeTime.cxx b/chart2/source/tools/LifeTime.cxx
index d283e00a0ce3..5a81a1fc5cb4 100644
--- a/chart2/source/tools/LifeTime.cxx
+++ b/chart2/source/tools/LifeTime.cxx
@@ -267,7 +267,7 @@ bool CloseableLifeTimeManager::impl_isDisposedOrClosed( bool bAssert )
void CloseableLifeTimeManager
::g_close_endTryClose(sal_Bool bDeliverOwnership, sal_Bool /* bMyVeto */ )
{
- //this method is called, if the try to close was not successfull
+ //this method is called, if the try to close was not successful
osl::Guard< osl::Mutex > aGuard( m_aAccessMutex );
impl_setOwnership( bDeliverOwnership, sal_False );
@@ -311,7 +311,7 @@ bool CloseableLifeTimeManager::impl_isDisposedOrClosed( bool bAssert )
void CloseableLifeTimeManager
::g_close_endTryClose_doClose()
{
- //this method is called, if the try to close was successfull
+ //this method is called, if the try to close was successful
osl::ResettableGuard< osl::Mutex > aGuard( m_aAccessMutex );
m_bInTryClose = sal_False;
diff --git a/chart2/source/tools/XMLRangeHelper.cxx b/chart2/source/tools/XMLRangeHelper.cxx
index 8ebebfec6ef0..ea6032d0cce5 100644
--- a/chart2/source/tools/XMLRangeHelper.cxx
+++ b/chart2/source/tools/XMLRangeHelper.cxx
@@ -353,7 +353,7 @@ CellRange getCellRangeFromXMLString( const OUString & rXMLString )
nStartPos, nEndPos - 1,
aResult ))
{
- // if an error occured, bail out
+ // if an error occurred, bail out
return CellRange();
}
}
diff --git a/chart2/source/view/axes/VCartesianAxis.cxx b/chart2/source/view/axes/VCartesianAxis.cxx
index 9d1f02cf5056..6ccebba1c558 100644
--- a/chart2/source/view/axes/VCartesianAxis.cxx
+++ b/chart2/source/view/axes/VCartesianAxis.cxx
@@ -592,7 +592,7 @@ bool VCartesianAxis::createTextShapes(
, TickFactory_2D* pTickFactory
, sal_Int32 nScreenDistanceBetweenTicks )
{
- //returns true if the text shapes have been created succesfully
+ //returns true if the text shapes have been created successfully
//otherwise false - in this case the AxisLabelProperties have changed
//and contain new instructions for the next try for text shape creation
diff --git a/chart2/source/view/charttypes/Splines.cxx b/chart2/source/view/charttypes/Splines.cxx
index 179a315f429f..8615c9bfc8bc 100644
--- a/chart2/source/view/charttypes/Splines.cxx
+++ b/chart2/source/view/charttypes/Splines.cxx
@@ -107,7 +107,7 @@ private:
*/
void Calculate();
- /** @descr this function corresponds to the algoritm 4.76 in [2] and
+ /** @descr this function corresponds to the algorithm 4.76 in [2] and
theorem 5.3.7 in [3]
[2] Engeln-Müllges, Gisela: Numerik-Algorithmen: Verfahren, Beispiele, Anwendungen
diff --git a/chart2/source/view/diagram/VDiagram.cxx b/chart2/source/view/diagram/VDiagram.cxx
index a4f080cbaf43..a7ba3da97d8c 100644
--- a/chart2/source/view/diagram/VDiagram.cxx
+++ b/chart2/source/view/diagram/VDiagram.cxx
@@ -379,7 +379,7 @@ void VDiagram::adjustAspectRatio3d( const awt::Size& rAvailableSize )
lcl_ensureScaleValue(fScaleX);
}
else
- fScaleX = 1.0;//looking from top or bottom hieght is irrelevant
+ fScaleX = 1.0;//looking from top or bottom height is irrelevant
}
else
{
@@ -424,7 +424,7 @@ void VDiagram::adjustAspectRatio3d( const awt::Size& rAvailableSize )
lcl_ensureScaleValue(fScaleY);
}
else
- fScaleY = 1.0;//looking from top or bottom hieght is irrelevant
+ fScaleY = 1.0;//looking from top or bottom height is irrelevant
*/
}
else if( fScaleY>0 && fScaleZ>0 )
@@ -437,7 +437,7 @@ void VDiagram::adjustAspectRatio3d( const awt::Size& rAvailableSize )
lcl_ensureScaleValue(fScaleX);
}
else
- fScaleX = 1.0;//looking from top or bottom hieght is irrelevant
+ fScaleX = 1.0;//looking from top or bottom height is irrelevant
}
else
{
diff --git a/chart2/source/view/inc/MinimumAndMaximumSupplier.hxx b/chart2/source/view/inc/MinimumAndMaximumSupplier.hxx
index 623fe38d5f42..a4aa732cd211 100644
--- a/chart2/source/view/inc/MinimumAndMaximumSupplier.hxx
+++ b/chart2/source/view/inc/MinimumAndMaximumSupplier.hxx
@@ -57,7 +57,7 @@ public:
virtual bool isExpandNarrowValuesTowardZero( sal_Int32 nDimensionIndex ) = 0;
virtual bool isSeperateStackingForDifferentSigns( sal_Int32 nDimensionIndex ) = 0;
- //return a constant out of ::com::sun::star::chart::TimeUnit that allows to display the smallest distance between occuring dates
+ //return a constant out of ::com::sun::star::chart::TimeUnit that allows to display the smallest distance between occurring dates
virtual long calculateTimeResolutionOnXAxis() = 0;
virtual void setTimeResolutionOnXAxis( long nTimeResolution, const Date& rNullDate ) = 0;
};
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index 4f82e1d8f02e..9261052f3933 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -906,7 +906,7 @@ void SeriesPlotterContainer::setScalesFromCooSysToPlotter()
void SeriesPlotterContainer::setNumberFormatsFromAxes()
{
- //set numberfarmats to plotter to enable them to display the data labels in the numberfromat of teh axis
+ //set numberfarmats to plotter to enable them to display the data labels in the numberfromat of the axis
::std::vector< VSeriesPlotter* >::const_iterator aPlotterIter = m_aSeriesPlotterList.begin();
const ::std::vector< VSeriesPlotter* >::const_iterator aPlotterEnd = m_aSeriesPlotterList.end();
@@ -1512,7 +1512,7 @@ awt::Rectangle ChartView::impl_createDiagramAndContent( SeriesPlotterContainer&
pVCooSys->setTransformationSceneToScreen( B3DHomMatrixToHomogenMatrix(
createTransformationSceneToScreen( aVDiagram.getCurrentRectangle() ) ));
}
- pVCooSys->updatePositions();//todo: logically this belongs to the condition above, but it seems also to be neccessary to give the axes group shapes the right bounding rects for hit test - probably caused by bug i106183 -> check again if fixed
+ pVCooSys->updatePositions();//todo: logically this belongs to the condition above, but it seems also to be necessary to give the axes group shapes the right bounding rects for hit test - probably caused by bug i106183 -> check again if fixed
}
//create axes and grids for the final size
@@ -2530,7 +2530,7 @@ void ChartView::createShapes()
.getOrCreateChartRootShape( m_xDrawPage ) );
SdrPage* pPage = ChartView::getSdrPage();
- if(pPage) //it is neccessary to use the implementation here as the uno page does not provide a propertyset
+ if(pPage) //it is necessary to use the implementation here as the uno page does not provide a propertyset
pPage->SetSize(Size(aPageSize.Width,aPageSize.Height));
else
{
diff --git a/chart2/source/view/main/PlottingPositionHelper.cxx b/chart2/source/view/main/PlottingPositionHelper.cxx
index 63982ad83d35..fd71c32bac18 100644
--- a/chart2/source/view/main/PlottingPositionHelper.cxx
+++ b/chart2/source/view/main/PlottingPositionHelper.cxx
@@ -216,7 +216,7 @@ awt::Point PlottingPositionHelper::transformSceneToScreenPosition( const drawing
//@todo would like to have a cheaper method to do this transformation
awt::Point aScreenPoint( static_cast<sal_Int32>(rScenePosition3D.PositionX), static_cast<sal_Int32>(rScenePosition3D.PositionY) );
- //transformation from scene to screen (only neccessary for 3D):
+ //transformation from scene to screen (only necessary for 3D):
if(3==nDimensionCount)
{
//create 3D anchor shape
diff --git a/cli_ure/source/climaker/climaker_app.cxx b/cli_ure/source/climaker/climaker_app.cxx
index 3ceda3f0d367..4f540a6c188e 100644
--- a/cli_ure/source/climaker/climaker_app.cxx
+++ b/cli_ure/source/climaker/climaker_app.cxx
@@ -718,7 +718,7 @@ SAL_IMPLEMENT_MAIN()
osl_getThreadTextEncoding() ) );
fprintf(
stderr,
- "\n> error: .NET exception occured: %s\n> dying abnormally...",
+ "\n> error: .NET exception occurred: %s\n> dying abnormally...",
msg.getStr() );
ret = 1;
}
diff --git a/cli_ure/source/native/makefile.mk b/cli_ure/source/native/makefile.mk
index a19337ce2c96..1cce59ef366c 100644
--- a/cli_ure/source/native/makefile.mk
+++ b/cli_ure/source/native/makefile.mk
@@ -152,7 +152,7 @@ $(SIGN): $(SHL1TARGETN)
#do not forget to deliver cli_cppuhelper.config. It is NOT embedded in the policy file.
.IF "$(CCNUMVER)" >= "001399999999"
#.NET 2 and higher
-# If the x86 switch is ommitted then the system assumes the assembly to be MSIL.
+# If the x86 switch is omitted then the system assumes the assembly to be MSIL.
# The policy file is still found when an application tries to load an older
# cli_cppuhelper.dll but the system cannot locate it. It possibly assumes that the
# assembly is also 'MSIL' like its policy file.
diff --git a/cli_ure/source/native/native_bootstrap.cxx b/cli_ure/source/native/native_bootstrap.cxx
index 8dfa92aa60f5..2c4bbaa0d624 100644
--- a/cli_ure/source/native/native_bootstrap.cxx
+++ b/cli_ure/source/native/native_bootstrap.cxx
@@ -69,7 +69,7 @@ namespace
* @param subKeyName name of the subkey to open
*
* @return the installation path or NULL, if no installation was found or
- * if an error occured
+ * if an error occurred
*/
WCHAR* getPathFromRegistryKey( HKEY hroot, LPCWSTR subKeyName )
{
diff --git a/cli_ure/source/uno_bridge/cli_bridge.cxx b/cli_ure/source/uno_bridge/cli_bridge.cxx
index 4845d51e9e8f..9fe5d0f79760 100644
--- a/cli_ure/source/uno_bridge/cli_bridge.cxx
+++ b/cli_ure/source/uno_bridge/cli_bridge.cxx
@@ -190,8 +190,8 @@ namespace cli_uno
I doubt that the the case that the ref count raises from 0 to 1
can occur. uno_ext_getMapping returns an acquired mapping. Every time
that function is called then a new mapping is created. Following the
- rules of ref counted objects, then if the ref count is null noone has
- a reference to the object anymore. Hence noone can call acquire. If someone
+ rules of ref counted objects, then if the ref count is null no one has
+ a reference to the object anymore. Hence no one can call acquire. If someone
calls acquire then they must have kept an unacquired pointer which is
illegal.
*/
diff --git a/cli_ure/source/uno_bridge/cli_data.cxx b/cli_ure/source/uno_bridge/cli_data.cxx
index 61295a0c4041..d8fccccb85e3 100644
--- a/cli_ure/source/uno_bridge/cli_data.cxx
+++ b/cli_ure/source/uno_bridge/cli_data.cxx
@@ -1647,7 +1647,7 @@ void Bridge::map_to_cli(
}
OSL_ASSERT (nPos != -1);
int offset = pCTD->pMemberOffsets[nPos];
- //Whith the offset within the exception we can get the message string
+ //With the offset within the exception we can get the message string
System::String* sMessage = mapUnoString(*(rtl_uString**)
((char*) uno_data + offset));
//We need to find a constructor for the exception that takes the message string
diff --git a/cli_ure/source/uno_bridge/cli_proxy.cxx b/cli_ure/source/uno_bridge/cli_proxy.cxx
index 9425ab044a06..8afa3449f716 100644
--- a/cli_ure/source/uno_bridge/cli_proxy.cxx
+++ b/cli_ure/source/uno_bridge/cli_proxy.cxx
@@ -1102,7 +1102,7 @@ void SAL_CALL cli_proxy_dispatch(
{
uno_any_construct( (uno_Any *)uno_ret, 0, 0, 0 );
}
- // no excetpion occured
+ // no excetpion occurred
*uno_exc = 0;
}
else
diff --git a/cli_ure/source/uno_bridge/cli_uno.cxx b/cli_ure/source/uno_bridge/cli_uno.cxx
index e34fe411a71c..9f21c68f0c4f 100644
--- a/cli_ure/source/uno_bridge/cli_uno.cxx
+++ b/cli_ure/source/uno_bridge/cli_uno.cxx
@@ -183,7 +183,7 @@ System::Object* Bridge::call_uno(uno_Interface * pUnoI,
}
return 0; // void return
}
- else // exception occured
+ else // exception occurred
{
// destruct uno in args
for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos )
@@ -276,7 +276,7 @@ void Bridge::call_cli(
map_to_uno(
uno_ret, retInvoke, return_type, false /* no assign */);
}
- // no exception occured
+ // no exception occurred
*uno_exc = 0;
}
diff --git a/codemaker/source/javamaker/javatype.cxx b/codemaker/source/javamaker/javatype.cxx
index 5d7515fd6c9a..ec5f520b789f 100644
--- a/codemaker/source/javamaker/javatype.cxx
+++ b/codemaker/source/javamaker/javatype.cxx
@@ -2171,7 +2171,7 @@ void handleInterfaceType(
rtl::OString(
RTL_CONSTASCII_STRINGPARAM("Bad type information"))); //TODO
}
- //TODO: exploit the fact that attribute getter/setter methods preceed
+ //TODO: exploit the fact that attribute getter/setter methods precede
// real methods
rtl::OUString attrNameUtf16(reader.getFieldName(i));
sal_uInt16 getter = SAL_MAX_UINT16;
diff --git a/comphelper/inc/comphelper/IdPropArrayHelper.hxx b/comphelper/inc/comphelper/IdPropArrayHelper.hxx
index c81a1e7d8d2a..63d640e8d261 100644
--- a/comphelper/inc/comphelper/IdPropArrayHelper.hxx
+++ b/comphelper/inc/comphelper/IdPropArrayHelper.hxx
@@ -66,7 +66,7 @@ namespace comphelper
}
/** call this in the getInfoHelper method of your derived class. The method returns the array helper of the
- class, which is created if neccessary.
+ class, which is created if necessary.
*/
::cppu::IPropertyArrayHelper* getArrayHelper(sal_Int32 nId);
diff --git a/comphelper/inc/comphelper/accessiblecontexthelper.hxx b/comphelper/inc/comphelper/accessiblecontexthelper.hxx
index e1c8f3b622b7..e2eefb89bc5b 100644
--- a/comphelper/inc/comphelper/accessiblecontexthelper.hxx
+++ b/comphelper/inc/comphelper/accessiblecontexthelper.hxx
@@ -118,7 +118,7 @@ namespace comphelper
the context does. A good approach to implement the lock may be to derive you own context
not only from OAccessibleContextHelper, but also from IMutex.</p>
- <p>One more note. This lock is definately not used once the dtor is reached. Means whatever
+ <p>One more note. This lock is definitely not used once the dtor is reached. Means whatever
the dtor implementation does, it does <em>not</em> guard the external lock. See this as a contract.
<br/>You should ensure the same thing for own derivees which do not supply the lock themself,
but get them from yet another derivee.</p>
diff --git a/comphelper/inc/comphelper/accimplaccess.hxx b/comphelper/inc/comphelper/accimplaccess.hxx
index eb8ce5826771..218d22214710 100644
--- a/comphelper/inc/comphelper/accimplaccess.hxx
+++ b/comphelper/inc/comphelper/accimplaccess.hxx
@@ -105,7 +105,7 @@ namespace comphelper
@param _rxComponent
is the component which should be examined.
@return
- the pointer to the implementation, if successfull. The only known error condition so far
+ the pointer to the implementation, if successful. The only known error condition so far
is an invalid context (which means it is <NULL/>, or the implementation is not derived
from <type>OAccessibleImplementationAccess</type>, or retrieving the implementation failed).
*/
diff --git a/comphelper/inc/comphelper/componentcontext.hxx b/comphelper/inc/comphelper/componentcontext.hxx
index 74485ba93b51..cada747372f0 100644
--- a/comphelper/inc/comphelper/componentcontext.hxx
+++ b/comphelper/inc/comphelper/componentcontext.hxx
@@ -137,7 +137,7 @@ namespace comphelper
@throws ::com::sun::star::lang::ServiceNotRegisteredException
if the given service is not registered
@throws Exception
- if an exception occured during creating the component
+ if an exception occurred during creating the component
@return
the newly created component. Is never <NULL/>.
*/
@@ -148,7 +148,7 @@ namespace comphelper
@throws ::com::sun::star::lang::ServiceNotRegisteredException
if the given service is not registered
@throws Exception
- if an exception occured during creating the component
+ if an exception occurred during creating the component
@return
the newly created component. Is never <NULL/>.
*/
@@ -162,7 +162,7 @@ namespace comphelper
@throws ::com::sun::star::lang::ServiceNotRegisteredException
if the given service is not registered
@throws Exception
- if an exception occured during creating the component
+ if an exception occurred during creating the component
@return
the newly created component. Is never <NULL/>.
*/
@@ -176,7 +176,7 @@ namespace comphelper
@throws ::com::sun::star::lang::ServiceNotRegisteredException
if the given service is not registered
@throws Exception
- if an exception occured during creating the component
+ if an exception occurred during creating the component
@return
the newly created component. Is never <NULL/>.
*/
diff --git a/comphelper/inc/comphelper/configurationhelper.hxx b/comphelper/inc/comphelper/configurationhelper.hxx
index 0531e2103c5a..63c2bf9f7ca5 100644
--- a/comphelper/inc/comphelper/configurationhelper.hxx
+++ b/comphelper/inc/comphelper/configurationhelper.hxx
@@ -41,7 +41,7 @@
// namespaces
// no panic .. this define will be reseted at the end of this file.
-// BUT doing so it's neccessary to add all includes BEFORE this css-value
+// BUT doing so it's necessary to add all includes BEFORE this css-value
// will be defined :_)
#ifdef css
#error "Who use css? I need it as namespace alias."
@@ -98,7 +98,7 @@ class COMPHELPER_DLLPUBLIC ConfigurationHelper
*
* @param eMode
* specify the open mode for the returned configuration access.
- * It's interpreted as a flag field and can be any usefull combination
+ * It's interpreted as a flag field and can be any useful combination
* of values of EConfigurationModes.
*
* @throw Any exceptions the underlying configuration can throw.
@@ -191,7 +191,7 @@ class COMPHELPER_DLLPUBLIC ConfigurationHelper
* or which should be created with default values.
*
* @return A reference to the found (or new created) set node.
- * Cant be NULL .. in such case an exception occure !
+ * Can't be NULL .. in such case an exception occurred !
*
* @throw Any exceptions the underlying configuration can throw.
* E.g. css::uno::Exception if the provided configuration
@@ -208,7 +208,7 @@ class COMPHELPER_DLLPUBLIC ConfigurationHelper
* The cached configuration access must be provided here.
*
* @param xCFG
- * the configuration root, where changes should be commited.
+ * the configuration root, where changes should be committed.
*
* @throw Any exceptions the underlying configuration can throw.
* E.g. css::uno::Exception if the provided configuration
@@ -223,7 +223,7 @@ class COMPHELPER_DLLPUBLIC ConfigurationHelper
* Because it opens the specified configuration package, reads the key and
* closes the configuration again.
*
- * So its not very usefull to use this method for reading multiple keys at the same time.
+ * So its not very useful to use this method for reading multiple keys at the same time.
* (Excepting these keys exists inside different configuration packages ...))
*/
static css::uno::Any readDirectKey(const css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR ,
@@ -239,7 +239,7 @@ class COMPHELPER_DLLPUBLIC ConfigurationHelper
* Because it opens the specified configuration package, writes the key, flush
* all changes and closes the configuration again.
*
- * So its not very usefull to use this method for writing multiple keys at the same time.
+ * So its not very useful to use this method for writing multiple keys at the same time.
* (Excepting these keys exists inside different configuration packages ...))
*/
static void writeDirectKey(const css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR ,
diff --git a/comphelper/inc/comphelper/containermultiplexer.hxx b/comphelper/inc/comphelper/containermultiplexer.hxx
index 131a27b8c0e1..4ca28c329cdc 100644
--- a/comphelper/inc/comphelper/containermultiplexer.hxx
+++ b/comphelper/inc/comphelper/containermultiplexer.hxx
@@ -39,7 +39,7 @@ namespace comphelper
//= OContainerListener
//=====================================================================
/** a non-UNO container listener
- <p>Usefull if you have a non-refcountable class which should act as container listener.<br/>
+ <p>Useful if you have a non-refcountable class which should act as container listener.<br/>
In this case, derive this class from OContainerListener, and create an adapter
<type>OContainerListenerAdapter</type> which multiplexes the changes.</p>
*/
diff --git a/comphelper/inc/comphelper/docpasswordhelper.hxx b/comphelper/inc/comphelper/docpasswordhelper.hxx
index 989329298ca2..d434ee694625 100644
--- a/comphelper/inc/comphelper/docpasswordhelper.hxx
+++ b/comphelper/inc/comphelper/docpasswordhelper.hxx
@@ -58,7 +58,7 @@ class COMPHELPER_DLLPUBLIC IDocPasswordVerifier
public:
virtual ~IDocPasswordVerifier();
- /** Will be called everytime a password needs to be verified.
+ /** Will be called every time a password needs to be verified.
@param rPassword
The password to be verified
@@ -74,12 +74,12 @@ public:
- DocPasswordVerifierResult_WRONG_PASSWORD, if the password is
wrong. The user may be asked again for a new password.
- DocPasswordVerifierResult_ABORT, if an unrecoverable error
- occured while password verification. The password request loop
+ occurred while password verification. The password request loop
will be aborted.
*/
virtual DocPasswordVerifierResult verifyPassword( const ::rtl::OUString& rPassword, ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& o_rEncryptionData ) = 0;
- /** Will be called everytime an encryption data needs to be verified.
+ /** Will be called every time an encryption data needs to be verified.
@param rEncryptionData
The data will be validated
@@ -90,7 +90,7 @@ public:
- DocPasswordVerifierResult_WRONG_PASSWORD, if the encryption data is
wrong.
- DocPasswordVerifierResult_ABORT, if an unrecoverable error
- occured while data verification. The password request loop
+ occurred while data verification. The password request loop
will be aborted.
*/
virtual DocPasswordVerifierResult verifyEncryptionData( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& o_rEncryptionData ) = 0;
diff --git a/comphelper/inc/comphelper/embeddedobjectcontainer.hxx b/comphelper/inc/comphelper/embeddedobjectcontainer.hxx
index 320f494b8d26..060fd7355f29 100644
--- a/comphelper/inc/comphelper/embeddedobjectcontainer.hxx
+++ b/comphelper/inc/comphelper/embeddedobjectcontainer.hxx
@@ -101,7 +101,7 @@ public:
CreateEmbeddedObject( const com::sun::star::uno::Sequence < sal_Int8 >&,
const com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue >&, ::rtl::OUString& );
- // insert an embedded object into the container - objects persistant representation will be added to the storage
+ // insert an embedded object into the container - objects persistent representation will be added to the storage
sal_Bool InsertEmbeddedObject( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >&, ::rtl::OUString& );
// load an embedded object from a MediaDescriptor and insert it into the container
@@ -175,7 +175,7 @@ sal_Bool RemoveEmbeddedObject( const ::com::sun::star::uno::Reference
*
* \param _xStorage The storeage where to store the objects.
* \param _bClearModifedFlag If <TRUE/> then the modifed flag will be set to <FALSE/> otherwise nothing happen.
- * \return <FALSE/> if no error occured, otherwise <TRUE/>.
+ * \return <FALSE/> if no error occurred, otherwise <TRUE/>.
*/
sal_Bool SetPersistentEntries(const com::sun::star::uno::Reference< com::sun::star::embed::XStorage >& _xStorage,bool _bClearModifedFlag = true);
};
diff --git a/comphelper/inc/comphelper/implementationreference.hxx b/comphelper/inc/comphelper/implementationreference.hxx
index 3719dc693c0f..b0fb49d07a80 100644
--- a/comphelper/inc/comphelper/implementationreference.hxx
+++ b/comphelper/inc/comphelper/implementationreference.hxx
@@ -56,7 +56,7 @@ namespace comphelper
As this template is geared towards fast, internal pointer
access, validity of the UNO reference is _not_ checked for
every pointer access. The client of this template is
- responsible to check that, whereever necessary, via the is()
+ responsible to check that, wherever necessary, via the is()
method.
@tpl CppType
diff --git a/comphelper/inc/comphelper/interaction.hxx b/comphelper/inc/comphelper/interaction.hxx
index 54592ca515bb..53a8489a80b2 100644
--- a/comphelper/inc/comphelper/interaction.hxx
+++ b/comphelper/inc/comphelper/interaction.hxx
@@ -47,7 +47,7 @@ namespace comphelper
*/
class OInteractionSelect
{
- sal_Bool m_bSelected : 1; /// indicates if the select event occured
+ sal_Bool m_bSelected : 1; /// indicates if the select event occurred
protected:
OInteractionSelect() : m_bSelected(sal_False) { }
diff --git a/comphelper/inc/comphelper/locale.hxx b/comphelper/inc/comphelper/locale.hxx
index e227720f6d00..4ea878ecf073 100644
--- a/comphelper/inc/comphelper/locale.hxx
+++ b/comphelper/inc/comphelper/locale.hxx
@@ -53,13 +53,13 @@ class COMPHELPER_DLLPUBLIC Locale
public:
- /** @short seperates LANGUAGE and COUNTRY part of an ISO formated Locale. */
+ /** @short separates LANGUAGE and COUNTRY part of an ISO formated Locale. */
static const sal_Unicode SEPERATOR_LC;
- /** @short seperates COUNTRY and VARIANT part of an ISO formated Locale. */
+ /** @short separates COUNTRY and VARIANT part of an ISO formated Locale. */
static const sal_Unicode SEPERATOR_CV;
- /** @short seperates COUNTRY and VARIANT part of an ISO formated Locale.
+ /** @short separates COUNTRY and VARIANT part of an ISO formated Locale.
@descr Its true for some linux derivates only :-( */
static const sal_Unicode SEPERATOR_CV_LINUX;
@@ -105,7 +105,7 @@ class COMPHELPER_DLLPUBLIC Locale
public:
- /** @short will be throw during convertion, if a Locale cant be interpreted. */
+ /** @short will be throw during conversion, if a Locale can't be interpreted. */
struct MalFormedLocaleException
{
public:
@@ -343,8 +343,8 @@ class COMPHELPER_DLLPUBLIC Locale
If no "same" nor any "similar" locale could be found,
we try "x-default" and "x-notranslate" explicitly.
- Sometimes localized variables are optimized and doesnt use
- localzation realy. E.g. in case the localized value is a fix
+ Sometimes localized variables are optimized and doesn't use
+ localzation really. E.g. in case the localized value is a fix
product name.
If no locale match till now, we use any other existing
@@ -429,7 +429,7 @@ class COMPHELPER_DLLPUBLIC Locale
@return [boolean]
TRUE if at least one part of such Locale
- isnt the same.
+ isn't the same.
*/
sal_Bool operator!=(const Locale& aComparable) const;
};
diff --git a/comphelper/inc/comphelper/mediadescriptor.hxx b/comphelper/inc/comphelper/mediadescriptor.hxx
index 250153208b6a..8797252aa688 100644
--- a/comphelper/inc/comphelper/mediadescriptor.hxx
+++ b/comphelper/inc/comphelper/mediadescriptor.hxx
@@ -51,7 +51,7 @@ namespace comphelper{
Further this helper defines often used functions (as e.g. open of the required streams,
consistent checks etcpp.) and it defines all useable property names.
- @attention This class isnt threadsafe and must be guarded from outside!
+ @attention This class isn't threadsafe and must be guarded from outside!
*/
class COMPHELPER_DLLPUBLIC MediaDescriptor : public SequenceAsHashMap
{
@@ -144,7 +144,7 @@ class COMPHELPER_DLLPUBLIC MediaDescriptor : public SequenceAsHashMap
to open the stream (as e.g. URL, ReadOnly, PostData etcpp.).
It creates a seekable stream and put it into the descriptor.
- A might existing InteractionHandler will be used automaticly,
+ A might existing InteractionHandler will be used automatically,
to solve problems!
In case of local file the system file locking is used.
@@ -162,7 +162,7 @@ class COMPHELPER_DLLPUBLIC MediaDescriptor : public SequenceAsHashMap
to open the stream (as e.g. URL, ReadOnly, PostData etcpp.).
It creates a seekable stream and put it into the descriptor.
- A might existing InteractionHandler will be used automaticly,
+ A might existing InteractionHandler will be used automatically,
to solve problems!
In case of local file the system file locking is used based on
@@ -176,7 +176,7 @@ class COMPHELPER_DLLPUBLIC MediaDescriptor : public SequenceAsHashMap
//---------------------------------------
/** @short it checks if the descriptor describes a readonly stream.
- @descr The descriptor itself isnt changed doing so.
+ @descr The descriptor itself isn't changed doing so.
It's only checked if the stream seems to be based
of a real readonly file.
@@ -318,7 +318,7 @@ class COMPHELPER_DLLPUBLIC MediaDescriptor : public SequenceAsHashMap
to open the stream (as e.g. URL, ReadOnly, PostData etcpp.).
It creates a seekable stream and put it into the descriptor.
- A might existing InteractionHandler will be used automaticly,
+ A might existing InteractionHandler will be used automatically,
to solve problems!
@param bLockFile
diff --git a/comphelper/inc/comphelper/numberedcollection.hxx b/comphelper/inc/comphelper/numberedcollection.hxx
index 47780e49b4dc..5576c1912f2b 100644
--- a/comphelper/inc/comphelper/numberedcollection.hxx
+++ b/comphelper/inc/comphelper/numberedcollection.hxx
@@ -58,7 +58,7 @@ namespace comphelper{
/** @short defines a collection of UNO components, where every component will get it's own unique number.
@descr Such number will be unique at runtime only ... but it supports fragmentation.
- Note: This collection uses weak refrences only to know her components.
+ Note: This collection uses weak references only to know her components.
So lifetime of thise components must be controlled outside.
@threadsafe
@@ -154,14 +154,14 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex
//---------------------------------------
/** @short trys to find an unique number not already used within this collection.
- @descr It reuses the smalles number which isnt used by any component
+ @descr It reuses the smalles number which isn't used by any component
of this collection. (fragmentation!) If collection is full (means there
is no free number) the special value INVALID_NUMBER will be returned.
- @note Those method cant be called within a multithreaded environment ..
+ @note Those method can't be called within a multithreaded environment ..
Because such number wont be "reserved" for the calli of these method
it can happen that two calls returns the same number (reasoned by the fact that first calli
- doesnt used the returned number already.
+ doesn't used the returned number already.
So the outside code has to make sure that retrieving and using of those number
will be an atomic operation.
diff --git a/comphelper/inc/comphelper/propagg.hxx b/comphelper/inc/comphelper/propagg.hxx
index 4057a87a11f2..b3197f2cbeb4 100644
--- a/comphelper/inc/comphelper/propagg.hxx
+++ b/comphelper/inc/comphelper/propagg.hxx
@@ -72,9 +72,9 @@ namespace internal
class IPropertyInfoService
{
public:
- /** get the prefered handle for the given property
+ /** get the preferred handle for the given property
@param _rName the property name
- @return the handle the property should be refered by, or -1 if there are no
+ @return the handle the property should be referred by, or -1 if there are no
preferences for the given property
*/
virtual sal_Int32 getPreferedPropertyId(const ::rtl::OUString& _rName) = 0;
@@ -108,11 +108,11 @@ public:
aggregate properties get depend from the following two parameters.
@param _pInfoService
If not NULL, the object pointed to is used to calc handles which should be used
- for refering the aggregate's properties from outside.
+ for referring the aggregate's properties from outside.
If one of the properties returned from the info service conflict with other handles
alread present (e.g. through _rProperties), the property is handled as if -1 was returned.
If NULL (or, for a special property, a call to getPreferedPropertyId returns -1),
- the aggregate property(ies) get a new handle which they can be refered by from outside.
+ the aggregate property(ies) get a new handle which they can be referred by from outside.
@param _nFirstAggregateId
if the object is about to create new handles for the aggregate properties, it uses
id's ascending from this given id.
@@ -143,8 +143,8 @@ public:
virtual sal_Int32 SAL_CALL fillHandles( /*out*/sal_Int32* _pHandles, const ::com::sun::star::uno::Sequence< ::rtl::OUString >& _rPropNames );
/** returns information about a property of the aggregate.
- @param _pPropName points to a string to recieve the property name. No name is returned if this is NULL.
- @param _pOriginalHandle points to a sal_Int32 to recieve the original property hande. No original handle is returned
+ @param _pPropName points to a string to receive the property name. No name is returned if this is NULL.
+ @param _pOriginalHandle points to a sal_Int32 to receive the original property hande. No original handle is returned
if this is NULL.
@param _nHandle the handle of the property as got by, for instance, fillHandles
diff --git a/comphelper/inc/comphelper/proparrhlp.hxx b/comphelper/inc/comphelper/proparrhlp.hxx
index 420b2ac44cce..651d2a067b5e 100644
--- a/comphelper/inc/comphelper/proparrhlp.hxx
+++ b/comphelper/inc/comphelper/proparrhlp.hxx
@@ -73,7 +73,7 @@ public:
}
/** call this in the getInfoHelper method of your derived class. The method returns the array helper of the
- class, which is created if neccessary.
+ class, which is created if necessary.
*/
::cppu::IPropertyArrayHelper* getArrayHelper();
diff --git a/comphelper/inc/comphelper/property.hxx b/comphelper/inc/comphelper/property.hxx
index 041570e67b52..e0eeaf005754 100644
--- a/comphelper/inc/comphelper/property.hxx
+++ b/comphelper/inc/comphelper/property.hxx
@@ -138,7 +138,7 @@ COMPHELPER_DLLPUBLIC void copyProperties(const staruno::Reference<starbeans::XPr
//==================================================================
/** helper for implementing ::cppu::OPropertySetHelper::convertFastPropertyValue
- @param _rConvertedValue the conversion result (if successfull)
+ @param _rConvertedValue the conversion result (if successful)
@param _rOldValue the old value of the property, calculated from _rCurrentValue
@param _rValueToSet the new value which is about to be set
@param _rCurrentValue the current value of the property
@@ -162,7 +162,7 @@ sal_Bool tryPropertyValue(staruno::Any& /*out*/_rConvertedValue, staruno::Any& /
}
/** helper for implementing ::cppu::OPropertySetHelper::convertFastPropertyValue for enum values
- @param _rConvertedValue the conversion result (if successfull)
+ @param _rConvertedValue the conversion result (if successful)
@param _rOldValue the old value of the property, calculated from _rCurrentValue
@param _rValueToSet the new value which is about to be set
@param _rCurrentValue the current value of the property
@@ -192,7 +192,7 @@ sal_Bool tryPropertyValueEnum(staruno::Any& /*out*/_rConvertedValue, staruno::An
}
/** helper for implementing ::cppu::OPropertySetHelper::convertFastPropertyValue for boolean properties
- @param _rConvertedValue the conversion result (if successfull)
+ @param _rConvertedValue the conversion result (if successful)
@param _rOldValue the old value of the property, calculated from _rCurrentValue
@param _rValueToSet the new value which is about to be set
@param _rCurrentValue the current value of the property
@@ -215,7 +215,7 @@ inline sal_Bool tryPropertyValue(staruno::Any& /*out*/_rConvertedValue, staruno:
}
/** helper for implementing ::cppu::OPropertySetHelper::convertFastPropertyValue
- @param _rConvertedValue the conversion result (if successfull)
+ @param _rConvertedValue the conversion result (if successful)
@param _rOldValue the old value of the property, calculated from _rCurrentValue
@param _rValueToSet the new value which is about to be set
@param _rCurrentValue the current value of the property
diff --git a/comphelper/inc/comphelper/seqstream.hxx b/comphelper/inc/comphelper/seqstream.hxx
index 411da4360b43..3f0fe1bf27d6 100644
--- a/comphelper/inc/comphelper/seqstream.hxx
+++ b/comphelper/inc/comphelper/seqstream.hxx
@@ -103,12 +103,12 @@ protected:
public:
/** constructs the object. Everything written into the stream through the XOutputStream methods will be forwarded
- to the sequence, reallocating it if neccessary. Writing will start at offset 0 within the sequence.
+ to the sequence, reallocating it if necessary. Writing will start at offset 0 within the sequence.
@param _rSeq a reference to the sequence which will be used for output.
The caller is responsible for taking care of the lifetime of the stream
object and the sequence. If you're in doubt about this, use <code>closeOutput</code>
before destroying the sequence
- @param _nResizeFactor the factor which is used for resizing the sequence when neccessary. In every
+ @param _nResizeFactor the factor which is used for resizing the sequence when necessary. In every
resize step, the new sequence size will be calculated by multiplying the current
size with this factor, rounded off to the next multiple of 4.
@param _nMinimumResize the minmal number of bytes which is additionally allocated on resizing
diff --git a/comphelper/inc/comphelper/sequence.hxx b/comphelper/inc/comphelper/sequence.hxx
index 14552484d694..096c7129e0d6 100644
--- a/comphelper/inc/comphelper/sequence.hxx
+++ b/comphelper/inc/comphelper/sequence.hxx
@@ -43,7 +43,7 @@ namespace comphelper
//-------------------------------------------------------------------------
/** search the given string within the given sequence, return the positions where it was found.
- if _bOnlyFirst is sal_True, only the first occurence will be returned.
+ if _bOnlyFirst is sal_True, only the first occurrence will be returned.
*/
COMPHELPER_DLLPUBLIC staruno::Sequence<sal_Int16> findValue(const staruno::Sequence< ::rtl::OUString >& _rList, const ::rtl::OUString& _rValue, sal_Bool _bOnlyFirst = sal_False);
diff --git a/comphelper/inc/comphelper/sequenceashashmap.hxx b/comphelper/inc/comphelper/sequenceashashmap.hxx
index 1b54292185d5..92e2b8dd7d6f 100644
--- a/comphelper/inc/comphelper/sequenceashashmap.hxx
+++ b/comphelper/inc/comphelper/sequenceashashmap.hxx
@@ -109,7 +109,7 @@ class COMPHELPER_DLLPUBLIC SequenceAsHashMap : public SequenceAsHashMapBase
SequenceAsHashMap(const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& lSource);
//---------------------------------------
- /** @short not realy used but maybe usefull :-)
+ /** @short not really used but maybe useful :-)
*/
~SequenceAsHashMap();
@@ -254,7 +254,7 @@ class COMPHELPER_DLLPUBLIC SequenceAsHashMap : public SequenceAsHashMapBase
specified default value otherwhise.
@descr If a value should be extracted only in case
- the requsted property exists realy (without creating
+ the requsted property exists really (without creating
of new items as it the index operator of a
has_map does!) this method can be used.
@@ -292,7 +292,7 @@ class COMPHELPER_DLLPUBLIC SequenceAsHashMap : public SequenceAsHashMapBase
does not already exist.
@descr To check if the property already exists only
- her name is used for compare. Its value isnt
+ her name is used for compare. Its value isn't
checked!
@param sKey
@@ -356,18 +356,18 @@ class COMPHELPER_DLLPUBLIC SequenceAsHashMap : public SequenceAsHashMapBase
the current content of this instance.
@descr Because the content of STL container
- cant be analyzed easy, such dump function
- seem to be usefull.
+ can't be analyzed easy, such dump function
+ seems to be useful.
Of course its available in debug versions
only.
@param pFileName
a system file name.
- (doesnt matter if relativ or absolute)
+ (doesn't matter if relativ or absolute)
@param pComment
used to mark the dump inside the same log file.
- Can be usefull to analyze changes of this
+ Can be useful to analyze changes of this
hash map due to the parts of an operation.
*/
#if OSL_DEBUG_LEVEL > 1
diff --git a/comphelper/inc/comphelper/sequenceasvector.hxx b/comphelper/inc/comphelper/sequenceasvector.hxx
index f72ded99332d..eb93228b3367 100644
--- a/comphelper/inc/comphelper/sequenceasvector.hxx
+++ b/comphelper/inc/comphelper/sequenceasvector.hxx
@@ -48,7 +48,7 @@ namespace comphelper{
@descr That provides the possibility to modify
sequences very easy ...
- Of course this can be usefull only, if
+ Of course this can be useful only, if
count of modifications is high, so copying
of the sequence make sense!
*/
diff --git a/comphelper/inc/comphelper/string.hxx b/comphelper/inc/comphelper/string.hxx
index a760507843be..34d4dabea5e0 100644
--- a/comphelper/inc/comphelper/string.hxx
+++ b/comphelper/inc/comphelper/string.hxx
@@ -70,14 +70,14 @@ COMPHELPER_DLLPUBLIC rtl::OUString searchAndReplaceAsciiL(
rtl::OUString const & to, sal_Int32 beginAt = 0,
sal_Int32 * replacedAt = NULL);
-/** replaces, in the given source string, all occurences of a given ASCII pattern
+/** replaces, in the given source string, all occurrences of a given ASCII pattern
with another ASCII pattern
*/
COMPHELPER_DLLPUBLIC ::rtl::OUString searchAndReplaceAllAsciiWithAscii(
const ::rtl::OUString& source, const sal_Char* from, const sal_Char* to,
const sal_Int32 beginAt = 0 );
-/** does an in-place replacement of the first occurance of a sub string with
+/** does an in-place replacement of the first occurrence of a sub string with
another string
@param source
diff --git a/comphelper/source/container/embeddedobjectcontainer.cxx b/comphelper/source/container/embeddedobjectcontainer.cxx
index 4a02119d4bbe..91a9a86a0763 100644
--- a/comphelper/source/container/embeddedobjectcontainer.cxx
+++ b/comphelper/source/container/embeddedobjectcontainer.cxx
@@ -445,7 +445,7 @@ void EmbeddedObjectContainer::AddEmbeddedObject( const ::com::sun::star::uno::Re
uno::Reference < container::XNameAccess > xAccess( pImpl->mxStorage, uno::UNO_QUERY );
uno::Reference < embed::XEmbedPersist > xEmb( xObj, uno::UNO_QUERY );
uno::Reference < embed::XLinkageSupport > xLink( xEmb, uno::UNO_QUERY );
- // if the object has a persistance and the object is not a link than it must have persistence entry in the storage
+ // if the object has a persistence and the object is not a link than it must have persistence entry in the storage
OSL_ENSURE( !( xEmb.is() && ( !xLink.is() || !xLink->isLink() ) ) || xAccess->hasByName(rName),
"Added element not in storage!" );
#endif
@@ -751,7 +751,7 @@ uno::Reference < embed::XEmbeddedObject > EmbeddedObjectContainer::CopyAndGetEmb
if ( rName.isEmpty() )
rName = CreateUniqueObjectName();
- // objects without persistance are not really stored by the method
+ // objects without persistence are not really stored by the method
if ( xObj.is() && StoreEmbeddedObject( xObj, rName, sal_True ) )
{
xResult = Get_Impl( rName, xObj);
@@ -798,7 +798,7 @@ uno::Reference < embed::XEmbeddedObject > EmbeddedObjectContainer::CopyAndGetEmb
// this must be an object based on properties, otherwise we can not copy it currently
uno::Reference< beans::XPropertySet > xOrigProps( xObj->getComponent(), uno::UNO_QUERY_THROW );
- // use object class ID to create a new one and tranfer all the properties
+ // use object class ID to create a new one and transfer all the properties
uno::Reference < embed::XEmbedObjectCreator > xCreator(
::comphelper::getProcessServiceFactory()->createInstance(
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.embed.EmbeddedObjectCreator") ) ),
@@ -863,7 +863,7 @@ uno::Reference < embed::XEmbeddedObject > EmbeddedObjectContainer::CopyAndGetEmb
}
}
- OSL_ENSURE( xResult.is(), "Can not copy embedded object that has no persistance!\n" );
+ OSL_ENSURE( xResult.is(), "Can not copy embedded object that has no persistence!\n" );
if ( xResult.is() )
{
@@ -1033,7 +1033,7 @@ sal_Bool EmbeddedObjectContainer::RemoveEmbeddedObject( const uno::Reference < e
uno::Reference < embed::XLinkageSupport > xLink( xPersist, uno::UNO_QUERY );
sal_Bool bIsNotEmbedded = !xPersist.is() || xLink.is() && xLink->isLink();
- // if the object has a persistance and the object is not a link than it must have persistence entry in the storage
+ // if the object has a persistence and the object is not a link than it must have persistence entry in the storage
OSL_ENSURE( bIsNotEmbedded || xAccess->hasByName(aName), "Removing element not present in storage!" );
#endif
@@ -1147,7 +1147,7 @@ sal_Bool EmbeddedObjectContainer::RemoveEmbeddedObject( const uno::Reference < e
try
{
#if OSL_DEBUG_LEVEL > 1
- // if the object has a persistance and the object is not a link than it must have persistence entry in storage
+ // if the object has a persistence and the object is not a link than it must have persistence entry in storage
OSL_ENSURE( bIsNotEmbedded || pImpl->mxStorage->hasByName( aName ), "The object has no persistence entry in the storage!" );
#endif
if ( xPersist.is() && pImpl->mxStorage->hasByName( aName ) )
@@ -1551,10 +1551,10 @@ sal_Bool EmbeddedObjectContainer::StoreChildren(sal_Bool _bOasisFormat,sal_Bool
}
else
{
- //do nothing.embeded model is not modified, no need to persist.
+ //do nothing. Embedded model is not modified, no need to persist.
}
}
- else //the embeded object is in active status, always store back it.
+ else //the embedded object is in active status, always store back it.
{
xPersist->storeOwn();
}
diff --git a/comphelper/source/container/enumerablemap.cxx b/comphelper/source/container/enumerablemap.cxx
index 6ac8775ab9bc..45191b0bce3d 100644
--- a/comphelper/source/container/enumerablemap.cxx
+++ b/comphelper/source/container/enumerablemap.cxx
@@ -344,7 +344,7 @@ namespace comphelper
}
private:
- // sicne we share our mutex with the main map, we need to keep it alive as long as we live
+ // since we share our mutex with the main map, we need to keep it alive as long as we live
Reference< XInterface > m_xKeepMapAlive;
::std::auto_ptr< MapData > m_pMapDataCopy;
MapEnumerator m_aEnumerator;
diff --git a/comphelper/source/misc/accessiblecontexthelper.cxx b/comphelper/source/misc/accessiblecontexthelper.cxx
index aa093182bb4a..1bf4f69f439e 100644
--- a/comphelper/source/misc/accessiblecontexthelper.cxx
+++ b/comphelper/source/misc/accessiblecontexthelper.cxx
@@ -216,7 +216,7 @@ namespace comphelper
{
// TODO: this whole method (as well as the class AccessibleEventBuffer) should be removed
// The reasons why they have been introduces id that we needed to collect a set of events
- // before notifying them alltogether (after releasing our mutex). With the other
+ // before notifying them altogether (after releasing our mutex). With the other
// NotifyAccessibleEvent being asynchronous now, this should not be necessary anymore
// - clients could use the other version now.
diff --git a/comphelper/source/misc/asyncnotification.cxx b/comphelper/source/misc/asyncnotification.cxx
index 795df3ec6f3b..1c2336f21aad 100644
--- a/comphelper/source/misc/asyncnotification.cxx
+++ b/comphelper/source/misc/asyncnotification.cxx
@@ -249,7 +249,7 @@ namespace comphelper
void SAL_CALL AsyncEventNotifier::onTerminated()
{
AsyncEventNotifier_TBASE::onTerminated();
- // when we were started (->run), we aquired ourself. Release this now
+ // when we were started (->run), we acquired ourself. Release this now
// that we were finally terminated
release();
}
diff --git a/comphelper/source/misc/locale.cxx b/comphelper/source/misc/locale.cxx
index c16e14dbe9d9..5ef0b0eaab00 100644
--- a/comphelper/source/misc/locale.cxx
+++ b/comphelper/source/misc/locale.cxx
@@ -426,7 +426,7 @@ void Locale::setVariant(const ::rtl::OUString& sVariant)
/* Attention: Use own interface methods to set the
different parts of this locale. Because the
check the incoming value and throw an exception
- automaticly ...
+ automatically ...
*/
void Locale::fromISO(const ::rtl::OUString& sISO)
throw(Locale::MalFormedLocaleException)
@@ -511,7 +511,7 @@ sal_Bool Locale::similar(const Locale& aComparable) const
Locale aReference(sReferenceISO);
// Note: The same language or "en"/"en-US" should be preferred as fallback.
- // On the other side some localized variables doesnt use localzation in real.
+ // On the other side some localized variables doesn't use localzation in real.
// May be the use a "fix" value only ... marked as X-DEFAULT or X-NOTRANSLATE.
// At least it can be discussed, if any language is a valid fallback ...
// But in case some office functionality depends on that (that means real functionality instead
diff --git a/comphelper/source/misc/mediadescriptor.cxx b/comphelper/source/misc/mediadescriptor.cxx
index bb7e52f63667..9b13f7679f14 100644
--- a/comphelper/source/misc/mediadescriptor.cxx
+++ b/comphelper/source/misc/mediadescriptor.cxx
@@ -715,7 +715,7 @@ sal_Bool MediaDescriptor::impl_openStreamWithURL( const ::rtl::OUString& sURL, s
css::uno::Reference< css::ucb::XCommandEnvironment > xCommandEnv(static_cast< css::ucb::XCommandEnvironment* >(pCommandEnv), css::uno::UNO_QUERY);
// try to create the content
- // no content -> no stream => return immediatly with FALSE
+ // no content -> no stream => return immediately with FALSE
::ucbhelper::Content aContent;
css::uno::Reference< css::ucb::XContent > xContent;
try
@@ -733,7 +733,7 @@ sal_Bool MediaDescriptor::impl_openStreamWithURL( const ::rtl::OUString& sURL, s
// try to open the file in read/write mode
// (if its allowed to do so).
// But handle errors in a "hidden mode". Because
- // we try it readonly later - if read/write isnt an option.
+ // we try it readonly later - if read/write isn't an option.
css::uno::Reference< css::io::XStream > xStream ;
css::uno::Reference< css::io::XInputStream > xInputStream;
@@ -750,7 +750,7 @@ sal_Bool MediaDescriptor::impl_openStreamWithURL( const ::rtl::OUString& sURL, s
{
try
{
- // TODO: use "special" still interaction to supress error messages
+ // TODO: use "special" still interaction to suppress error messages
xStream = aContent.openWriteableStream();
if (xStream.is())
xInputStream = xStream->getInputStream();
@@ -771,7 +771,7 @@ sal_Bool MediaDescriptor::impl_openStreamWithURL( const ::rtl::OUString& sURL, s
}
}
- // If opening of the stream in read/write mode wasnt allowed
+ // If opening of the stream in read/write mode wasn't allowed
// or failed by an error - we must try it in readonly mode.
if (!xInputStream.is())
{
@@ -846,7 +846,7 @@ sal_Bool MediaDescriptor::impl_openStreamWithURL( const ::rtl::OUString& sURL, s
they are part of an URL.
Do not use the URLTransformer service here. Because
- it parses the URL in another way. It's main part isnt enough
+ it parses the URL in another way. It's main part isn't enough
and it's complete part contains the jumpmark (fragment) parameter ...
*/
static ::rtl::OUString SERVICENAME_URIREFERENCEFACTORY = ::rtl::OUString::createFromAscii("com.sun.star.uri.UriReferenceFactory");
@@ -867,7 +867,7 @@ sal_Bool MediaDescriptor::impl_openStreamWithURL( const ::rtl::OUString& sURL, s
catch(const css::uno::Exception&)
{}
- // If an error ocurred ... return the original URL.
+ // If an error occurred ... return the original URL.
// It's a try .-)
return sURL;
}
diff --git a/comphelper/source/misc/numberedcollection.cxx b/comphelper/source/misc/numberedcollection.cxx
index b6a1e1e371bf..1dc77cf59b15 100644
--- a/comphelper/source/misc/numberedcollection.cxx
+++ b/comphelper/source/misc/numberedcollection.cxx
@@ -213,7 +213,7 @@ void SAL_CALL NumberedCollection::releaseNumberForComponent(const css::uno::Refe
::sal_Int32 c = (::sal_Int32)m_lComponents.size ();
::sal_Int32 i = 1;
- // c cant be less then 0 ... otherwhise hash.size() has an error :-)
+ // c can't be less than 0 ... otherwise hash.size() has an error :-)
// But we need at least n+1 numbers here.
c += 1;
diff --git a/comphelper/source/misc/proxyaggregation.cxx b/comphelper/source/misc/proxyaggregation.cxx
index e02c91da3093..da849f6a2247 100644
--- a/comphelper/source/misc/proxyaggregation.cxx
+++ b/comphelper/source/misc/proxyaggregation.cxx
@@ -58,7 +58,7 @@ namespace comphelper
// then the proxy itself
if ( xFactory.is() )
{
- { // i36686 OJ: achieve the desctruction of the tempoary -> otherwise it leads to _rRefCount -= 2
+ { // i36686 OJ: achieve the destruction of the tempoary -> otherwise it leads to _rRefCount -= 2
m_xProxyAggregate = xFactory->createProxy( _rxComponent );
}
if ( m_xProxyAggregate.is() )
diff --git a/comphelper/source/misc/scopeguard.cxx b/comphelper/source/misc/scopeguard.cxx
index 023bef0ebf7b..e7a16ea8ed6d 100644
--- a/comphelper/source/misc/scopeguard.cxx
+++ b/comphelper/source/misc/scopeguard.cxx
@@ -44,11 +44,11 @@ ScopeGuard::~ScopeGuard()
OSL_ENSURE(
false, rtl::OUStringToOString(
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(
- "UNO exception occured: ") ) +
+ "UNO exception occurred: ") ) +
exc.Message, RTL_TEXTENCODING_UTF8 ).getStr() );
}
catch (...) {
- OSL_ENSURE( false, "unknown exception occured!" );
+ OSL_ENSURE( false, "unknown exception occurred!" );
}
}
else
diff --git a/comphelper/source/misc/sequenceashashmap.cxx b/comphelper/source/misc/sequenceashashmap.cxx
index 51bcea4fc753..4280b011a38c 100644
--- a/comphelper/source/misc/sequenceashashmap.cxx
+++ b/comphelper/source/misc/sequenceashashmap.cxx
@@ -130,7 +130,7 @@ void SequenceAsHashMap::operator<<(const css::uno::Sequence< css::uno::Any >& lS
(!lP.Value.hasValue())
)
throw css::beans::IllegalTypeException(
- ::rtl::OUString::createFromAscii("PropertyValue struct contains no usefull informations."),
+ ::rtl::OUString::createFromAscii("PropertyValue struct contains no useful informations."),
css::uno::Reference< css::uno::XInterface >());
(*this)[lP.Name] = lP.Value;
continue;
@@ -144,7 +144,7 @@ void SequenceAsHashMap::operator<<(const css::uno::Sequence< css::uno::Any >& lS
(!lN.Value.hasValue())
)
throw css::beans::IllegalTypeException(
- ::rtl::OUString::createFromAscii("NamedValue struct contains no usefull informations."),
+ ::rtl::OUString::createFromAscii("NamedValue struct contains no useful informations."),
css::uno::Reference< css::uno::XInterface >());
(*this)[lN.Name] = lN.Value;
continue;
diff --git a/configure.in b/configure.in
index 79654aed0259..0df4cf28badb 100644
--- a/configure.in
+++ b/configure.in
@@ -362,7 +362,7 @@ AC_ARG_ENABLE(randr-link,
open it at runtime
],,enable_randr_link=yes)
AC_ARG_WITH(bundled-extension-blobs,
-[ --with-bundled-extension-blobs Whitespace seperated list of files in the tarball directory
+[ --with-bundled-extension-blobs Whitespace separated list of files in the tarball directory
that are to be bundled as-is for installation as extensions
at the first program start. Make sure to only bundle extensions
which can be installed without requiring a license dialog
@@ -370,7 +370,7 @@ AC_ARG_WITH(bundled-extension-blobs,
files LICENSE_aggregated and NOTICE_aggregated accordingly
],,)
#AC_ARG_WITH(bundled-prereg-extensions,
-#[ --with-bundled-prereg-extensions Whitespace seperated list of files in the tarball directory that
+#[ --with-bundled-prereg-extensions Whitespace separated list of files in the tarball directory that
# are to be bundled as pre-registered extensions. Make sure to only bundle
# extensions which can be installed without requiring a license dialog
#],,)
@@ -3656,7 +3656,7 @@ if test "z$enable_odk" = "z" -o "$enable_odk" != "no"; then
save_CPPFLAGS=$CPPFLAGS
CXXFLAGS="$CXXFLAGS -I$JAVA_HOME/include"
CPPFLAGS="$CPPFLAGS -I$JAVA_HOME/include"
- # LIBS contains -lcrypt etc due to teh AC_CHECK_LIBS which obviously
+ # LIBS contains -lcrypt etc due to the AC_CHECK_LIBS which obviously
# do not make sense here (and 'd make the check fail)
save_LIBS=$LIBS
LIBS=""
@@ -3911,7 +3911,7 @@ dnl Checks for a MacOS platform SDK compatible with an OSX 10.7 deployment targe
dnl ===================================================================
if test "$_os" = "Darwin"; then
sdk_target=10.7
- AC_MSG_CHECKING([checking SDK compatiblity with OSX $sdk_target])
+ AC_MSG_CHECKING([checking SDK compatibility with OSX $sdk_target])
sdk_minor=`echo $sdk_target | cut -d"." -f2`
@@ -5464,7 +5464,7 @@ if test \( "$_os" = "WINNT" \) ; then
fi
AC_MSG_NOTICE([found atls.lib in "$ATL_LIB"? "$HAVE_ATL_LIB"])
- dnl TODO check also MFC libraries, they seem to have diferent names
+ dnl TODO check also MFC libraries, they seem to have different names
dnl mfc42.lib mfc90.lib
if test -d "$MFC_LIB"; then
HAVE_MFC_LIB="yes"
diff --git a/connectivity/inc/connectivity/FValue.hxx b/connectivity/inc/connectivity/FValue.hxx
index dd8d1083c405..48f63f43c3c0 100644
--- a/connectivity/inc/connectivity/FValue.hxx
+++ b/connectivity/inc/connectivity/FValue.hxx
@@ -251,7 +251,7 @@ namespace connectivity
ORowSetValue& operator=(const ::rtl::OUString& _rRH);
// the type isn't set it will be set to VARCHAR if the type is different change it
ORowSetValue& operator=(const ::com::sun::star::uno::Sequence<sal_Int8>& _rRH);
- // we the possiblity to save a any for bookmarks
+ // we the possibility to save a any for bookmarks
ORowSetValue& operator=(const ::com::sun::star::uno::Any& _rAny);
operator sal_Bool() const { return isNull() ? sal_False : getBool(); }
diff --git a/connectivity/inc/connectivity/dbmetadata.hxx b/connectivity/inc/connectivity/dbmetadata.hxx
index 23a4f2f164bd..bfb67d4decc0 100644
--- a/connectivity/inc/connectivity/dbmetadata.hxx
+++ b/connectivity/inc/connectivity/dbmetadata.hxx
@@ -144,7 +144,7 @@ namespace dbtools
*/
bool shouldEscapeDateTime() const;
- /** auto increment columns should be automaticly used as primary key.
+ /** auto increment columns should be automatically used as primary key.
*/
bool isAutoIncrementPrimaryKey() const;
diff --git a/connectivity/inc/connectivity/dbtools.hxx b/connectivity/inc/connectivity/dbtools.hxx
index 16ff8cddc2ab..82738108d777 100644
--- a/connectivity/inc/connectivity/dbtools.hxx
+++ b/connectivity/inc/connectivity/dbtools.hxx
@@ -255,7 +255,7 @@ namespace dbtools
If (and only if) <arg>CommandType</arg> is CommandType.COMMAND, the fields collection which is returned
by this function here is a temporary object. It is kept alive by another object, which is to be
created temporarily, too. To ensure that the fields you get are valid as long as you need them,
- the owner which controls their life time is transfered to this parameter upon return.<br/>
+ the owner which controls their life time is transferred to this parameter upon return.<br/>
Your fields live as long as this component lives.<br/>
@@ -330,7 +330,7 @@ namespace dbtools
const StandardSQLState _eSQLState = SQL_ERROR_UNSPECIFIED,
const sal_Int32 _nErrorCode = 0);
- /** search the parent hierachy for a data source.
+ /** search the parent hierarchy for a data source.
*/
OOO_DLLPUBLIC_DBTOOLS ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource> findDataSource(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _xParent);
@@ -363,7 +363,7 @@ namespace dbtools
@param _pAsciiSettingsName
the ASCII name of the setting to obtain
@param _rSettingsValue
- the value of the setting, upon successfull return
+ the value of the setting, upon successful return
@return
<FALSE/> if the setting is not present in the <member scope="com::sun::star::sdb">DataSource::Info</member>
@@ -610,7 +610,7 @@ namespace dbtools
const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& _rxHandler,
const ::std::bit_vector& _aParametersSet = ::std::bit_vector());
- /** call the appropiate set method for the specific sql type @see com::sun::star::sdbc::DataType
+ /** call the appropriate set method for the specific sql type @see com::sun::star::sdbc::DataType
@param _xParams the parameters where to set the value
@param parameterIndex the index of the parameter, 1 based
@param x the value to set
@@ -624,7 +624,7 @@ namespace dbtools
sal_Int32 sqlType,
sal_Int32 scale=0) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- /** call the appropiate set method for the specific sql type @see com::sun::star::sdbc::DataType
+ /** call the appropriate set method for the specific sql type @see com::sun::star::sdbc::DataType
@param _xParams the parameters where to set the value
@param parameterIndex the index of the parameter, 1 based
@param x the value to set
diff --git a/connectivity/inc/connectivity/parameters.hxx b/connectivity/inc/connectivity/parameters.hxx
index 4a4b79681ae2..cd51bd529630 100644
--- a/connectivity/inc/connectivity/parameters.hxx
+++ b/connectivity/inc/connectivity/parameters.hxx
@@ -84,7 +84,7 @@ namespace dbtools
/// the column object for this parameter, as returned by the query composer
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >
xComposerColumn;
- /// the indicies of inner parameters which need to be filled when this concrete parameter is set
+ /// the indices of inner parameters which need to be filled when this concrete parameter is set
::std::vector< sal_Int32 > aInnerIndexes;
/// default ctor
@@ -267,7 +267,7 @@ namespace dbtools
@param _rxComponent
the database component to initialize from. Must not be <NULL/>
@return
- <TRUE/> if and only if the initialization was successfull
+ <TRUE/> if and only if the initialization was successful
@postcond
if and only if <TRUE/> is returned, then <member>m_xInnerParamColumns</member> contains the collection of
diff --git a/connectivity/inc/connectivity/sdbcx/VCatalog.hxx b/connectivity/inc/connectivity/sdbcx/VCatalog.hxx
index 13e96b3e0c77..6ee7a9227cdd 100644
--- a/connectivity/inc/connectivity/sdbcx/VCatalog.hxx
+++ b/connectivity/inc/connectivity/sdbcx/VCatalog.hxx
@@ -83,7 +83,7 @@ namespace connectivity
*/
virtual ::rtl::OUString buildName( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRow >& _xRow);
- /** fills a vector with the nescessary names which can be used in combination with the collections.
+ /** fills a vector with the necessary names which can be used in combination with the collections.
For each row buildName will be called.
@param _xResult
The resultset which should be used to fill the names. Will be disposed after return and set to NULL.
diff --git a/connectivity/inc/connectivity/sqlerror.hxx b/connectivity/inc/connectivity/sqlerror.hxx
index 828ef32225c3..e1d896922f09 100644
--- a/connectivity/inc/connectivity/sqlerror.hxx
+++ b/connectivity/inc/connectivity/sqlerror.hxx
@@ -173,7 +173,7 @@ namespace connectivity
the ErrorCondition which hit you
@param _rxContext
- the context in which the error occured. This will be filled in as
+ the context in which the error occurred. This will be filled in as
<member scope="com::sun::star::uno">Exception::Context</member> member.
@param _rParamValue1
@@ -210,7 +210,7 @@ namespace connectivity
Note: You should prefer the version of <type>raiseException</type> which takes
an additional <type>Context</type> parameter, since this allows clients of your
- exception to examine where the error occured.
+ exception to examine where the error occurred.
@param _eCondition
the ErrorCondition which hit you
@@ -248,7 +248,7 @@ namespace connectivity
the ErrorCondition which hit you
@param _rxContext
- the context in which the error occured. This will be filled in as
+ the context in which the error occurred. This will be filled in as
<member scope="com::sun::star::uno">Exception::Context</member> member.
@param _rExceptionType
@@ -294,7 +294,7 @@ namespace connectivity
the ErrorCondition which hit you
@param _rxContext
- the context in which the error occured. This will be filled in as
+ the context in which the error occurred. This will be filled in as
<member scope="com::sun::star::uno">Exception::Context</member> member.
@param _rParamValue1
diff --git a/connectivity/inc/connectivity/sqliterator.hxx b/connectivity/inc/connectivity/sqliterator.hxx
index c7d1ed30afec..cf73a5aa5ac5 100644
--- a/connectivity/inc/connectivity/sqliterator.hxx
+++ b/connectivity/inc/connectivity/sqliterator.hxx
@@ -166,7 +166,7 @@ namespace connectivity
const OSQLParseNode* getSimpleGroupByTree() const;
const OSQLParseNode* getSimpleHavingTree() const;
- /** returns the errors which occured during parsing.
+ /** returns the errors which occurred during parsing.
The returned object contains a chain (via SQLException::NextException) of SQLExceptions.
*/
@@ -333,12 +333,12 @@ namespace connectivity
/** appends an SQLException corresponding to the given error code to our error collection
@param _eError
- the code of the error which occured
+ the code of the error which occurred
@param _pReplaceToken1
- if not <NULL/>, the first occurance of '#' in the error message will be replaced
+ if not <NULL/>, the first occurrence of '#' in the error message will be replaced
with the given token
@param _pReplaceToken2
- if not <NULL/>, and if _rReplaceToken1 is not <NULL/>, the second occurance of '#'
+ if not <NULL/>, and if _rReplaceToken1 is not <NULL/>, the second occurrence of '#'
in the error message will be replaced with _rReplaceToken2
*/
void impl_appendError( IParseContext::ErrorCode _eError,
diff --git a/connectivity/inc/connectivity/sqlnode.hxx b/connectivity/inc/connectivity/sqlnode.hxx
index ac9ffc0226e1..39475db472a8 100644
--- a/connectivity/inc/connectivity/sqlnode.hxx
+++ b/connectivity/inc/connectivity/sqlnode.hxx
@@ -301,7 +301,7 @@ namespace connectivity
too, to check whether they contain nested sub queries.
@param _pErrorHolder
- takes the error which occured while generating the statement, if any. Might be <NULL/>,
+ takes the error which occurred while generating the statement, if any. Might be <NULL/>,
in this case the error is not reported back, and can only be recognized by examing the
return value.
@@ -412,7 +412,7 @@ namespace connectivity
::rtl::OUString &_rTable
,const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData >& _xMetaData);
- // susbtitute all occurences of :var or [name] into the dynamic parameter ?
+ // susbtitute all occurrences of :var or [name] into the dynamic parameter ?
// _pNode will be modified if parameters exists
static void substituteParameterNames(OSQLParseNode* _pNode);
diff --git a/connectivity/inc/connectivity/virtualdbtools.hxx b/connectivity/inc/connectivity/virtualdbtools.hxx
index 60d65ba3a2d1..9370bcf79a55 100644
--- a/connectivity/inc/connectivity/virtualdbtools.hxx
+++ b/connectivity/inc/connectivity/virtualdbtools.hxx
@@ -91,7 +91,7 @@ namespace comphelper {
instance, which is acquired <em>once</em>.</p>
@return
a pointer to an object implementing the IDataAccessToolsFactory interface,
- aquired exactly <em>once</em>.
+ acquired exactly <em>once</em>.
*/
extern "C" OOO_DLLPUBLIC_DBTOOLS void* SAL_CALL createDataAccessToolsFactory();
diff --git a/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java b/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java
index fedfcb4a72ad..3209bcce9954 100644
--- a/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java
+++ b/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java
@@ -117,7 +117,7 @@ public class JdbcLongVarCharTest extends ComplexTestCase
}
catch (java.lang.Exception e)
{
- System.out.println("== Exception occured while testing ==");
+ System.out.println("== Exception occurred while testing ==");
e.printStackTrace();
} finally
{
diff --git a/connectivity/qa/complex/connectivity/hsqldb/DatabaseMetaData.java b/connectivity/qa/complex/connectivity/hsqldb/DatabaseMetaData.java
index 9a0471b7fad7..17589f27554b 100644
--- a/connectivity/qa/complex/connectivity/hsqldb/DatabaseMetaData.java
+++ b/connectivity/qa/complex/connectivity/hsqldb/DatabaseMetaData.java
@@ -68,7 +68,7 @@ public class DatabaseMetaData {
} catch( java.lang.IllegalAccessException ex ) {
assure("IllegalAccessException!",false);
} catch( SQLException ex ) {
- assure("SQLException occured: " + ex.getMessage() ,false);
+ assure("SQLException occurred: " + ex.getMessage() ,false);
} catch( java.lang.reflect.InvocationTargetException ex ) {
assure("IllegalAccessException!",false);
} finally {
diff --git a/connectivity/source/commontools/TSkipDeletedSet.cxx b/connectivity/source/commontools/TSkipDeletedSet.cxx
index a1185f67a799..566f23c06f0b 100644
--- a/connectivity/source/commontools/TSkipDeletedSet.cxx
+++ b/connectivity/source/commontools/TSkipDeletedSet.cxx
@@ -61,7 +61,7 @@ sal_Bool OSkipDeletedSet::skipDeleted(IResultSetHelper::Movement _eCursorPositio
nDelOffset = 1;
break;
case IResultSetHelper::LAST:
- eDelPosition = IResultSetHelper::PRIOR; // lsat row is invalid so position before
+ eDelPosition = IResultSetHelper::PRIOR; // last row is invalid so position before
nDelOffset = 1;
break;
case IResultSetHelper::RELATIVE:
diff --git a/connectivity/source/commontools/parameters.cxx b/connectivity/source/commontools/parameters.cxx
index 10ba937a21f0..3915b7c2e8c9 100644
--- a/connectivity/source/commontools/parameters.cxx
+++ b/connectivity/source/commontools/parameters.cxx
@@ -192,7 +192,7 @@ namespace dbtools
}
// we need to map the parameter names (which is all we get from the 's
- // MasterFields property) to indicies, which are needed by the XParameters
+ // MasterFields property) to indices, which are needed by the XParameters
// interface of the row set)
Reference<XPropertySet> xParam;
for ( sal_Int32 i = 0; i < m_nInnerCount; ++i )
@@ -205,7 +205,7 @@ namespace dbtools
::rtl::OUString sName;
xParam->getPropertyValue( OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_NAME) ) >>= sName;
- // only append additonal paramters when they are not already in the list
+ // only append additional parameters when they are not already in the list
ParameterInformation::iterator aExistentPos = m_aParameterInformation.find( sName );
OSL_ENSURE( !_bSecondRun || ( aExistentPos != m_aParameterInformation.end() ),
"ParameterManager::collectInnerParameters: the parameter information should already exist in the second run!" );
@@ -479,9 +479,9 @@ namespace dbtools
( nSmallestIndexLinkedByColumnName > nLargestIndexNotLinkedByColumnName ),
"ParameterManager::createOuterParameters: inconsistency!" );
- // for the master-detail links, where the detail field denoted a column name, we created an addtional ("artificial")
+ // for the master-detail links, where the detail field denoted a column name, we created an additional ("artificial")
// filter, and *appended* it to all other (potentially) existing filters of the row set. This means that the indexes
- // for the parameters resulting from the artifical filter should be larger than any other parameter index, and this
+ // for the parameters resulting from the artificial filter should be larger than any other parameter index, and this
// is what the assertion checks.
// If the assertion fails, then we would need another handling for the "parameters visited" flags, since they're based
// on parameter indexes *without* the artificial filter (because this filter is not visible from the outside).
@@ -561,7 +561,7 @@ namespace dbtools
Any aParamType, aScale, aValue;
// loop through all master fields. For each of them, get the respective column from the
- // parent , and forward it's current value as paramter value to the (inner) row set
+ // parent , and forward it's current value as parameter value to the (inner) row set
for ( sal_Int32 i = 0; i < nMasterLen; ++i, ++pMasterFields, ++pDetailFields )
{
// does the name denote a valid column in the parent?
diff --git a/connectivity/source/cpool/ZConnectionPool.hxx b/connectivity/source/cpool/ZConnectionPool.hxx
index 7160e2c81e1b..42b4ecaef6ef 100644
--- a/connectivity/source/cpool/ZConnectionPool.hxx
+++ b/connectivity/source/cpool/ZConnectionPool.hxx
@@ -68,7 +68,7 @@ namespace connectivity
typedef struct
{
TPooledConnections aConnections;
- sal_Int32 nALiveCount; // will be decremented everytime a time says to, when will reach zero the pool will be deleted
+ sal_Int32 nALiveCount; // will be decremented every time a time says to, when will reach zero the pool will be deleted
} TConnectionPool;
struct TDigestHolder
diff --git a/connectivity/source/cpool/ZPoolCollection.hxx b/connectivity/source/cpool/ZPoolCollection.hxx
index 970f3f5f892b..e1667aef594e 100644
--- a/connectivity/source/cpool/ZPoolCollection.hxx
+++ b/connectivity/source/cpool/ZPoolCollection.hxx
@@ -53,7 +53,7 @@ namespace connectivity
::com::sun::star::beans::XPropertyChangeListener
> OPoolCollection_Base;
- /// OPoolCollection: controll the whole connection pooling for oo
+ /// OPoolCollection: control the whole connection pooling for oo
class OPoolCollection : public OPoolCollection_Base
{
diff --git a/connectivity/source/drivers/ado/ADatabaseMetaDataResultSet.cxx b/connectivity/source/drivers/ado/ADatabaseMetaDataResultSet.cxx
index d5c6d53bf200..bc5107c26b02 100644
--- a/connectivity/source/drivers/ado/ADatabaseMetaDataResultSet.cxx
+++ b/connectivity/source/drivers/ado/ADatabaseMetaDataResultSet.cxx
@@ -147,7 +147,7 @@ Reference< ::com::sun::star::io::XInputStream > SAL_CALL ODatabaseMetaDataResult
WpADOField aField = ADOS::getField(m_pRecordSet,columnIndex);
if((aField.GetAttributes() & adFldLong) == adFldLong)
{
- //Copy the data only upto the Actual Size of Field.
+ //Copy the data only up to the Actual Size of Field.
sal_Int32 nSize = aField.GetActualSize();
Sequence<sal_Int8> aData(nSize);
long index = 0;
diff --git a/connectivity/source/drivers/ado/AResultSet.cxx b/connectivity/source/drivers/ado/AResultSet.cxx
index 9e9c5610ceb7..1f57671ca037 100644
--- a/connectivity/source/drivers/ado/AResultSet.cxx
+++ b/connectivity/source/drivers/ado/AResultSet.cxx
@@ -179,7 +179,7 @@ Reference< ::com::sun::star::io::XInputStream > SAL_CALL OResultSet::getBinarySt
if((aField.GetAttributes() & adFldLong) == adFldLong)
{
- //Copy the data only upto the Actual Size of Field.
+ //Copy the data only up to the Actual Size of Field.
sal_Int32 nSize = aField.GetActualSize();
Sequence<sal_Int8> aData(nSize);
long index = 0;
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx
index 130e8a42c223..29563a668d5a 100644
--- a/connectivity/source/drivers/dbase/DTable.cxx
+++ b/connectivity/source/drivers/dbase/DTable.cxx
@@ -2290,7 +2290,7 @@ void ODbaseTable::alterColumn(sal_Int32 index,
}
catch(const Exception&)
{
- OSL_ENSURE(0,"ODbaseTable::alterColumn: Exception occured!");
+ OSL_ENSURE(0,"ODbaseTable::alterColumn: Exception occurred!");
throw;
}
}
diff --git a/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx b/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx
index 67273c6bf533..64103fc885f6 100644
--- a/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx
@@ -628,7 +628,7 @@ sal_Bool SAL_CALL OEvoabDatabaseMetaData::allTablesAreSelectable( ) throw(SQLEx
// -------------------------------------------------------------------------
sal_Bool SAL_CALL OEvoabDatabaseMetaData::isReadOnly( ) throw(SQLException, RuntimeException)
{
- // For now definately read-only, no support for update/delete
+ // For now definitely read-only, no support for update/delete
return sal_True;
}
// -------------------------------------------------------------------------
diff --git a/connectivity/source/drivers/evoab2/NDriver.hxx b/connectivity/source/drivers/evoab2/NDriver.hxx
index 402ccb623c33..660c1e5d47f7 100644
--- a/connectivity/source/drivers/evoab2/NDriver.hxx
+++ b/connectivity/source/drivers/evoab2/NDriver.hxx
@@ -31,7 +31,7 @@
#include <osl/module.h>
#define EVOAB_EVOLUTION_SCHEMA "evolution"
-/*In Future, when seperate schema is required for ldap, groupwise*/
+/*In Future, when separate schema is required for ldap, groupwise*/
#define EVOAB_LDAP_SCHEMA "ldap"
#define EVOAB_GWISE_SCHEMA "groupwise"
diff --git a/connectivity/source/drivers/evoab2/NStatement.cxx b/connectivity/source/drivers/evoab2/NStatement.cxx
index adc22739e5b6..fbf212517f79 100644
--- a/connectivity/source/drivers/evoab2/NStatement.cxx
+++ b/connectivity/source/drivers/evoab2/NStatement.cxx
@@ -423,7 +423,7 @@ EBookQuery *OCommonStatement::whereAnalysis( const OSQLParseNode* parseTree )
m_pConnection->throwGenericSQLException(STR_QUERY_NOT_LIKE_TOO_COMPLEX,*this);
}
else if( (aMatchString.indexOf ( WILDCARD ) == aMatchString.lastIndexOf ( WILDCARD ) ) )
- { // One occurance of '%' matches...
+ { // One occurrence of '%' matches...
if ( aMatchString.indexOf ( WILDCARD ) == 0 )
pResult = createTest( aColumnName, E_BOOK_QUERY_ENDS_WITH, aMatchString.copy( 1 ) );
else if ( aMatchString.indexOf ( WILDCARD ) == aMatchString.getLength() - 1 )
diff --git a/connectivity/source/drivers/file/FPreparedStatement.cxx b/connectivity/source/drivers/file/FPreparedStatement.cxx
index e573b72ac47f..b742049ab7dc 100644
--- a/connectivity/source/drivers/file/FPreparedStatement.cxx
+++ b/connectivity/source/drivers/file/FPreparedStatement.cxx
@@ -423,7 +423,7 @@ Reference<XResultSet> OPreparedStatement::initResultSet()
m_pResultSet->clear();
Reference<XResultSet> xRs(m_pResultSet);
- // check if we got enough paramters
+ // check if we got enough parameters
if ( (m_aParameterRow.isValid() && ( m_aParameterRow->get().size() -1 ) < m_xParamColumns->get().size()) ||
(m_xParamColumns.isValid() && !m_aParameterRow.isValid() && !m_aParameterRow->get().empty()) )
m_pConnection->throwGenericSQLException(STR_INVALID_PARA_COUNT,*this);
diff --git a/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx b/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx
index 6cffc1afd322..37bfd7b3d8ae 100644
--- a/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx
+++ b/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx
@@ -127,7 +127,7 @@ Reference< XResultSet > SAL_CALL java_sql_DatabaseMetaData::getTables(
// Java-Call absetzen
static jmethodID mID(NULL);
obtainMethodId(t.pEnv, cMethodName,cSignature, mID);
- OSL_VERIFY_RES( !isExceptionOccured(t.pEnv,sal_True),"Exception occured!");
+ OSL_VERIFY_RES( !isExceptionOccured(t.pEnv,sal_True),"Exception occurred!");
jvalue args[4];
args[3].l = 0;
@@ -135,7 +135,7 @@ Reference< XResultSet > SAL_CALL java_sql_DatabaseMetaData::getTables(
if ( typeFilterCount )
{
jobjectArray pObjArray = static_cast< jobjectArray >( t.pEnv->NewObjectArray( (jsize)typeFilterCount, java_lang_String::st_getMyClass(), 0 ) );
- OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occured!" );
+ OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occurred!" );
const ::rtl::OUString* typeFilter = _types.getConstArray();
bool bIncludeAllTypes = false;
for ( sal_Int32 i=0; i<typeFilterCount; ++i, ++typeFilter )
@@ -147,7 +147,7 @@ Reference< XResultSet > SAL_CALL java_sql_DatabaseMetaData::getTables(
}
jstring aT = convertwchar_tToJavaString( t.pEnv, *typeFilter );
t.pEnv->SetObjectArrayElement( pObjArray, (jsize)i, aT );
- OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occured!" );
+ OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occurred!" );
}
if ( bIncludeAllTypes )
@@ -155,7 +155,7 @@ Reference< XResultSet > SAL_CALL java_sql_DatabaseMetaData::getTables(
// the SDBC API allows to pass "%" as table type filter, but in JDBC, "all table types"
// is represented by the table type being <null/>
t.pEnv->DeleteLocalRef( pObjArray );
- OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occured!" );
+ OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occurred!" );
}
else
{
@@ -183,23 +183,23 @@ Reference< XResultSet > SAL_CALL java_sql_DatabaseMetaData::getTables(
if ( aCatalogFilter.hasValue() )
{
t.pEnv->DeleteLocalRef((jstring)args[0].l);
- OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occured!" );
+ OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occurred!" );
}
if(args[1].l)
{
t.pEnv->DeleteLocalRef((jstring)args[1].l);
- OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occured!" );
+ OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occurred!" );
}
if(tableNamePattern.getLength())
{
t.pEnv->DeleteLocalRef((jstring)args[2].l);
- OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occured!" );
+ OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occurred!" );
}
//for(INT16 i=0;i<len;i++)
if ( args[3].l )
{
t.pEnv->DeleteLocalRef( (jobjectArray)args[3].l );
- OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occured!" );
+ OSL_VERIFY_RES( !isExceptionOccured( t.pEnv, sal_True ), "Exception occurred!" );
}
if ( jThrow )
diff --git a/connectivity/source/drivers/jdbc/JDriver.cxx b/connectivity/source/drivers/jdbc/JDriver.cxx
index 8b788b708b79..e499e0c9ba43 100644
--- a/connectivity/source/drivers/jdbc/JDriver.cxx
+++ b/connectivity/source/drivers/jdbc/JDriver.cxx
@@ -111,7 +111,7 @@ Reference< XConnection > SAL_CALL java_sql_Driver::connect( const ::rtl::OUStrin
java_sql_Connection* pConnection = new java_sql_Connection( *this );
xOut = pConnection;
if ( !pConnection->construct(url,info) )
- xOut.clear(); // an error occured and the java driver didn't throw an exception
+ xOut.clear(); // an error occurred and the java driver didn't throw an exception
else
m_aLogger.log( LogLevel::INFO, STR_LOG_DRIVER_SUCCESS );
}
diff --git a/connectivity/source/drivers/kab/KStatement.cxx b/connectivity/source/drivers/kab/KStatement.cxx
index 5042098e51ff..bfc10d17ded3 100644
--- a/connectivity/source/drivers/kab/KStatement.cxx
+++ b/connectivity/source/drivers/kab/KStatement.cxx
@@ -522,7 +522,7 @@ sal_Bool KabCommonStatement::convertFastPropertyValue(
// -------------------------------------------------------------------------
void KabCommonStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,const Any&) throw (Exception)
{
- // set the value to whatever is nescessary
+ // set the value to whatever is necessary
switch (nHandle)
{
case PROPERTY_ID_QUERYTIMEOUT:
diff --git a/connectivity/source/drivers/macab/MacabRecords.cxx b/connectivity/source/drivers/macab/MacabRecords.cxx
index ba1b9b900769..fb63663ff155 100644
--- a/connectivity/source/drivers/macab/MacabRecords.cxx
+++ b/connectivity/source/drivers/macab/MacabRecords.cxx
@@ -934,7 +934,7 @@ void MacabRecords::insertPropertyIntoMacabRecord(const ABPropertyType _propertyT
* scalar type, an error, or an unknown type are found.
* Because of that, the following checks only occur for this type.
* We store whether we have successfully placed this property
- * into the MacabRecord (or whether an unrecoverable error occured).
+ * into the MacabRecord (or whether an unrecoverable error occurred).
* Then, we try over and over again to place the property into the
* record. There are three possible results:
* 1) Success!
diff --git a/connectivity/source/drivers/macab/MacabStatement.cxx b/connectivity/source/drivers/macab/MacabStatement.cxx
index 9f4d38b33130..a85c715eca22 100644
--- a/connectivity/source/drivers/macab/MacabStatement.cxx
+++ b/connectivity/source/drivers/macab/MacabStatement.cxx
@@ -549,7 +549,7 @@ sal_Bool MacabCommonStatement::convertFastPropertyValue(
// -------------------------------------------------------------------------
void MacabCommonStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,const Any&) throw (Exception)
{
- // set the value to whatever is nescessary
+ // set the value to whatever is necessary
switch (nHandle)
{
case PROPERTY_ID_QUERYTIMEOUT:
diff --git a/connectivity/source/inc/TSkipDeletedSet.hxx b/connectivity/source/inc/TSkipDeletedSet.hxx
index 872588772419..ae3af24a1e17 100644
--- a/connectivity/source/inc/TSkipDeletedSet.hxx
+++ b/connectivity/source/inc/TSkipDeletedSet.hxx
@@ -56,7 +56,7 @@ namespace connectivity
/**
skipDeleted moves the resultset to the position defined by the parameters
- it garantees that the row isn't deleted
+ it guarantees that the row isn't deleted
@param
IResultSetHelper::Movement _eCursorPosition in which direction the resultset should be moved
sal_Int32 _nOffset the position relativ to the movement
diff --git a/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx b/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx
index 407e8d8b8670..93ff948c30eb 100644
--- a/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx
+++ b/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx
@@ -63,7 +63,7 @@ namespace connectivity
public ::cppu::OPropertySetHelper,
public ::comphelper::OPropertyArrayUsageHelper<ODatabaseMetaDataResultSet>
{
- ::std::vector<sal_Int32> m_aColMapping; // pos 0 is unused so we don't have to decrement 1 everytime
+ ::std::vector<sal_Int32> m_aColMapping; // pos 0 is unused so we don't have to decrement 1 every time
::std::map<sal_Int32, TInt2IntMap > m_aValueRange;
::std::map<sal_Int32, TInt2IntMap >::iterator m_aValueRangeIter;
diff --git a/connectivity/source/inc/file/FNumericFunctions.hxx b/connectivity/source/inc/file/FNumericFunctions.hxx
index d9bb3cf67b67..2230b88e345c 100644
--- a/connectivity/source/inc/file/FNumericFunctions.hxx
+++ b/connectivity/source/inc/file/FNumericFunctions.hxx
@@ -174,7 +174,7 @@ namespace connectivity
> SELECT LOG(-2);
-> NULL
- If called with two parameters, this function returns the logarithm of X for an arbitary base B:
+ If called with two parameters, this function returns the logarithm of X for an arbitrary base B:
> SELECT LOG(2,65536);
-> 16.000000
diff --git a/connectivity/source/inc/file/FResultSet.hxx b/connectivity/source/inc/file/FResultSet.hxx
index 934ced70917c..6bdedc72d4d4 100644
--- a/connectivity/source/inc/file/FResultSet.hxx
+++ b/connectivity/source/inc/file/FResultSet.hxx
@@ -93,7 +93,7 @@ namespace connectivity
protected:
::std::vector<void*> m_aBindVector;
- ::std::vector<sal_Int32> m_aColMapping; // pos 0 is unused so we don't have to decrement 1 everytime
+ ::std::vector<sal_Int32> m_aColMapping; // pos 0 is unused so we don't have to decrement 1 every time
::std::vector<sal_Int32> m_aOrderbyColumnNumber;
::std::vector<TAscendingOrder> m_aOrderbyAscending;
diff --git a/connectivity/source/inc/file/FStatement.hxx b/connectivity/source/inc/file/FStatement.hxx
index 01c69aed3193..f7516a59a60f 100644
--- a/connectivity/source/inc/file/FStatement.hxx
+++ b/connectivity/source/inc/file/FStatement.hxx
@@ -70,7 +70,7 @@ namespace connectivity
{
protected:
- ::std::vector<sal_Int32> m_aColMapping; // pos 0 is unused so we don't have to decrement 1 everytime
+ ::std::vector<sal_Int32> m_aColMapping; // pos 0 is unused so we don't have to decrement 1 every time
::std::vector<sal_Int32> m_aParameterIndexes; // maps the parameter index to column index
::std::vector<sal_Int32> m_aOrderbyColumnNumber;
::std::vector<TAscendingOrder> m_aOrderbyAscending;
diff --git a/connectivity/source/inc/flat/ETable.hxx b/connectivity/source/inc/flat/ETable.hxx
index 9525ea089711..0042e2e3d3b3 100644
--- a/connectivity/source/inc/flat/ETable.hxx
+++ b/connectivity/source/inc/flat/ETable.hxx
@@ -44,7 +44,7 @@ namespace connectivity
class OFlatTable : public OFlatTable_BASE
{
- // maps a row postion to a file position
+ // maps a row position to a file position
TRowPositionsInFile m_aFilePosToEndLinePos;
::std::map<sal_Int32, TRowPositionsInFile::iterator>
m_aRowPosToFilePos;
diff --git a/connectivity/source/inc/java/ContextClassLoader.hxx b/connectivity/source/inc/java/ContextClassLoader.hxx
index aa6493fa1a1b..3a178c9feb94 100644
--- a/connectivity/source/inc/java/ContextClassLoader.hxx
+++ b/connectivity/source/inc/java/ContextClassLoader.hxx
@@ -48,7 +48,7 @@ namespace connectivity { namespace jdbc
{
public:
/** creates the instance. If isActive returns <FALSE/> afterwards, then an exception
- happend in the JVM, which should be raised as UNO exception by the caller
+ happened in the JVM, which should be raised as UNO exception by the caller
@param environment
the current JNI environment
diff --git a/connectivity/source/inc/java/tools.hxx b/connectivity/source/inc/java/tools.hxx
index b9a3e1871f87..1bb1bb754e74 100644
--- a/connectivity/source/inc/java/tools.hxx
+++ b/connectivity/source/inc/java/tools.hxx
@@ -70,13 +70,13 @@ namespace connectivity
::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > Map2XNameAccess(JNIEnv *pEnv,jobject _pMap);
jobject convertTypeMapToJavaMap(JNIEnv *pEnv,const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > & _rMap);
- /** return if a exception occured
+ /** return if a exception occurred
@param pEnv
The native java env
@param _bClear
<TRUE/> if the execption should be cleared
@return
- <TRUE/> if an exception is occured
+ <TRUE/> if an exception is occurred
*/
sal_Bool isExceptionOccured(JNIEnv *pEnv,sal_Bool _bClear);
diff --git a/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx b/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx
index 22fdfe32085a..f7bde3ccd8a9 100644
--- a/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx
+++ b/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx
@@ -63,7 +63,7 @@ namespace connectivity
public ::cppu::OPropertySetHelper,
public ::comphelper::OPropertyArrayUsageHelper<ODatabaseMetaDataResultSet>
{
- ::connectivity::TIntVector m_aColMapping; // pos 0 is unused so we don't have to decrement 1 everytime
+ ::connectivity::TIntVector m_aColMapping; // pos 0 is unused so we don't have to decrement 1 every time
::std::map<sal_Int32, ::connectivity::TInt2IntMap > m_aValueRange;
::std::map<sal_Int32, ::connectivity::TString2IntMap > m_aStrValueRange;
diff --git a/connectivity/source/parse/sqlnode.cxx b/connectivity/source/parse/sqlnode.cxx
index 6306fcbf76ca..e828b45444c4 100644
--- a/connectivity/source/parse/sqlnode.cxx
+++ b/connectivity/source/parse/sqlnode.cxx
@@ -515,7 +515,7 @@ void OSQLParseNode::impl_parseNodeToString_throw(::rtl::OUStringBuffer& rString,
}
// ok we found the field, if the following node is the
- // comparision operator '=' we filter it as well
+ // comparison operator '=' we filter it as well
if (bFilter)
{
if (SQL_ISRULE(this, comparison_predicate))
@@ -696,7 +696,7 @@ void OSQLParseNode::impl_parseLikeNodeToString_throw( ::rtl::OUStringBuffer& rSt
}
catch ( Exception& )
{
- OSL_ENSURE( false, "OSQLParseNode::impl_parseLikeNodeToString_throw Exception occured!" );
+ OSL_ENSURE( false, "OSQLParseNode::impl_parseLikeNodeToString_throw Exception occurred!" );
}
if ( !m_aChildren[0]->isLeaf() )
{
diff --git a/connectivity/workben/skeleton/SResultSet.hxx b/connectivity/workben/skeleton/SResultSet.hxx
index cd47cd4dc761..b819d56a7e5a 100644
--- a/connectivity/workben/skeleton/SResultSet.hxx
+++ b/connectivity/workben/skeleton/SResultSet.hxx
@@ -74,7 +74,7 @@ namespace connectivity
protected:
TVoidVector m_aBindVector;
::std::vector<sal_Int32> m_aLengthVector;
- ::std::vector<sal_Int32> m_aColMapping; // pos 0 is unused so we don't have to decrement 1 everytime
+ ::std::vector<sal_Int32> m_aColMapping; // pos 0 is unused so we don't have to decrement 1 every time
::std::vector< ORowSetValue> m_aRow; // only used when SQLGetData can't be called in any order
OStatement_Base* m_pStatement;
::com::sun::star::uno::WeakReferenceHelper m_aStatement;
diff --git a/connectivity/workben/skeleton/how_to_write_a_driver.txt b/connectivity/workben/skeleton/how_to_write_a_driver.txt
index ad4ab99bad2c..30baa17700f7 100644
--- a/connectivity/workben/skeleton/how_to_write_a_driver.txt
+++ b/connectivity/workben/skeleton/how_to_write_a_driver.txt
@@ -27,7 +27,7 @@ Pre implementation steps
- copy all files from connectivity/workben/skeleton into your new created directory under
connectivity/source/drivers and rename the first char of the files to one which isn't used so far
( please have a look at the other drivers )
-- search all occurances of skeleton and replace them to a name which you prefer
+- search all occurrences of skeleton and replace them to a name which you prefer
1. Implement a class called driver or modify the existing skeleton -> have a look at SDriver.?xx
2. Implement a class called connection -> have a look at SConnection.?xx
diff --git a/cosv/inc/cosv/persist.hxx b/cosv/inc/cosv/persist.hxx
index 2a17ff3742ef..27d6f7c8f402 100644
--- a/cosv/inc/cosv/persist.hxx
+++ b/cosv/inc/cosv/persist.hxx
@@ -60,7 +60,7 @@ class Persistent
virtual ~Persistent() {}
const Path & MyPath() const;
- /// @return all pathes without completing delimiter, even directories.
+ /// @return all paths without completing delimiter, even directories.
const char * StrPath() const;
bool Exists() const;
diff --git a/cosv/inc/cosv/ploc_dir.hxx b/cosv/inc/cosv/ploc_dir.hxx
index 1d4fb9900c42..eac7f7cc7522 100644
--- a/cosv/inc/cosv/ploc_dir.hxx
+++ b/cosv/inc/cosv/ploc_dir.hxx
@@ -86,7 +86,7 @@ class Directory : public Persistent
const char * i_sFilter = "*.*",
E_Recursivity i_eRecursivity = flat ) const;
private:
- // Interface Peristent:
+ // Interface Persistent:
virtual const Path &
inq_MyPath() const;
diff --git a/cosv/inc/cosv/tpl/dyn.hxx b/cosv/inc/cosv/tpl/dyn.hxx
index e03408329a68..2489c893a655 100644
--- a/cosv/inc/cosv/tpl/dyn.hxx
+++ b/cosv/inc/cosv/tpl/dyn.hxx
@@ -35,7 +35,7 @@ namespace csv
deleted in its D'tor.
Dyn's main purpose is for class members on the heap:
- You can't forget to delete them in the D'tor. Constness will be transfered
+ You can't forget to delete them in the D'tor. Constness will be transferred
to the hold object.
Dyn forbids the CopyC'tor and operator=(). So you can't incidentally
diff --git a/cppu/inc/uno/threadpool.h b/cppu/inc/uno/threadpool.h
index 835afb5b6b81..a72d15d65df4 100644
--- a/cppu/inc/uno/threadpool.h
+++ b/cppu/inc/uno/threadpool.h
@@ -64,7 +64,7 @@ void SAL_CALL uno_getIdOfCurrentThread( sal_Sequence **ppThreadId )
/**
- If the internal refcount drops to zero, the association betwen threadId and
+ If the internal refcount drops to zero, the association between threadId and
thread is broken.
*/
void SAL_CALL uno_releaseIdFromCurrentThread()
@@ -117,7 +117,7 @@ void SAL_CALL
uno_threadpool_detach( uno_ThreadPool hPool ) SAL_THROW_EXTERN_C();
/**
- Puts a job into the pool. A job may eiter be a request or a reply
+ Puts a job into the pool. A job may either be a request or a reply
(replies have a 0 in the doRequest parameter). This function is non-blocking.
A request may either be synchronous or asynchronous.
diff --git a/cppu/source/LogBridge/LogBridge.cxx b/cppu/source/LogBridge/LogBridge.cxx
index 9c1ec2e4b263..2b0a7fa4fee8 100644
--- a/cppu/source/LogBridge/LogBridge.cxx
+++ b/cppu/source/LogBridge/LogBridge.cxx
@@ -242,7 +242,7 @@ void LogProbe(
rtl_logfile_longTrace( "} LogBridge () %s",sTemp.getStr());
if ( ppException && *ppException )
{
- rtl_logfile_trace( " excption occured : ");
+ rtl_logfile_trace( " exception occurred : ");
typelib_TypeDescription * pElementTypeDescr = 0;
TYPELIB_DANGER_GET( &pElementTypeDescr, (*ppException)->pType );
const ::rtl::OString sValue( ::rtl::OUStringToOString(pElementTypeDescr->pTypeName,osl_getThreadTextEncoding()));
diff --git a/cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx b/cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx
index 73b5cb263c08..c09c5516a7fb 100644
--- a/cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx
+++ b/cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx
@@ -488,7 +488,7 @@ void Proxy::dispatch(typelib_TypeDescriptionReference * pReturnTypeRef,
*ppException = 0;
}
- else // exception occured
+ else // exception occurred
{
for (sal_Int32 nPos = 0; nPos < nParams; ++ nPos)
{
diff --git a/cppu/source/threadpool/threadpool.hxx b/cppu/source/threadpool/threadpool.hxx
index 1b3ed0309844..b7056ed145e1 100644
--- a/cppu/source/threadpool/threadpool.hxx
+++ b/cppu/source/threadpool/threadpool.hxx
@@ -115,7 +115,7 @@ namespace cppu_threadpool {
void * enter( const ByteSequence &aThreadId, sal_Int64 nDisposeId );
/********
- * @return true, if queue could be succesfully revoked.
+ * @return true, if queue could be successfully revoked.
********/
sal_Bool revokeQueue( const ByteSequence & aThreadId , sal_Bool bAsynchron );
diff --git a/cppu/source/uno/data.cxx b/cppu/source/uno/data.cxx
index d23f61e7901d..2465c47805b1 100644
--- a/cppu/source/uno/data.cxx
+++ b/cppu/source/uno/data.cxx
@@ -104,7 +104,7 @@ void * binuno_queryInterface( void * pUnoI, typelib_TypeDescriptionReference * p
#if OSL_DEBUG_LEVEL > 1
OUStringBuffer buf( 128 );
buf.appendAscii(
- RTL_CONSTASCII_STRINGPARAM("### exception occured querying for interface ") );
+ RTL_CONSTASCII_STRINGPARAM("### exception occurred querying for interface ") );
buf.append( * reinterpret_cast< OUString const * >( &pDestType->pTypeName ) );
buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(": [") );
buf.append( * reinterpret_cast< OUString const * >( &pExc->pType->pTypeName ) );
diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx
index 4b19b70aa701..55c85e75782b 100644
--- a/cppu/source/uno/lbmap.cxx
+++ b/cppu/source/uno/lbmap.cxx
@@ -253,7 +253,7 @@ static void SAL_CALL mediate_mapInterface(
OSL_ENSURE( 0 != pTo, "### cannot release out interface: leaking!" );
if (0 != pTo)
(*pTo->releaseInterface)( pTo, pOut );
- *ppOut = 0; // set to 0 anyway, because mapping was not successfull!
+ *ppOut = 0; // set to 0 anyway, because mapping was not successful!
}
}
else
diff --git a/cppuhelper/inc/cppuhelper/compbase_ex.hxx b/cppuhelper/inc/cppuhelper/compbase_ex.hxx
index 2de0d90e9a60..847fdb7483cc 100644
--- a/cppuhelper/inc/cppuhelper/compbase_ex.hxx
+++ b/cppuhelper/inc/cppuhelper/compbase_ex.hxx
@@ -41,7 +41,7 @@ class SAL_NO_VTABLE WeakComponentImplHelperBase
, public ::com::sun::star::lang::XComponent
{
protected:
- /** boradcast helper for disposing events
+ /** broadcast helper for disposing events
*/
::cppu::OBroadcastHelper rBHelper;
diff --git a/cppuhelper/inc/cppuhelper/propshlp.hxx b/cppuhelper/inc/cppuhelper/propshlp.hxx
index 10a6d6e97045..813ca16fe465 100644
--- a/cppuhelper/inc/cppuhelper/propshlp.hxx
+++ b/cppuhelper/inc/cppuhelper/propshlp.hxx
@@ -60,7 +60,7 @@ public:
{}
/**
- Folowing the rule, the first virtual method impies the virtual destructor.
+ Following the rule, the first virtual method impies the virtual destructor.
*/
virtual ~IPropertyArrayHelper();
@@ -317,7 +317,7 @@ public:
Method to be called by OPropertySetHelper::fire.
@param bIgnoreRuntimeExceptionsWhileFiring
- indicates whether occuring RuntimeExceptions shall be
+ indicates whether occurring RuntimeExceptions shall be
ignored when firing notifications
@see OPropertySetHelper::fire
@@ -365,7 +365,7 @@ public:
of this object. Stored in the variable rBHelper.
@param bIgnoreRuntimeExceptionsWhileFiring
- indicates whether occuring RuntimeExceptions will be
+ indicates whether occurring RuntimeExceptions will be
ignored when firing notifications (vetoableChange((),
propertyChange()) to listeners.
PropertyVetoExceptions may still be thrown.
@@ -388,7 +388,7 @@ public:
additional event notifier
@param bIgnoreRuntimeExceptionsWhileFiring
- indicates whether occuring RuntimeExceptions will be
+ indicates whether occurring RuntimeExceptions will be
ignored when firing notifications (vetoableChange((),
propertyChange()) to listeners.
PropertyVetoExceptions may still be thrown.
diff --git a/cppuhelper/source/bootstrap.cxx b/cppuhelper/source/bootstrap.cxx
index 07c111604c5c..3ada9e9d4a43 100644
--- a/cppuhelper/source/bootstrap.cxx
+++ b/cppuhelper/source/bootstrap.cxx
@@ -609,7 +609,7 @@ Reference< XComponentContext > SAL_CALL bootstrap()
case osl_Process_E_NotFound:
throw BootstrapException( OUSTR( "image not found!" ) );
case osl_Process_E_TimedOut:
- throw BootstrapException( OUSTR( "timout occured!" ) );
+ throw BootstrapException( OUSTR( "timeout occurred!" ) );
case osl_Process_E_NoPermission:
throw BootstrapException( OUSTR( "permission denied!" ) );
case osl_Process_E_Unknown:
diff --git a/cppuhelper/source/component.cxx b/cppuhelper/source/component.cxx
index 16b7f7a24d31..d4e6ff9d84ec 100644
--- a/cppuhelper/source/component.cxx
+++ b/cppuhelper/source/component.cxx
@@ -175,7 +175,7 @@ void OComponentHelper::dispose()
EventObject aEvt;
aEvt.Source = xSource;
// inform all listeners to release this object
- // The listener container are automaticly cleared
+ // The listener container are automatically cleared
rBHelper.aLC.disposeAndClear( aEvt );
// notify subclasses to do their dispose
disposing();
diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx
index 9fcca3da44ad..a2067c895308 100644
--- a/cppuhelper/source/component_context.cxx
+++ b/cppuhelper/source/component_context.cxx
@@ -581,7 +581,7 @@ Any ComponentContext::lookupMap( OUString const & rName )
#if OSL_DEBUG_LEVEL > 0
::fprintf(
stderr,
- "### omitting context for service instanciation!\n" );
+ "### omitting context for service instantiation!\n" );
#endif
xInstance = args.getLength()
? xFac2->createInstanceWithArguments( args )
@@ -611,7 +611,7 @@ Any ComponentContext::lookupMap( OUString const & rName )
Any caught( getCaughtException() );
OUStringBuffer buf;
buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(
- "exception occured raising singleton \"") );
+ "exception occurred raising singleton \"") );
buf.append( rName );
buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\": ") );
buf.append( exc.Message );
diff --git a/cppuhelper/source/findsofficepath.c b/cppuhelper/source/findsofficepath.c
index 1600a359525e..d915bec3df6a 100644
--- a/cppuhelper/source/findsofficepath.c
+++ b/cppuhelper/source/findsofficepath.c
@@ -40,7 +40,7 @@
* @param subKeyName name of the subkey to open
*
* @return the installation path or NULL, if no installation was found or
- * if an error occured
+ * if an error occurred
*/
static char* getPathFromRegistryKey( HKEY hroot, const char* subKeyName )
{
@@ -82,7 +82,7 @@ static char* getPathFromRegistryKey( HKEY hroot, const char* subKeyName )
* Gets the installation path from the Windows Registry.
*
* @return the installation path or NULL, if no installation was found or
- * if an error occured
+ * if an error occurred
*/
static char* platformSpecific()
{
@@ -125,7 +125,7 @@ static char* platformSpecific()
* is in one of the directories listed in the PATH environment variable.</p>
*
* @return the installation path or NULL, if no installation was found or
- * if an error occured
+ * if an error occurred
*/
static char* platformSpecific()
{
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx
index 3863207e50d3..cb050797f4ca 100644
--- a/cppuhelper/source/propshlp.cxx
+++ b/cppuhelper/source/propshlp.cxx
@@ -234,7 +234,7 @@ void OPropertySetHelper::disposing() SAL_THROW( () )
aEvt.Source = rSource;
// inform all listeners to reelease this object
- // The listener container are automaticly cleared
+ // The listener container are automatically cleared
aBoundLC.disposeAndClear( aEvt );
aVetoableLC.disposeAndClear( aEvt );
}
@@ -329,7 +329,7 @@ void OPropertySetHelper::removePropertyChangeListener(
{
MutexGuard aGuard( rBHelper.rMutex );
OSL_ENSURE( !rBHelper.bDisposed, "object is disposed" );
- // all listeners are automaticly released in a dispose call
+ // all listeners are automatically released in a dispose call
if( !rBHelper.bInDispose && !rBHelper.bDisposed )
{
if( rPropertyName.getLength() )
@@ -409,7 +409,7 @@ void OPropertySetHelper::removeVetoableChangeListener(
{
MutexGuard aGuard( rBHelper.rMutex );
OSL_ENSURE( !rBHelper.bDisposed, "object is disposed" );
- // all listeners are automaticly released in a dispose call
+ // all listeners are automatically released in a dispose call
if( !rBHelper.bInDispose && !rBHelper.bDisposed )
{
if( rPropertyName.getLength() )
diff --git a/cppuhelper/source/servicefactory.cxx b/cppuhelper/source/servicefactory.cxx
index 02339c1e9054..ed30ad88dee4 100644
--- a/cppuhelper/source/servicefactory.cxx
+++ b/cppuhelper/source/servicefactory.cxx
@@ -125,7 +125,7 @@ Reference< registry::XSimpleRegistry > SAL_CALL createSimpleRegistry(
#if OSL_DEBUG_LEVEL > 0
OString cstr_msg(
OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) );
- OSL_ENSURE( !"### exception occured:", cstr_msg.getStr() );
+ OSL_ENSURE( !"### exception occurred:", cstr_msg.getStr() );
#else
(void) exc; // avoid warning about unused variable
#endif
@@ -156,7 +156,7 @@ Reference< registry::XSimpleRegistry > SAL_CALL createNestedRegistry(
#if OSL_DEBUG_LEVEL > 0
OString cstr_msg(
OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) );
- OSL_ENSURE( !"### exception occured:", cstr_msg.getStr() );
+ OSL_ENSURE( !"### exception occurred:", cstr_msg.getStr() );
#else
(void) exc; // avoid warning about unused variable
#endif
diff --git a/cppuhelper/test/testhelper.cxx b/cppuhelper/test/testhelper.cxx
index 09694ad9b318..4f0131873b4b 100644
--- a/cppuhelper/test/testhelper.cxx
+++ b/cppuhelper/test/testhelper.cxx
@@ -92,7 +92,7 @@ SAL_IMPLEMENT_MAIN()
catch (Exception & exc)
{
OString cstr_msg( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) );
- OSL_ENSURE( ! "exception occured: ", cstr_msg.getStr() );
+ OSL_ENSURE( ! "exception occurred: ", cstr_msg.getStr() );
}
printf( "Test finished\n" );
diff --git a/cpputools/source/registercomponent/registercomponent.cxx b/cpputools/source/registercomponent/registercomponent.cxx
index d4b05601d4b5..f9bd2482a981 100644
--- a/cpputools/source/registercomponent/registercomponent.cxx
+++ b/cpputools/source/registercomponent/registercomponent.cxx
@@ -134,7 +134,7 @@ static void usingRegisterImpl()
fprintf(stderr, " -c locationUrls\n"
" the location of a component (a url to a shared\n"
" library or a absolute url to a .jar file) or a\n"
- " list of urls seperated by ';' or ' '. Note if a\n"
+ " list of urls separated by ';' or ' '. Note if a\n"
" list of urls is specified, the components must\n"
" all need the same loader (quoting is possible with\n"
" \\ or \"\").\n");
diff --git a/crashrep/source/unx/main.cxx b/crashrep/source/unx/main.cxx
index 86c9ac50265c..28c4052a9799 100644
--- a/crashrep/source/unx/main.cxx
+++ b/crashrep/source/unx/main.cxx
@@ -144,7 +144,7 @@ static string xml_encode( const string &rString )
string temp = rString;
string::size_type pos = 0;
- // First replace all occurences of '&' because it may occur in further
+ // First replace all occurrences of '&' because it may occur in further
// encoded chardters too
for( pos = 0; (pos = temp.find( '&', pos )) != string::npos; pos += 4 )
diff --git a/crashrep/source/win32/soreport.cpp b/crashrep/source/win32/soreport.cpp
index 8521a2ce2d66..4813be286369 100644
--- a/crashrep/source/win32/soreport.cpp
+++ b/crashrep/source/win32/soreport.cpp
@@ -565,7 +565,7 @@ static string xml_encode( const string &rString )
string temp = rString;
string::size_type pos = 0;
- // First replace all occurences of '&' because it may occur in further
+ // First replace all occurrences of '&' because it may occur in further
// encoded chardters too
for( pos = 0; (pos = temp.find( '&', pos )) != string::npos; pos += 4 )
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx
index 4ee5159fac88..b9126f7ec175 100644
--- a/cui/source/customize/acccfg.cxx
+++ b/cui/source/customize/acccfg.cxx
@@ -615,7 +615,7 @@ void SfxAccCfgLBoxString_Impl::Paint(const Point& aPos ,
sal_uInt16 /*nFlags*/,
SvLBoxEntry* pEntry )
{
- /*/ ??? realy needed !!!
+ /*/ ??? really needed !!!
Font aOldFont(rDevice.GetFont());
Font aNewFont(aOldFont );
rDevice.SetFont( aFont );
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 277a2c70c0b6..5d504dfdc913 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -4209,7 +4209,7 @@ void ToolbarSaveInData::Reset()
}
catch ( uno::Exception& )
{
- // error occured removing the settings
+ // error occurred removing the settings
// TODO - add error dialog in future?
}
}
@@ -4402,7 +4402,7 @@ void ToolbarSaveInData::RemoveToolbar( SvxConfigEntry* pToolbar )
}
catch ( uno::Exception& )
{
- // error occured removing the settings
+ // error occurred removing the settings
}
}
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index 6ba8871595b7..6c95a20b62b2 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -397,7 +397,7 @@ void SpellDialog::SpellContinue_Impl(bool bUseSavedSentence, bool bIgnoreCurrent
{
//initially or after the last error of a sentence MarkNextError will fail
//then GetNextSentence() has to be called followed again by MarkNextError()
- //MarkNextError is not initally called if the UndoEdit mode is active
+ //MarkNextError is not initially called if the UndoEdit mode is active
bool bNextSentence = false;
if((!aSentenceED.IsUndoEditMode() && aSentenceED.MarkNextError( bIgnoreCurrentError )) ||
true == ( bNextSentence = GetNextSentence_Impl(bUseSavedSentence, aSentenceED.IsUndoEditMode()) && aSentenceED.MarkNextError( false )))
diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx
index 13b87e3f49ea..a5151d3c4f65 100644
--- a/cui/source/dialogs/about.cxx
+++ b/cui/source/dialogs/about.cxx
@@ -554,7 +554,7 @@ void AboutDialog::Paint( const Rectangle& rRect )
SetClipRegion( rRect );
// workaround to ensure that the background is painted correct
- // on MacOS for exmaple the background was grey and the image and other controls white
+ // on MacOS for example the background was grey and the image and other controls white
SetFillColor(GetSettings().GetStyleSettings().GetWindowColor());
SetLineColor();
DrawRect(rRect);
diff --git a/cui/source/dialogs/commonlingui.hxx b/cui/source/dialogs/commonlingui.hxx
index 53b6cea87355..b787bbee9f7f 100644
--- a/cui/source/dialogs/commonlingui.hxx
+++ b/cui/source/dialogs/commonlingui.hxx
@@ -119,7 +119,7 @@ public:
// users of this class may want to insert own controls in some places, where the ordinary
// Z-Order determined by construction time is not sufficient
// Use the following methods for this
- enum ControlGroup // control groups in this window which cannot be devided (e.g. are adjacent in the Z order)
+ enum ControlGroup // control groups in this window which cannot be divided (e.g. are adjacent in the Z order)
{
eLeftRightWords, // the controls for the two words (original and suggestion), including the labels
eSuggestionLabel, // the label for the suggestion
diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx
index 55fd3539def5..3620c47be07e 100644
--- a/cui/source/dialogs/scriptdlg.cxx
+++ b/cui/source/dialogs/scriptdlg.cxx
@@ -1552,7 +1552,7 @@ void SvxScriptOrgDialog::RestorePreviousSelection()
}
else if ( aException.getValueType() == ::getCppuType( ( const provider::ScriptFrameworkErrorException* ) NULL ) )
{
- // A Script Framework error has occured
+ // A Script Framework error has occurred
provider::ScriptFrameworkErrorException sfe;
aException >>= sfe;
return GetErrorMessage( sfe );
diff --git a/cui/source/dialogs/showcols.cxx b/cui/source/dialogs/showcols.cxx
index dd34aba2b9ad..c4ec95a3174f 100644
--- a/cui/source/dialogs/showcols.cxx
+++ b/cui/source/dialogs/showcols.cxx
@@ -82,7 +82,7 @@ IMPL_LINK( FmShowColsDialog, OnClickedOk, Button*, EMPTYARG )
}
catch(...)
{
- DBG_ERROR("FmShowColsDialog::OnClickedOk Exception occured!");
+ DBG_ERROR("FmShowColsDialog::OnClickedOk Exception occurred!");
}
}
}
@@ -123,7 +123,7 @@ void FmShowColsDialog::SetColumns(const ::com::sun::star::uno::Reference< ::com:
}
catch(...)
{
- DBG_ERROR("FmShowColsDialog::SetColumns Exception occured!");
+ DBG_ERROR("FmShowColsDialog::SetColumns Exception occurred!");
}
// if the col is hidden, put it into the list
diff --git a/cui/source/inc/cuihyperdlg.hxx b/cui/source/inc/cuihyperdlg.hxx
index cae78241f1eb..f55ebdfa49cc 100644
--- a/cui/source/inc/cuihyperdlg.hxx
+++ b/cui/source/inc/cuihyperdlg.hxx
@@ -67,7 +67,7 @@ public :
class SvxHpLinkDlg : public IconChoiceDialog
{
private:
- SvxHlinkCtrl maCtrl; // Controler
+ SvxHlinkCtrl maCtrl; // Controller
SfxBindings* mpBindings;
SfxItemSet* mpItemSet;
diff --git a/cui/source/inc/cuitabline.hxx b/cui/source/inc/cuitabline.hxx
index 26f2f8a2ef63..64574c0f4e2e 100644
--- a/cui/source/inc/cuitabline.hxx
+++ b/cui/source/inc/cuitabline.hxx
@@ -131,7 +131,7 @@ private:
//#58425# Symbole auf einer Linie (z.B. StarChart) ->
SdrObjList* pSymbolList; //a list of symbols to be shown in menu. Symbol at position SID_ATTR_SYMBOLTYPE is to be shown in preview. The list position is to be used cyclic.
bool bNewSize;
- Graphic aAutoSymbolGraphic; //a graphic to be displayed in the preview in case that an automatic symbol is choosen
+ Graphic aAutoSymbolGraphic; //a graphic to be displayed in the preview in case that an automatic symbol is chosen
long nNumMenuGalleryItems;
long nSymbolType;
SfxItemSet* pSymbolAttr; //attributes for the shown symbols; only necessary if not equal to line properties
diff --git a/cui/source/inc/transfrm.hxx b/cui/source/inc/transfrm.hxx
index 9f3f155241d5..3e595c285262 100644
--- a/cui/source/inc/transfrm.hxx
+++ b/cui/source/inc/transfrm.hxx
@@ -134,7 +134,7 @@ private:
bool mbSizeDisabled;
bool mbAdjustDisabled;
- // frome size
+ // from size
// #i75273#
double mfOldWidth;
double mfOldHeight;
diff --git a/cui/source/options/optsave.src b/cui/source/options/optsave.src
index 6b0d0bbafede..4ab58c738cb0 100644
--- a/cui/source/options/optsave.src
+++ b/cui/source/options/optsave.src
@@ -226,7 +226,7 @@ TabPage RID_SFXPAGE_SAVE
Pos = MAP_APPFONT ( 23 , 169 ) ;
Size = MAP_APPFONT ( 239 , 8 ) ;
Hide = TRUE;
- Text [ en-US ] = "Not using ODF 1.2 Extended may cause infomation to be lost.";
+ Text [ en-US ] = "Not using ODF 1.2 Extended may cause information to be lost.";
};
Image IMG_ODF_WARNING
{
diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx
index bcc998c490f5..a7c100bf89c6 100644
--- a/cui/source/tabpages/tpline.cxx
+++ b/cui/source/tabpages/tpline.cxx
@@ -1925,7 +1925,7 @@ IMPL_LINK( SvxLineTabPage, GraphicHdl_Impl, MenuButton *, pButton )
aSymbolSize=aSize;
}
else if( nPreviousSymbolType == SVX_SYMBOLTYPE_BRUSHITEM )
- { //#i31097# Data Point Symbol size changes when a different symbol is choosen(maoyg)
+ { //#i31097# Data Point Symbol size changes when a different symbol is chosen(maoyg)
if( aSymbolSize.Width() != aSymbolSize.Height() )
{
aSize.setWidth( (long)( aSymbolSize.Width() + aSymbolSize.Height() )/2 );
diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx
index 50be6331b489..93498d0777d6 100644
--- a/cui/source/tabpages/transfrm.cxx
+++ b/cui/source/tabpages/transfrm.cxx
@@ -820,7 +820,7 @@ void SvxPositionSizeTabPage::Construct()
if(maAnchor != basegfx::B2DPoint(pObj->GetAnchorPos().X(), pObj->GetAnchorPos().Y()))
{
- // diferent anchor positions
+ // different anchor positions
maMtrPosX.SetText( String() );
maMtrPosY.SetText( String() );
mbPageDisabled = sal_True;
diff --git a/dbaccess/qa/complex/dbaccess/DatabaseDocument.java b/dbaccess/qa/complex/dbaccess/DatabaseDocument.java
index 6e0f43df91e5..da944aaeb905 100644
--- a/dbaccess/qa/complex/dbaccess/DatabaseDocument.java
+++ b/dbaccess/qa/complex/dbaccess/DatabaseDocument.java
@@ -886,7 +886,7 @@ public class DatabaseDocument extends TestCase implements com.sun.star.document.
for (int i = 0; i < _expectedEvents.length; ++i)
{
- assertEquals("wrong event at positon " + (i + 1) + " for '" + _context + "'",
+ assertEquals("wrong event at position " + (i + 1) + " for '" + _context + "'",
_expectedEvents[i], _actualEvents.get(i));
}
}
diff --git a/dbaccess/source/core/api/CacheSet.cxx b/dbaccess/source/core/api/CacheSet.cxx
index cd21bf96f98e..2b76e757d37b 100644
--- a/dbaccess/source/core/api/CacheSet.cxx
+++ b/dbaccess/source/core/api/CacheSet.cxx
@@ -171,11 +171,11 @@ OCacheSet::~OCacheSet()
}
catch(Exception&)
{
- OSL_ENSURE(0,"Exception occured");
+ OSL_ENSURE(0,"Exception occurred");
}
catch(...)
{
- OSL_ENSURE(0,"Unknown Exception occured");
+ OSL_ENSURE(0,"Unknown Exception occurred");
}
DBG_DTOR(OCacheSet,NULL);
@@ -300,7 +300,7 @@ void OCacheSet::fillParameters( const ORowSetRow& _rRow
::rtl::OUString aQuote = getIdentifierQuoteString();
- sal_Int32 nCheckCount = 1; // index for the orginal values
+ sal_Int32 nCheckCount = 1; // index for the original values
sal_Int32 i = 1;
::rtl::OUString sIsNull(RTL_CONSTASCII_USTRINGPARAM(" IS NULL"));
diff --git a/dbaccess/source/core/api/KeySet.cxx b/dbaccess/source/core/api/KeySet.cxx
index aa2539946104..f3464c35f476 100644
--- a/dbaccess/source/core/api/KeySet.cxx
+++ b/dbaccess/source/core/api/KeySet.cxx
@@ -182,7 +182,7 @@ OKeySet::~OKeySet()
}
catch(...)
{
- OSL_ENSURE(0,"Unknown Exception occured");
+ OSL_ENSURE(0,"Unknown Exception occurred");
}
m_xComposer = NULL;
diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx
index 974b60e8b442..5b7e0a1ac3cf 100644
--- a/dbaccess/source/core/api/RowSet.cxx
+++ b/dbaccess/source/core/api/RowSet.cxx
@@ -2313,7 +2313,7 @@ sal_Bool ORowSet::impl_initComposer_throw( ::rtl::OUString& _out_rCommandToExecu
if ( m_bIgnoreResult )
{ // append a "0=1" filter
// don't simply overwrite an existent filter, this would lead to problems if this existent
- // filter contains paramters (since a keyset may add parameters itself)
+ // filter contains parameters (since a keyset may add parameters itself)
// 2003-12-12 - #23418# - fs@openoffice.org
m_xComposer->setElementaryQuery( m_xComposer->getQuery( ) );
m_xComposer->setFilter( ::rtl::OUString::createFromAscii( "0 = 1" ) );
diff --git a/dbaccess/source/core/api/RowSet.hxx b/dbaccess/source/core/api/RowSet.hxx
index e1554e4e35a8..755d4be95c80 100644
--- a/dbaccess/source/core/api/RowSet.hxx
+++ b/dbaccess/source/core/api/RowSet.hxx
@@ -173,7 +173,7 @@ namespace dbaccess
m_xActiveConnection points to a valid SDB-level connection
@throws com::sun::star::sdb::SQLException
- if an database-related error occured
+ if a database-related error occurred
@throws com::sun::star::uno::RuntimeException
if any of the components involved throws a com::sun::star::uno::RuntimeException
@@ -217,7 +217,7 @@ namespace dbaccess
void checkUpdateIterator();
const connectivity::ORowSetValue& getInsertValue(sal_Int32 columnIndex);
void setParameter(sal_Int32 parameterIndex, const connectivity::ORowSetValue& x);
- // resizes the parameter vector if nescessary
+ // resizes the parameter vector if necessary
::connectivity::ORowSetValue& getParameterStorage( sal_Int32 parameterIndex );
void updateValue(sal_Int32 columnIndex,const connectivity::ORowSetValue& x);
diff --git a/dbaccess/source/core/api/RowSetBase.cxx b/dbaccess/source/core/api/RowSetBase.cxx
index 6458dcd7faf4..7a05b9641b20 100644
--- a/dbaccess/source/core/api/RowSetBase.cxx
+++ b/dbaccess/source/core/api/RowSetBase.cxx
@@ -1134,7 +1134,7 @@ void ORowSetBase::setCurrentRow( sal_Bool _bMoved, sal_Bool _bDoNotify, const OR
#if OSL_DEBUG_LEVEL > 0
sal_Int32 nNewRow = m_pCache->getRow();
#endif
- OSL_ENSURE(nOldRow == nNewRow,"Old position is not equal to new postion");
+ OSL_ENSURE(nOldRow == nNewRow,"Old position is not equal to new position");
m_aCurrentRow = m_pCache->m_aMatrixIter;
m_bIsInsertRow = sal_False;
OSL_ENSURE(!m_aCurrentRow.isNull(),"CurrentRow is nul after positionCache!");
diff --git a/dbaccess/source/core/api/RowSetBase.hxx b/dbaccess/source/core/api/RowSetBase.hxx
index 73e265a3c495..51998b4c19b9 100644
--- a/dbaccess/source/core/api/RowSetBase.hxx
+++ b/dbaccess/source/core/api/RowSetBase.hxx
@@ -236,7 +236,7 @@ namespace dbaccess
void movementFailed();
ORowSetRow getOldRow(sal_Bool _bWasNew);
- /** move the cache the postion defined by the member functor
+ /** move the cache the position defined by the member functor
@param _aCheckFunctor
Return <TRUE/> when we already stand on the row we want to.
@param _aMovementFunctor
@@ -405,7 +405,7 @@ namespace dbaccess
private:
::std::auto_ptr<ORowSetNotifierImpl> m_pImpl;
ORowSetBase* m_pRowSet;
- // not aquired! This is not necessary because this class here is to be used on the stack within
+ // not acquired! This is not necessary because this class here is to be used on the stack within
// a method of ORowSetBase (or derivees)
sal_Bool m_bWasNew;
sal_Bool m_bWasModified;
diff --git a/dbaccess/source/core/api/RowSetCache.cxx b/dbaccess/source/core/api/RowSetCache.cxx
index d8ebf30f2d75..31fba3e39e7c 100644
--- a/dbaccess/source/core/api/RowSetCache.cxx
+++ b/dbaccess/source/core/api/RowSetCache.cxx
@@ -1030,7 +1030,7 @@ sal_Bool ORowSetCache::moveWindow()
if(m_nStartPos < 0)
m_nStartPos = 0;
}
- // here we need only to check if the begining row is valid. If not we have to fetch it.
+ // here we need only to check if the beginning row is valid. If not we have to fetch it.
if(!m_pMatrix->begin()->isValid())
{
aIter = m_pMatrix->begin();
@@ -1063,7 +1063,7 @@ sal_Bool ORowSetCache::moveWindow()
sal_Bool ORowSetCache::first( )
{
// first move to the first row
- // then check if the cache window is at the begining
+ // then check if the cache window is at the beginning
// when not postionize the window and fill it with data
// smart moving of the window -> clear only the rows whom are out of range
sal_Bool bRet = m_pCacheSet->first();
diff --git a/dbaccess/source/core/api/definitioncolumn.cxx b/dbaccess/source/core/api/definitioncolumn.cxx
index a83604e04b89..fb7b810bd21b 100644
--- a/dbaccess/source/core/api/definitioncolumn.cxx
+++ b/dbaccess/source/core/api/definitioncolumn.cxx
@@ -357,7 +357,7 @@ OColumnWrapper::OColumnWrapper( const Reference< XPropertySet > & rCol, const bo
{
DBG_CTOR(OColumnWrapper,NULL);
// which type of aggregate property do we have?
- // we distingish the properties by the containment of optional properties
+ // we distinguish the properties by the containment of optional properties
m_nColTypeID = 0;
if ( m_xAggregate.is() )
{
diff --git a/dbaccess/source/core/api/query.cxx b/dbaccess/source/core/api/query.cxx
index 98a36650bb8b..3eb0f9eca9b5 100644
--- a/dbaccess/source/core/api/query.cxx
+++ b/dbaccess/source/core/api/query.cxx
@@ -288,7 +288,7 @@ void SAL_CALL OQuery::propertyChange( const PropertyChangeEvent& _rSource ) thro
"OQuery::propertyChange : where did this call come from ?");
if (m_eDoingCurrently == SETTING_PROPERTIES)
- // we're setting the property ourself, so we will do the neccessary notifications later
+ // we're setting the property ourself, so we will do the necessary notifications later
return;
// forward this to our own member holding a copy of the property value
diff --git a/dbaccess/source/core/api/querycomposer.cxx b/dbaccess/source/core/api/querycomposer.cxx
index f71b98a1cc80..c7fa7e47f5c2 100644
--- a/dbaccess/source/core/api/querycomposer.cxx
+++ b/dbaccess/source/core/api/querycomposer.cxx
@@ -122,7 +122,7 @@ OQueryComposer::OQueryComposer(const Reference< XConnection>& _xConnection)
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "dbaccess", "Ocke.Janssen@sun.com", "OQueryComposer::OQueryComposer" );
DBG_CTOR(OQueryComposer,NULL);
- OSL_ENSURE(_xConnection.is()," Connection cant be null!");
+ OSL_ENSURE(_xConnection.is()," Connection can't be null!");
Reference<XMultiServiceFactory> xFac( _xConnection, UNO_QUERY_THROW );
m_xComposer.set( xFac->createInstance( SERVICE_NAME_SINGLESELECTQUERYCOMPOSER ), UNO_QUERY_THROW );
diff --git a/dbaccess/source/core/api/querycontainer.cxx b/dbaccess/source/core/api/querycontainer.cxx
index c91ee7d417b7..0241444e74b0 100644
--- a/dbaccess/source/core/api/querycontainer.cxx
+++ b/dbaccess/source/core/api/querycontainer.cxx
@@ -249,7 +249,7 @@ void SAL_CALL OQueryContainer::dropByName( const ::rtl::OUString& _rName ) throw
throw DisposedException( ::rtl::OUString(), *this );
// now simply forward the remove request to the CommandDefinition container, we're a listener for the removal
- // and thus we do everything neccessary in ::elementRemoved
+ // and thus we do everything necessary in ::elementRemoved
m_xCommandDefinitions->removeByName(_rName);
}
diff --git a/dbaccess/source/core/dataaccess/ComponentDefinition.cxx b/dbaccess/source/core/dataaccess/ComponentDefinition.cxx
index 71d6cd301b50..cd0517fc0c86 100644
--- a/dbaccess/source/core/dataaccess/ComponentDefinition.cxx
+++ b/dbaccess/source/core/dataaccess/ComponentDefinition.cxx
@@ -312,7 +312,7 @@ void OComponentDefinition::columnAppended( const Reference< XPropertySet >& _rxS
// but xColDesc will live longer than this. So effectively, the setParent call was pretty useless.
//
// The intention for this parenting was that the column descriptor is able to find the data source,
- // by traveling up the parent hierachy until there's an XDataSource. This didn't work (which
+ // by traveling up the parent hierarchy until there's an XDataSource. This didn't work (which
// for instance causes #i65023#). We need another way to properly ensure this.
notifyDataSourceModified();
diff --git a/dbaccess/source/core/dataaccess/ModelImpl.hxx b/dbaccess/source/core/dataaccess/ModelImpl.hxx
index 8b76d323edce..8360d4f0bf7b 100644
--- a/dbaccess/source/core/dataaccess/ModelImpl.hxx
+++ b/dbaccess/source/core/dataaccess/ModelImpl.hxx
@@ -270,7 +270,7 @@ public:
/** stores the embedded storage ("database")
@param _bPreventRootCommits
- Normally, committing the embedded storage results in also commiting the root storage
+ Normally, committing the embedded storage results in also committing the root storage
- this is an automatism for data safety reasons.
If you pass <TRUE/> here, committing the root storage is prevented for this particular
call.
diff --git a/dbaccess/source/core/dataaccess/connection.cxx b/dbaccess/source/core/dataaccess/connection.cxx
index b71a8e15ee3a..13fbb4946311 100644
--- a/dbaccess/source/core/dataaccess/connection.cxx
+++ b/dbaccess/source/core/dataaccess/connection.cxx
@@ -315,7 +315,7 @@ OConnection::OConnection(ODatabaseSource& _rDB
, const Reference< XMultiServiceFactory >& _rxORB)
:OSubComponent(m_aMutex, static_cast< OWeakObject* >(&_rDB))
// as the queries reroute their refcounting to us, this m_aMutex is okey. If the queries
- // container would do it's own refcounting, it would have to aquire m_pMutex
+ // container would do it's own refcounting, it would have to acquire m_pMutex
// same for tables
,m_aTableFilter(_rDB.m_pImpl->m_aTableFilter)
,m_aTableTypeFilter(_rDB.m_pImpl->m_aTableTypeFilter)
diff --git a/dbaccess/source/core/dataaccess/databasedocument.cxx b/dbaccess/source/core/dataaccess/databasedocument.cxx
index f0da7a07476d..2a21b0b3b464 100644
--- a/dbaccess/source/core/dataaccess/databasedocument.cxx
+++ b/dbaccess/source/core/dataaccess/databasedocument.cxx
@@ -992,7 +992,7 @@ void ODatabaseDocument::impl_storeAs_throw( const ::rtl::OUString& _rURL, const
// if we're in the process of initializing the document (which effectively means it is an implicit
// initialization triggered in storeAsURL), the we do not notify events, since to an observer, the SaveAs
- // should not be noticable
+ // should not be noticeable
bool bIsInitializationProcess = impl_isInitializing();
if ( !bIsInitializationProcess )
diff --git a/dbaccess/source/core/dataaccess/databasedocument.hxx b/dbaccess/source/core/dataaccess/databasedocument.hxx
index d2aa28034d44..2256522d2ed5 100644
--- a/dbaccess/source/core/dataaccess/databasedocument.hxx
+++ b/dbaccess/source/core/dataaccess/databasedocument.hxx
@@ -503,7 +503,7 @@ private:
/** closes the frames of all connected controllers
@param _bDeliverOwnership
- determines if the ownership should be transfered to the component which
+ determines if the ownership should be transferred to the component which
possibly vetos the closing
@raises ::com::sun::star::util::CloseVetoException
diff --git a/dbaccess/source/core/dataaccess/datasource.cxx b/dbaccess/source/core/dataaccess/datasource.cxx
index 348408609f1b..f0bb910db27a 100644
--- a/dbaccess/source/core/dataaccess/datasource.cxx
+++ b/dbaccess/source/core/dataaccess/datasource.cxx
@@ -330,7 +330,7 @@ class OSharedConnectionManager : public OConnectionHelper_BASE
typedef ::std::map< Reference< XConnection >,TConnectionMap::iterator> TSharedConnectionMap;// holds the shared connections
::osl::Mutex m_aMutex;
- TConnectionMap m_aConnections; // remeber the master connection in conjunction with the digest
+ TConnectionMap m_aConnections; // remember the master connection in conjunction with the digest
TSharedConnectionMap m_aSharedConnection; // the shared connections with conjunction with an iterator into the connections map
Reference< XProxyFactory > m_xProxyFactory;
@@ -1232,7 +1232,7 @@ Reference< XConnection > SAL_CALL ODatabaseSource::connectWithCompletion( const
if (bNewPasswordGiven)
{
m_pImpl->m_sFailedPassword = m_pImpl->m_aPassword;
- // assume that we had an authentication problem. Without this we may, after an unsucessful connect, while
+ // assume that we had an authentication problem. Without this we may, after an unsuccessful connect, while
// the user gave us a password an the order to remember it, never allow an password input again (at least
// not without restarting the session)
m_pImpl->m_aPassword = ::rtl::OUString();
@@ -1393,8 +1393,8 @@ void SAL_CALL ODatabaseSource::flushed( const EventObject& /*rEvent*/ ) throw (R
//
// Since this is a conceptual problem as long as we do use those ZIP packages (in fact, we *cannot*
// provide the desired functionality as long as we do not have a package format which allows O(1) writes),
- // we cannot completely fix this. However, we can relax the problem by commiting more often - often
- // enough so that data loss is more seldom, and seldom enough so that there's no noticable performance
+ // we cannot completely fix this. However, we can relax the problem by committing more often - often
+ // enough so that data loss is more seldom, and seldom enough so that there's no noticeable performance
// decrease.
//
// For this, we introduced a few places which XFlushable::flush their connections, and register as
diff --git a/dbaccess/source/core/misc/DatabaseDataProvider.cxx b/dbaccess/source/core/misc/DatabaseDataProvider.cxx
index d3fdfce13834..79a64226baf9 100644
--- a/dbaccess/source/core/misc/DatabaseDataProvider.cxx
+++ b/dbaccess/source/core/misc/DatabaseDataProvider.cxx
@@ -237,7 +237,7 @@ uno::Reference< chart2::data::XDataSource > SAL_CALL DatabaseDataProvider::creat
{
}
}
- if ( !bRet ) // no command set or an error occured, use Internal data handler
+ if ( !bRet ) // no command set or an error occurred, use Internal data handler
{
uno::Reference< lang::XInitialization> xIni(m_xInternal,uno::UNO_QUERY);
if ( xIni.is() )
diff --git a/dbaccess/source/ext/adabas/Acomponentmodule.hxx b/dbaccess/source/ext/adabas/Acomponentmodule.hxx
index 9df3b28eedab..5048c25d88c8 100644
--- a/dbaccess/source/ext/adabas/Acomponentmodule.hxx
+++ b/dbaccess/source/ext/adabas/Acomponentmodule.hxx
@@ -24,7 +24,7 @@
#ifndef _EXTENSIONS_COMPONENT_MODULE_HXX_
#define _EXTENSIONS_COMPONENT_MODULE_HXX_
-/** you may find this file helpfull if you implement a component (in it's own library) which can't use
+/** you may find this file helpful if you implement a component (in it's own library) which can't use
the usual infrastructure.<br/>
More precise, you find helper classes to ease the use of resources and the registration of services.
<p>
diff --git a/dbaccess/source/filter/xml/xmlfilter.cxx b/dbaccess/source/filter/xml/xmlfilter.cxx
index c2a8d7cbd4bd..c226e658f1bf 100644
--- a/dbaccess/source/filter/xml/xmlfilter.cxx
+++ b/dbaccess/source/filter/xml/xmlfilter.cxx
@@ -383,7 +383,7 @@ sal_Int32 ReadThroughComponent(
if ( !xStorage->hasByName( sStreamName ) || !xStorage->isStreamElement( sStreamName ) )
{
// stream name not found! Then try the compatibility name.
- // if no stream can be opened, return immediatly with OK signal
+ // if no stream can be opened, return immediately with OK signal
// do we even have an alternative name?
if ( NULL == pCompatibilityStreamName )
diff --git a/dbaccess/source/ui/app/AppController.hxx b/dbaccess/source/ui/app/AppController.hxx
index edbfdda503e5..41890dee2e6f 100644
--- a/dbaccess/source/ui/app/AppController.hxx
+++ b/dbaccess/source/ui/app/AppController.hxx
@@ -280,7 +280,7 @@ namespace dbaui
@param _bMove
if <TRUE/> the name of the content must be inserted without any change, otherwise not.
@return
- <TRUE/> if the paste opertions was successfull, otherwise <FALSE/>.
+ <TRUE/> if the paste opertions was successful, otherwise <FALSE/>.
*/
sal_Bool paste( ElementType _eType,const ::svx::ODataAccessDescriptor& _rPasteData ,const String& _sParentFolder = String(),sal_Bool _bMove = sal_False);
@@ -338,7 +338,7 @@ namespace dbaui
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& _xDefinition
);
- /** Inserts a new object into the hierachy given be the type.
+ /** Inserts a new object into the hierarchy given be the type.
@param _eType
Where to insert the new item.
@param _sParentFolder
@@ -348,7 +348,7 @@ namespace dbaui
@param _bMove
if <TRUE/> the name of the content must be inserted without any change, otherwise not.
@return
- <TRUE/> if the insert opertions was successfull, otherwise <FALSE/>.
+ <TRUE/> if the insert opertions was successful, otherwise <FALSE/>.
*/
sal_Bool insertHierachyElement( ElementType _eType
,const String& _sParentFolder
diff --git a/dbaccess/source/ui/app/AppControllerDnD.cxx b/dbaccess/source/ui/app/AppControllerDnD.cxx
index 1c81fcdaf26f..2b5e262788e4 100644
--- a/dbaccess/source/ui/app/AppControllerDnD.cxx
+++ b/dbaccess/source/ui/app/AppControllerDnD.cxx
@@ -294,7 +294,7 @@ void OApplicationController::deleteTables(const ::std::vector< ::rtl::OUString>&
if(e.TargetException >>= aSql)
aErrorInfo = aSql;
else
- OSL_ENSURE(sal_False, "OApplicationController::implDropTable: something strange happended!");
+ OSL_ENSURE(sal_False, "OApplicationController::implDropTable: something strange happened!");
}
catch( const Exception& )
{
@@ -415,7 +415,7 @@ void OApplicationController::deleteObjects( ElementType _eType, const ::std::vec
if ( e.TargetException >>= aSql )
showError( SQLExceptionInfo( e.TargetException ) );
else
- OSL_ENSURE( sal_False, "OApplicationController::deleteObjects: something strange happended!" );
+ OSL_ENSURE( sal_False, "OApplicationController::deleteObjects: something strange happened!" );
}
catch( const Exception& )
{
@@ -689,7 +689,7 @@ sal_Bool OApplicationController::paste( ElementType _eType,const ::svx::ODataAcc
if ( CommandType::QUERY == nCommandType || CommandType::COMMAND == nCommandType )
{
- // read all nescessary data
+ // read all necessary data
::rtl::OUString sCommand;
sal_Bool bEscapeProcessing = sal_True;
diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.hxx b/dbaccess/source/ui/app/AppDetailPageHelper.hxx
index ea24dd944ed0..17bc2bc684c7 100644
--- a/dbaccess/source/ui/app/AppDetailPageHelper.hxx
+++ b/dbaccess/source/ui/app/AppDetailPageHelper.hxx
@@ -87,7 +87,7 @@ namespace dbaui
the resulting rectangle
@return
- <TRUE/> when successfull
+ <TRUE/> when successful
*/
sal_Bool ImplGetGraphicCenterRect( const Graphic& rGraphic, Rectangle& rResultRect ) const;
void ImplInitSettings( sal_Bool bFont, sal_Bool bForeground, sal_Bool bBackground );
diff --git a/dbaccess/source/ui/app/AppDetailView.cxx b/dbaccess/source/ui/app/AppDetailView.cxx
index 2d887feafd92..a99c095cef60 100644
--- a/dbaccess/source/ui/app/AppDetailView.cxx
+++ b/dbaccess/source/ui/app/AppDetailView.cxx
@@ -482,7 +482,7 @@ void OTasksWindow::setHelpText(sal_uInt16 _nId)
{
String sText = ModuleRes(_nId);
- // calulate the size of the text field
+ // calculate the size of the text field
// Size aHelpTextSize = m_aHelpText.GetSizePixel();
// Size aHelpTextPixelSize = LogicToPixel( aHelpTextSize, MAP_APPFONT );
// Rectangle aPrimaryRect( Point(0,0), aHelpTextSize );
diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx
index 525b945d0065..1fa058033819 100644
--- a/dbaccess/source/ui/browser/brwctrlr.cxx
+++ b/dbaccess/source/ui/browser/brwctrlr.cxx
@@ -2112,7 +2112,7 @@ void SbaXDataBrowserController::Execute(sal_uInt16 nId, const Sequence< Property
else
{
if ( !SaveModified( ) )
- // give the user a chance to save the current record (if neccessary)
+ // give the user a chance to save the current record (if necessary)
break;
// maybe the user wanted to reject the modified record ?
@@ -2877,7 +2877,7 @@ public:
bool WaitUntilReallyLoaded(bool _bOnlyIfLoaded);
- // waits 'til the first positioned event after the loaded event. returns true if successfull,
+ // waits 'til the first positioned event after the loaded event. returns true if successful,
// false if the form was disposed or unloaded before or while waiting
// if _bOnlyIfLoaded is false and the form isn't loaded already loaded, false will be returned
// (without any wating)
diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx
index 25f311e58ec1..8f2187779806 100644
--- a/dbaccess/source/ui/browser/genericcontroller.cxx
+++ b/dbaccess/source/ui/browser/genericcontroller.cxx
@@ -561,7 +561,7 @@ void OGenericUnoController::ImplBroadcastFeatureState(const ::rtl::OUString& _rF
sal_uInt16 nFeat = m_aSupportedFeatures[ _rFeature ].nFeatureId;
FeatureState aFeatState( GetState( nFeat ) );
- FeatureState& rCachedState = m_aStateCache[nFeat]; // creates if neccessary
+ FeatureState& rCachedState = m_aStateCache[nFeat]; // creates if necessary
if ( !_bIgnoreCache )
{
// check if we really need to notify the listeners : this method may be called much more often than needed, so check
@@ -863,7 +863,7 @@ void OGenericUnoController::addStatusListener(const Reference< XStatusListener >
if ( m_xUrlTransformer.is() )
m_xUrlTransformer->parseStrict( aParsedURL );
- // remeber the listener together with the URL
+ // remember the listener together with the URL
m_arrStatusListener.insert( m_arrStatusListener.end(), DispatchTarget( aParsedURL, aListener ) );
// initially broadcast the state
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx
index 7d3b7a07f912..e7047de4dccc 100644
--- a/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/dbaccess/source/ui/browser/sbagrid.cxx
@@ -1234,7 +1234,7 @@ Reference< XPropertySet > SbaGridControl::getField(sal_uInt16 nModelPos)
}
catch(Exception&)
{
- OSL_ENSURE(0,"SbaGridControl::getField Exception occured!");
+ OSL_ENSURE(0,"SbaGridControl::getField Exception occurred!");
}
return xEmptyReturn;
diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx
index 040455535ba9..05d549f2335d 100644
--- a/dbaccess/source/ui/browser/unodatbr.cxx
+++ b/dbaccess/source/ui/browser/unodatbr.cxx
@@ -2057,7 +2057,7 @@ void SbaTableQueryBrowser::Execute(sal_uInt16 nId, const Sequence< PropertyValue
{
aDescriptor[daSelection] <<= aSelection;
aDescriptor[daBookmarkSelection] <<= sal_False;
- // these are selection indicies
+ // these are selection indices
// before we change this, all clients have to be adjusted
// so that they recognize the new BookmarkSelection property!
}
@@ -2303,7 +2303,7 @@ IMPL_LINK(SbaTableQueryBrowser, OnExpandEntry, SvLBoxEntry*, _pParent)
if(e.TargetException >>= aSql)
aInfo = aSql;
else
- OSL_ENSURE(sal_False, "SbaTableQueryBrowser::OnExpandEntry: something strange happended!");
+ OSL_ENSURE(sal_False, "SbaTableQueryBrowser::OnExpandEntry: something strange happened!");
}
catch( const Exception& )
{
@@ -2314,7 +2314,7 @@ IMPL_LINK(SbaTableQueryBrowser, OnExpandEntry, SvLBoxEntry*, _pParent)
}
else
return 0L;
- // 0 indicates that an error occured
+ // 0 indicates that an error occurred
}
else
{ // we have to expand the queries or bookmarks
@@ -2776,7 +2776,7 @@ bool SbaTableQueryBrowser::implSelect( SvLBoxEntry* _pEntry )
if(e.TargetException >>= aSql)
showError(SQLExceptionInfo(aSql));
else
- OSL_ENSURE(sal_False, "SbaTableQueryBrowser::implSelect: something strange happended!");
+ OSL_ENSURE(sal_False, "SbaTableQueryBrowser::implSelect: something strange happened!");
// reset the values
xRowSetProps->setPropertyValue(PROPERTY_DATASOURCENAME,Any());
xRowSetProps->setPropertyValue(PROPERTY_ACTIVE_CONNECTION,Any());
@@ -3115,7 +3115,7 @@ void SbaTableQueryBrowser::unloadAndCleanup( sal_Bool _bDisposeConnection )
if(e.TargetException >>= aSql)
showError(SQLExceptionInfo(aSql));
else
- OSL_ENSURE(sal_False, "SbaTableQueryBrowser::unloadAndCleanup: something strange happended!");
+ OSL_ENSURE(sal_False, "SbaTableQueryBrowser::unloadAndCleanup: something strange happened!");
}
catch(Exception&)
{
diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx
index da7766899797..84cc55c44c0d 100644
--- a/dbaccess/source/ui/control/dbtreelistbox.cxx
+++ b/dbaccess/source/ui/control/dbtreelistbox.cxx
@@ -184,7 +184,7 @@ void DBTreeListBox::RequestingChilds( SvLBoxEntry* pParent )
{
if (!m_aPreExpandHandler.Call(pParent))
{
- // an error occured. The method calling us will reset the entry flags, so it can't be expanded again.
+ // an error occurred. The method calling us will reset the entry flags, so it can't be expanded again.
// But we want that the user may do a second try (i.e. because he misstypes a password in this try), so
// we have to reset these flags controlling the expand ability
PostUserEvent(LINK(this, DBTreeListBox, OnResetEntry), pParent);
diff --git a/dbaccess/source/ui/control/tabletree.cxx b/dbaccess/source/ui/control/tabletree.cxx
index 4101744b37bd..c34b4b697c8c 100644
--- a/dbaccess/source/ui/control/tabletree.cxx
+++ b/dbaccess/source/ui/control/tabletree.cxx
@@ -246,7 +246,7 @@ void OTableTreeListBox::UpdateTableList( const Reference< XConnection >& _rxConn
}
catch(Exception&)
{
- // a non-SQLException exception occured ... simply throw an SQLException
+ // a non-SQLException exception occurred ... simply throw an SQLException
SQLException aInfo;
aInfo.Message = sCurrentActionError;
throw aInfo;
diff --git a/dbaccess/source/ui/dlg/AdabasStat.hxx b/dbaccess/source/ui/dlg/AdabasStat.hxx
index ca212a976c54..472ba0d32a4d 100644
--- a/dbaccess/source/ui/dlg/AdabasStat.hxx
+++ b/dbaccess/source/ui/dlg/AdabasStat.hxx
@@ -76,7 +76,7 @@ namespace dbaui
m_xConnection; /// valid as long as the page is active
sal_Bool m_bErrorShown; // true when we shown already the error
- // check if the given table is accessable by the connected user
+ // check if the given table is accessible by the connected user
sal_Bool checkSystemTable(const ::rtl::OUString& _rsSystemTable, ::rtl::OUString& _rsSchemaName );
void showError();
diff --git a/dbaccess/source/ui/dlg/ConnectionPage.hxx b/dbaccess/source/ui/dlg/ConnectionPage.hxx
index 9df3bb282fd7..7030f4e29b0e 100644
--- a/dbaccess/source/ui/dlg/ConnectionPage.hxx
+++ b/dbaccess/source/ui/dlg/ConnectionPage.hxx
@@ -47,7 +47,7 @@ namespace dbaui
//= OConnectionTabPage
//=========================================================================
- /** implements the connection page of teh data source properties dialog.
+ /** implements the connection page of the data source properties dialog.
*/
class OConnectionTabPage : public OConnectionHelper
{
diff --git a/dbaccess/source/ui/dlg/DbAdminImpl.hxx b/dbaccess/source/ui/dlg/DbAdminImpl.hxx
index 801c2ce206f6..d5801d06360a 100644
--- a/dbaccess/source/ui/dlg/DbAdminImpl.hxx
+++ b/dbaccess/source/ui/dlg/DbAdminImpl.hxx
@@ -154,7 +154,7 @@ namespace dbaui
*/
String getConnectionURL() const;
- /// fill the nescessary information from the url line
+ /// fill the necessary information from the url line
void convertUrl(SfxItemSet& _rDest);
const MapInt2String& getIndirectProperties() const { return m_aIndirectPropTranslator; }
diff --git a/dbaccess/source/ui/dlg/UserAdmin.cxx b/dbaccess/source/ui/dlg/UserAdmin.cxx
index ad728e337290..7c8e4f99715b 100644
--- a/dbaccess/source/ui/dlg/UserAdmin.cxx
+++ b/dbaccess/source/ui/dlg/UserAdmin.cxx
@@ -138,7 +138,7 @@ OPasswordDialog::OPasswordDialog(Window* _pParent,const String& _sUserName) :
aCancelBtn ( this, ModuleRes( BTN_PASSWORD_CANCEL ) ),
aHelpBtn ( this, ModuleRes( BTN_PASSWORD_HELP ) )
{
- // hide until a help is avalable
+ // hide until a help is available
aHelpBtn.Hide();
FreeResource();
diff --git a/dbaccess/source/ui/dlg/adminpages.hxx b/dbaccess/source/ui/dlg/adminpages.hxx
index 1ee532dafa16..8a583942c651 100644
--- a/dbaccess/source/ui/dlg/adminpages.hxx
+++ b/dbaccess/source/ui/dlg/adminpages.hxx
@@ -159,7 +159,7 @@ namespace dbaui
@param _sReturn
<OUT/> contains the selected name.
@return
- <FALSE/> if an error occured, otherwise <TRUE/>
+ <FALSE/> if an error occurred, otherwise <TRUE/>
*/
sal_Bool getSelectedDataSource(::rtl::OUString& _sReturn,::rtl::OUString& _sCurr);
@@ -218,7 +218,7 @@ namespace dbaui
@param _pCheckBox
The check box which is checked.
@param _nID
- The id in the itemset to set whith the new value.
+ The id in the itemset to set with the new value.
@param _bChangedSomething
<TRUE/> if something changed otherwise <FALSE/>
@param _bRevertValue
@@ -232,7 +232,7 @@ namespace dbaui
@param _pEdit
The check box which is checked.
@param _nID
- The id in the itemset to set whith the new value.
+ The id in the itemset to set with the new value.
@param _bChangedSomething
<TRUE/> if something changed otherwise <FALSE/>
*/
@@ -244,7 +244,7 @@ namespace dbaui
@param _pEdit
The check box which is checked.
@param _nID
- The id in the itemset to set whith the new value.
+ The id in the itemset to set with the new value.
@param _bChangedSomething
<TRUE/> if something changed otherwise <FALSE/>
*/
diff --git a/dbaccess/source/ui/dlg/advancedsettings.cxx b/dbaccess/source/ui/dlg/advancedsettings.cxx
index 8903df59006e..8efc8214a30e 100644
--- a/dbaccess/source/ui/dlg/advancedsettings.cxx
+++ b/dbaccess/source/ui/dlg/advancedsettings.cxx
@@ -215,7 +215,7 @@ namespace dbaui
{
OSL_PRECOND( m_aBooleanSettings.empty(), "SpecialSettingsPage::impl_initBooleanSettings: called twice!" );
- // for easier maintainance, write the table in this form, then copy it to m_aBooleanSettings
+ // for easier maintenance, write the table in this form, then copy it to m_aBooleanSettings
BooleanSettingDesc aSettings[] = {
{ &m_pIsSQL92Check, CB_SQL92CHECK, DSID_SQL92CHECK, false },
{ &m_pAppendTableAlias, CB_APPENDTABLEALIAS, DSID_APPEND_TABLE_ALIAS, false },
diff --git a/dbaccess/source/ui/dlg/dbadmin.cxx b/dbaccess/source/ui/dlg/dbadmin.cxx
index 33409ed6fd19..7b218717e1d8 100644
--- a/dbaccess/source/ui/dlg/dbadmin.cxx
+++ b/dbaccess/source/ui/dlg/dbadmin.cxx
@@ -488,7 +488,7 @@ SfxItemSet* ODbAdminDialog::createItemSet(SfxItemSet*& _rpSet, SfxItemPool*& _rp
//-------------------------------------------------------------------------
void ODbAdminDialog::destroyItemSet(SfxItemSet*& _rpSet, SfxItemPool*& _rpPool, SfxPoolItem**& _rppDefaults)
{
- // _first_ delete the set (refering the pool)
+ // _first_ delete the set (referring the pool)
if (_rpSet)
{
delete _rpSet;
diff --git a/dbaccess/source/ui/dlg/directsql.cxx b/dbaccess/source/ui/dlg/directsql.cxx
index 8262163635b1..0c3a089561a1 100644
--- a/dbaccess/source/ui/dlg/directsql.cxx
+++ b/dbaccess/source/ui/dlg/directsql.cxx
@@ -246,7 +246,7 @@ DBG_NAME(DirectSQLDialog)
if (xStatement.is())
xStatement->execute(_rStatement);
- // successfull
+ // successful
sStatus = String(ModuleRes(STR_COMMAND_EXECUTED_SUCCESSFULLY));
// dispose the statement
diff --git a/dbaccess/source/ui/dlg/generalpage.cxx b/dbaccess/source/ui/dlg/generalpage.cxx
index 117db2752369..faee6169d089 100644
--- a/dbaccess/source/ui/dlg/generalpage.cxx
+++ b/dbaccess/source/ui/dlg/generalpage.cxx
@@ -406,7 +406,7 @@ namespace dbaui
// For the databaseWizard we only have one entry for the MySQL Database,
- // because we have a seperate tabpage to retrieve the respective datasource type
+ // because we have a separate tabpage to retrieve the respective datasource type
// ( ::dbaccess::DST_MYSQL_ODBC || ::dbaccess::DST_MYSQL_JDBC). Therefore we use ::dbaccess::DST_MYSQL_JDBC as a temporary
// representative for all MySQl databases)
// Also, embedded databases (embedded HSQL, at the moment), are not to appear in the list of
diff --git a/dbaccess/source/ui/dlg/generalpage.hxx b/dbaccess/source/ui/dlg/generalpage.hxx
index 6d65ae2ced07..e435f83ce2a0 100644
--- a/dbaccess/source/ui/dlg/generalpage.hxx
+++ b/dbaccess/source/ui/dlg/generalpage.hxx
@@ -113,7 +113,7 @@ namespace dbaui
Link m_aTypeSelectHandler; /// to be called if a new type is selected
Link m_aCreationModeHandler; /// to be called if a new type is selected
Link m_aDocumentSelectionHandler; /// to be called when a document in the RecentDoc list is selected
- Link m_aChooseDocumentHandler; /// to be called when a recent document has been definately chosen
+ Link m_aChooseDocumentHandler; /// to be called when a recent document has been definitely chosen
sal_Bool m_bDisplayingInvalid : 1; // the currently displayed data source is deleted
sal_Bool m_bUserGrabFocus : 1;
bool m_bInitTypeList : 1;
diff --git a/dbaccess/source/ui/dlg/tablespage.cxx b/dbaccess/source/ui/dlg/tablespage.cxx
index 33c1f4da1577..1914b7a22dd1 100644
--- a/dbaccess/source/ui/dlg/tablespage.cxx
+++ b/dbaccess/source/ui/dlg/tablespage.cxx
@@ -258,7 +258,7 @@ DBG_NAME(OTableSubscriptionPage)
// the catalog entry
SvLBoxEntry* pCatalog = m_aTablesList.GetEntryPosByName(sCatalog, pRootEntry);
if (!pCatalog && sCatalog.getLength())
- // the table (resp. its catalog) refered in this filter entry does not exist anymore
+ // the table (resp. its catalog) referred in this filter entry does not exist anymore
continue;
if (bAllSchemas && pCatalog)
@@ -270,7 +270,7 @@ DBG_NAME(OTableSubscriptionPage)
// the schema entry
SvLBoxEntry* pSchema = m_aTablesList.GetEntryPosByName(sSchema, (pCatalog ? pCatalog : pRootEntry));
if (!pSchema && sSchema.getLength())
- // the table (resp. its schema) refered in this filter entry does not exist anymore
+ // the table (resp. its schema) referred in this filter entry does not exist anymore
continue;
if (bAllTables && pSchema)
diff --git a/dbaccess/source/ui/inc/JoinTableView.hxx b/dbaccess/source/ui/inc/JoinTableView.hxx
index 05dc0fe1ff39..a397ab79fff3 100644
--- a/dbaccess/source/ui/inc/JoinTableView.hxx
+++ b/dbaccess/source/ui/inc/JoinTableView.hxx
@@ -212,7 +212,7 @@ namespace dbaui
OTableConnection* GetTabConn(const OTableWindow* pLhs,const OTableWindow* pRhs,bool _bSupressCrossOrNaturalJoin = false,const OTableConnection* _rpFirstAfter = NULL) const;
// clears the window map and connection vector without destroying it
- // that means teh data of the windows and connection will be untouched
+ // that means the data of the windows and connection will be untouched
void clearLayoutInformation();
// set the focus to that tab win which most recently had it (or to the first available one)
@@ -250,7 +250,7 @@ namespace dbaui
void modified();
- /** returns if teh given window is visible.
+ /** returns if the given window is visible.
@param _rPoint
The Point to check
@param _rSize
diff --git a/dbaccess/source/ui/inc/TableController.hxx b/dbaccess/source/ui/inc/TableController.hxx
index 3024f5c481d3..e77cecd498f4 100644
--- a/dbaccess/source/ui/inc/TableController.hxx
+++ b/dbaccess/source/ui/inc/TableController.hxx
@@ -55,7 +55,7 @@ namespace dbaui
::rtl::OUString m_sName; // table for update data
::rtl::OUString m_sAutoIncrementValue; // the autoincrement value set in the datasource
String m_sTypeNames; // these type names are the ones out of the resource file
- TOTypeInfoSP m_pTypeInfo; // fall back when type is unkown because database driver has a failure
+ TOTypeInfoSP m_pTypeInfo; // fall back when type is unknown because database driver has a failure
sal_Bool m_bAllowAutoIncrementValue; // no : 1 NO BIT , is true when the datasource has a AutoIncrementValue property in their info property
sal_Bool m_bNew : 1; // is true when we create a new table
@@ -107,7 +107,7 @@ namespace dbaui
inline ::std::vector< ::boost::shared_ptr<OTableRow> >* getRows() { return &m_vRowList; }
- /// returns the postion of the the first empty row
+ /// returns the position of the the first empty row
sal_Int32 getFirstEmptyRowPosition();
inline const OTypeInfoMap* getTypeInfo() const { return &m_aTypeInfo; }
diff --git a/dbaccess/source/ui/inc/UITools.hxx b/dbaccess/source/ui/inc/UITools.hxx
index 116ae17ccea7..730c3af10216 100644
--- a/dbaccess/source/ui/inc/UITools.hxx
+++ b/dbaccess/source/ui/inc/UITools.hxx
@@ -148,7 +148,7 @@ namespace dbaui
/** fills a map and a vector with localized type names
@param _rxConnection the connection to acces the metadata
- @param _rsTypeNames a list of localized type names seperated with ';'
+ @param _rsTypeNames a list of localized type names separated with ';'
@param _rTypeInfoMap the filled map with the type names
@param _rTypeInfoIters the vector filled with map iterators
*/
@@ -222,7 +222,7 @@ namespace dbaui
*/
::com::sun::star::awt::FontDescriptor CreateFontDescriptor( const Font& _rFont );
- /** call teh format dialog and set the selected format at the column
+ /** call the format dialog and set the selected format at the column
@param _xAffectedCol Font to be converted
@param _xField Font to be converted
*/
@@ -419,7 +419,7 @@ namespace dbaui
*/
const SfxFilter* getStandardDatabaseFilter();
- /** opens a save dialog to store a form or report folder in the current hierachy.
+ /** opens a save dialog to store a form or report folder in the current hierarchy.
@param _pParent
The parent of the dialog.
@param _rxORB
@@ -437,7 +437,7 @@ namespace dbaui
@param _bMove
if <TRUE/> the name of the content must be inserted without any change, otherwise not.
@return
- <TRUE/> if the insert opertions was successfull, otherwise <FALSE/>.
+ <TRUE/> if the insert opertions was successful, otherwise <FALSE/>.
*/
sal_Bool insertHierachyElement(
Window* _pParent,
diff --git a/dbaccess/source/ui/inc/brwctrlr.hxx b/dbaccess/source/ui/inc/brwctrlr.hxx
index 71dc1fa62ab6..2a9dcf3f4219 100644
--- a/dbaccess/source/ui/inc/brwctrlr.hxx
+++ b/dbaccess/source/ui/inc/brwctrlr.hxx
@@ -123,7 +123,7 @@ namespace dbaui
sal_Bool m_bLoadCanceled : 1; // the load was canceled somehow
sal_Bool m_bClosingKillOpen : 1; // are we killing the load thread because we are to be suspended ?
- bool m_bCannotSelectUnfiltered : 1; // recieved an DATA_CANNOT_SELECT_UNFILTERED error
+ bool m_bCannotSelectUnfiltered : 1; // received a DATA_CANNOT_SELECT_UNFILTERED error
protected:
class FormErrorHelper
@@ -252,7 +252,7 @@ namespace dbaui
// is synchronized with a foreign ::com::sun::star::form::DatabaseForm you got elsewhere)
virtual sal_Bool InitializeForm(
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& i_formProperties ) = 0;
- // called immediately after a successfull CreateForm
+ // called immediately after a successful CreateForm
// do any initialization (data source etc.) here. the form should be fully functional after that.
// return sal_False if you didn't succeed (don't throw exceptions, they won't be caught)
diff --git a/dbaccess/source/ui/inc/datasourcemap.hxx b/dbaccess/source/ui/inc/datasourcemap.hxx
index 71c650e088d7..71d347dbd788 100644
--- a/dbaccess/source/ui/inc/datasourcemap.hxx
+++ b/dbaccess/source/ui/inc/datasourcemap.hxx
@@ -118,7 +118,7 @@ namespace dbaui
void clearModifiedFlag(const ::rtl::OUString& _rName);
/** tell the map that a data source is scheduled to be deleted.
- @return id for accessing the deleted data source later. -1 if no free id existed or an error occured
+ @return id for accessing the deleted data source later. -1 if no free id existed or an error occurred
*/
sal_Int32 markDeleted(const ::rtl::OUString& _rName);
diff --git a/dbaccess/source/ui/inc/dbadmin.hxx b/dbaccess/source/ui/inc/dbadmin.hxx
index 1f28dd731d4b..82bb30ca883a 100644
--- a/dbaccess/source/ui/inc/dbadmin.hxx
+++ b/dbaccess/source/ui/inc/dbadmin.hxx
@@ -125,7 +125,7 @@ private:
{
AR_LEAVE_MODIFIED, // somthing was modified and has successfully been committed
AR_LEAVE_UNCHANGED, // no changes were made
- AR_KEEP // don't leave the page (e.g. because an error occured)
+ AR_KEEP // don't leave the page (e.g. because an error occurred)
};
/** apply all changes made
*/
diff --git a/dbaccess/source/ui/inc/dbwiz.hxx b/dbaccess/source/ui/inc/dbwiz.hxx
index 84749e4f1612..0b5b5165d6b1 100644
--- a/dbaccess/source/ui/inc/dbwiz.hxx
+++ b/dbaccess/source/ui/inc/dbwiz.hxx
@@ -123,7 +123,7 @@ protected:
{
AR_LEAVE_MODIFIED, // somthing was modified and has successfully been committed
AR_LEAVE_UNCHANGED, // no changes were made
- AR_KEEP // don't leave the page (e.g. because an error occured)
+ AR_KEEP // don't leave the page (e.g. because an error occurred)
};
/** apply all changes made
*/
diff --git a/dbaccess/source/ui/inc/dbwizsetup.hxx b/dbaccess/source/ui/inc/dbwizsetup.hxx
index a848397f4401..f328c381a8a9 100644
--- a/dbaccess/source/ui/inc/dbwizsetup.hxx
+++ b/dbaccess/source/ui/inc/dbwizsetup.hxx
@@ -160,7 +160,7 @@ protected:
{
AR_LEAVE_MODIFIED, // somthing was modified and has successfully been committed
AR_LEAVE_UNCHANGED, // no changes were made
- AR_KEEP // don't leave the page (e.g. because an error occured)
+ AR_KEEP // don't leave the page (e.g. because an error occurred)
};
private:
diff --git a/dbaccess/source/ui/inc/dsitems.hxx b/dbaccess/source/ui/inc/dsitems.hxx
index 8335722b9d00..23842652325e 100644
--- a/dbaccess/source/ui/inc/dsitems.hxx
+++ b/dbaccess/source/ui/inc/dsitems.hxx
@@ -30,7 +30,7 @@ typedef sal_Int32 ItemID;
//= item ids for the data source administration dialog
#define DSID_NAME 1 // name of a data source, SfxStringItem
-#define DSID_ORIGINALNAME 2 // orginal name, internal, SfxStringItem
+#define DSID_ORIGINALNAME 2 // original name, internal, SfxStringItem
#define DSID_CONNECTURL 3 // connection URL, SfxStringItem
#define DSID_TABLEFILTER 4 // table filter, OStringListItem
#define DSID_TYPECOLLECTION 5 // collection of data source types, ODsnTypeCollection
diff --git a/dbaccess/source/ui/inc/sbagrid.hxx b/dbaccess/source/ui/inc/sbagrid.hxx
index d95a328f8460..d2747afe4e4a 100644
--- a/dbaccess/source/ui/inc/sbagrid.hxx
+++ b/dbaccess/source/ui/inc/sbagrid.hxx
@@ -285,7 +285,7 @@ namespace dbaui
@param eObjType
The type to ask for
@param _nPosition
- The position of a tablecell (index position), header bar colum/row cell
+ The position of a tablecell (index position), header bar column/row cell
@return
The description of the specified object.
*/
diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx
index 5a3795333ed5..cf87abc4997a 100644
--- a/dbaccess/source/ui/misc/TokenWriter.cxx
+++ b/dbaccess/source/ui/misc/TokenWriter.cxx
@@ -219,7 +219,7 @@ void ODatabaseImportExport::impl_initFromDescriptor( const ODataAccessDescriptor
m_sDataSourceName = _aDataDescriptor.getDataSource();
_aDataDescriptor[daCommandType] >>= m_nCommandType;
_aDataDescriptor[daCommand] >>= m_sName;
- // some additonal information
+ // some additional information
if(_aDataDescriptor.has(daConnection))
{
Reference< XConnection > xPureConn( _aDataDescriptor[daConnection], UNO_QUERY );
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx
index 60f0f358b2bb..5511e8062130 100644
--- a/dbaccess/source/ui/misc/UITools.cxx
+++ b/dbaccess/source/ui/misc/UITools.cxx
@@ -1543,7 +1543,7 @@ TOTypeInfoSP queryPrimaryKeyType(const OTypeInfoMap& _rTypeInfo)
for(;aIter != aEnd;++aIter)
{
// OJ: we don't want to set an autoincrement column to be key
- // because we don't have the possiblity to know how to create
+ // because we don't have the possibility to know how to create
// such auto increment column later on
// so until we know how to do it, we create a column without autoincrement
// if ( !aIter->second->bAutoIncrement )
diff --git a/dbaccess/source/ui/misc/indexcollection.cxx b/dbaccess/source/ui/misc/indexcollection.cxx
index a4046a06d0b2..6d9428154fcd 100644
--- a/dbaccess/source/ui/misc/indexcollection.cxx
+++ b/dbaccess/source/ui/misc/indexcollection.cxx
@@ -263,7 +263,7 @@ namespace dbaui
// adjust the OIndex structure
Indexes::iterator aDropped = findOriginal(_rPos->getOriginalName());
- OSL_ENSURE(aDropped != m_aIndexes.end(), "OIndexCollection::drop: invalid original name, but successfull commit?!");
+ OSL_ENSURE(aDropped != m_aIndexes.end(), "OIndexCollection::drop: invalid original name, but successful commit?!");
aDropped->flagAsNew(GrantIndexAccess());
return sal_True;
diff --git a/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx b/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx
index 5d1f64ebe3e5..4ae86f3d9548 100644
--- a/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx
+++ b/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx
@@ -118,7 +118,7 @@ namespace dbaui
sal_Int32 nIndex = -1;
if( m_pLine )
{
- // search the postion of our table window in the table window map
+ // search the position of our table window in the table window map
nIndex = m_pLine->GetParent()->GetTabWinMap()->size();
const ::std::vector<OTableConnection*>* pVec = m_pLine->GetParent()->getTableConnections();
::std::vector<OTableConnection*>::const_iterator aIter = pVec->begin();
diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx b/dbaccess/source/ui/querydesign/JoinTableView.cxx
index 27c560ec3f3b..7b9d6cdac199 100644
--- a/dbaccess/source/ui/querydesign/JoinTableView.cxx
+++ b/dbaccess/source/ui/querydesign/JoinTableView.cxx
@@ -196,7 +196,7 @@ void OScrollWindowHelper::Resize()
GetVScrollBar()->SetPageSize( aTotalOutputSize.Height() );
GetVScrollBar()->SetVisibleSize( aTotalOutputSize.Height() );
- // adjust the ranges of the scrollbars if neccessary
+ // adjust the ranges of the scrollbars if necessary
long lRange = GetHScrollBar()->GetRange().Max() - GetHScrollBar()->GetRange().Min();
if (m_pTableView->GetScrollOffset().X() + aTotalOutputSize.Width() > lRange)
GetHScrollBar()->SetRangeMax(m_pTableView->GetScrollOffset().X() + aTotalOutputSize.Width() + GetHScrollBar()->GetRange().Min());
@@ -1534,7 +1534,7 @@ long OJoinTableView::PreNotify(NotifyEvent& rNEvt)
else if (pNextConn)
{
GrabFocus();
- // neccessary : a conn may be selected even if a tab win has the focus, in this case
+ // necessary : a conn may be selected even if a tab win has the focus, in this case
// the next travel would select the same conn again if we would not reset te focus ...
SelectConn(pNextConn);
}
diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
index 4521677da251..60f4688da5dc 100644
--- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
@@ -312,7 +312,7 @@ namespace
bError = sal_True;
}
}
- // check if error occured
+ // check if error occurred
if ( bError )
eErrorCode = eIllegalJoin;
@@ -2912,7 +2912,7 @@ sal_Bool OQueryDesignView::checkStatement()
{
sal_Bool bRet = sal_True;
if ( m_pSelectionBox )
- bRet = m_pSelectionBox->Save(); // a error occured so we return no
+ bRet = m_pSelectionBox->Save(); // a error occurred so we return no
return bRet;
}
//-------------------------------------------------------------------------------
@@ -3201,7 +3201,7 @@ void OQueryDesignView::GetFocus()
OQueryView::GetFocus();
if ( m_pSelectionBox && !m_pSelectionBox->HasChildPathFocus() )
{
- // first we have to deactivate the current cell to refill when nescessary
+ // first we have to deactivate the current cell to refill when necessary
m_pSelectionBox->DeactivateCell();
m_pSelectionBox->ActivateCell(m_pSelectionBox->GetCurRow(), m_pSelectionBox->GetCurColumnId());
m_pSelectionBox->GrabFocus();
@@ -3278,7 +3278,7 @@ void OQueryDesignView::fillFunctionInfo( const ::connectivity::OSQLParseNode* p
,const ::rtl::OUString& sFunctionTerm
,OTableFieldDescRef& aInfo)
{
- // get the type out of the funtion name
+ // get the type out of the function name
OQueryController& rController = static_cast<OQueryController&>(getController());
sal_Int32 nDataType = DataType::DOUBLE;
::rtl::OUString sFieldName = sFunctionTerm;
diff --git a/dbaccess/source/ui/querydesign/QueryTableView.cxx b/dbaccess/source/ui/querydesign/QueryTableView.cxx
index 2400ff2b7267..ec9e3e415bbb 100644
--- a/dbaccess/source/ui/querydesign/QueryTableView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryTableView.cxx
@@ -639,7 +639,7 @@ void OQueryTableView::AddTabWin(const ::rtl::OUString& _rComposedName, const ::r
case KeyType::PRIMARY:
{
- // we have a primary key so look in our list if there exsits a key which this is refered to
+ // we have a primary key so look in our list if there exists a key which this is referred to
OTableWindowMap::const_iterator aIter = pTabWins->begin();
OTableWindowMap::const_iterator aEnd = pTabWins->end();
for(;aIter != aEnd;++aIter)
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
index efc3895c8bcb..606efe6d99b4 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
@@ -685,7 +685,7 @@ sal_Bool OSelectionBrowseBox::fillColumnRef(const ::rtl::OUString& _sColumnName,
if ( pTabWinList )
{
sal_uInt16 nTabCount = 0;
- if ( !static_cast<OQueryTableView*>(getDesignView()->getTableView())->FindTableFromField(_sColumnName,_pEntry,nTabCount) ) // error occured: column not in table window
+ if ( !static_cast<OQueryTableView*>(getDesignView()->getTableView())->FindTableFromField(_sColumnName,_pEntry,nTabCount) ) // error occurred: column not in table window
{
String sErrorMsg(ModuleRes(RID_STR_FIELD_DOESNT_EXIST));
sErrorMsg.SearchAndReplaceAscii("$name$",_sColumnName);
@@ -1605,7 +1605,7 @@ void OSelectionBrowseBox::InsertColumn(OTableFieldDescRef pEntry, sal_uInt16& _n
DeactivateCell();
- // remember the column id of the current positon
+ // remember the column id of the current position
sal_uInt16 nColumnId = GetColumnId(_nColumnPostion);
// Wenn zu klein oder zu gross, auf Ende der Liste setzen
if ((_nColumnPostion == BROWSER_INVALIDID) || (_nColumnPostion >= getFields().size())) // Anhaengen des Feldes
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx
index b581f849daff..aa0096e52c51 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx
@@ -194,7 +194,7 @@ namespace dbaui
@param eObjType
The type to ask for
@param _nPosition
- The position of a tablecell (index position), header bar colum/row cell
+ The position of a tablecell (index position), header bar column/row cell
@return
The name of the specified object.
*/
@@ -267,11 +267,11 @@ namespace dbaui
@param _sFieldName
The field name inserted by the user.
@param _pEntry
- The entry which will contain the nescessary entries.
+ The entry which will contain the necessary entries.
@param _bListAction
Will be set to <TRUE/> when we are in a list action otherwise <FALSE/>
@return
- <TRUE/> if an error occured otherwise <FALSE/>
+ <TRUE/> if an error occurred otherwise <FALSE/>
*/
sal_Bool saveField(const String& _sFieldName,OTableFieldDescRef& _pEntry,sal_Bool& _bListAction);
@@ -291,11 +291,11 @@ namespace dbaui
@param _xMetaData
Use to parse the node to a string.
@param _pEntry
- The entry which will contain the nescessary entries.
+ The entry which will contain the necessary entries.
@param _bListAction
Will be set to <TRUE/> when we are in a list action otherwise <FALSE/>
@return
- <TRUE/> if an error occured otherwise <FALSE/>
+ <TRUE/> if an error occurred otherwise <FALSE/>
*/
sal_Bool fillColumnRef( const ::connectivity::OSQLParseNode* _pColumnRef,
const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxConnection,
diff --git a/dbaccess/source/ui/querydesign/TableWindow.cxx b/dbaccess/source/ui/querydesign/TableWindow.cxx
index c1e10adc3c64..e2fbaaac8dab 100644
--- a/dbaccess/source/ui/querydesign/TableWindow.cxx
+++ b/dbaccess/source/ui/querydesign/TableWindow.cxx
@@ -220,7 +220,7 @@ sal_Bool OTableWindow::FillListBox()
}
catch(Exception&)
{
- OSL_ENSURE(0,"Exception occured!");
+ OSL_ENSURE(0,"Exception occurred!");
}
try
{
@@ -249,7 +249,7 @@ sal_Bool OTableWindow::FillListBox()
}
catch(Exception&)
{
- OSL_ENSURE(0,"Exception occured!");
+ OSL_ENSURE(0,"Exception occurred!");
}
return sal_True;
diff --git a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx
index d3b174d949c1..6abbf1a17781 100644
--- a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx
+++ b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx
@@ -177,7 +177,7 @@ namespace dbaui
sal_Int32 nIndex = -1;
if( m_pTable )
{
- // search the postion of our table window in the table window map
+ // search the position of our table window in the table window map
OJoinTableView::OTableWindowMap* pMap = m_pTable->getTableView()->GetTabWinMap();
OJoinTableView::OTableWindowMap::iterator aIter = pMap->begin();
OJoinTableView::OTableWindowMap::iterator aEnd = pMap->end();
diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx
index a14e3959a6db..3a0c33c4343a 100644
--- a/dbaccess/source/ui/querydesign/querycontroller.cxx
+++ b/dbaccess/source/ui/querydesign/querycontroller.cxx
@@ -1612,7 +1612,7 @@ bool OQueryController::doSaveAsDoc(sal_Bool _bSaveAs)
{
::dbtools::SQLExceptionInfo aInfo(e);
showError(aInfo);
- // an error occured so we clear the statement
+ // an error occurred so we clear the statement
sTranslatedStmt = ::rtl::OUString();
}
}
diff --git a/dbaccess/source/ui/relationdesign/RelationTableView.cxx b/dbaccess/source/ui/relationdesign/RelationTableView.cxx
index 8a992b12294d..b46b95dd1c17 100644
--- a/dbaccess/source/ui/relationdesign/RelationTableView.cxx
+++ b/dbaccess/source/ui/relationdesign/RelationTableView.cxx
@@ -314,7 +314,7 @@ bool ORelationTableView::RemoveConnection( OTableConnection* pConn ,sal_Bool /*_
}
catch(Exception&)
{
- OSL_ENSURE(0,"ORelationTableView::RemoveConnection: Something other than SQLException occured!");
+ OSL_ENSURE(0,"ORelationTableView::RemoveConnection: Something other than SQLException occurred!");
}
return false;
}
diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx
index 770d62fef16d..5764726d1901 100644
--- a/dbaccess/source/ui/tabledesign/TableController.cxx
+++ b/dbaccess/source/ui/tabledesign/TableController.cxx
@@ -470,7 +470,7 @@ sal_Bool OTableController::doSaveDoc(sal_Bool _bSaveAs)
stopTableListening();
m_xTable = NULL;
}
- // reload(); // a error occured so we have to reload
+ // reload(); // a error occurred so we have to reload
}
return ! (aInfo.isValid() || bError);
}
@@ -949,7 +949,7 @@ void OTableController::loadData()
if(aTypeIter == m_aTypeInfo.end())
aTypeIter = m_aTypeInfo.begin();
- OSL_ENSURE(aTypeIter != m_aTypeInfo.end(),"We have no type infomation!");
+ OSL_ENSURE(aTypeIter != m_aTypeInfo.end(),"We have no type information!");
bool bReadRow = !isAddAllowed();
for(sal_Int32 i=m_vRowList.size(); i < NEWCOLS; i++ )
@@ -1146,7 +1146,7 @@ void OTableController::alterColumns()
xAppend->appendByDescriptor(xNewColumn);
}
catch(const SQLException&)
- { // an error occured so we try to reactivate the old one
+ { // an error occurred so we try to reactivate the old one
xAppend->appendByDescriptor(xColumn);
throw;
}
diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx
index 57c2b274897f..64c43ce00fa8 100644
--- a/dbaccess/source/ui/uno/copytablewizard.cxx
+++ b/dbaccess/source/ui/uno/copytablewizard.cxx
@@ -323,7 +323,7 @@ namespace dbaui
const Reference< XPropertySet >& _rxDestTable
);
- /** processes an error which occured during copying
+ /** processes an error which occurred during copying
First, all listeners are ask. If a listener tells to cancel or continue copying, this is reported to the
method's caller. If a listener tells to ask the user, this is done, and the user's decision is
@@ -1114,7 +1114,7 @@ bool CopyTableWizard::impl_processCopyError_nothrow( const CopyTableRowEvent& _r
aError.NextException = _rEvent.Error;
else
{
- // a non-SQL exception happend
+ // a non-SQL exception happened
Exception aException;
OSL_VERIFY( _rEvent.Error >>= aException );
SQLContext aContext;
@@ -1172,11 +1172,11 @@ void CopyTableWizard::impl_copyRows_throw( const Reference< XResultSet >& _rxSou
sal_Int32 nCount = xMeta->getColumnCount();
::std::vector< sal_Int32 > aSourceColTypes;
aSourceColTypes.reserve( nCount + 1 );
- aSourceColTypes.push_back( -1 ); // just to avoid a everytime i-1 call
+ aSourceColTypes.push_back( -1 ); // just to avoid a every time i-1 call
::std::vector< sal_Int32 > aSourcePrec;
aSourcePrec.reserve( nCount + 1 );
- aSourcePrec.push_back( -1 ); // just to avoid a everytime i-1 call
+ aSourcePrec.push_back( -1 ); // just to avoid a every time i-1 call
for ( sal_Int32 k=1; k <= nCount; ++k )
{
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 6360e9690c92..0e9a5be41bd7 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -338,7 +338,7 @@ OUString MakeStartupConfigAccessErrorMessage( OUString const & aInternalErrMsg )
if ( pResMgr )
aDiagnosticMessage.append( OUString(String(ResId(STR_INTERNAL_ERRMSG, *pResMgr ))) );
else
- aDiagnosticMessage.appendAscii( "The following internal error has occured:\n\n" );
+ aDiagnosticMessage.appendAscii( "The following internal error has occurred:\n\n" );
aDiagnosticMessage.append( aInternalErrMsg );
}
@@ -348,7 +348,7 @@ OUString MakeStartupConfigAccessErrorMessage( OUString const & aInternalErrMsg )
//=============================================================================
// shows a simple error box with the given message ... but exits from these process !
//
-// Fatal errors cant be solved by the process ... nor any recovery can help.
+// Fatal errors can't be solved by the process ... nor any recovery can help.
// Mostly the installation was damaged and must be repaired manually .. or by calling
// setup again.
//
@@ -1550,7 +1550,7 @@ sal_Bool Desktop::isCrashReporterEnabled()
@param bCrashed [boolean ... out!]
the office crashed last times.
But may be there are no recovery data.
- Usefull to trigger the error report tool without
+ Useful to trigger the error report tool without
showing the recovery UI.
@param bRecoveryDataExists [boolean ... out!]
@@ -1755,7 +1755,7 @@ sal_uInt16 Desktop::Exception(sal_uInt16 nError)
( !pArgs->IsNoRestore() ) && // some use cases of office must work without recovery
( !pArgs->IsHeadless() ) &&
( !pArgs->IsServer() ) &&
- (( nError & EXC_MAJORTYPE ) != EXC_DISPLAY ) && // recovery cant work without UI ... but UI layer seams to be the reason for this crash
+ (( nError & EXC_MAJORTYPE ) != EXC_DISPLAY ) && // recovery can't work without UI ... but UI layer seams to be the reason for this crash
( Application::IsInExecute() ) // crashes during startup and shutdown should be ignored (they indicates a corrupt installation ...)
);
if ( bAllowRecoveryAndSessionManagement )
@@ -1986,7 +1986,7 @@ void Desktop::Main()
( xSMgr->createInstance(
DEFINE_CONST_UNICODE( "com.sun.star.frame.GlobalEventBroadcaster" ) ), UNO_QUERY );
- /* ensure existance of a default window that messages can be dispatched to
+ /* ensure existence of a default window that messages can be dispatched to
This is for the benefit of testtool which uses PostUserEvent extensively
and else can deadlock while creating this window from another tread while
the main thread is not yet in the event loop.
@@ -2198,7 +2198,7 @@ void Desktop::Main()
// Post user event to startup first application component window
// We have to send this OpenClients message short before execute() to
- // minimize the risk that this message overtakes type detection contruction!!
+ // minimize the risk that this message overtakes type detection construction!!
Application::PostUserEvent( LINK( this, Desktop, OpenClients_Impl ) );
// Post event to enable acceptors
@@ -3081,8 +3081,8 @@ void Desktop::OpenClients()
sal_False , // false => force recovery instead of emergency save
bCrashed ,
bExistsRecoveryData);
- /* TODO we cant be shure, that at least one document could be recovered here successfully
- So we set bLoaded=sal_True to supress opening of the default document.
+ /* TODO we can't be sure, that at least one document could be recovered here successfully
+ So we set bLoaded=sal_True to suppress opening of the default document.
But we should make it more safe. Otherwhise we have an office without an UI ...
...
May be we can check the desktop if some documents are existing there.
@@ -3303,7 +3303,7 @@ String GetURL_Impl(
}
// Add path seperator to these directory and make given URL (rName) absolute by using of current working directory
- // Attention: "setFianlSlash()" is neccessary for calling "smartRel2Abs()"!!!
+ // Attention: "setFianlSlash()" is necessary for calling "smartRel2Abs()"!!!
// Otherwhise last part will be ignored and wrong result will be returned!!!
// "smartRel2Abs()" interpret given URL as file not as path. So he truncate last element to get the base path ...
// But if we add a seperator - he doesn't do it anymore.
diff --git a/desktop/source/app/appinit.cxx b/desktop/source/app/appinit.cxx
index 70fd3b7c810c..d88bd41a7824 100644
--- a/desktop/source/app/appinit.cxx
+++ b/desktop/source/app/appinit.cxx
@@ -170,7 +170,7 @@ static bool configureUcb(bool bServer, rtl::OUString const & rPortalConnect)
#else
// Workaround for P1 #124597#. Instanciate GNOME-VFS-UCP in the thread that initialized
- // GNOME in order to avoid a deadlock that may occure in case UCP gets initialized from
+ // GNOME in order to avoid a deadlock that may occur in case UCP gets initialized from
// a different thread. The latter may happen when calling the Office remotely via UNO.
// THIS IS NOT A FIX, JUST A WORKAROUND!
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx
index b36eacd6fcf6..2705c25d305c 100644
--- a/desktop/source/app/dispatchwatcher.cxx
+++ b/desktop/source/app/dispatchwatcher.cxx
@@ -222,7 +222,7 @@ sal_Bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatch
)
{
// Attention: URL must be parsed full. Otherwise some detections on it will fail!
- // It doesnt matter, if parser isn't available. Because; We try loading of URL then ...
+ // It doesn't matter, if parser isn't available. Because; We try loading of URL then ...
URL aURL ;
aURL.Complete = aName;
diff --git a/desktop/source/app/dispatchwatcher.hxx b/desktop/source/app/dispatchwatcher.hxx
index 41b54d36dfb3..72610332480e 100644
--- a/desktop/source/app/dispatchwatcher.hxx
+++ b/desktop/source/app/dispatchwatcher.hxx
@@ -36,7 +36,7 @@ namespace desktop
{
/*
- Class for controlls dispatching of command URL through office command line. There
+ Class for controls dispatching of command URL through office command line. There
are "dangerous" command URLs, that can result in a running office without UI. To prevent
this situation the implementation surveile all dispatches and looks for an open task if
there is arose a problem. If there is none the office will be shutdown to prevent a
diff --git a/desktop/source/app/langselect.cxx b/desktop/source/app/langselect.cxx
index 8441a6558d00..36d2459d989d 100644
--- a/desktop/source/app/langselect.cxx
+++ b/desktop/source/app/langselect.cxx
@@ -216,7 +216,7 @@ bool LanguageSelection::prepareLanguage()
try
{
// prepare default config provider by localizing it to the selected locale
- // this will ensure localized configuration settings to be selected accoring to the
+ // this will ensure localized configuration settings to be selected according to the
// UI language.
Locale loc = LanguageSelection::IsoStringToLocale(aLocaleString);
// flush any data already written to the configuration (which
diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx
index 485fd7bce602..0a842731625b 100644
--- a/desktop/source/app/officeipcthread.cxx
+++ b/desktop/source/app/officeipcthread.cxx
@@ -499,7 +499,7 @@ OfficeIPCThread::Status OfficeIPCThread::EnableOfficeIPCThread()
// #119950# Try to connect pipe first. If connected, means another instance already launched.
if( pThread->maPipe.create( pThread->maPipeIdent.getStr(), OPipe::TOption_Open, rSecurity ))
{
- // #119950# Test if launched in a new terminal session for same user. On Windows platform, normally a user is resticted
+ // #119950# Test if launched in a new terminal session for same user. On Windows platform, normally a user is restricted
// to have only one terminal session. But if mutiple terminal session for one user is allowed, crash will happen if launched
// OpenOffice from more than one terminal session. So need to detect and prevent this happen.
@@ -515,7 +515,7 @@ OfficeIPCThread::Status OfficeIPCThread::EnableOfficeIPCThread()
}
}
- else if ( pThread->maPipe.create( pThread->maPipeIdent.getStr(), OPipe::TOption_Create, rSecurity )) // Connection not successfull, now we try to create
+ else if ( pThread->maPipe.create( pThread->maPipeIdent.getStr(), OPipe::TOption_Create, rSecurity )) // Connection not successful, now we try to create
{
// Pipe created
nPipeMode = PIPEMODE_CREATED;
@@ -566,7 +566,7 @@ OfficeIPCThread::Status OfficeIPCThread::EnableOfficeIPCThread()
return IPC_STATUS_BOOTSTRAP_ERROR;
}
}
- // finaly, write the string onto the pipe
+ // finally, write the string onto the pipe
pThread->maStreamPipe.write( aArguments.GetBuffer(), aArguments.Len() );
pThread->maStreamPipe.write( "\0", 1 );
diff --git a/desktop/source/deployment/inc/dp_descriptioninfoset.hxx b/desktop/source/deployment/inc/dp_descriptioninfoset.hxx
index 18b61dda9c21..b99da39e2fe8 100644
--- a/desktop/source/deployment/inc/dp_descriptioninfoset.hxx
+++ b/desktop/source/deployment/inc/dp_descriptioninfoset.hxx
@@ -110,7 +110,7 @@ public:
If the platform element is present but does not specify a platform then an empty
sequence is returned. Examples for invalid platform elements:
<pre>
- <platform />, <platform value="" />, <platfrom value=",">
+ <platform />, <platform value="" />, <platform value=",">
</pre>
The value attribute can contain various platform tokens. They must be separated by
@@ -225,7 +225,7 @@ private:
/** Retrieves a child element which as lang attribute which matches the office locale.
Only top-level children are taken into account. It is also assumed that they are all
- of the same element type and have a lang attribute. The matching algoritm is according
+ of the same element type and have a lang attribute. The matching algorithm is according
to RFC 3066, with the exception that only one variant is allowed.
@param parent
the expression used to obtain the parent of the localized children. It can be null.
diff --git a/desktop/source/deployment/manager/dp_extensionmanager.cxx b/desktop/source/deployment/manager/dp_extensionmanager.cxx
index c5d7c1c4b224..bc57151fa5d2 100644
--- a/desktop/source/deployment/manager/dp_extensionmanager.cxx
+++ b/desktop/source/deployment/manager/dp_extensionmanager.cxx
@@ -588,9 +588,9 @@ ExtensionManager::getSupportedPackageTypes()
return getUserRepository()->getSupportedPackageTypes();
}
//Do some necessary checks and user interaction. This function does not
-//aquire the extension manager mutex and that mutex must not be aquired
+//acquire the extension manager mutex and that mutex must not be acquired
//when this function is called. doChecksForAddExtension does synchronous
-//user interactions which may require aquiring the solar mutex.
+//user interactions which may require acquiring the solar mutex.
//Returns true if the extension can be installed.
bool ExtensionManager::doChecksForAddExtension(
Reference<deploy::XPackageManager> const & xPackageMgr,
@@ -1417,7 +1417,7 @@ sal_Bool ExtensionManager::synchronize(
catch (...)
{
//We catch the exception, so we can write the lastmodified file
- //so we will no repeat this everytime OOo starts.
+ //so we will no repeat this every time AOO starts.
OSL_ENSURE(0, "Extensions Manager: synchronize");
}
OUString lastSyncBundled(RTL_CONSTASCII_USTRINGPARAM(
diff --git a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx
index f204418952d4..75010c1229fa 100644
--- a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx
+++ b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx
@@ -128,7 +128,7 @@ class ExtensionDescription
public:
/**throws an exception if the description.xml is not
available, cannot be read, does not contain the expected data,
- or any other error occured. Therefore it shoult only be used with
+ or any other error occurred. Therefore it shoult only be used with
new extensions.
Throws com::sun::star::uno::RuntimeException,
diff --git a/desktop/source/deployment/misc/dp_misc.cxx b/desktop/source/deployment/misc/dp_misc.cxx
index c3369a75da79..b31c4f35ae09 100644
--- a/desktop/source/deployment/misc/dp_misc.cxx
+++ b/desktop/source/deployment/misc/dp_misc.cxx
@@ -416,7 +416,7 @@ oslProcess raiseProcess(
case osl_Process_E_NotFound:
throw RuntimeException( OUSTR("image not found!"), 0 );
case osl_Process_E_TimedOut:
- throw RuntimeException( OUSTR("timout occured!"), 0 );
+ throw RuntimeException( OUSTR("timout occurred!"), 0 );
case osl_Process_E_NoPermission:
throw RuntimeException( OUSTR("permission denied!"), 0 );
case osl_Process_E_Unknown:
diff --git a/desktop/source/deployment/misc/dp_resource.cxx b/desktop/source/deployment/misc/dp_resource.cxx
index 9476327d2982..2df7db3c6d72 100644
--- a/desktop/source/deployment/misc/dp_resource.cxx
+++ b/desktop/source/deployment/misc/dp_resource.cxx
@@ -174,7 +174,7 @@ void checkThirdSubtag(::rtl::OUString const & tag)
//=============================================================================
-//We parse the string acording to RFC 3066
+//We parse the string according to RFC 3066
//We only use the primary sub-tag and two subtags. That is lang-country-variant
//We do some simple tests if the string is correct. Actually this should do a
//validating parser
diff --git a/desktop/source/deployment/misc/dp_ucb.cxx b/desktop/source/deployment/misc/dp_ucb.cxx
index 7435535be9c1..aa346918bb60 100644
--- a/desktop/source/deployment/misc/dp_ucb.cxx
+++ b/desktop/source/deployment/misc/dp_ucb.cxx
@@ -156,7 +156,7 @@ bool create_folder(
}
catch (CommandFailedException &) {
// Interaction Handler already handled the error
- // that has occured...
+ // that has occurred...
}
catch (Exception &) {
if (throw_exc)
diff --git a/desktop/source/deployment/registry/configuration/dp_configuration.cxx b/desktop/source/deployment/registry/configuration/dp_configuration.cxx
index 960715276d10..fa83cb179057 100644
--- a/desktop/source/deployment/registry/configuration/dp_configuration.cxx
+++ b/desktop/source/deployment/registry/configuration/dp_configuration.cxx
@@ -128,7 +128,7 @@ class BackendImpl : public ::dp_registry::backend::PackageRegistryBackend
Reference<XCommandEnvironment> const & xCmdEnv );
void configmgrini_flush( Reference<XCommandEnvironment> const & xCmdEnv );
- /* The paramter isURL is false in the case of adding the conf:ini-entry
+ /* The parameter isURL is false in the case of adding the conf:ini-entry
value from the backend db. This entry already contains the path as it
is used in the configmgr.ini.
*/
diff --git a/desktop/source/deployment/registry/dp_backend.cxx b/desktop/source/deployment/registry/dp_backend.cxx
index 09c66c9e9510..1a5dde024124 100644
--- a/desktop/source/deployment/registry/dp_backend.cxx
+++ b/desktop/source/deployment/registry/dp_backend.cxx
@@ -638,7 +638,7 @@ beans::Optional< beans::Ambiguous<sal_Bool> > Package::isRegistered(
catch (Exception &) {
Any exc( ::cppu::getCaughtException() );
throw deployment::DeploymentException(
- OUSTR("unexpected exception occured!"),
+ OUSTR("unexpected exception occurred!"),
static_cast<OWeakObject *>(this), exc );
}
}
diff --git a/desktop/source/deployment/registry/help/dp_help.cxx b/desktop/source/deployment/registry/help/dp_help.cxx
index 5ec3c15fbbdf..eaf9b2864538 100644
--- a/desktop/source/deployment/registry/help/dp_help.cxx
+++ b/desktop/source/deployment/registry/help/dp_help.cxx
@@ -289,7 +289,7 @@ bool BackendImpl::PackageImpl::extensionContainsCompiledHelp()
if ( helpFolder.open() == ::osl::File::E_None)
{
//iterate over the contents of the help folder
- //We assume that all folders withing the help folder contain language specific
+ //We assume that all folders within the help folder contain language specific
//help files. If just one of them does not contain compiled help then this
//function returns false.
::osl::DirectoryItem item;
diff --git a/desktop/source/deployment/registry/inc/dp_backenddb.hxx b/desktop/source/deployment/registry/inc/dp_backenddb.hxx
index 8f03535c1c4f..92d6f1d4ddaf 100644
--- a/desktop/source/deployment/registry/inc/dp_backenddb.hxx
+++ b/desktop/source/deployment/registry/inc/dp_backenddb.hxx
@@ -113,7 +113,7 @@ protected:
::rtl::OUString const & sListTagName,
::rtl::OUString const & sMemberTagName);
- /* returns the values of one particulary child element of all key elements.
+ /* returns the values of one particularly child element of all key elements.
*/
::std::list< ::rtl::OUString> getOneChildFromAllEntries(
::rtl::OUString const & sElementName);
diff --git a/desktop/source/deployment/registry/package/dp_package.cxx b/desktop/source/deployment/registry/package/dp_package.cxx
index 7179f138dc29..585363d4fd36 100644
--- a/desktop/source/deployment/registry/package/dp_package.cxx
+++ b/desktop/source/deployment/registry/package/dp_package.cxx
@@ -105,7 +105,7 @@ class BackendImpl : public ImplBaseT
Reference<deployment::XPackage> bindBundleItem(
OUString const & url, OUString const & mediaType,
- sal_Bool bRemoved, //that is, useing data base information
+ sal_Bool bRemoved, //that is, using data base information
OUString const & identifier,
Reference<ucb::XCommandEnvironment> const & xCmdEnv,
bool notifyDetectionError = true );
@@ -1569,7 +1569,7 @@ void BackendImpl::PackageImpl::scanLegacyBundle(
{
::ucbhelper::Content ucbContent( url, xCmdEnv );
- // check for platform pathes:
+ // check for platform paths:
const OUString title( ucbContent.getPropertyValue(
StrTitle::get() ).get<OUString>() );
if (title.endsWithIgnoreAsciiCaseAsciiL(
diff --git a/desktop/source/migration/cfgfilter.cxx b/desktop/source/migration/cfgfilter.cxx
index 4d95aed2c845..295f953203bc 100644
--- a/desktop/source/migration/cfgfilter.cxx
+++ b/desktop/source/migration/cfgfilter.cxx
@@ -147,7 +147,7 @@ void SAL_CALL CConfigFilter::readData(
// in m_xLayerHandler. we will then submit ourself as a handler to
// the SourceLayer in m_xSourceLayer.
// when the source calls our handler functions we will use the patterns that
- // where given in the ctor to decide whther they should be relaied to the caller
+ // where given in the ctor to decide whether they should be relaied to the caller
if (m_xSourceLayer.is() && layerHandler.is())
{
diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx
index 0b3aea554fd1..8e049523613e 100755
--- a/desktop/source/migration/migration.cxx
+++ b/desktop/source/migration/migration.cxx
@@ -221,7 +221,7 @@ void Migration::doMigration()
aMsg += OUStringToOString(e.Message, RTL_TEXTENCODING_ASCII_US);
OSL_ENSURE(sal_False, aMsg.getStr());
}
- OSL_ENSURE(bResult, "Migration has not been successfull");
+ OSL_ENSURE(bResult, "Migration has not been successful");
// shut down migration framework
releaseImpl();
}
diff --git a/desktop/source/migration/services/jvmfwk.cxx b/desktop/source/migration/services/jvmfwk.cxx
index f98e309ef052..0d7d99e4b100 100644
--- a/desktop/source/migration/services/jvmfwk.cxx
+++ b/desktop/source/migration/services/jvmfwk.cxx
@@ -340,7 +340,7 @@ void JavaMigration::migrateJavarc()
{
OSL_ENSURE(0, "[Service implementation " IMPL_NAME
"] XJob::execute: jfw_setSelectedJRE failed.");
- fprintf(stderr, "\nCannot migrate Java. An error occured.\n");
+ fprintf(stderr, "\nCannot migrate Java. An error occurred.\n");
}
}
else if (err == JFW_E_FAILED_VERSION)
diff --git a/desktop/source/splash/splash.cxx b/desktop/source/splash/splash.cxx
index d6cc4ecdab90..81595c047750 100644
--- a/desktop/source/splash/splash.cxx
+++ b/desktop/source/splash/splash.cxx
@@ -446,7 +446,7 @@ bool SplashScreen::loadBitmap(
GraphicFilter* pGF = GraphicFilter::GetGraphicFilter();
pGF->ImportGraphic( aGraphic, String(), aStrm, GRFILTER_FORMAT_DONTKNOW );
- // Default case, we load the intro bitmap from a seperate file
+ // Default case, we load the intro bitmap from a separate file
// (e.g. staroffice_intro.bmp or starsuite_intro.bmp)
_aIntroBmp = aGraphic.GetBitmapEx();
return true;
diff --git a/desktop/win32/source/QuickStart/QuickStart.cpp b/desktop/win32/source/QuickStart/QuickStart.cpp
index 71df2a836ae0..d069353d09c3 100644
--- a/desktop/win32/source/QuickStart/QuickStart.cpp
+++ b/desktop/win32/source/QuickStart/QuickStart.cpp
@@ -52,7 +52,7 @@ TCHAR szWindowClass[MAX_LOADSTRING]; // The title bar text
TCHAR szExitString[MAX_LOADSTRING];
TCHAR szTooltipString[MAX_LOADSTRING];
-// Foward declarations of functions included in this code module:
+// Forward declarations of functions included in this code module:
ATOM MyRegisterClass(HINSTANCE hInstance);
BOOL InitInstance(HINSTANCE, int);
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
diff --git a/desktop/win32/source/applauncher/launcher.cxx b/desktop/win32/source/applauncher/launcher.cxx
index 85bb4429d19a..b94458610264 100644
--- a/desktop/win32/source/applauncher/launcher.cxx
+++ b/desktop/win32/source/applauncher/launcher.cxx
@@ -50,7 +50,7 @@ extern "C" int APIENTRY WinMain( HINSTANCE, HINSTANCE, LPSTR, int )
extern "C" int APIENTRY _tWinMain( HINSTANCE, HINSTANCE, LPTSTR, int )
#endif
{
- // Retreive startup info
+ // Retrieve startup info
STARTUPINFO aStartupInfo;
diff --git a/desktop/win32/source/setup/setup.cpp b/desktop/win32/source/setup/setup.cpp
index eb6d464f2d41..09406d8ecc6d 100644
--- a/desktop/win32/source/setup/setup.cpp
+++ b/desktop/win32/source/setup/setup.cpp
@@ -1594,11 +1594,11 @@ boolean SetupAppX::GetCmdLineParameters( LPTSTR *pCmdLine )
break;
}
else if ( (*pSub) == 'a' || (*pSub) == 'A' )
- { // --- Handle Adminstrative Installation ---
+ { // --- Handle Administrative Installation ---
SetAdminInstall( true );
}
else if ( (*pSub) == 'j' || (*pSub) == 'J' )
- { // --- Handle Adminstrative Installation ---
+ { // --- Handle Administrative Installation ---
m_pAdvertise = pStart;
m_bQuiet = true;
bDeleteStart = false;
diff --git a/desktop/win32/source/wrapper.h b/desktop/win32/source/wrapper.h
index 9776b3c8fdac..cc1a9c779662 100644
--- a/desktop/win32/source/wrapper.h
+++ b/desktop/win32/source/wrapper.h
@@ -67,7 +67,7 @@
extern "C" int Main()
{
- // Retreive startup info
+ // Retrieve startup info
STARTUPINFO aStartupInfo;
@@ -97,7 +97,7 @@ extern "C" int Main()
_tsplitpath( szApplicationName, szDrive, szDir, szFileName, szExt );
_tmakepath( szApplicationName, szDrive, szDir, szFileName, BIN_EXT_STR );
- // Retreive actual environment
+ // Retrieve actual environment
TCHAR szBuffer[1024];
TCHAR szPathValue[1024] = TEXT("");
diff --git a/drawinglayer/inc/drawinglayer/primitive2d/baseprimitive2d.hxx b/drawinglayer/inc/drawinglayer/primitive2d/baseprimitive2d.hxx
index b907d7536012..489710d621be 100644
--- a/drawinglayer/inc/drawinglayer/primitive2d/baseprimitive2d.hxx
+++ b/drawinglayer/inc/drawinglayer/primitive2d/baseprimitive2d.hxx
@@ -87,13 +87,13 @@ namespace drawinglayer
using this primitive and do not know it, may get the decomposition and process
these instead. An example is e.g. a fat line, who's decomposition may contain
the geometric representation of that line using filled polygon prmimitives. When
- the renderer knows how to handle fat lines, he may proccess this primitive directly;
+ the renderer knows how to handle fat lines, he may process this primitive directly;
if not he can use the decomposition. With this functionality, renderers may operate by
knowing only a small set of primitives.
When a primitive does not implement get2DDecomposition, it is called a 'Basic Primitive' and
belongs to the set of primitives which a processor should be able to handle. Practice
- will define this minimal sets of primitives. When defined and the concept is prooved,
+ will define this minimal sets of primitives. When defined and the concept is proved,
unique UNO APIs may be defined/implemented for these set to allow more intense work
with primitives using UNO.
diff --git a/drawinglayer/inc/drawinglayer/primitive2d/metafileprimitive2d.hxx b/drawinglayer/inc/drawinglayer/primitive2d/metafileprimitive2d.hxx
index 2354171c5ff3..6019e1b59f9a 100644
--- a/drawinglayer/inc/drawinglayer/primitive2d/metafileprimitive2d.hxx
+++ b/drawinglayer/inc/drawinglayer/primitive2d/metafileprimitive2d.hxx
@@ -40,7 +40,7 @@ namespace drawinglayer
This is the MetaFile representing primitive. It's geometry is defined
by MetaFileTransform. The content (defined by MetaFile) will be scaled
- to the geometric definiton by using PrefMapMode and PrefSize of the
+ to the geometric definition by using PrefMapMode and PrefSize of the
Metafile.
It has shown that this not always guarantees that all Metafile content
diff --git a/drawinglayer/inc/drawinglayer/primitive2d/modifiedcolorprimitive2d.hxx b/drawinglayer/inc/drawinglayer/primitive2d/modifiedcolorprimitive2d.hxx
index 3a9cd0ea3e1d..e239bf50ce3a 100644
--- a/drawinglayer/inc/drawinglayer/primitive2d/modifiedcolorprimitive2d.hxx
+++ b/drawinglayer/inc/drawinglayer/primitive2d/modifiedcolorprimitive2d.hxx
@@ -43,7 +43,7 @@ namespace drawinglayer
For the possibilities of color modifications, please refer
to the basegfx::BColorModifier definitions in basegfx. For
processing there is tooling in basegfx to build a stack of
- BColorModifierSharedPtrs to always be able to proccess the correct
+ BColorModifierSharedPtrs to always be able to process the correct
colors.
If a renderer does not handle this primitive, the content will
diff --git a/drawinglayer/inc/drawinglayer/primitive2d/pointarrayprimitive2d.hxx b/drawinglayer/inc/drawinglayer/primitive2d/pointarrayprimitive2d.hxx
index 705802c09a7a..4b5a92b0143a 100644
--- a/drawinglayer/inc/drawinglayer/primitive2d/pointarrayprimitive2d.hxx
+++ b/drawinglayer/inc/drawinglayer/primitive2d/pointarrayprimitive2d.hxx
@@ -42,7 +42,7 @@ namespace drawinglayer
the logic size of a 'pixel' depends on the view transformation.
This is one of the non-decomposable primitives, so a renderer
- should proccess it (Currently it is only used for grid visualisation,
+ should process it (Currently it is only used for grid visualisation,
but this may change).
*/
class DRAWINGLAYER_DLLPUBLIC PointArrayPrimitive2D : public BasePrimitive2D
diff --git a/drawinglayer/inc/drawinglayer/primitive2d/polygonprimitive2d.hxx b/drawinglayer/inc/drawinglayer/primitive2d/polygonprimitive2d.hxx
index 239a3b150e29..8e0863776393 100644
--- a/drawinglayer/inc/drawinglayer/primitive2d/polygonprimitive2d.hxx
+++ b/drawinglayer/inc/drawinglayer/primitive2d/polygonprimitive2d.hxx
@@ -46,7 +46,7 @@ namespace drawinglayer
this primitive is view-dependent, too.
This is one of the non-decomposable primitives, so a renderer
- should proccess it.
+ should process it.
*/
class DRAWINGLAYER_DLLPUBLIC PolygonHairlinePrimitive2D : public BasePrimitive2D
{
diff --git a/drawinglayer/inc/drawinglayer/primitive2d/polypolygonprimitive2d.hxx b/drawinglayer/inc/drawinglayer/primitive2d/polypolygonprimitive2d.hxx
index d604f236496d..4903037e3cfd 100644
--- a/drawinglayer/inc/drawinglayer/primitive2d/polypolygonprimitive2d.hxx
+++ b/drawinglayer/inc/drawinglayer/primitive2d/polypolygonprimitive2d.hxx
@@ -263,7 +263,7 @@ namespace drawinglayer
This primitive defines a PolyPolygon filled with a single color.
This is one of the non-decomposable primitives, so a renderer
- should proccess it.
+ should process it.
*/
class DRAWINGLAYER_DLLPUBLIC PolyPolygonColorPrimitive2D : public BasePrimitive2D
{
diff --git a/drawinglayer/inc/drawinglayer/primitive3d/polygonprimitive3d.hxx b/drawinglayer/inc/drawinglayer/primitive3d/polygonprimitive3d.hxx
index 77ba6ca730b5..3f1b6c6e0280 100644
--- a/drawinglayer/inc/drawinglayer/primitive3d/polygonprimitive3d.hxx
+++ b/drawinglayer/inc/drawinglayer/primitive3d/polygonprimitive3d.hxx
@@ -43,7 +43,7 @@ namespace drawinglayer
this primitive is view-dependent, too.
This is one of the non-decomposable 3D primitives, so a renderer
- should proccess it.
+ should process it.
*/
class DRAWINGLAYER_DLLPUBLIC PolygonHairlinePrimitive3D : public BasePrimitive3D
{
diff --git a/drawinglayer/inc/drawinglayer/primitive3d/polypolygonprimitive3d.hxx b/drawinglayer/inc/drawinglayer/primitive3d/polypolygonprimitive3d.hxx
index d767989a913c..bbfba1382643 100644
--- a/drawinglayer/inc/drawinglayer/primitive3d/polypolygonprimitive3d.hxx
+++ b/drawinglayer/inc/drawinglayer/primitive3d/polypolygonprimitive3d.hxx
@@ -39,7 +39,7 @@ namespace drawinglayer
This primitive defines a planar 3D PolyPolygon filled with a single color.
This is one of the non-decomposable primitives, so a renderer
- should proccess it.
+ should process it.
It is assumed here that the PolyPolgon is a single plane in 3D.
*/
diff --git a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
index 412e4d2ad62c..06e5d77d1260 100644
--- a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
@@ -952,7 +952,7 @@ namespace
/** helper to take needed action on ClipRegion change. This method needs to be called
on any Region change, e.g. at the obvious actions doing this, but also at pop-calls
- whcih change the Region of the current context. It takes care of creating the
+ which change the Region of the current context. It takes care of creating the
current embeddec context, set the new Region at the context and eventually prepare
a new target for embracing new geometry to the current region
*/
@@ -972,7 +972,7 @@ namespace
// This ClipPolyPolygon is identical to the current one, so there is no need to
// create a MaskPrimitive2D containing the up-to-now created primitives, but
// this was done before. While this does not lead to wrong primitive
- // representations of the metafile data, it creates unneccesarily expensive
+ // representations of the metafile data, it creates unnecessarily expensive
// representations. Just detecting when no really 'new' ClipPolyPolygon gets set
// solves the problem.
@@ -1143,7 +1143,7 @@ namespace
/** helper to create needed data to emulate the VCL Wallpaper Metafile action.
It is a quite mighty action. This helper decides if color and/or gradient
- background is needed for the wnated bitmap fill and then creates the needed
+ background is needed for the wanted bitmap fill and then creates the needed
WallpaperBitmapPrimitive2D. This primitive was created for this purpose and
takes over all needed logic of orientations and tiling.
*/
diff --git a/drawinglayer/source/processor2d/contourextractor2d.cxx b/drawinglayer/source/processor2d/contourextractor2d.cxx
index b7b754671301..4db6b06e3956 100644
--- a/drawinglayer/source/processor2d/contourextractor2d.cxx
+++ b/drawinglayer/source/processor2d/contourextractor2d.cxx
@@ -144,7 +144,7 @@ namespace drawinglayer
getViewInformation2D().getExtendedInformationSequence());
updateViewInformation(aViewInformation2D);
- // proccess content
+ // process content
process(rTransformCandidate.getChildren());
// restore transformations
@@ -159,13 +159,13 @@ namespace drawinglayer
const primitive2d::Primitive2DSequence xExtracted2DSceneGeometry(rScenePrimitive2DCandidate.getGeometry2D());
const primitive2d::Primitive2DSequence xExtracted2DSceneShadow(rScenePrimitive2DCandidate.getShadow2D(getViewInformation2D()));
- // proccess content
+ // process content
if(xExtracted2DSceneGeometry.hasElements())
{
process(xExtracted2DSceneGeometry);
}
- // proccess content
+ // process content
if(xExtracted2DSceneShadow.hasElements())
{
process(xExtracted2DSceneShadow);
diff --git a/drawinglayer/source/processor2d/hittestprocessor2d.cxx b/drawinglayer/source/processor2d/hittestprocessor2d.cxx
index 3b5e266f3bfd..565ef3923899 100644
--- a/drawinglayer/source/processor2d/hittestprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/hittestprocessor2d.cxx
@@ -228,7 +228,7 @@ namespace drawinglayer
//
// if(xExtracted2DSceneShadow.hasElements())
// {
- // // proccess extracted 2D content
+ // // process extracted 2D content
// process(xExtracted2DSceneShadow);
// }
// }
@@ -253,7 +253,7 @@ namespace drawinglayer
//
// if(xExtracted2DSceneGeometry.hasElements() || xExtracted2DSceneShadow.hasElements())
// {
- // // proccess extracted 2D content
+ // // process extracted 2D content
// process(xExtracted2DSceneGeometry);
// process(xExtracted2DSceneShadow);
// }
@@ -296,7 +296,7 @@ namespace drawinglayer
getViewInformation2D().getExtendedInformationSequence());
updateViewInformation(aViewInformation2D);
- // proccess child content recursively
+ // process child content recursively
process(rTransformCandidate.getChildren());
// restore transformations
diff --git a/drawinglayer/source/processor2d/linegeometryextractor2d.cxx b/drawinglayer/source/processor2d/linegeometryextractor2d.cxx
index 97ecf9da6952..2e98485dd2b3 100644
--- a/drawinglayer/source/processor2d/linegeometryextractor2d.cxx
+++ b/drawinglayer/source/processor2d/linegeometryextractor2d.cxx
@@ -106,7 +106,7 @@ namespace drawinglayer
getViewInformation2D().getExtendedInformationSequence());
updateViewInformation(aViewInformation2D);
- // proccess content
+ // process content
process(rTransformCandidate.getChildren());
// restore transformations
diff --git a/drawinglayer/source/processor2d/textaspolygonextractor2d.cxx b/drawinglayer/source/processor2d/textaspolygonextractor2d.cxx
index 59a47fc790a6..cd5a32bc978f 100644
--- a/drawinglayer/source/processor2d/textaspolygonextractor2d.cxx
+++ b/drawinglayer/source/processor2d/textaspolygonextractor2d.cxx
@@ -89,7 +89,7 @@ namespace drawinglayer
// as can be seen from the TextSimplePortionPrimitive2D and the
// TextDecoratedPortionPrimitive2D, inside of the mnInText marks
- // the following primitives can occurr containing geometry data
+ // the following primitives can occur containing geometry data
// from text decomposition:
//
// - PolyPolygonColorPrimitive2D
@@ -195,7 +195,7 @@ namespace drawinglayer
getViewInformation2D().getExtendedInformationSequence());
updateViewInformation(aViewInformation2D);
- // proccess content
+ // process content
process(rTransformCandidate.getChildren());
// restore transformations
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
index 66181025e4d3..d53f7a31dd96 100644
--- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
@@ -2003,7 +2003,7 @@ namespace drawinglayer
// Okay, basic implementation finished and tested. The DPI stuff was hard
// and not easy to find out that it's needed.
- // Since this will not yet happen normally (as long as noone constructs
+ // Since this will not yet happen normally (as long as no one constructs
// transparence primitives with non-trivial transparence content) i will for now not
// refine to tiling here.
@@ -2135,7 +2135,7 @@ namespace drawinglayer
mpPDFExtOutDevData->BeginStructureElement(rTagElement);
}
- // proccess childs normally
+ // process childs normally
process(rStructureTagCandidate.getChildren());
if(mpPDFExtOutDevData && bTagUsed)
diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
index 9f628493f047..077b094ff793 100644
--- a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
@@ -663,7 +663,7 @@ namespace drawinglayer
if(bSuppressFatToHairlineCorrection)
{
- // remeber that we enter a PolygonStrokePrimitive2D decomposition,
+ // remember that we enter a PolygonStrokePrimitive2D decomposition,
// used for AA thick line drawing
mnPolygonStrokePrimitive2D++;
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx
index f820b0fd633b..32103ba0a512 100644
--- a/drawinglayer/source/processor2d/vclprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx
@@ -917,7 +917,7 @@ namespace drawinglayer
getViewInformation2D().getExtendedInformationSequence());
updateViewInformation(aViewInformation2D);
- // proccess content
+ // process content
process(rTransformCandidate.getChildren());
// restore transformations
@@ -941,7 +941,7 @@ namespace drawinglayer
getViewInformation2D().getExtendedInformationSequence());
updateViewInformation(aViewInformation2D);
- // proccess decomposed content
+ // process decomposed content
process(rPagePreviewCandidate.get2DDecomposition(getViewInformation2D()));
// restore transformations
@@ -1214,7 +1214,7 @@ namespace drawinglayer
if(!bDone)
{
- // remeber that we enter a PolygonStrokePrimitive2D decomposition,
+ // remember that we enter a PolygonStrokePrimitive2D decomposition,
// used for AA thick line drawing
mnPolygonStrokePrimitive2D++;
diff --git a/drawinglayer/source/processor3d/geometry2dextractor.cxx b/drawinglayer/source/processor3d/geometry2dextractor.cxx
index 83c2c2eb1c8b..809b8f2c14e9 100644
--- a/drawinglayer/source/processor3d/geometry2dextractor.cxx
+++ b/drawinglayer/source/processor3d/geometry2dextractor.cxx
@@ -138,7 +138,7 @@ namespace drawinglayer
}
case PRIMITIVE3D_ID_SHADOWPRIMITIVE3D :
{
- // accept but ignore labels and shadow; these should be extracted seperately
+ // accept but ignore labels and shadow; these should be extracted separately
break;
}
default :
diff --git a/dtrans/source/cnttype/wbench/testcnttype.cxx b/dtrans/source/cnttype/wbench/testcnttype.cxx
index 8c2834e29560..e305c435769f 100644
--- a/dtrans/source/cnttype/wbench/testcnttype.cxx
+++ b/dtrans/source/cnttype/wbench/testcnttype.cxx
@@ -224,7 +224,7 @@ int SAL_CALL main( int nArgc, char* argv[] )
OUString rdbName = OUString( RTL_CONSTASCII_USTRINGPARAM( RDB_SYSPATH ) );
Reference< XMultiServiceFactory > g_xFactory( createRegistryServiceFactory( rdbName ) );
- // Print a message if an error occured.
+ // Print a message if an error occurred.
if ( !g_xFactory.is( ) )
{
OSL_ENSURE(sal_False, "Can't create RegistryServiceFactory");
diff --git a/dtrans/source/inc/MtaOleClipb.hxx b/dtrans/source/inc/MtaOleClipb.hxx
index f5eb2eeddfb4..ea7f06506083 100644
--- a/dtrans/source/inc/MtaOleClipb.hxx
+++ b/dtrans/source/inc/MtaOleClipb.hxx
@@ -77,7 +77,7 @@ private:
LRESULT sendMessage( UINT msg, WPARAM wParam = 0, LPARAM lParam = 0 );
//---------------------------------------------------------------
- // message handler functions; remeber these functions are called
+ // message handler functions; remember these functions are called
// from a different thread context!
//---------------------------------------------------------------
diff --git a/dtrans/source/win32/clipb/WinClipbImpl.cxx b/dtrans/source/win32/clipb/WinClipbImpl.cxx
index ec1146e501b7..79db8fc06e15 100644
--- a/dtrans/source/win32/clipb/WinClipbImpl.cxx
+++ b/dtrans/source/win32/clipb/WinClipbImpl.cxx
@@ -132,7 +132,7 @@ Reference< XTransferable > SAL_CALL CWinClipbImpl::getContents( ) throw( Runtime
CDTransObjFactory objFactory;
- // remeber pIDo destroys itself due to the smart pointer
+ // remember pIDo destroys itself due to the smart pointer
rClipContent = objFactory.createTransferableFromDataObj( m_pWinClipboard->m_SrvMgr, pIDo );
}
diff --git a/dtrans/source/win32/clipb/WinClipboard.cxx b/dtrans/source/win32/clipb/WinClipboard.cxx
index e272b16a2953..58b322e74b8f 100644
--- a/dtrans/source/win32/clipb/WinClipboard.cxx
+++ b/dtrans/source/win32/clipb/WinClipboard.cxx
@@ -85,7 +85,7 @@ CWinClipboard::CWinClipboard( const Reference< XMultiServiceFactory >& rServiceM
//------------------------------------------------------------------------
// getContent
-// to avoid unecessary traffic we check first if there is a clipboard
+// to avoid unnecessary traffic we check first if there is a clipboard
// content which was set via setContent, in this case we don't need
// to query the content from the clipboard, create a new wrapper object
// and so on, we simply return the orignial XTransferable instead of our
diff --git a/dtrans/source/win32/dtobj/DataFmtTransl.cxx b/dtrans/source/win32/dtobj/DataFmtTransl.cxx
index af808428492d..09f383ce3bc5 100644
--- a/dtrans/source/win32/dtobj/DataFmtTransl.cxx
+++ b/dtrans/source/win32/dtobj/DataFmtTransl.cxx
@@ -170,7 +170,7 @@ DataFlavor CDataFormatTranslator::getDataFlavorFromFormatEtc( const FORMATETC& a
OUString clipFormatName = getClipboardFormatName( aClipformat );
// if we could not get a clipboard format name an
- // error must have occured or it is a standard
+ // error must have occurred or it is a standard
// clipboard format that we don't translate, e.g.
// CF_BITMAP (the office only uses CF_DIB)
if ( clipFormatName.getLength( ) )
diff --git a/dtrans/source/win32/mtaole/MtaOleClipb.cxx b/dtrans/source/win32/mtaole/MtaOleClipb.cxx
index 62381e6b5ea5..9a8f6557bb0d 100644
--- a/dtrans/source/win32/mtaole/MtaOleClipb.cxx
+++ b/dtrans/source/win32/mtaole/MtaOleClipb.cxx
@@ -617,7 +617,7 @@ LRESULT CMtaOleClipboard::onDrawClipboard( )
aGuard.clear( );
}
- // foward the message to the next viewer in the chain
+ // forward the message to the next viewer in the chain
if ( IsWindow( m_hwndNextClipViewer ) )
{
DWORD dwResult;
diff --git a/dtrans/source/win32/workbench/test_wincb.cxx b/dtrans/source/win32/workbench/test_wincb.cxx
index f8cdfc4e85b9..0dcb2d512a8b 100644
--- a/dtrans/source/win32/workbench/test_wincb.cxx
+++ b/dtrans/source/win32/workbench/test_wincb.cxx
@@ -272,7 +272,7 @@ int SAL_CALL main( int nArgc, char* Argv[] )
OUString rdbName = OUString( RTL_CONSTASCII_USTRINGPARAM( RDB_SYSPATH ) );
Reference< XMultiServiceFactory > g_xFactory( createRegistryServiceFactory( rdbName ) );
- // Print a message if an error occured.
+ // Print a message if an error occurred.
if ( !g_xFactory.is( ) )
{
OSL_ENSURE(sal_False, "Can't create RegistryServiceFactory");
diff --git a/editeng/inc/editeng/AccessibleContextBase.hxx b/editeng/inc/editeng/AccessibleContextBase.hxx
index 676300a7f8e3..2597aa0b5206 100644
--- a/editeng/inc/editeng/AccessibleContextBase.hxx
+++ b/editeng/inc/editeng/AccessibleContextBase.hxx
@@ -51,7 +51,7 @@ struct MutexOwner {mutable ::osl::Mutex maMutex;};
/** @descr
This base class provides an implementation of the
- <type>AccessibleContext</type> service. Appart from the
+ <type>AccessibleContext</type> service. Apart from the
<type>XXAccessible<type> and <type>XAccessibleContextContext</type>
interfaces it supports the <type>XServiceInfo</type> interface.
*/
diff --git a/editeng/inc/editeng/AccessibleStaticTextBase.hxx b/editeng/inc/editeng/AccessibleStaticTextBase.hxx
index ed29070d736b..5f0aad94af1f 100644
--- a/editeng/inc/editeng/AccessibleStaticTextBase.hxx
+++ b/editeng/inc/editeng/AccessibleStaticTextBase.hxx
@@ -119,7 +119,7 @@ namespace accessibility
/** Query the current edit source
@attention This method returns by reference, so you are
- responsible for serialization (typically, you aquired the
+ responsible for serialization (typically, you acquired the
solar mutex when calling this method). Thus, the method
should only be called from the main office thread.
diff --git a/editeng/inc/editeng/editdata.hxx b/editeng/inc/editeng/editdata.hxx
index 5d908f4e5cba..e8aa76c6ffcb 100644
--- a/editeng/inc/editeng/editdata.hxx
+++ b/editeng/inc/editeng/editdata.hxx
@@ -38,7 +38,7 @@ class SvxFieldItem;
enum EETextFormat { EE_FORMAT_TEXT = 0x20, EE_FORMAT_RTF, EE_FORMAT_BIN = 0x31, EE_FORMAT_HTML, EE_FORMAT_XML };
enum EEHorizontalTextDirection { EE_HTEXTDIR_DEFAULT, EE_HTEXTDIR_L2R, EE_HTEXTDIR_R2L };
enum EESelectionMode { EE_SELMODE_STD, EE_SELMODE_TXTONLY, EE_SELMODE_HIDDEN };
- // EE_SELMODE_HIDDEN can be used to completely hide the selection. This is usefull e.g. when you want show the selection
+ // EE_SELMODE_HIDDEN can be used to completely hide the selection. This is useful e.g. when you want show the selection
// only as long as your window (which the edit view works on) has the focus
enum EESpellState { EE_SPELL_OK, EE_SPELL_NOLANGUAGE, EE_SPELL_LANGUAGENOTINSTALLED, EE_SPELL_NOSPELLER, EE_SPELL_ERRORFOUND };
enum EVAnchorMode {
diff --git a/editeng/inc/editeng/hangulhanja.hxx b/editeng/inc/editeng/hangulhanja.hxx
index 9e3c1d62f7d8..9080d99272c1 100644
--- a/editeng/inc/editeng/hangulhanja.hxx
+++ b/editeng/inc/editeng/hangulhanja.hxx
@@ -196,7 +196,7 @@ namespace editeng
<p>pseudo-abstract, needs to be overridden</p>
- <p>Note an important thing about the indicies: They are always relative to the <em>previous
+ <p>Note an important thing about the indices: They are always relative to the <em>previous
call</em> of ReplaceUnit. This means whe you get a call to ReplaceUnit, and replace some text
in your document, than you have to remember the document position immediately <em>behind</em>
the changed text. In a next call to ReplaceUnit, an index of <em>0</em> will denote exactly
diff --git a/editeng/inc/editeng/unoedsrc.hxx b/editeng/inc/editeng/unoedsrc.hxx
index 37b803999b97..22d69bc58d3b 100644
--- a/editeng/inc/editeng/unoedsrc.hxx
+++ b/editeng/inc/editeng/unoedsrc.hxx
@@ -231,7 +231,7 @@ public:
i.e. the one at position n is a special case. Because it does
not represent an existing character its bounding box is
defined in relation to preceding characters. It should be
- rougly equivalent to the bounding box of some character when
+ roughly equivalent to the bounding box of some character when
inserted at the end of the text. Its height typically being
the maximal height of all the characters in the text or the
height of the preceding character, its width being at least
diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
index 26139e7638b0..0f1eafa2d39c 100644
--- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx
+++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
@@ -1554,7 +1554,7 @@ namespace accessibility
for( i = 0; i < nLength; i++ )
pIndices[i] = i;
sort( &pIndices[0], &pIndices[nLength], IndexCompare(pPairs) );
- // create sorted sequences accoring to index array
+ // create sorted sequences according to index array
uno::Sequence<beans::PropertyValue> aNewValues( nLength );
beans::PropertyValue* pNewValues = aNewValues.getArray();
for( i = 0; i < nLength; i++ )
diff --git a/editeng/source/accessibility/AccessibleStaticTextBase.cxx b/editeng/source/accessibility/AccessibleStaticTextBase.cxx
index 6408b10a1c09..a2ea3248f0b6 100644
--- a/editeng/source/accessibility/AccessibleStaticTextBase.cxx
+++ b/editeng/source/accessibility/AccessibleStaticTextBase.cxx
@@ -308,7 +308,7 @@ sal_Unicode cNewLine(0x0a);
throw lang::DisposedException (
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("object has been already disposed")), mxThis );
- // TODO: Have a differnt method on AccessibleEditableTextPara
+ // TODO: Have a different method on AccessibleEditableTextPara
// that does not care about state changes
mpTextParagraph->SetParagraphIndex( nPara );
diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index b15da58cdc74..1ef74fbf95d1 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -330,7 +330,7 @@ void EditEngine::Draw( OutputDevice* pOutDev, const Rectangle& rOutRect, const P
// Immer die Intersect-Methode, weil beim Metafile ein Muss!
if ( bClip )
{
- // Clip only if neccesary...
+ // Clip only if necessary...
if ( !rStartDocPos.X() && !rStartDocPos.Y() &&
( rOutRect.GetHeight() >= (long)GetTextHeight() ) &&
( rOutRect.GetWidth() >= (long)CalcTextWidth() ) )
diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx
index add3689a6524..0ee850104c2d 100644
--- a/editeng/source/editeng/editobj.cxx
+++ b/editeng/source/editeng/editobj.cxx
@@ -648,7 +648,7 @@ BinTextObject::BinTextObject( SfxItemPool* pP ) :
// pool destruction time of an alien pool, the pool is still alive.
// When registering would happen at an alien pool which just uses an
// EditEngineItemPool as some sub-pool, that pool could already
- // be decoupled and deleted whcih would lead to crashes.
+ // be decoupled and deleted which would lead to crashes.
pPool = getEditEngineItemPool(pP);
if ( pPool )
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx
index 14d073c1ad24..7a4c1004fb14 100644
--- a/editeng/source/editeng/editview.cxx
+++ b/editeng/source/editeng/editview.cxx
@@ -108,7 +108,7 @@ LanguageType lcl_CheckLanguage(
if (aTmpLocale.Language == aLocale.Language)
nLang = nTmpLang;
}
- if (nLang == LANGUAGE_NONE) // language not found by looking up the sytem language...
+ if (nLang == LANGUAGE_NONE) // language not found by looking up the system language...
nLang = MsLangId::convertLocaleToLanguageWithFallback( aLocale );
if (nLang == LANGUAGE_SYSTEM)
nLang = nTmpLang;
diff --git a/editeng/source/editeng/eehtml.cxx b/editeng/source/editeng/eehtml.cxx
index d0271d785589..2faa3acba855 100644
--- a/editeng/source/editeng/eehtml.cxx
+++ b/editeng/source/editeng/eehtml.cxx
@@ -65,7 +65,7 @@ EditHTMLParser::EditHTMLParser( SvStream& rIn, const String& rBaseURL, SvKeyValu
DBG_ASSERT( RTL_TEXTENCODING_DONTKNOW == GetSrcEncoding( ), "EditHTMLParser::EditHTMLParser: Where does the encoding come from?" );
DBG_ASSERT( !IsSwitchToUCS2(), "EditHTMLParser::::EditHTMLParser: Switch to UCS2?" );
- // Altough the real default encoding is ISO8859-1, we use MS-1252
+ // Although the real default encoding is ISO8859-1, we use MS-1252
// als default encoding.
SetSrcEncoding( GetExtendedCompatibilityTextEncoding( RTL_TEXTENCODING_ISO_8859_1 ) );
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx
index e2be76461a94..1fc373994d9f 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -254,7 +254,7 @@ void ImpEditView::DrawSelection( EditSelection aTmpSel, Region* pRegion, OutputD
if ( aBottomRight.Y() < GetVisDocTop() )
continue;
- // Now that we have Bidi, the first/last index doesn't have to be the 'most outside' postion
+ // Now that we have Bidi, the first/last index doesn't have to be the 'most outside' position
if ( !bPartOfLine )
{
Range aLineXPosStartEnd = pEditEngine->pImpEditEngine->GetLineXPosStartEnd( pTmpPortion, pLine );
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index fa12ce675005..2adf55cf57fa 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -1776,7 +1776,7 @@ void ImpEditEngine::InitScriptTypes( sal_uInt16 nPara )
if ( ( nScriptType == i18n::ScriptType::WEAK ) || ( nScriptType == rTypes.back().nScriptType ) )
{
- // Expand last ScriptTypePosInfo, don't create weak or unecessary portions
+ // Expand last ScriptTypePosInfo, don't create weak or unnecessary portions
rTypes.back().nEndPos = (sal_uInt16)nEndPos;
}
else
@@ -2045,7 +2045,7 @@ sal_Bool ImpEditEngine::IsRightToLeft( sal_uInt16 nPara ) const
// #103045# if DefaultHorizontalTextDirection is set, use that value, otherwise pool default.
if ( GetDefaultHorizontalTextDirection() != EE_HTEXTDIR_DEFAULT )
{
- pFrameDirItem = NULL; // bR2L allready set to default horizontal text direction
+ pFrameDirItem = NULL; // bR2L already set to default horizontal text direction
}
else
{
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index 27ffd7facbcf..20e94391fc68 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -1037,7 +1037,7 @@ sal_Bool ImpEditEngine::CreateLines( sal_uInt16 nPara, sal_uInt32 nStartPosY )
bBrokenLine = sal_True;
}
// Compression in Fields????
- // I think this could be a little bit difficult and is not very usefull
+ // I think this could be a little bit difficult and is not very useful
bCompressedChars = sal_False;
}
break;
@@ -1247,7 +1247,7 @@ sal_Bool ImpEditEngine::CreateLines( sal_uInt16 nPara, sal_uInt32 nStartPosY )
sal_Bool bCanHyphenate = ( aTmpFont.GetCharSet() != RTL_TEXTENCODING_SYMBOL );
if ( bCompressedChars && pPortion && ( pPortion->GetLen() > 1 ) && pPortion->GetExtraInfos() && pPortion->GetExtraInfos()->bCompressed )
{
- // I need the manipulated DXArray for determining the break postion...
+ // I need the manipulated DXArray for determining the break position...
ImplCalcAsianCompression( pNode, pPortion, nPortionStart, const_cast<sal_Int32*>(( pLine->GetCharPosArray().GetData() + (nPortionStart-pLine->GetStart()) )), 10000, sal_True );
}
if( pPortion )
@@ -1285,7 +1285,7 @@ sal_Bool ImpEditEngine::CreateLines( sal_uInt16 nPara, sal_uInt32 nStartPosY )
for ( sal_uInt16 nP = pLine->GetStartPortion(); nP <= pLine->GetEndPortion(); nP++ )
{
TextPortion* pTP = pParaPortion->GetTextPortions().GetObject( nP );
- // #95819# problem with hard font height attribute, when everthing but the line break has this attribute
+ // #95819# problem with hard font height attribute, when everything but the line break has this attribute
if ( pTP->GetKind() != PORTIONKIND_LINEBREAK )
{
SeekCursor( pNode, nTPos+1, aTmpFont );
@@ -2093,7 +2093,7 @@ void ImpEditEngine::ImpAdjustBlocks( ParaPortion* pParaPortion, EditLine* pLine,
pLastPortion->GetSize().Width()++;
// Correct positions in array
- // Even for kashidas just change positions, VCL will then draw the kashida automaticly
+ // Even for kashidas just change positions, VCL will then draw the kashida automatically
sal_uInt16 nPortionEnd = nPortionStart + pLastPortion->GetLen();
for ( sal_uInt16 _n = nChar; _n < nPortionEnd; _n++ )
{
@@ -4514,17 +4514,17 @@ void ImpEditEngine::ImplInitLayoutMode( OutputDevice* pOutDev, sal_uInt16 nPara,
sal_uLong nLayoutMode = pOutDev->GetLayoutMode();
- // We always use the left postion for DrawText()
+ // We always use the left position for DrawText()
nLayoutMode &= ~(TEXT_LAYOUT_BIDI_RTL);
if ( !bCTL && !bR2L)
{
- // No CTL/Bidi checking neccessary
+ // No CTL/Bidi checking necessary
nLayoutMode |= ( TEXT_LAYOUT_COMPLEX_DISABLED | TEXT_LAYOUT_BIDI_STRONG );
}
else
{
- // CTL/Bidi checking neccessary
+ // CTL/Bidi checking necessary
// Don't use BIDI_STRONG, VCL must do some checks.
nLayoutMode &= ~( TEXT_LAYOUT_COMPLEX_DISABLED | TEXT_LAYOUT_BIDI_STRONG );
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index 9cab2925ecd3..2810ffd2a733 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -2051,7 +2051,7 @@ bool ImpEditEngine::SpellSentence(EditView& rEditView,
//make sure that the sentence is never smaller than the error range!
if(aSentencePaM.Max().GetIndex() < aCurSel.Max().GetIndex())
aSentencePaM.Max() = aCurSel.Max();
- //add the portion preceeding the error
+ //add the portion preceding the error
EditSelection aStartSelection(aSentencePaM.Min(), aCurSel.Min());
if(aStartSelection.HasRange())
AddPortionIterated(rEditView, aStartSelection, 0, rToFill);
@@ -3109,7 +3109,7 @@ EditSelection ImpEditEngine::TransliterateText( const EditSelection& rSelection,
if (rData.nLen != rData.aNewText.Len())
bLenChanged = sal_True;
- // Change text without loosing the attributes
+ // Change text without losing the attributes
sal_uInt16 nDiffs = ReplaceTextOnly( rData.aSelection.Min().GetNode(),
rData.nStart, rData.nLen, rData.aNewText, rData.aOffsets );
@@ -3156,7 +3156,7 @@ short ImpEditEngine::ReplaceTextOnly(
{
(void) nLen;
- // Change text without loosing the attributes
+ // Change text without losing the attributes
sal_uInt16 nCharsAfterTransliteration =
sal::static_int_cast< sal_uInt16 >(rOffsets.getLength());
const sal_Int32* pOffsets = rOffsets.getConstArray();
diff --git a/editeng/source/editeng/textconv.hxx b/editeng/source/editeng/textconv.hxx
index 6cfcd3723827..a493564530e7 100644
--- a/editeng/source/editeng/textconv.hxx
+++ b/editeng/source/editeng/textconv.hxx
@@ -51,7 +51,7 @@ class TextConvWrapper : public editeng::HangulHanjaConversion
sal_Bool bStartDone;
sal_Bool bEndDone;
sal_Bool bAllowChange; // storage for _bAllowImplicitChangesForNotConvertibleText
- // paramters value of function GetNextPortion.
+ // parameters value of function GetNextPortion.
// used to transport the value to where it is needed.
diff --git a/editeng/source/misc/hangulhanja.cxx b/editeng/source/misc/hangulhanja.cxx
index d4794b7b83a6..0af4d3d86342 100644
--- a/editeng/source/misc/hangulhanja.cxx
+++ b/editeng/source/misc/hangulhanja.cxx
@@ -811,7 +811,7 @@ namespace editeng
}
}
- // the proper indicies (the wrapper implementation needs indicies relative to the
+ // the proper indices (the wrapper implementation needs indices relative to the
// previous replacement)
DBG_ASSERT( ( m_nReplacementBaseIndex <= m_nCurrentStartIndex ) && ( m_nReplacementBaseIndex <= m_nCurrentEndIndex ),
"HangulHanjaConversion_Impl::implChange: invalid replacement base!" );
diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx
index 533b186dcf6f..31f289efb0e2 100644
--- a/editeng/source/misc/unolingu.cxx
+++ b/editeng/source/misc/unolingu.cxx
@@ -410,7 +410,7 @@ void SvxLinguConfigUpdate::UpdateAll( sal_Bool bForceCheck )
// otherwise we may miss a new installed extension dicitonary
// just because e.g. the spellchecker is not asked what
// languages it does support currently...
- // Since the check is on-demand occuring and executed once it should
+ // Since the check is on-demand occurring and executed once it should
// not be too troublesome.
// In OOo 3.0 we will not need the respective code anymore at all.
// aAny <<= nCurrentDataFilesChangedCheckValue;
diff --git a/embeddedobj/source/commonembedding/persistence.cxx b/embeddedobj/source/commonembedding/persistence.cxx
index 9b64a4bd7ae3..9cc861ab67ab 100644
--- a/embeddedobj/source/commonembedding/persistence.cxx
+++ b/embeddedobj/source/commonembedding/persistence.cxx
@@ -961,13 +961,13 @@ void SAL_CALL OCommonEmbeddedObject::setPersistentEntry(
&& ( m_nObjectState == -1 || nEntryConnectionMode != embed::EntryInitModes::NO_INIT ) )
{
// if the object is not loaded
- // it can not get persistant representation without initialization
+ // it can not get persistent representation without initialization
// if the object is loaded
- // it can switch persistant representation only without initialization
+ // it can switch persistent representation only without initialization
throw embed::WrongStateException(
- ::rtl::OUString::createFromAscii( "Can't change persistant representation of activated object!\n" ),
+ ::rtl::OUString::createFromAscii( "Can't change persistent representation of activated object!\n" ),
uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) );
}
@@ -1868,7 +1868,7 @@ void SAL_CALL OCommonEmbeddedObject::breakLink( const uno::Reference< embed::XSt
{}
m_pDocHolder->SetComponent( xDocument, m_bReadOnly );
- OSL_ENSURE( m_pDocHolder->GetComponent().is(), "If document cant be created, an exception must be thrown!\n" );
+ OSL_ENSURE( m_pDocHolder->GetComponent().is(), "If document can't be created, an exception must be thrown!\n" );
if ( m_nObjectState == embed::EmbedStates::LOADED )
{
diff --git a/embeddedobj/source/general/dummyobject.cxx b/embeddedobj/source/general/dummyobject.cxx
index b63b6435013c..1ea683513736 100644
--- a/embeddedobj/source/general/dummyobject.cxx
+++ b/embeddedobj/source/general/dummyobject.cxx
@@ -330,7 +330,7 @@ void SAL_CALL ODummyEmbeddedObject::setPersistentEntry(
&& ( m_nObjectState == -1 || nEntryConnectionMode != embed::EntryInitModes::NO_INIT ) )
{
throw embed::WrongStateException(
- ::rtl::OUString::createFromAscii( "Can't change persistant representation of activated object!\n" ),
+ ::rtl::OUString::createFromAscii( "Can't change persistent representation of activated object!\n" ),
uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) );
}
diff --git a/embeddedobj/source/inc/commonembobj.hxx b/embeddedobj/source/inc/commonembobj.hxx
index c23542272afe..29c024ee981f 100644
--- a/embeddedobj/source/inc/commonembobj.hxx
+++ b/embeddedobj/source/inc/commonembobj.hxx
@@ -100,7 +100,7 @@ protected:
sal_Bool m_bClosed;
sal_Int32 m_nObjectState;
- sal_Int32 m_nTargetState; // should be -1 exept during state changing
+ sal_Int32 m_nTargetState; // should be -1 except during state changing
sal_Int32 m_nUpdateMode;
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xFactory;
@@ -239,7 +239,7 @@ public:
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xFactory,
const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& aObjectProps );
- // no persistance for linked objects, so the descriptors are provided in constructor
+ // no persistence for linked objects, so the descriptors are provided in constructor
OCommonEmbeddedObject(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xFactory,
const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& aObjectProps,
diff --git a/embeddedobj/source/msole/olecomponent.cxx b/embeddedobj/source/msole/olecomponent.cxx
index c8540951abf3..46b33eec2f1f 100644
--- a/embeddedobj/source/msole/olecomponent.cxx
+++ b/embeddedobj/source/msole/olecomponent.cxx
@@ -268,7 +268,7 @@ HRESULT OpenIStorageFromURL_Impl( const ::rtl::OUString& aURL, IStorage** ppISto
::rtl::OUString aFilePath;
if ( !ppIStorage || ::osl::FileBase::getSystemPathFromFileURL( aURL, aFilePath ) != ::osl::FileBase::E_None )
- throw uno::RuntimeException(); // TODO: something dangerous happend
+ throw uno::RuntimeException(); // TODO: something dangerous happened
return StgOpenStorage( reinterpret_cast<LPCWSTR>(aFilePath.getStr()),
NULL,
@@ -574,7 +574,7 @@ void OleComponent::CreateNewIStorage_Impl()
// open an IStorage based on the temporary file
::rtl::OUString aTempFilePath;
if ( ::osl::FileBase::getSystemPathFromFileURL( aTempURL, aTempFilePath ) != ::osl::FileBase::E_None )
- throw uno::RuntimeException(); // TODO: something dangerous happend
+ throw uno::RuntimeException(); // TODO: something dangerous happened
HRESULT hr = StgCreateDocfile( reinterpret_cast<LPCWSTR>(aTempFilePath.getStr()), STGM_CREATE | STGM_READWRITE | STGM_TRANSACTED | STGM_DELETEONRELEASE, 0, &m_pNativeImpl->m_pIStorage );
if ( FAILED( hr ) || !m_pNativeImpl->m_pIStorage )
@@ -675,7 +675,7 @@ sal_Bool OleComponent::InitializeObject_Impl()
if ( FAILED( hr ) || !m_pNativeImpl->m_pViewObject2 )
return sal_False;
- // not realy needed for now, since object is updated on saving
+ // not really needed for now, since object is updated on saving
// m_pNativeImpl->m_pViewObject2->SetAdvise( DVASPECT_CONTENT, 0, m_pImplAdviseSink );
// remove all the caches
@@ -846,7 +846,7 @@ void OleComponent::CreateObjectFromFile( const ::rtl::OUString& aFileURL )
::rtl::OUString aFilePath;
if ( ::osl::FileBase::getSystemPathFromFileURL( aFileURL, aFilePath ) != ::osl::FileBase::E_None )
- throw uno::RuntimeException(); // TODO: something dangerous happend
+ throw uno::RuntimeException(); // TODO: something dangerous happened
HRESULT hr = OleCreateFromFile( CLSID_NULL,
reinterpret_cast<LPCWSTR>(aFilePath.getStr()),
@@ -876,7 +876,7 @@ void OleComponent::CreateLinkFromFile( const ::rtl::OUString& aFileURL )
::rtl::OUString aFilePath;
if ( ::osl::FileBase::getSystemPathFromFileURL( aFileURL, aFilePath ) != ::osl::FileBase::E_None )
- throw uno::RuntimeException(); // TODO: something dangerous happend
+ throw uno::RuntimeException(); // TODO: something dangerous happened
HRESULT hr = OleCreateLinkToFile( reinterpret_cast<LPCWSTR>(aFilePath.getStr()),
IID_IUnknown,
diff --git a/embeddedobj/source/msole/oleembed.cxx b/embeddedobj/source/msole/oleembed.cxx
index cf6b01ca98b0..31b927a833e2 100644
--- a/embeddedobj/source/msole/oleembed.cxx
+++ b/embeddedobj/source/msole/oleembed.cxx
@@ -398,7 +398,7 @@ sal_Bool OleEmbeddedObject::TryToConvertToOOo()
close( sal_True );
} catch( uno::Exception& ) {}
- m_xParentStorage->dispose(); // ??? the storage has information loss, it should be closed without commiting!
+ m_xParentStorage->dispose(); // ??? the storage has information loss, it should be closed without committing!
throw uno::RuntimeException(); // the repairing is not possible
}
case 2:
diff --git a/embeddedobj/source/msole/olepersist.cxx b/embeddedobj/source/msole/olepersist.cxx
index f1f36dafd586..38790e42ff76 100644
--- a/embeddedobj/source/msole/olepersist.cxx
+++ b/embeddedobj/source/msole/olepersist.cxx
@@ -1417,13 +1417,13 @@ void SAL_CALL OleEmbeddedObject::setPersistentEntry(
&& ( m_nObjectState == -1 || nEntryConnectionMode != embed::EntryInitModes::NO_INIT ) )
{
// if the object is not loaded
- // it can not get persistant representation without initialization
+ // it can not get persistent representation without initialization
// if the object is loaded
- // it can switch persistant representation only without initialization
+ // it can switch persistent representation only without initialization
throw embed::WrongStateException(
- ::rtl::OUString::createFromAscii( "Can't change persistant representation of activated object!\n" ),
+ ::rtl::OUString::createFromAscii( "Can't change persistent representation of activated object!\n" ),
uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) );
}
diff --git a/embeddedobj/test/Container1/EmbedContApp.java b/embeddedobj/test/Container1/EmbedContApp.java
index 53b42d0270d1..764a33c815a6 100644
--- a/embeddedobj/test/Container1/EmbedContApp.java
+++ b/embeddedobj/test/Container1/EmbedContApp.java
@@ -564,7 +564,7 @@ public class EmbedContApp extends Applet
{
if ( m_xStorage != null && m_xEmbedObj != null )
{
- // if has persistance store there
+ // if has persistence store there
// if not it is and error, SaveAs had to be used
if ( m_bOwnFile )
@@ -1047,7 +1047,7 @@ public class EmbedContApp extends Applet
public void actionPerformed( ActionEvent e )
{
- // if has persistance store there
+ // if has persistence store there
// if not open SaveAs dialog and store
if ( m_xStorage != null && m_xEmbedObj != null )
{
diff --git a/embeddedobj/test/Container1/NativeView.java b/embeddedobj/test/Container1/NativeView.java
index 46d92dfda4d5..f4bc3647f971 100644
--- a/embeddedobj/test/Container1/NativeView.java
+++ b/embeddedobj/test/Container1/NativeView.java
@@ -48,7 +48,7 @@ public class NativeView extends java.awt.Canvas
/**
* ctor
- * Does nothing realy.
+ * Does nothing really.
* We can use our JNI mechanism for an already visible
* canvas only. So we overload the method for showing ( "setVisible()" )
* and make our intialization there. BUt we try to show an empty clean
@@ -64,8 +64,8 @@ public class NativeView extends java.awt.Canvas
// ____________________
/**
- * Overload this method to make neccessary initializations here.
- * ( e.g. get the window handle and neccessary system informations )
+ * Overload this method to make necessary initializations here.
+ * ( e.g. get the window handle and necessary system informations )
*
* Why here?
* Because the handle seams to be available for already visible windows
@@ -83,7 +83,7 @@ public class NativeView extends java.awt.Canvas
/**
* to guarantee right resize handling inside a swing container
* ( e.g. JSplitPane ) we must provide some informations about our
- * prefered/minimum and maximum size.
+ * preferred/minimum and maximum size.
*/
public Dimension getPreferredSize()
{
@@ -104,7 +104,7 @@ public class NativeView extends java.awt.Canvas
/**
* overload paint routine to show provide against
- * repaint errors if no office view is realy plugged
+ * repaint errors if no office view is really plugged
* into this canvas.
* If handle is present - we shouldn't paint anything further.
* May the remote window is already plugged. In such case we
@@ -153,7 +153,7 @@ public class NativeView extends java.awt.Canvas
// ____________________
/**
- * for using of the JNI methods it's neccessary to load
+ * for using of the JNI methods it's necessary to load
* system library which exports it.
*/
static
diff --git a/embeddedobj/test/MainThreadExecutor/xexecutor.cxx b/embeddedobj/test/MainThreadExecutor/xexecutor.cxx
index 12f37e20961b..ba0eb2f9e678 100644
--- a/embeddedobj/test/MainThreadExecutor/xexecutor.cxx
+++ b/embeddedobj/test/MainThreadExecutor/xexecutor.cxx
@@ -83,7 +83,7 @@ uno::Any SAL_CALL UNOMainThreadExecutor::execute( const uno::Sequence< beans::Na
// while( !pExecutor->isExecuted() )
// ::osl::Thread::yield();
- // TODO: implement transfering of the return values and exceptions
+ // TODO: implement transferring of the return values and exceptions
return uno::Any();
}
diff --git a/embedserv/source/embed/docholder.cxx b/embedserv/source/embed/docholder.cxx
index b71250ef5be0..90ddebd473d3 100644
--- a/embedserv/source/embed/docholder.cxx
+++ b/embedserv/source/embed/docholder.cxx
@@ -1259,7 +1259,7 @@ HRESULT DocumentHolder::SetExtent( const SIZEL *pSize )
// TODO/LATER: in future UNO API should be used for the conversion, currently there is no
if ( aMapMode == embed::EmbedMapUnits::TWIP )
{
- // convertion from ONE_100TH_MM
+ // conversion from ONE_100TH_MM
aNewSize.Width = aNewSize.Width * 144 / 254;
aNewSize.Height = aNewSize.Height * 144 / 254;
}
@@ -1293,7 +1293,7 @@ HRESULT DocumentHolder::GetExtent( SIZEL *pSize )
// TODO/LATER: in future UNO API should be used for the conversion, currently there is no
if ( aMapMode == embed::EmbedMapUnits::TWIP )
{
- // convertion to ONE_100TH_MM
+ // conversion to ONE_100TH_MM
aDocSize.Width = aDocSize.Width * 254 / 144;
aDocSize.Height = aDocSize.Height * 254 / 144;
}
diff --git a/embedserv/source/embed/ed_ioleobject.cxx b/embedserv/source/embed/ed_ioleobject.cxx
index 8268a61f2c00..31e2fab6acff 100644
--- a/embedserv/source/embed/ed_ioleobject.cxx
+++ b/embedserv/source/embed/ed_ioleobject.cxx
@@ -202,7 +202,7 @@ STDMETHODIMP EmbedDocument_Impl::DoVerb(
case OLEIVERB_OPEN:
OSL_ENSURE(m_pDocHolder,"no document to open");
- // the commented code could be usefull in case
+ // the commented code could be useful in case
// outer window would be resized depending from inner one
// RECTL aEmbArea;
// m_pDocHolder->GetVisArea( &aEmbArea );
diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx
index a2084b8ec073..2d03ac1b82b4 100644
--- a/extensions/source/bibliography/framectr.cxx
+++ b/extensions/source/bibliography/framectr.cxx
@@ -408,7 +408,7 @@ sal_Bool BibFrameController_Impl::SaveModified(const Reference< form::runtime::X
}
catch(Exception&)
{
- DBG_ERROR("SaveModified: Exception occured!");
+ DBG_ERROR("SaveModified: Exception occurred!");
}
bInserted = bIsNew && bResult;
diff --git a/extensions/source/inc/componentmodule.hxx b/extensions/source/inc/componentmodule.hxx
index dd0795f1e424..216722f41be8 100644
--- a/extensions/source/inc/componentmodule.hxx
+++ b/extensions/source/inc/componentmodule.hxx
@@ -24,7 +24,7 @@
#ifndef _EXTENSIONS_COMPONENT_MODULE_HXX_
#define _EXTENSIONS_COMPONENT_MODULE_HXX_
-/** you may find this file helpfull if you implement a component (in it's own library) which can't use
+/** you may find this file helpful if you implement a component (in it's own library) which can't use
the usual infrastructure.<br/>
More precise, you find helper classes to ease the use of resources and the registration of services.
<p>
diff --git a/extensions/source/logging/loghandler.hxx b/extensions/source/logging/loghandler.hxx
index 1d383eb13f9b..ca96a8fdc109 100644
--- a/extensions/source/logging/loghandler.hxx
+++ b/extensions/source/logging/loghandler.hxx
@@ -118,13 +118,13 @@ namespace logging
/** retrieves our formatter's heading, encoded with our encoding
- @return <TRUE/> in case of success, <FALSE/> if any error occured
+ @return <TRUE/> in case of success, <FALSE/> if any error occurred
*/
bool getEncodedHead( ::rtl::OString& _out_rHead ) const;
/** retrieves our formatter's tail, encoded with our encoding
- @return <TRUE/> in case of success, <FALSE/> if any error occured
+ @return <TRUE/> in case of success, <FALSE/> if any error occurred
*/
bool getEncodedTail( ::rtl::OString& _out_rTail ) const;
diff --git a/extensions/source/macosx/spotlight/OOoContentDataParser.m b/extensions/source/macosx/spotlight/OOoContentDataParser.m
index d9e3a452563c..39f37afbeb32 100644
--- a/extensions/source/macosx/spotlight/OOoContentDataParser.m
+++ b/extensions/source/macosx/spotlight/OOoContentDataParser.m
@@ -106,7 +106,7 @@
- (void)parser:(NSXMLParser *)parser parseErrorOccurred:(NSError *)parseError
{
//NSLog(@"parsing finished with error");
- NSLog([NSString stringWithFormat:@"An error occured parsing the document. (Error %i, Description: %@, Line: %i, Column: %i)", [parseError code],
+ NSLog([NSString stringWithFormat:@"An error occurred parsing the document. (Error %i, Description: %@, Line: %i, Column: %i)", [parseError code],
[[parser parserError] localizedDescription], [parser lineNumber],
[parser columnNumber]]);
diff --git a/extensions/source/macosx/spotlight/unzip.h b/extensions/source/macosx/spotlight/unzip.h
index 90d234a5267c..5bcf349def09 100644
--- a/extensions/source/macosx/spotlight/unzip.h
+++ b/extensions/source/macosx/spotlight/unzip.h
@@ -143,8 +143,8 @@ extern int ZEXPORT unzStringFileNameCompare OF ((const char* fileName1,
int iCaseSensitivity));
/*
Compare two filename (fileName1,fileName2).
- If iCaseSenisivity = 1, comparision is case sensitivity (like strcmp)
- If iCaseSenisivity = 2, comparision is not case sensitivity (like strcmpi
+ If iCaseSenisivity = 1, comparison is case sensitivity (like strcmp)
+ If iCaseSenisivity = 2, comparison is not case sensitivity (like strcmpi
or strcasecmp)
If iCaseSenisivity = 0, case sensitivity is defaut of your operating system
(like 1 on Unix, 2 on Windows)
diff --git a/extensions/source/macosx/spotlight/unzip.m b/extensions/source/macosx/spotlight/unzip.m
index 9c5b58ddf7ac..79035803ff2c 100644
--- a/extensions/source/macosx/spotlight/unzip.m
+++ b/extensions/source/macosx/spotlight/unzip.m
@@ -176,7 +176,7 @@ typedef struct
/* ===========================================================================
Read a byte from a gz_stream; update next_in and avail_in. Return EOF
for end of file.
- IN assertion: the stream s has been sucessfully opened for reading.
+ IN assertion: the stream s has been successfully opened for reading.
*/
@@ -312,8 +312,8 @@ local int strcmpcasenosensitive_internal (fileName1,fileName2)
/*
Compare two filename (fileName1,fileName2).
- If iCaseSenisivity = 1, comparision is case sensitivity (like strcmp)
- If iCaseSenisivity = 2, comparision is not case sensitivity (like strcmpi
+ If iCaseSenisivity = 1, comparison is case sensitivity (like strcmp)
+ If iCaseSenisivity = 2, comparison is not case sensitivity (like strcmpi
or strcasecmp)
If iCaseSenisivity = 0, case sensitivity is defaut of your operating system
(like 1 on Unix, 2 on Windows)
diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx
index d17883b712ec..2b1bfcff51f1 100644
--- a/extensions/source/ole/unoconversionutilities.hxx
+++ b/extensions/source/ole/unoconversionutilities.hxx
@@ -1026,7 +1026,7 @@ void UnoConversionUtilities<T>::anyToVariant(VARIANT* pVariant, const Any& rAny)
}
// Creates an SAFEARRAY of the specified element and if necessary
-// creates a SAFEARRAY whith multiple dimensions.
+// creates a SAFEARRAY with multiple dimensions.
// Used by sal_Bool anyToVariant(VARIANT* pVariant, const Any& rAny, VARTYPE type);
template<class T>
SAFEARRAY* UnoConversionUtilities<T>::createUnoSequenceWrapper(const Any& rSeq, VARTYPE elemtype)
@@ -1255,7 +1255,7 @@ size_t UnoConversionUtilities<T>::getOleElementSize( VARTYPE type)
// param rSeq - an Any that has to contain a Sequence
// param dim - the dimension for which the number of elements is being determined,
// must be one.
-// param seqElementCounts - countains the maximum number of elements for each
+// param seqElementCounts - contains the maximum number of elements for each
// dimension. Index 0 contains the number of dimension one.
// After return the Sequence contains the maximum number of
// elements for each dimension.
@@ -1403,7 +1403,7 @@ void UnoConversionUtilities<T>::createUnoObjectWrapper(const Any & rObj, VARIANT
}
}
// Is the object a COM wrapper ( either XInvocation, or Adapter object)
- // or does it suppy an IDispatch by its own ?
+ // or does it supply an IDispatch by its own ?
else
{
Reference<XInterface> xIntComWrapper = xInt;
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx
index eb2323e7ab71..50ff7d65872e 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -326,7 +326,7 @@ STDMETHODIMP InterfaceOleWrapper_Impl::GetIDsOfNames(REFIID /*riid*/,
// A. Type Information
// -----------------------------------------------------------------------------
// With the help of type information the kind of parameter can be exactly determined
-// and an appropriate conversion can be choosen. A problem arises if a method expects
+// and an appropriate conversion can be chosen. A problem arises if a method expects
// an Any. Then the type info does not tell what the type of the value, that is kept
// by the any, should be. In this situation the decision wheter the param is a
// sequence or an object is made upon the fact if the object has a property "0"
@@ -344,7 +344,7 @@ STDMETHODIMP InterfaceOleWrapper_Impl::GetIDsOfNames(REFIID /*riid*/,
// can easily find out that a param is such an object by queriing for the
// IJScriptValue interface. By this interface one the type and kind ( out, in/out)
// can be determined and the right conversion can be applied.
-// Using ValueObjects we spare us the effort of aquiring and examining type information
+// Using ValueObjects we spare us the effort of acquiring and examining type information
// in order to figure out what the an IDispatch parameter is meant for.
// Normal JScript object parameter can be mixed with JScriptValue object. If an
@@ -1662,7 +1662,7 @@ static HRESULT mapCannotConvertException( CannotConvertException e, unsigned int
// is VT_DISPATCH. The function is used from o2u_createUnoObjectWrapper
// and the result is put into the constructor of the uno - wrapper
// object. If a client asks the object for DISPID_VALUE and this
-// funtion returned VT_DISPATCH then the IDispatch of the same
+// function returned VT_DISPATCH then the IDispatch of the same
// object is being returned.
// See InterfaceOleWrapper_Impl::Invoke, InterfaceOleWrapper_Impl::m_defaultValueType
const VARTYPE getVarType( const Any& value)
diff --git a/extensions/source/oooimprovement/myconfigurationhelper.hxx b/extensions/source/oooimprovement/myconfigurationhelper.hxx
index f2d9b2f72090..e6f4a43cdb7d 100644
--- a/extensions/source/oooimprovement/myconfigurationhelper.hxx
+++ b/extensions/source/oooimprovement/myconfigurationhelper.hxx
@@ -39,7 +39,7 @@ namespace oooimprovement
#error css defined globally
#endif
#define css ::com::sun::star
- // Copy from comphelper module, we cant use that directly from an extension
+ // Copy from comphelper module, we can't use that directly from an extension
class MyConfigurationHelper
{
public:
@@ -82,7 +82,7 @@ namespace oooimprovement
*
* @param eMode
* specify the open mode for the returned configuration access.
- * It's interpreted as a flag field and can be any usefull combination
+ * It's interpreted as a flag field and can be any useful combination
* of values of EConfigurationModes.
*
* @throw css::uno::Any exceptions the underlying configuration can throw.
@@ -177,7 +177,7 @@ namespace oooimprovement
* Because it opens the specified configuration package, reads the key and
* closes the configuration again.
*
- * So its not very usefull to use this method for reading multiple keys at the same time.
+ * So its not very useful to use this method for reading multiple keys at the same time.
* (Excepting these keys exists inside different configuration packages ...))
*/
static css::uno::Any readDirectKey(
@@ -194,7 +194,7 @@ namespace oooimprovement
* Because it opens the specified configuration package, writes the key, flush
* all changes and closes the configuration again.
*
- * So its not very usefull to use this method for writing multiple keys at the same time.
+ * So its not very useful to use this method for writing multiple keys at the same time.
* (Excepting these keys exists inside different configuration packages ...))
*/
static void writeDirectKey(
diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx
index 607d4155fde3..865e9e405cc9 100644
--- a/extensions/source/propctrlr/browserlistbox.cxx
+++ b/extensions/source/propctrlr/browserlistbox.cxx
@@ -167,7 +167,7 @@ namespace pcr
*/
void SAL_CALL dispose();
- /** sets the notification mode, so that notifications recieved from the controls are
+ /** sets the notification mode, so that notifications received from the controls are
forwarded to our IControlContext either synchronously or asynchronously
@param _eMode
the new notification mode
diff --git a/extensions/source/propctrlr/cellbindinghandler.hxx b/extensions/source/propctrlr/cellbindinghandler.hxx
index fccd9029dfef..9b1369cb4c52 100644
--- a/extensions/source/propctrlr/cellbindinghandler.hxx
+++ b/extensions/source/propctrlr/cellbindinghandler.hxx
@@ -86,7 +86,7 @@ namespace pcr
However, it can also result in a more complex change: The current (UI) state might
depend on the value of more than one other property. Those dependent properties (their
- UI, more precisly) are updated in this method.
+ UI, more precisely) are updated in this method.
@param _nPropid
the ->PropertyId of the dependent property whose UI state is to be updated
diff --git a/extensions/source/propctrlr/cellbindinghelper.hxx b/extensions/source/propctrlr/cellbindinghelper.hxx
index 08c45f6a1b05..dbbbdd42f262 100644
--- a/extensions/source/propctrlr/cellbindinghelper.hxx
+++ b/extensions/source/propctrlr/cellbindinghelper.hxx
@@ -116,7 +116,7 @@ namespace pcr
@precond
The binding is a valid cell binding, or <NULL/>
@return
- <FALSE/> if and only if an error occured and no valid address could be obtained
+ <FALSE/> if and only if an error occurred and no valid address could be obtained
@see isCellBinding
*/
bool getAddressFromCellBinding(
@@ -200,7 +200,7 @@ namespace pcr
) const;
/** retrieves the index of the sheet which our control belongs to
- @return the index of the sheet which our control belongs to or -1, if an error occured
+ @return the index of the sheet which our control belongs to or -1, if an error occurred
*/
sal_Int16 getControlSheetIndex(
::com::sun::star::uno::Reference< ::com::sun::star::sheet::XSpreadsheet >& _out_rxSheet
@@ -265,7 +265,7 @@ namespace pcr
the AddressConversion service
@return
- <TRUE/> if any only if the conversion was successfull
+ <TRUE/> if any only if the conversion was successful
@see com::sun::star::table::CellAddressConversion
@see com::sun::star::table::CellRangeAddressConversion
diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx
index 0c2f4b0da7de..36e2d2f48809 100644
--- a/extensions/source/propctrlr/eventhandler.cxx
+++ b/extensions/source/propctrlr/eventhandler.cxx
@@ -914,7 +914,7 @@ namespace pcr
pEventHolder->addEvent( event->second.nId, event->second.sListenerMethodName, aAssignedScript );
}
- // the inital selection in the dialog
+ // the initial selection in the dialog
Sequence< ::rtl::OUString > aNames( pEventHolder->getElementNames() );
const ::rtl::OUString* pChosenEvent = ::std::find( aNames.getConstArray(), aNames.getConstArray() + aNames.getLength(), rForEvent.sListenerMethodName );
sal_uInt16 nInitialSelection = (sal_uInt16)( pChosenEvent - aNames.getConstArray() );
diff --git a/extensions/source/propctrlr/eventhandler.hxx b/extensions/source/propctrlr/eventhandler.hxx
index efd650245c69..6edc3b064290 100644
--- a/extensions/source/propctrlr/eventhandler.hxx
+++ b/extensions/source/propctrlr/eventhandler.hxx
@@ -147,7 +147,7 @@ namespace pcr
private:
/** returns the script events associated with our introspectee
@param _out_rEvents
- Takes, upon successfull return, the events currently associated with the introspectee
+ Takes, upon successful return, the events currently associated with the introspectee
@precond
Our introspectee is a form component
*/
@@ -157,7 +157,7 @@ namespace pcr
/** returns the script events associated with our introspectee
@param _out_rEvents
- Takes, upon successfull return, the events currently associated with the introspectee
+ Takes, upon successful return, the events currently associated with the introspectee
@precond
Our introspectee is a dialog element
*/
@@ -181,7 +181,7 @@ namespace pcr
/** returns the types of the listeners which can be registered at our introspectee
@param _out_rTypes
- Takes, upon successfull return, the types of possible listeners at the introspectee
+ Takes, upon successful return, the types of possible listeners at the introspectee
*/
void impl_getCopmonentListenerTypes_nothrow(
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >& _out_rTypes
diff --git a/extensions/source/propctrlr/fontdialog.cxx b/extensions/source/propctrlr/fontdialog.cxx
index e7d2eb263899..0b0fdb50bb75 100644
--- a/extensions/source/propctrlr/fontdialog.cxx
+++ b/extensions/source/propctrlr/fontdialog.cxx
@@ -575,7 +575,7 @@ namespace pcr
const SvxFontListItem& rFontListItem = static_cast<const SvxFontListItem&>(_rpPool->GetDefaultItem(CFID_FONTLIST));
const FontList* pFontList = rFontListItem.GetFontList();
- // _first_ delete the set (refering the pool)
+ // _first_ delete the set (referring the pool)
if (_rpSet)
{
delete _rpSet;
diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx
index 12f443a03e45..40915c92e56f 100644
--- a/extensions/source/propctrlr/formcomponenthandler.cxx
+++ b/extensions/source/propctrlr/formcomponenthandler.cxx
@@ -2439,7 +2439,7 @@ namespace pcr
{
DBG_ERROR( "FormComponentPropertyHandler::impl_ensureRowsetConnection_nothrow: caught an exception during error handling!" );
}
- // additional info about what happended
+ // additional info about what happened
String sInfo( PcrRes( RID_STR_UNABLETOCONNECT ) );
INetURLObject aParser( sDataSourceName );
if ( aParser.GetProtocol() != INET_PROT_NOT_VALID )
diff --git a/extensions/source/propctrlr/formcomponenthandler.hxx b/extensions/source/propctrlr/formcomponenthandler.hxx
index 1337ea707e16..3bb0faf65865 100644
--- a/extensions/source/propctrlr/formcomponenthandler.hxx
+++ b/extensions/source/propctrlr/formcomponenthandler.hxx
@@ -405,7 +405,7 @@ namespace pcr
However, it can also result in a more complex change: The current (UI) state might
depend on the value of more than one other property. Those dependent properties (their
- UI, more precisly) are updated in this method.
+ UI, more precisely) are updated in this method.
@param _nPropid
the ->PropertyId of the dependent property whose UI state is to be updated
diff --git a/extensions/source/propctrlr/pcrcomponentcontext.hxx b/extensions/source/propctrlr/pcrcomponentcontext.hxx
index 08f9a1c5ef34..8e518bf8a3bb 100644
--- a/extensions/source/propctrlr/pcrcomponentcontext.hxx
+++ b/extensions/source/propctrlr/pcrcomponentcontext.hxx
@@ -97,7 +97,7 @@ namespace pcr
@throws ::com::sun::star::lang::ServiceNotRegisteredException
if the given service is not registered
@throws Exception
- if an exception occured during creating the component
+ if an exception occurred during creating the component
@return
the newly created component. Is never <NULL/>.
*/
@@ -108,7 +108,7 @@ namespace pcr
@throws ::com::sun::star::lang::ServiceNotRegisteredException
if the given service is not registered
@throws Exception
- if an exception occured during creating the component
+ if an exception occurred during creating the component
@return
the newly created component. Is never <NULL/>.
*/
diff --git a/extensions/source/scanner/twain.cxx b/extensions/source/scanner/twain.cxx
index 19f1d77222ad..8efdce688ed7 100644
--- a/extensions/source/scanner/twain.cxx
+++ b/extensions/source/scanner/twain.cxx
@@ -401,7 +401,7 @@ void ImpTwain::ImplXfer()
GlobalFree( (HGLOBAL) hDIB );
#endif // OS2
- // set resolution of bitmap if neccessary
+ // set resolution of bitmap if necessary
if ( ( nXRes != -1 ) && ( nYRes != - 1 ) && ( nWidth != - 1 ) && ( nHeight != - 1 ) )
{
const MapMode aMapMode( MAP_100TH_INCH, Point(), Fraction( 100, nXRes ), Fraction( 100, nYRes ) );
diff --git a/extensions/source/update/check/download.cxx b/extensions/source/update/check/download.cxx
index 070bdeeba795..0e3ea017a239 100644
--- a/extensions/source/update/check/download.cxx
+++ b/extensions/source/update/check/download.cxx
@@ -270,7 +270,7 @@ bool curl_run(const rtl::OUString& rURL, OutData& out, const rtl::OString& aProx
curl_easy_setopt(pCURL, CURLOPT_WRITEDATA, &out);
curl_easy_setopt(pCURL, CURLOPT_WRITEFUNCTION, &write_function);
- // progress handler - Condition::check unfortunatly is not defined const
+ // progress handler - Condition::check unfortunately is not defined const
curl_easy_setopt(pCURL, CURLOPT_NOPROGRESS, 0);
curl_easy_setopt(pCURL, CURLOPT_PROGRESSFUNCTION, &progress_callback);
curl_easy_setopt(pCURL, CURLOPT_PROGRESSDATA, &out);
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx
index 642d7940291f..f2d00b2fad01 100644
--- a/extensions/source/update/check/updatecheck.cxx
+++ b/extensions/source/update/check/updatecheck.cxx
@@ -820,7 +820,7 @@ UpdateCheck::initialize(const uno::Sequence< beans::NamedValue >& rValues,
if( nDownloadSize > 0 )
{
- if ( nDownloadSize <= nFileSize ) // we have already downloaded everthing
+ if ( nDownloadSize <= nFileSize ) // we have already downloaded everything
{
bContinueDownload = false;
bDownloadAvailable = true;
diff --git a/extensions/source/update/check/updatecheckconfig.hxx b/extensions/source/update/check/updatecheckconfig.hxx
index 926efbf9cee8..27262b2cb0cc 100755
--- a/extensions/source/update/check/updatecheckconfig.hxx
+++ b/extensions/source/update/check/updatecheckconfig.hxx
@@ -32,7 +32,7 @@
#include "updatecheckconfiglistener.hxx"
#include "updateinfo.hxx"
-/* Interface to acess configuration data read-only */
+/* Interface to access configuration data read-only */
struct IByNameAccess
{
virtual ::com::sun::star::uno::Any getValue(const sal_Char * pName) = 0;
@@ -217,7 +217,7 @@ T getValue( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Name
{
for( sal_Int32 n=0; n < rNamedValues.getLength(); n++ )
{
- // Unfortunatly gcc-3.3 does not like Any.get<T>();
+ // Unfortunately gcc-3.3 does not like Any.get<T>();
if( rNamedValues[n].Name.equalsAscii( pszName ) )
{
T value = T();
diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx
index cb93496f3d7e..7fc0cb686d3a 100644
--- a/extensions/source/update/ui/updatecheckui.cxx
+++ b/extensions/source/update/ui/updatecheckui.cxx
@@ -772,7 +772,7 @@ IMPL_LINK( UpdateCheckUI, WindowEventHdl, VclWindowEvent*, pEvent )
Point aWinPos = aIconRect.BottomCenter();
mpBubbleWin->SetTipPosPixel( aWinPos );
if ( mpBubbleWin->IsVisible() )
- mpBubbleWin->Show(); // This will recalc the screen positon of the bubble
+ mpBubbleWin->Show(); // This will recalc the screen position of the bubble
}
}
diff --git a/extensions/test/ole/OleConverterVar1/convTest.cxx b/extensions/test/ole/OleConverterVar1/convTest.cxx
index 90d952213fc5..6e2dd2388be1 100644
--- a/extensions/test/ole/OleConverterVar1/convTest.cxx
+++ b/extensions/test/ole/OleConverterVar1/convTest.cxx
@@ -156,7 +156,7 @@ HRESULT doTest()
varParam1.vt= VT_I1 | VT_BYREF;
varParam1.plVal= &value;
- // Testing the caching of DISPIDs and the process of aquiring member information
+ // Testing the caching of DISPIDs and the process of acquiring member information
// on demand in IDispatch::Invoke
// Step through the corresponding IDispatch implementation of the ole bridge
hr= oletest.Invoke1(static_cast<LPCOLESTR>(L"testinout_methodByte"), &varParam1, &varRet);
diff --git a/extensions/test/ole/StarBasic_OleClient/oleclient.bas b/extensions/test/ole/StarBasic_OleClient/oleclient.bas
index b2783e549c65..41fe415fedbd 100644
--- a/extensions/test/ole/StarBasic_OleClient/oleclient.bas
+++ b/extensions/test/ole/StarBasic_OleClient/oleclient.bas
@@ -498,7 +498,7 @@ If outSCode.Value <> scode_paramNotFound.Value Or inLong2 <> outLong2 _
Exit Function
End If
-'mixed positional and named args with ommitted args as out -args
+'mixed positional and named args with omitted args as out -args
inLong = 1
inLong2 = 2
inLong3 = 3
diff --git a/external/mingwheaders/mingw_atl_headers.patch b/external/mingwheaders/mingw_atl_headers.patch
index bbcbb84fd233..97bb78b4cec4 100644
--- a/external/mingwheaders/mingw_atl_headers.patch
+++ b/external/mingwheaders/mingw_atl_headers.patch
@@ -1634,9 +1634,9 @@
return hRes;
}
--__declspec(selectany) LPCTSTR CRegParser::rgszNeverDelete[] = //Component Catagories
+-__declspec(selectany) LPCTSTR CRegParser::rgszNeverDelete[] = //Component Categories
+#ifdef _INIT_ATL_COMMON_VARS
-+LPCTSTR CRegParser::rgszNeverDelete[] = //Component Catagories
++LPCTSTR CRegParser::rgszNeverDelete[] = //Component Categories
{
_T("CLSID"), _T("TYPELIB")
};
diff --git a/extras/source/misc_config/wizard/web/layouts/frame_bottom/tocframe.html.xsl b/extras/source/misc_config/wizard/web/layouts/frame_bottom/tocframe.html.xsl
index 02ad1fe6ef60..370500a96e00 100644
--- a/extras/source/misc_config/wizard/web/layouts/frame_bottom/tocframe.html.xsl
+++ b/extras/source/misc_config/wizard/web/layouts/frame_bottom/tocframe.html.xsl
@@ -25,7 +25,7 @@ This template is a skeleton for single level TOC pages
Do not overwrite this ! copy it and complete the missing
code.
-I use the @ character whereever there is a missing code, so
+I use the @ character wherever there is a missing code, so
you can use a simple find to navigate and find the
places...
diff --git a/extras/source/misc_config/wizard/web/layouts/frame_left/tocframe.html.xsl b/extras/source/misc_config/wizard/web/layouts/frame_left/tocframe.html.xsl
index 3c14f65177cc..321021fc42bc 100644
--- a/extras/source/misc_config/wizard/web/layouts/frame_left/tocframe.html.xsl
+++ b/extras/source/misc_config/wizard/web/layouts/frame_left/tocframe.html.xsl
@@ -25,7 +25,7 @@ This template is a skeleton for single level TOC pages
Do not overwrite this ! copy it and complete the missing
code.
-I use the @ character whereever there is a missing code, so
+I use the @ character wherever there is a missing code, so
you can use a simple find to navigate and find the
places...
diff --git a/extras/source/misc_config/wizard/web/layouts/frame_right/tocframe.html.xsl b/extras/source/misc_config/wizard/web/layouts/frame_right/tocframe.html.xsl
index 8a8338ed6c1e..99fad174bbaa 100644
--- a/extras/source/misc_config/wizard/web/layouts/frame_right/tocframe.html.xsl
+++ b/extras/source/misc_config/wizard/web/layouts/frame_right/tocframe.html.xsl
@@ -25,7 +25,7 @@ This template is a skeleton for single level TOC pages
Do not overwrite this ! copy it and complete the missing
code.
-I use the @ character whereever there is a missing code, so
+I use the @ character wherever there is a missing code, so
you can use a simple find to navigate and find the
places...
diff --git a/extras/source/misc_config/wizard/web/layouts/frame_top/tocframe.html.xsl b/extras/source/misc_config/wizard/web/layouts/frame_top/tocframe.html.xsl
index f356436cd087..5f502a7b24ec 100644
--- a/extras/source/misc_config/wizard/web/layouts/frame_top/tocframe.html.xsl
+++ b/extras/source/misc_config/wizard/web/layouts/frame_top/tocframe.html.xsl
@@ -25,7 +25,7 @@ This template is a skeleton for single level TOC pages
Do not overwrite this ! copy it and complete the missing
code.
-I use the @ character whereever there is a missing code, so
+I use the @ character wherever there is a missing code, so
you can use a simple find to navigate and find the
places...
diff --git a/extras/source/misc_config/wizard/web/layouts/layout.xsl b/extras/source/misc_config/wizard/web/layouts/layout.xsl
index 183cb9dad6c9..f12acb327ea3 100644
--- a/extras/source/misc_config/wizard/web/layouts/layout.xsl
+++ b/extras/source/misc_config/wizard/web/layouts/layout.xsl
@@ -27,7 +27,7 @@ This template is a skeleton for single level TOC pages
Do not overwrite this ! copy it and complete the missing
code.
-I use the @ character whereever there is a missing code, so
+I use the @ character wherever there is a missing code, so
you can use a simple find to navigate and find the
places...
@@ -65,7 +65,7 @@ places...
================================== -->
- <!-- this tempaltes gives the
+ <!-- this templates gives the
relative href of the document. To use
with the <a href="..."> attribute-->
diff --git a/extras/source/misc_config/wizard/web/layouts/layoutF.xsl b/extras/source/misc_config/wizard/web/layouts/layoutF.xsl
index afc55221fb10..7ee961eed627 100644
--- a/extras/source/misc_config/wizard/web/layouts/layoutF.xsl
+++ b/extras/source/misc_config/wizard/web/layouts/layoutF.xsl
@@ -30,7 +30,7 @@ the frameset.
Do not overwrite this ! copy it and complete the missing
code.
-I use the @ character whereever there is a missing code, so
+I use the @ character wherever there is a missing code, so
you can use a simple find to navigate and find the
places...
diff --git a/extras/source/misc_config/wizard/web/layouts/layoutX.xsl b/extras/source/misc_config/wizard/web/layouts/layoutX.xsl
index f22c93486d6d..32d40e26ba33 100644
--- a/extras/source/misc_config/wizard/web/layouts/layoutX.xsl
+++ b/extras/source/misc_config/wizard/web/layouts/layoutX.xsl
@@ -67,7 +67,7 @@
-->
<!-- use this to group documents, it
- is for example usefull when generating tables -->
+ is for example useful when generating tables -->
<xsl:variable name="group" select="3"/>
@@ -160,7 +160,7 @@
================================== -->
- <!-- this tempaltes gives the
+ <!-- this templates gives the
relative href of the document. To use
with the <a href="..."> attribute-->
diff --git a/extras/source/misc_config/wizard/web/layouts/simple/index.html.xsl b/extras/source/misc_config/wizard/web/layouts/simple/index.html.xsl
index ef391c3c00dc..8fed8131de9b 100644..100755
--- a/extras/source/misc_config/wizard/web/layouts/simple/index.html.xsl
+++ b/extras/source/misc_config/wizard/web/layouts/simple/index.html.xsl
@@ -25,7 +25,7 @@ This template is a skeleton for single level TOC pages
Do not overwrite this ! copy it and complete the missing
code.
-I use the @ character whereever there is a missing code, so
+I use the @ character wherever there is a missing code, so
you can use a simple find to navigate and find the
places...
diff --git a/extras/source/misc_config/wizard/web/layouts/source.xml.xsl b/extras/source/misc_config/wizard/web/layouts/source.xml.xsl
index 090ddfee105a..89c2436477e8 100644
--- a/extras/source/misc_config/wizard/web/layouts/source.xml.xsl
+++ b/extras/source/misc_config/wizard/web/layouts/source.xml.xsl
@@ -26,7 +26,7 @@
This templates creates a source.xml file
which is identicall to the source xml tree
used for the transformation.
- This is may be usefull for deveopement/debuging
+ This is may be useful for deveopement/debuging
of layouts.
==================================== -->
diff --git a/extras/source/misc_config/wizard/web/layouts/table_2/index.html.xsl b/extras/source/misc_config/wizard/web/layouts/table_2/index.html.xsl
index ba73bf8fc26a..14d3b1c7bafb 100644
--- a/extras/source/misc_config/wizard/web/layouts/table_2/index.html.xsl
+++ b/extras/source/misc_config/wizard/web/layouts/table_2/index.html.xsl
@@ -24,7 +24,7 @@
This template is a skeleton for single level TOC pages
Do not overwrite this ! copy it and complete the missing
code.
-I use the @ character whereever there is a missing code, so
+I use the @ character wherever there is a missing code, so
you can use a simple find to navigate and find the
places...
====================================================== -->
@@ -104,7 +104,7 @@ places...
<!-- - - -->
<!-- use this to group documents, it
- is for example usefull when generating tables -->
+ is for example useful when generating tables -->
diff --git a/extras/source/misc_config/wizard/web/layouts/table_3/index.html.xsl b/extras/source/misc_config/wizard/web/layouts/table_3/index.html.xsl
index 4883a0ac84ba..d414639f744a 100644
--- a/extras/source/misc_config/wizard/web/layouts/table_3/index.html.xsl
+++ b/extras/source/misc_config/wizard/web/layouts/table_3/index.html.xsl
@@ -24,7 +24,7 @@
This template is a skeleton for single level TOC pages
Do not overwrite this ! copy it and complete the missing
code.
-I use the @ character whereever there is a missing code, so
+I use the @ character wherever there is a missing code, so
you can use a simple find to navigate and find the
places...
====================================================== -->
@@ -104,7 +104,7 @@ places...
<!-- - - -->
<!-- use this to group documents, it
- is for example usefull when generating tables -->
+ is for example useful when generating tables -->
diff --git a/extras/source/misc_config/wizard/web/layouts/zigzag/index.html.xsl b/extras/source/misc_config/wizard/web/layouts/zigzag/index.html.xsl
index 58da407c43e2..a9f87986402b 100644
--- a/extras/source/misc_config/wizard/web/layouts/zigzag/index.html.xsl
+++ b/extras/source/misc_config/wizard/web/layouts/zigzag/index.html.xsl
@@ -25,7 +25,7 @@ This template is a skeleton for single level TOC pages
Do not overwrite this ! copy it and complete the missing
code.
-I use the @ character whereever there is a missing code, so
+I use the @ character wherever there is a missing code, so
you can use a simple find to navigate and find the
places...
diff --git a/fileaccess/source/FileAccess.cxx b/fileaccess/source/FileAccess.cxx
index eb2d3ac73904..b6f1be53b07b 100644
--- a/fileaccess/source/FileAccess.cxx
+++ b/fileaccess/source/FileAccess.cxx
@@ -278,7 +278,7 @@ void OFileAccess::transferImpl( const rtl::OUString& rSource,
// #i29648#
//
#if 0
- // Note: A hierachical UCB content implements interface XChild, which
+ // Note: A hierarchical UCB content implements interface XChild, which
// has a method getParent(). Unfortunately this does not always help
// here, because it is not guaranteed that a content object for a
// non-existing resource can be created. Thus, it will happen that an
@@ -380,7 +380,7 @@ void OFileAccess::transferImpl( const rtl::OUString& rSource,
}
catch ( ::com::sun::star::ucb::CommandFailedException const & )
{
- // Interaction Handler already handled the error that has occured...
+ // Interaction Handler already handled the error that has occurred...
}
}
@@ -408,7 +408,7 @@ void OFileAccess::kill( const rtl::OUString& FileURL )
}
catch ( ::com::sun::star::ucb::CommandFailedException const & )
{
- // Interaction Handler already handled the error that has occured...
+ // Interaction Handler already handled the error that has occurred...
}
}
@@ -510,7 +510,7 @@ void OFileAccess::createFolder( const rtl::OUString& NewFolderURL )
}
catch ( ::com::sun::star::ucb::CommandFailedException const & )
{
- // Interaction Handler already handled the error that has occured...
+ // Interaction Handler already handled the error that has occurred...
continue;
}
}
@@ -579,7 +579,7 @@ Sequence< rtl::OUString > OFileAccess::getFolderContents( const rtl::OUString& F
}
catch ( ::com::sun::star::ucb::CommandFailedException const & )
{
- // Interaction Handler already handled the error that has occured...
+ // Interaction Handler already handled the error that has occurred...
}
if ( xResultSet.is() )
@@ -650,7 +650,7 @@ Reference< XInputStream > OFileAccess::openFileRead( const rtl::OUString& FileUR
}
catch ( ::com::sun::star::ucb::CommandFailedException const & )
{
- // Interaction Handler already handled the error that has occured...
+ // Interaction Handler already handled the error that has occurred...
}
return xRet;
@@ -789,7 +789,7 @@ bool OFileAccess::createNewFile( const rtl::OUString & rParentURL,
catch ( CommandFailedException const & )
{
// Interaction Handler already handled the
- // error that has occured...
+ // error that has occurred...
continue;
}
}
@@ -814,7 +814,7 @@ void SAL_CALL OFileAccess::writeFile( const rtl::OUString& FileURL,
}
catch ( CommandFailedException const & )
{
- // Interaction Handler already handled the error that has occured...
+ // Interaction Handler already handled the error that has occurred...
}
}
catch ( ContentCreationException const & e )
diff --git a/filter/inc/filter/msfilter/escherex.hxx b/filter/inc/filter/msfilter/escherex.hxx
index 04aa974befb7..599a9404c182 100644
--- a/filter/inc/filter/msfilter/escherex.hxx
+++ b/filter/inc/filter/msfilter/escherex.hxx
@@ -308,7 +308,7 @@
enum ESCHER_BlibType
{ // GEL provided types...
- ERROR = 0, // An error occured during loading
+ ERROR = 0, // An error occurred during loading
UNKNOWN, // An unknown blip type
EMF, // Windows Enhanced Metafile
WMF, // Windows Metafile
diff --git a/filter/inc/filter/msfilter/mscodec.hxx b/filter/inc/filter/msfilter/mscodec.hxx
index fbcf10f424cf..e95391fa11c6 100644
--- a/filter/inc/filter/msfilter/mscodec.hxx
+++ b/filter/inc/filter/msfilter/mscodec.hxx
@@ -279,7 +279,7 @@ public:
Size of the destination buffer.
@return
- true = Encoding was successful (no error occured).
+ true = Encoding was successful (no error occurred).
*/
bool Encode(
const void* pData, sal_Size nDatLen,
@@ -305,7 +305,7 @@ public:
Size of the destination buffer.
@return
- true = Decoding was successful (no error occured).
+ true = Decoding was successful (no error occurred).
*/
bool Decode(
const void* pData, sal_Size nDatLen,
diff --git a/filter/inc/filter/msfilter/msocximex.hxx b/filter/inc/filter/msfilter/msocximex.hxx
index c45acc185c1d..1a71c92bb0fa 100644
--- a/filter/inc/filter/msfilter/msocximex.hxx
+++ b/filter/inc/filter/msfilter/msocximex.hxx
@@ -133,13 +133,13 @@ public:
com::sun::star::drawing::XShape >* /*pShape*/,
sal_Bool /*bFloatingCtrl*/ ) {return sal_False;}
- /*begin: Backwards compatability with office 95 import, modify later*/
+ /*begin: Backwards compatibility with office 95 import, modify later*/
const com::sun::star::uno::Reference<
com::sun::star::lang::XMultiServiceFactory > & GetServiceFactory();
sal_uInt16 GetEditNum() { return ++nEdit; }
sal_uInt16 GetCheckboxNum() { return ++nCheckbox; }
- /*end: Backwards compatability*/
+ /*end: Backwards compatibility*/
protected:
const com::sun::star::uno::Reference< com::sun::star::drawing::XShapes > &
GetShapes();
diff --git a/filter/inc/filter/msfilter/svxmsbas.hxx b/filter/inc/filter/msfilter/svxmsbas.hxx
index cf0756ce9f0a..8725c1a89dd1 100644
--- a/filter/inc/filter/msfilter/svxmsbas.hxx
+++ b/filter/inc/filter/msfilter/svxmsbas.hxx
@@ -71,7 +71,7 @@ public:
sal_uLong SaveOrDelMSVBAStorage( sal_Bool bSaveInto, const String& rStorageName );
// check if the MS-VBA-Storage exist in the RootStorage of the DocShell.
- // If it exist, then return the WarningId for loosing the information.
+ // If it exists, then return the WarningId for losing the information.
static sal_uLong GetSaveWarningOfMSVBAStorage( SfxObjectShell &rDocS );
static String GetMSBasicStorageName();
diff --git a/filter/qa/complex/filter/detection/typeDetection/Helper.java b/filter/qa/complex/filter/detection/typeDetection/Helper.java
index 63aac0e5086d..fcd12b154beb 100644
--- a/filter/qa/complex/filter/detection/typeDetection/Helper.java
+++ b/filter/qa/complex/filter/detection/typeDetection/Helper.java
@@ -139,13 +139,13 @@ public class Helper {
// example: data = "firstData;secondData;;forthData"
// => three tokens => missing one data because the imagine
- // "thirdData" was not recieved by data.nextToken()
+ // "thirdData" was not received by data.nextToken()
// Therefore here comes a special handling for empty datas
boolean nextIsData = false;
int dataCount = 0;
while (data.hasMoreTokens()) {
Object myToken = data.nextToken();
- // if the "thirdData" will be recieved, myToken=";" but
+ // if the "thirdData" will be received, myToken=";" but
// vData must add an empty String
if (myToken.equals(";")){
if (nextIsData ) {
@@ -371,7 +371,7 @@ public class Helper {
/**
* Filles the Hashtable m_hFileURLs with all file names and their URL
- * and the Hashtable m_hFilesTypes with all file names and thier file
+ * and the Hashtable m_hFilesTypes with all file names and their file
* typ name. This informations are extracted from "files.csv"
* This is for faster acccess to get fileURL and fileType of fileAlias
*/
diff --git a/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java b/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java
index 7776c07232ac..7cf77f10cc7a 100644
--- a/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java
+++ b/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java
@@ -187,7 +187,7 @@ public class FinalizedMandatoryTest
// testobject must new created for every test.
// We change in a loop the container and try to flush this changes.
// If we get an expected exception this container is corrupt. It's
- // similar to a document which could not be saved beacuse of invalid
+ // similar to a document which could not be saved because of invalid
// contend. While you don't remove the invalid conted you will never
// be able to save the document. Same here.
try
diff --git a/filter/source/config/cache/basecontainer.cxx b/filter/source/config/cache/basecontainer.cxx
index 9c8206c8ecf8..dfae80338f27 100644
--- a/filter/source/config/cache/basecontainer.cxx
+++ b/filter/source/config/cache/basecontainer.cxx
@@ -61,7 +61,7 @@ BaseContainer::BaseContainer()
m_rCache->load(FilterCache::E_CONTAINS_STANDARD);
// GLOBAL SAFE (!) -> -----------------------
- // TODO use rtl pattern to create it realy threadsafe!
+ // TODO use rtl pattern to create it really threadsafe!
::osl::ResettableMutexGuard aGlobalLock(::osl::Mutex::getGlobalMutex());
if (!m_pPerformanceOptimizer)
m_pPerformanceOptimizer = new ::salhelper::SingletonRef< FilterCache >();
@@ -107,7 +107,7 @@ void BaseContainer::impl_loadOnDemand()
::osl::ResettableMutexGuard aLock(m_aLock);
// A generic container needs all items of a set of our cache!
- // Of course it can block for a while, till the cache is realy filled.
+ // Of course it can block for a while, till the cache is really filled.
// Note: dont load all sets supported by the cache here!
FilterCache::EFillState eRequiredState = FilterCache::E_CONTAINS_NOTHING;
@@ -151,7 +151,7 @@ void BaseContainer::impl_initFlushMode()
m_pFlushCache = m_rCache->clone();
if (!m_pFlushCache)
throw css::uno::RuntimeException(
- ::rtl::OUString::createFromAscii("Cant create write copy of internal used cache on demand."),
+ ::rtl::OUString::createFromAscii("Can't create write copy of internal used cache on demand."),
dynamic_cast< css::container::XNameAccess* >(this));
// <- SAFE
}
@@ -274,7 +274,7 @@ void SAL_CALL BaseContainer::removeByName(const ::rtl::OUString& sItem)
impl_initFlushMode();
FilterCache* pCache = impl_getWorkingCache();
- pCache->removeItem(m_eType, sItem); // throw exceptions automaticly
+ pCache->removeItem(m_eType, sItem); // throw exceptions automatically
aLock.clear();
// <- SAFE ----------------------------------
@@ -333,7 +333,7 @@ css::uno::Any SAL_CALL BaseContainer::getByName(const ::rtl::OUString& sItem)
{
if (!sItem.getLength())
throw css::container::NoSuchElementException(
- ::rtl::OUString::createFromAscii("An empty item cant be part of this cache!"),
+ ::rtl::OUString::createFromAscii("An empty item can't be part of this cache!"),
css::uno::Reference< css::uno::XInterface >(static_cast< css::container::XNameAccess* >(this), css::uno::UNO_QUERY));
css::uno::Any aValue;
@@ -431,7 +431,7 @@ sal_Bool SAL_CALL BaseContainer::hasByName(const ::rtl::OUString& sItem)
css::uno::Type SAL_CALL BaseContainer::getElementType()
throw (css::uno::RuntimeException)
{
- // no lock neccessary - because the type of our items
+ // no lock necessary - because the type of our items
// is fix! no internal call or member needed ...
return ::getCppuType(static_cast< css::uno::Sequence< css::beans::PropertyValue >* >(NULL));
}
@@ -471,7 +471,7 @@ sal_Bool SAL_CALL BaseContainer::hasElements()
css::uno::Reference< css::container::XEnumeration > SAL_CALL BaseContainer::createSubSetEnumerationByQuery(const ::rtl::OUString& /* sQuery */ )
throw (css::uno::RuntimeException)
{
- OSL_ENSURE(sal_False, "not pure virtual ... but not realy implemented .-)");
+ OSL_ENSURE(sal_False, "not pure virtual ... but not really implemented .-)");
::comphelper::OEnumerationByName* pEnum = new ::comphelper::OEnumerationByName(this, css::uno::Sequence< ::rtl::OUString >());
return css::uno::Reference< css::container::XEnumeration >(static_cast< css::container::XEnumeration* >(pEnum), css::uno::UNO_QUERY);
@@ -505,7 +505,7 @@ css::uno::Reference< css::container::XEnumeration > SAL_CALL BaseContainer::crea
catch(const css::uno::Exception&)
{
// invalid cache, internal failure, wrong conversion ...!?
- // doesnt matter
+ // doesn't matter
lKeys.clear();
}
@@ -538,7 +538,7 @@ void SAL_CALL BaseContainer::flush()
if (!m_pFlushCache)
throw css::lang::WrappedTargetRuntimeException(
- ::rtl::OUString::createFromAscii("Cant guarantee cache consistency. Special flush container does not exists!"),
+ ::rtl::OUString::createFromAscii("Can't guarantee cache consistency. Special flush container does not exists!"),
dynamic_cast< css::container::XNameAccess* >(this),
css::uno::Any());
@@ -612,7 +612,7 @@ void SAL_CALL BaseContainer::flush()
void SAL_CALL BaseContainer::addFlushListener(const css::uno::Reference< css::util::XFlushListener >& xListener)
throw (css::uno::RuntimeException)
{
- // no locks neccessary
+ // no locks necessary
// used helper lives if we live and is threadsafe by itself ...
m_lListener.addInterface(::getCppuType(static_cast< css::uno::Reference< css::util::XFlushListener >* >(NULL)),
xListener );
@@ -624,7 +624,7 @@ void SAL_CALL BaseContainer::addFlushListener(const css::uno::Reference< css::ut
void SAL_CALL BaseContainer::removeFlushListener(const css::uno::Reference< css::util::XFlushListener >& xListener)
throw (css::uno::RuntimeException)
{
- // no locks neccessary
+ // no locks necessary
// used helper lives if we live and is threadsafe by itself ...
m_lListener.removeInterface(::getCppuType(static_cast< css::uno::Reference< css::util::XFlushListener >* >(NULL)),
xListener );
diff --git a/filter/source/config/cache/basecontainer.hxx b/filter/source/config/cache/basecontainer.hxx
index b79cfbb51ffc..eac70ce3459f 100644
--- a/filter/source/config/cache/basecontainer.hxx
+++ b/filter/source/config/cache/basecontainer.hxx
@@ -60,7 +60,7 @@ namespace filter{
should be available etc.
@attention The base class BaseLock must be the first of declared ones.
- Otherwhise we cant be shure, that our own mutex member (which is
+ Otherwise we can't be sure, that our own mutex member (which is
present by this base class!) was full initialized inside our own
ctor as first!
*/
@@ -97,7 +97,7 @@ class BaseContainer : public BaseLock
/** @short local filter cache, which is used to collect changes on the
filter configuration first and flush it later.
- @descr Normaly this member isnt used nor initialized. Thats true,
+ @descr Normaly this member isn't used nor initialized. Thats true,
if this container is used for reading only. The first write access
(e.g. by calling insertByName()) creates a copy of the current
global cache m_rCache to initialize the m_pFlushCache member.
@@ -107,7 +107,7 @@ class BaseContainer : public BaseLock
m_pFlushCache and m_rCache must not be synchronized manually here.
m_rCache listen on the global configuration, where m_pFlushCache
- write its data. m_rCache update itself automaticly.
+ write its data. m_rCache update itself automatically.
*/
FilterCache* m_pFlushCache;
@@ -188,7 +188,7 @@ class BaseContainer : public BaseLock
//---------------------------------------
/** @short check if the underlying configuration data was already loaded
- and do it if neccessary automaticly.
+ and do it if necessary automatically.
*/
void impl_loadOnDemand();
@@ -222,7 +222,7 @@ class BaseContainer : public BaseLock
FilterCache* p = impl_getWorkingCache();
p->doSomething();
aLock.clear();
- // after this point p cant b e guaranteed any longer!
+ // after this point p can't b e guaranteed any longer!
*/
FilterCache* impl_getWorkingCache() const;
@@ -291,7 +291,7 @@ class BaseContainer : public BaseLock
//---------------------------------------
// XContainerQuery
- // must be implemented realy by derived class ...
+ // must be implemented really by derived class ...
// We implement return of an empty result here only!
// But we show an assertion :-)
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createSubSetEnumerationByQuery(const ::rtl::OUString& sQuery)
diff --git a/filter/source/config/cache/cacheitem.hxx b/filter/source/config/cache/cacheitem.hxx
index 05457a588cc7..9f6a2397cd20 100644
--- a/filter/source/config/cache/cacheitem.hxx
+++ b/filter/source/config/cache/cacheitem.hxx
@@ -158,7 +158,7 @@ class CacheItem : public ::comphelper::SequenceAsHashMap
@param sActLocale
must specify the current office locale.
- Its needed to adress the UIName property inside
+ Its needed to address the UIName property inside
the list of possible ones.
*/
void validateUINames(const ::rtl::OUString& sActLocale);
@@ -170,7 +170,7 @@ class CacheItem : public ::comphelper::SequenceAsHashMap
@descr Normaly the converter routines of the base class
SequenceAsHashMap do this job already.
- But it doesnt provide a "pack" mechanism to
+ But it doesn't provide a "pack" mechanism to
ignore properties with empty (means "void") values.
@return css::uno::Sequence< css::beans::PropertyValue >
@@ -199,9 +199,9 @@ typedef ::std::hash_map< ::rtl::OUString ,
to an extension. Organization as an hash makes it
faster then searching inside vectors.
- On the other side e.g. URLPattern cant be realy adressed
+ On the other side e.g. URLPattern can't be really addressed
by a hash value ... because the use wildcards. But
- there we need key-value pairs too, which cant be provided
+ there we need key-value pairs too, which can't be provided
by a pur vector!
*/
typedef ::std::hash_map< ::rtl::OUString ,
@@ -217,7 +217,7 @@ typedef ::std::hash_map< ::rtl::OUString ,
@descr Every type in this list is combined with an information,
which property matched to the given URL. The user of this
structure can decide then, if a deep detection should be
- supressed e.g. if an URLPattern was used.
+ suppressed e.g. if an URLPattern was used.
*/
struct FlatDetectionInfo
{
diff --git a/filter/source/config/cache/configflush.cxx b/filter/source/config/cache/configflush.cxx
index 68ec1f7191c1..8667ca420652 100644
--- a/filter/source/config/cache/configflush.cxx
+++ b/filter/source/config/cache/configflush.cxx
@@ -122,7 +122,7 @@ void SAL_CALL ConfigFlush::refresh()
void SAL_CALL ConfigFlush::addRefreshListener(const css::uno::Reference< css::util::XRefreshListener >& xListener)
throw(css::uno::RuntimeException)
{
- // no locks neccessary
+ // no locks necessary
// used helper lives if we live and is threadsafe by itself ...
m_lListener.addInterface(::getCppuType(static_cast< css::uno::Reference< css::util::XRefreshListener >* >(NULL)),
xListener);
@@ -132,7 +132,7 @@ void SAL_CALL ConfigFlush::addRefreshListener(const css::uno::Reference< css::ut
void SAL_CALL ConfigFlush::removeRefreshListener(const css::uno::Reference< css::util::XRefreshListener >& xListener)
throw(css::uno::RuntimeException)
{
- // no locks neccessary
+ // no locks necessary
// used helper lives if we live and is threadsafe by itself ...
m_lListener.removeInterface(::getCppuType(static_cast< css::uno::Reference< css::util::XRefreshListener >* >(NULL)),
xListener);
diff --git a/filter/source/config/cache/constant.hxx b/filter/source/config/cache/constant.hxx
index c0b6f9c9a7c1..48358e90fc4b 100644
--- a/filter/source/config/cache/constant.hxx
+++ b/filter/source/config/cache/constant.hxx
@@ -96,7 +96,7 @@ extern rtl::OUString pFilterStrings[];
#define CFGSET_FRAMELOADERS _FILTER_CONFIG_FROM_ASCII_("FrameLoaders" )
#define CFGSET_CONTENTHANDLERS _FILTER_CONFIG_FROM_ASCII_("ContentHandlers")
-/** @short used to adress some configuration keys directly.
+/** @short used to address some configuration keys directly.
@descr Such direct keys should be used with function
FilterCache::impl_getDirectCFGValue() only!
@@ -181,7 +181,7 @@ extern rtl::OUString pFilterStrings[];
#define SERVICE_URLTRANSFORMER _FILTER_CONFIG_FROM_ASCII_("com.sun.star.util.URLTransformer" )
#define SERVICE_FILTERCONFIGREFRESH _FILTER_CONFIG_FROM_ASCII_("com.sun.star.document.FilterConfigRefresh" )
-/** @short some configuration pathes.
+/** @short some configuration paths.
*/
#define CFGPACKAGE_TD_TYPES _FILTER_CONFIG_FROM_ASCII_("/org.openoffice.TypeDetection.Types" )
#define CFGPACKAGE_TD_FILTERS _FILTER_CONFIG_FROM_ASCII_("/org.openoffice.TypeDetection.Filter")
diff --git a/filter/source/config/cache/contenthandlerfactory.cxx b/filter/source/config/cache/contenthandlerfactory.cxx
index c52d65cfdf3d..7edcb85e9694 100644
--- a/filter/source/config/cache/contenthandlerfactory.cxx
+++ b/filter/source/config/cache/contenthandlerfactory.cxx
@@ -92,7 +92,7 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL ContentHandlerFactory::crea
#ifdef _FILTER_CONFIG_MIGRATION_Q_
/* -> TODO - HACK
- check if the given handler name realy exist ...
+ check if the given handler name really exists ...
Because our old implementation worked with an internal
type name instead of a handler name. For a small migration time
we must simulate this old feature :-( */
diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx
index 7c3952c01152..8387941c4b41 100644
--- a/filter/source/config/cache/filtercache.cxx
+++ b/filter/source/config/cache/filtercache.cxx
@@ -186,7 +186,7 @@ void FilterCache::takeOver(const FilterCache& rClone)
m_eFillState = rClone.m_eFillState;
// renew all dependencies and optimizations
- // Because we cant be shure, that changed filters on one clone
+ // Because we can't be sure, that changed filters on one clone
// and changed types of another clone work together.
// But here we can check against the lates changes ...
impl_validateAndOptimize();
@@ -222,7 +222,7 @@ void FilterCache::load(EFillState eRequired,
)
)
{
- OSL_ENSURE(sal_False, "Who disturb our \"fill cache on demand\" feature and force loading of ALL data during office startup? Please optimize your code, so a full filled filter cache is not realy needed here!");
+ OSL_ENSURE(sal_False, "Who disturbs our \"fill cache on demand\" feature and force loading of ALL data during office startup? Please optimize your code, so a full filled filter cache is not really needed here!");
}
#endif
@@ -429,14 +429,14 @@ CacheItem FilterCache::getItem( EItemType eType,
{
// ... or load it on demand from the
// underlying configuration layer.
- // Note: NoSuchElementException is thrown automaticly here if
+ // Note: NoSuchElementException is thrown automatically here if
// item could not be loaded!
pIt = impl_loadItemOnDemand(eType, sItem);
}
/* Workaround for #137955#
Draw types and filters are installed ... but draw was disabled during setup.
- We must supress accessing these filters. Otherwise the office can crash.
+ We must suppress accessing these filters. Otherwise the office can crash.
Solution for the next major release: do not install those filters !
*/
if (eType == E_FILTER)
@@ -456,7 +456,7 @@ CacheItem FilterCache::getItem( EItemType eType,
::rtl::OUStringBuffer sMsg(256);
sMsg.appendAscii("The requested filter '" );
sMsg.append (sItem );
- sMsg.appendAscii("' exists ... but it shouldnt; because the corresponding OOo module was not installed.");
+ sMsg.appendAscii("' exists ... but it shouldn't; because the corresponding OOo module was not installed.");
throw css::container::NoSuchElementException(sMsg.makeStringAndClear(), css::uno::Reference< css::uno::XInterface >());
}
}
@@ -505,13 +505,13 @@ void FilterCache::setItem( EItemType eType ,
CacheItemList& rList = impl_getItemList(eType);
// name must be part of the property set too ... otherwhise our
- // container query cant work correctly
+ // container query can't work correctly
CacheItem aItem = aValue;
aItem[PROPNAME_NAME] <<= sItem;
aItem.validateUINames(m_sActLocale);
// remove implicit properties as e.g. FINALIZED or MANDATORY
- // They cant be saved here and must be readed on demand later, if they are needed.
+ // They can't be saved here and must be readed on demand later, if they are needed.
removeStatePropsFromItem(aItem);
rList[sItem] = aItem;
@@ -564,8 +564,8 @@ void FilterCache::addStatePropsToItem( EItemType eType,
{
/* TODO
Hack -->
- The default frame loader cant be located inside te normal set of frame loaders.
- Its an atomic property inside the misc cfg package. So we cant retrieve the information
+ The default frame loader can't be located inside te normal set of frame loaders.
+ Its an atomic property inside the misc cfg package. So we can't retrieve the information
about FINALIZED and MANDATORY very easy ... :-(
=> set it to readonly/required everytimes :-)
*/
@@ -615,8 +615,8 @@ void FilterCache::addStatePropsToItem( EItemType eType,
May by the following reason exists:
- The item does not exists inside the new configuration package org.openoffice.TypeDetection - but
we got it from the old package org.openoffice.Office/TypeDetection. We dont migrate such items
- automaticly to the new format. Because it will disturb e.g. the deinstallation of an external filter
- package. Because such external filter can remove the old file - but not the automaticly created new one ...
+ automatically to the new format. Because it will disturb e.g. the deinstallation of an external filter
+ package. Because such external filter can remove the old file - but not the automatically created new one ...
=> mark item as FINALIZED / MANDATORY, we dont support writing to the old format
*/
@@ -715,7 +715,7 @@ void FilterCache::impl_flushByList(const css::uno::Reference< css::container::XN
// special case. no exception - but not a valid item => set must be finalized or mandatory!
// Reject flush operation by throwing an exception. At least one item couldnt be flushed.
if (!xItem.is())
- throw css::uno::Exception(::rtl::OUString::createFromAscii("Cant add item. Set is finalized or mandatory!"),
+ throw css::uno::Exception(::rtl::OUString::createFromAscii("Can't add item. Set is finalized or mandatory!"),
css::uno::Reference< css::uno::XInterface >() );
CacheItemList::const_iterator pItem = rCache.find(sItem);
@@ -732,7 +732,7 @@ void FilterCache::impl_flushByList(const css::uno::Reference< css::container::XN
// special case. no exception - but not a valid item => it must be finalized or mandatory!
// Reject flush operation by throwing an exception. At least one item couldnt be flushed.
if (!xItem.is())
- throw css::uno::Exception(::rtl::OUString::createFromAscii("Cant change item. Its finalized or mandatory!"),
+ throw css::uno::Exception(::rtl::OUString::createFromAscii("Can't change item. Its finalized or mandatory!"),
css::uno::Reference< css::uno::XInterface >() );
CacheItemList::const_iterator pItem = rCache.find(sItem);
@@ -767,7 +767,7 @@ void FilterCache::detectFlatForURL(const css::util::URL& aURL ,
// i) Step over all well known URL pattern
// and add registered types to the return list too
// Do it as first one - because: if a type match by a
- // pattern a following deep detection can be supressed!
+ // pattern a following deep detection can be suppressed!
// Further we can stop after first match ...
for (CacheItemRegistration::const_iterator pPattReg = m_lURLPattern2Types.begin();
pPattReg != m_lURLPattern2Types.end() ;
@@ -899,7 +899,7 @@ css::uno::Reference< css::uno::XInterface > FilterCache::impl_openConfig(EConfig
}
break;
- default : throw css::uno::Exception(::rtl::OUString::createFromAscii("These configuration node isnt supported here for open!"), 0);
+ default : throw css::uno::Exception(::rtl::OUString::createFromAscii("These configuration node isn't supported here for open!"), 0);
}
{
@@ -1074,7 +1074,7 @@ void FilterCache::impl_validateAndOptimize()
}
// Create a log for all detected problems, which
- // occure in the next feew lines.
+ // occur in the next feew lines.
// If there are some real errors throw a RuntimException!
// If there are some warnings only, show an assertion.
sal_Int32 nErrors = 0;
@@ -1095,7 +1095,7 @@ void FilterCache::impl_validateAndOptimize()
impl_resolveItem4TypeRegistration(&m_lDetectServices, sDetectService, sType);
// get its registration for file Extensions AND(!) URLPattern ...
- // It doesnt matter if these items exists or if our
+ // It doesn't matter if these items exists or if our
// used index access create some default ones ...
// only in case there is no filled set of Extensions AND
// no filled set of URLPattern -> we must try to remove this invalid item
@@ -1134,8 +1134,8 @@ void FilterCache::impl_validateAndOptimize()
// its set list of extensions/url pattern. If its a "normal" type
// set it at the end of this optimized list. But if its
// a "Preferred" one - set it to the front of this list.
- // Of course multiple "Preferred" registrations can occure
- // (they shouldnt - but they can!) ... Ignore it. The last
+ // Of course multiple "Preferred" registrations can occur
+ // (they shouldn't - but they can!) ... Ignore it. The last
// preferred type is useable in the same manner then every
// other type!
sal_Bool bPreferred = sal_False;
@@ -1144,7 +1144,7 @@ void FilterCache::impl_validateAndOptimize()
const ::rtl::OUString* pExtensions = lExtensions.getConstArray();
for (sal_Int32 e=0; e<ce; ++e)
{
- // Note: We must be shure that adress the right hash entry
+ // Note: We must be sure that address the right hash entry
// does not depend from any upper/lower case problems ...
::rtl::OUString sNormalizedExtension = pExtensions[e].toAsciiLowerCase();
@@ -1176,7 +1176,7 @@ void FilterCache::impl_validateAndOptimize()
// Dont check cross references between types and filters, if
// not all filters read from disk!
// OK - this cache can read single filters on demand too ...
- // but then the fill state of this cache shouldnt be set to E_CONTAINS_FILTERS!
+ // but then the fill state of this cache shouldn't be set to E_CONTAINS_FILTERS!
if (!bAllFiltersShouldExist)
continue;
@@ -1204,7 +1204,7 @@ void FilterCache::impl_validateAndOptimize()
sLog.appendAscii("Warning\t:\t" );
sLog.appendAscii("The type \"" );
sLog.append (sType );
- sLog.appendAscii("\" isnt used by any filter, loader or content handler.\n");
+ sLog.appendAscii("\" isn't used by any filter, loader or content handler.\n");
++nWarnings;
}
}
@@ -1391,7 +1391,7 @@ FilterCache::EItemFlushState FilterCache::impl_specifyFlushOperation(const css::
EItemFlushState eState( E_ITEM_UNCHANGED );
- // !? ... such situation can occure, if an item was added and(!) removed before it was flushed :-)
+ // !? ... such situation can occur, if an item was added and(!) removed before it was flushed :-)
if (!bExistsInConfigLayer && !bExistsInMemory)
eState = E_ITEM_UNCHANGED;
else
@@ -1416,7 +1416,7 @@ void FilterCache::impl_resolveItem4TypeRegistration( CacheItemList* pList
throw(css::uno::Exception)
{
CacheItem& rItem = (*pList)[sItem];
- // In case its a new created entry (automaticly done by the hash_map index operator!)
+ // In case its a new created entry (automatically done by the hash_map index operator!)
// we must be shure, that this entry has its own name as property available.
// Its needed later at our container interface!
rItem[PROPNAME_NAME] <<= sItem;
@@ -1449,7 +1449,7 @@ void FilterCache::impl_load(EFillState eRequiredState)
)
{
// Attention! If config couldnt be opened successfully
- // and exception os thrown automaticly and must be forwarded
+ // and exception os thrown automatically and must be forwarded
// to our calli ...
css::uno::Reference< css::container::XNameAccess > xTypes(impl_openConfig(E_PROVIDER_TYPES), css::uno::UNO_QUERY);
{
@@ -1466,7 +1466,7 @@ void FilterCache::impl_load(EFillState eRequiredState)
)
{
// Attention! If config couldnt be opened successfully
- // and exception os thrown automaticly and must be forwarded
+ // and exception os thrown automatically and must be forwarded
// to our calli ...
css::uno::Reference< css::container::XNameAccess > xTypes(impl_openConfig(E_PROVIDER_TYPES), css::uno::UNO_QUERY);
{
@@ -1483,7 +1483,7 @@ void FilterCache::impl_load(EFillState eRequiredState)
)
{
// Attention! If config couldnt be opened successfully
- // and exception os thrown automaticly and must be forwarded
+ // and exception os thrown automatically and must be forwarded
// to our calli ...
css::uno::Reference< css::container::XNameAccess > xFilters(impl_openConfig(E_PROVIDER_FILTERS), css::uno::UNO_QUERY);
{
@@ -1500,7 +1500,7 @@ void FilterCache::impl_load(EFillState eRequiredState)
)
{
// Attention! If config couldnt be opened successfully
- // and exception os thrown automaticly and must be forwarded
+ // and exception os thrown automatically and must be forwarded
// to our calli ...
css::uno::Reference< css::container::XNameAccess > xLoaders(impl_openConfig(E_PROVIDER_OTHERS), css::uno::UNO_QUERY);
{
@@ -1517,7 +1517,7 @@ void FilterCache::impl_load(EFillState eRequiredState)
)
{
// Attention! If config couldnt be opened successfully
- // and exception os thrown automaticly and must be forwarded
+ // and exception os thrown automatically and must be forwarded
// to our calli ...
css::uno::Reference< css::container::XNameAccess > xHandlers(impl_openConfig(E_PROVIDER_OTHERS), css::uno::UNO_QUERY);
{
@@ -1788,7 +1788,7 @@ CacheItem FilterCache::impl_loadItem(const css::uno::Reference< css::container::
throw(css::uno::Exception)
{
// try to get an API object, which points directly to the
- // requested item. If it fail an exception should occure and
+ // requested item. If it fail an exception should occur and
// break this operation. Of course returned API object must be
// checked too.
css::uno::Reference< css::container::XNameAccess > xItem;
@@ -1883,7 +1883,7 @@ CacheItem FilterCache::impl_loadItem(const css::uno::Reference< css::container::
aItem[PROPNAME_USERDATA ] = xItem->getByName(PROPNAME_USERDATA );
aItem[PROPNAME_TEMPLATENAME] = xItem->getByName(PROPNAME_TEMPLATENAME);
//TODO remove it if moving of filter uinames to type uinames
-// will be finished realy
+// will be finished really
#ifdef AS_ENABLE_FILTER_UINAMES
impl_readPatchUINames(xItem, aItem);
#endif // AS_ENABLE_FILTER_UINAMES
@@ -1951,7 +1951,7 @@ CacheItemList::iterator FilterCache::impl_loadItemOnDemand( EItemType
case E_DETECTSERVICE :
{
- OSL_ENSURE(sal_False, "Cant load detect services on demand. Who use this unsupported feature?");
+ OSL_ENSURE(sal_False, "Can't load detect services on demand. Who use this unsupported feature?");
}
break;
}
@@ -2068,7 +2068,7 @@ void FilterCache::impl_saveItem(const css::uno::Reference< css::container::XName
}
//TODO remove it if moving of filter uinames to type uinames
-// will be finished realy
+// will be finished really
#ifdef AS_ENABLE_FILTER_UINAMES
css::uno::Reference< css::container::XNameReplace > xUIName;
xItem->getByName(PROPNAME_UINAME) >>= xUIName;
@@ -2092,7 +2092,7 @@ void FilterCache::impl_saveItem(const css::uno::Reference< css::container::XName
/*-----------------------------------------------
20.10.2003 09:45
- static! => no locks neccessary
+ static! => no locks necessary
-----------------------------------------------*/
css::uno::Sequence< ::rtl::OUString > FilterCache::impl_convertFlagField2FlagNames(sal_Int32 nFlags)
{
@@ -2127,7 +2127,7 @@ css::uno::Sequence< ::rtl::OUString > FilterCache::impl_convertFlagField2FlagNam
/*-----------------------------------------------
27.06.2003 09:26
- static! => no locks neccessary
+ static! => no locks necessary
-----------------------------------------------*/
sal_Int32 FilterCache::impl_convertFlagNames2FlagField(const css::uno::Sequence< ::rtl::OUString >& lNames)
{
@@ -2338,7 +2338,7 @@ void FilterCache::impl_interpretDataVal4Filter(const ::rtl::OUString& sValue,
/*-----------------------------------------------
12.02.2004 08:30
TODO work on a cache copy first, which can be flushed afterwards
- That would be usefully to gurantee a consistent cache.
+ That would be usefully to guarantee a consistent cache.
-----------------------------------------------*/
void FilterCache::impl_readOldFormat()
throw(css::uno::Exception)
@@ -2347,7 +2347,7 @@ void FilterCache::impl_readOldFormat()
static ::rtl::OUString FILTER_SET = ::rtl::OUString::createFromAscii("Filters");
// Attention: Opening/Reading of this old configuration format has to be handled gracefully.
- // Its optional and shouldnt disturb our normal work!
+ // Its optional and shouldn't disturb our normal work!
// E.g. we must check, if the package exists ...
css::uno::Reference< css::container::XNameAccess > xCfg;
@@ -2398,14 +2398,14 @@ CacheItem FilterCache::impl_readOldItem(const css::uno::Reference< css::containe
xSet->getByName(sItem) >>= xItem;
if (!xItem.is())
throw css::uno::Exception(
- ::rtl::OUString::createFromAscii("Cant read old item."),
+ ::rtl::OUString::createFromAscii("Can't read old item."),
css::uno::Reference< css::uno::XInterface >());
CacheItem aItem;
aItem[PROPNAME_NAME] <<= sItem;
// Installed flag ...
- // Isnt used any longer!
+ // Isn't used any longer!
// UIName
impl_readPatchUINames(xItem, aItem);
@@ -2421,7 +2421,7 @@ CacheItem FilterCache::impl_readOldItem(const css::uno::Reference< css::containe
)
{
throw css::uno::Exception(
- ::rtl::OUString::createFromAscii("Cant read old item property DATA."),
+ ::rtl::OUString::createFromAscii("Can't read old item property DATA."),
css::uno::Reference< css::uno::XInterface >());
}
diff --git a/filter/source/config/cache/filtercache.hxx b/filter/source/config/cache/filtercache.hxx
index c955e1ab6541..5aa1ec915c4b 100644
--- a/filter/source/config/cache/filtercache.hxx
+++ b/filter/source/config/cache/filtercache.hxx
@@ -153,7 +153,7 @@ class FilterCache : public BaseLock
*/
enum EItemFlushState
{
- /// indicates an unchanged item (can occure e.g. if an item was added and(!) removed before it was flushed ...
+ /// indicates an unchanged item (can occur e.g. if an item was added and(!) removed before it was flushed ...
E_ITEM_UNCHANGED = 0,
/// indicates an item, which exists inside config layer but not inside our own cache
E_ITEM_REMOVED = 1,
@@ -281,7 +281,7 @@ class FilterCache : public BaseLock
/** @short standard ctor
@descr Its not allowed to do anything here ...
- especialy is forbidden to start operations,
+ especially is forbidden to start operations,
which needs a FilterCache instance too!
Why? Because thie FilterCache instance will be
used as a singleton! And if during this ctor any
@@ -309,12 +309,12 @@ class FilterCache : public BaseLock
After its changed data was flushed to the configuration it can be
removed.
- The original container will get these new data automaticly
+ The original container will get these new data automatically
because it listen for changes on the internal used configuration layer.
- If the new data are needed immediatly inside the original container,
+ If the new data are needed immediately inside the original container,
the method takeOver() can be used to copy all changes back.
The may be following notifications of the configuration will be superflous then.
- But they cant be stopped ...
+ But they can't be stopped ...
All internal structures will be copied here. But the internal used
configuration (update) access wont be copied. The cloned instance contains
@@ -348,7 +348,7 @@ class FilterCache : public BaseLock
if this "load-on-demand" thread does not finished its work before.
This method "load(xxx)" synchronize such load-on-demand requests.
- Of course it would be possible to supress this special load thread
+ Of course it would be possible to suppress this special load thread
in general and start it manualy inside this load() request.
The outside code decide then, if and when this cache will be filled
with all available informations ...
@@ -361,7 +361,7 @@ class FilterCache : public BaseLock
"load-on-demand-thread", which tries to optimize our startup performance
and start this load() only in case the office startup was already finished!
- @throw An exception if the cache could not be filled realy
+ @throw An exception if the cache could not be filled really
or seems to be invalid afterwards. But there is no reaction
at all if this method does nothing inside, because the cache
is already full filled!
@@ -482,7 +482,7 @@ class FilterCache : public BaseLock
@attention This method exists to supports some UNO container interfaces
only. (e.g. XNameAccess.hasByName()). But inside multithreaded
environments there is no guarantee, that this item still exists, if
- its realy requested e.g. by calling getItem()!
+ its really requested e.g. by calling getItem()!
Be aware of some NoSuchElementExistExceptions ...
@param eType
@@ -505,7 +505,7 @@ class FilterCache : public BaseLock
/** @short return an item, which match the specified type and name.
@descr Because this cache can be used inside multithreaded environments
- the caller must be aware of some exceptions - especialy a "NoSuchElementExcepotion".
+ the caller must be aware of some exceptions - especially a "NoSuchElementExcepotion".
May another thread already removed the required item before ...
@param eType
@@ -561,7 +561,7 @@ class FilterCache : public BaseLock
cache item reference.
@descr Such properties can e.g. finalized or mandatory.
- They are not persistent and not realy part of e.g. a
+ They are not persistent and not really part of e.g. a
filter not. But they are attributes of a configuration
entry and can influence our container interface.
@@ -584,12 +584,12 @@ class FilterCache : public BaseLock
attributes there.
@throw [css::uno::Exception]
- if an internal error occured.
+ if an internal error occurred.
Note: If the item is missing inside the underlying configuration
no exception will be thrown. In such case the item is marked as
- finalized/mandatory automaticly
+ finalized/mandatory automatically
Reason: May be the item cames from the old configuration package and
- was not migrated to the new one. So we cant provide write access
+ was not migrated to the new one. So we can't provide write access
to such items ...
*/
virtual void addStatePropsToItem( EItemType eType,
@@ -628,7 +628,7 @@ class FilterCache : public BaseLock
@param aURL
URL of the content, which type should be detected.
- Its already parsed and splitted into its differnt parts,
+ Its already parsed and splitted into its different parts,
like e.g.: main, jump marks etcpp.
@param rFlatTypes
@@ -689,7 +689,7 @@ class FilterCache : public BaseLock
see EConfigProvider for further informations ...
@attention If a configuration access was opened successfully
- all neccessary listener connections will be established
+ all necessary listener connections will be established
too. So this cache will be informed about outside updates.
*/
css::uno::Reference< css::uno::XInterface > impl_openConfig(EConfigProvider eProvide)
@@ -737,7 +737,7 @@ class FilterCache : public BaseLock
@return [css::uno::Any]
the value of the requested key.
- Can be empty if an internal error occured or if the requested
+ Can be empty if an internal error occurred or if the requested
key does not exists!
*/
css::uno::Any impl_getDirectCFGValue(const ::rtl::OUString& sDirectKey);
@@ -762,8 +762,8 @@ class FilterCache : public BaseLock
/** @short validate the whole cache and create
structures for optimized items access.
- @descr Wrong cache items will be removed automaticly.
- Wrong dependencies will be corrected automaticly.
+ @descr Wrong cache items will be removed automatically.
+ Wrong dependencies will be corrected automatically.
If something could not be repaired - an exception
is thrown.
Further some optmized structures will be created.
@@ -783,9 +783,9 @@ class FilterCache : public BaseLock
/** @short register the specified item for the given type.
@descr Because detect services, frame loader or content handler
- are not listed inside the xml configuration as seperated
+ are not listed inside the xml configuration as separated
items (they are properties of any type entry!), this method update
- the internal lists of such items. Thats neccessary to have
+ the internal lists of such items. Thats necessary to have
it accessible for our container interfaces of detect, frame loader
and content handler services.
@@ -839,7 +839,7 @@ class FilterCache : public BaseLock
points to the cache member, which should be filled or updated.
@throw [css::uno::Exception]
- if an unrecoverable error occure inside this operation.
+ if an unrecoverable error occur inside this operation.
*/
void impl_loadSet(const css::uno::Reference< css::container::XNameAccess >& xConfig,
EItemType eType ,
@@ -861,15 +861,15 @@ class FilterCache : public BaseLock
specify, which container item type must be readed.
@param sItem
- means the internal name, which can be used to adress the item
+ means the internal name, which can be used to address the item
properties relativ to the given configuration set.
@param eOption
regulate, which properties of the requested item should be read.
- See defintion of EReadOption for further informations.
+ See definition of EReadOption for further informations.
@throw [css::uno::Exception]
- if an unrecoverable error occure inside this operation.
+ if an unrecoverable error occur inside this operation.
*/
CacheItem impl_loadItem(const css::uno::Reference< css::container::XNameAccess >& xSet ,
EItemType eType ,
@@ -884,7 +884,7 @@ class FilterCache : public BaseLock
@descr The outside code has to be shure, that the item does not already exists
inside this cachse. Otherwise it will be loaded twice. This method
- doesnt check such constellations!
+ doesn't check such constellations!
@param eType
specify the type of config item, which must be interpreted.
@@ -895,14 +895,14 @@ class FilterCache : public BaseLock
the set node name of the requested item.
@return An iterator, which points directly to the new cached item.
- Is a valid iterator if no exception occured here!
+ Is a valid iterator if no exception occurred here!
But to improve robustness - it should be checked :-)
@throw [css::container::NoSuchElementException]
if the item does not exists inside the configuration layer too!
@throw [css::uno::Exception]
- if an unrecoverable error occure inside this operation.
+ if an unrecoverable error occurs inside this operation.
*/
CacheItemList::iterator impl_loadItemOnDemand( EItemType eType,
const ::rtl::OUString& sItem)
@@ -935,7 +935,7 @@ class FilterCache : public BaseLock
//---------------------------------------
- /** @short specify, which save operation is neccessary for the specified item.
+ /** @short specify, which save operation is necessary for the specified item.
@desrc If an item of this cache will be added/removed or modified it will
be changed inside memory only first. But we save its name inside a special
diff --git a/filter/source/config/cache/filterfactory.cxx b/filter/source/config/cache/filterfactory.cxx
index a5f84bd3a183..14eb34ab470c 100644
--- a/filter/source/config/cache/filterfactory.cxx
+++ b/filter/source/config/cache/filterfactory.cxx
@@ -135,7 +135,7 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL FilterFactory::createInstan
#ifdef _FILTER_CONFIG_MIGRATION_Q_
/* -> TODO - HACK
- check if the given filter name realy exist ...
+ check if the given filter name really exists ...
Because our old implementation worked with an internal
type name instead of a filter name. For a small migration time
we must simulate this old feature :-( */
@@ -208,9 +208,9 @@ css::uno::Sequence< ::rtl::OUString > SAL_CALL FilterFactory::getAvailableServic
throw(css::uno::RuntimeException)
{
/* Attention: Instead of getElementNames() this method have to return only filter names,
- which can be created as UNO Services realy. Thats why we search for filters,
+ which can be created as UNO Services really. Thats why we search for filters,
which dont have a valid value for the property "FilterService".
- Of course we cant check for corrupted service names here. We can check
+ Of course we can't check for corrupted service names here. We can check
for empty strings only ...
*/
CacheItem lIProps;
@@ -415,9 +415,9 @@ OUStringList FilterFactory::impl_queryMatchByDocumentService(const QueryTokenize
const CacheItem aFilter = pCache->getItem(FilterCache::E_FILTER, sName);
CacheItem::const_iterator pProp ;
- // "matchByDocumentService=" => any filter will be adressed here
- // "matchByDocumentService=all" => any filter will be adressed here
- // "matchByDocumentService=com.sun.star..." => only filter matching this document service will be adressed
+ // "matchByDocumentService=" => any filter will be addressed here
+ // "matchByDocumentService=all" => any filter will be addressed here
+ // "matchByDocumentService=com.sun.star..." => only filter matching this document service will be addressed
::rtl::OUString sCheckValue = aFilter.getUnpackedValueOrDefault(PROPNAME_DOCUMENTSERVICE, ::rtl::OUString());
if (
( sDocumentService.getLength() ) &&
@@ -430,8 +430,8 @@ OUStringList FilterFactory::impl_queryMatchByDocumentService(const QueryTokenize
// "iflags=" => not allowed
// "iflags=-1" => not allowed
- // "iflags=0" => not usefull
- // "iflags=283648" => only filter, which has set these flag field will be adressed
+ // "iflags=0" => not useful
+ // "iflags=283648" => only filter, which has set these flag field will be addressed
sal_Int32 nCheckValue = aFilter.getUnpackedValueOrDefault(PROPNAME_FLAGS, (sal_Int32)0);
if (
(nIFlags > 0 ) &&
@@ -443,8 +443,8 @@ OUStringList FilterFactory::impl_queryMatchByDocumentService(const QueryTokenize
// "eflags=" => not allowed
// "eflags=-1" => not allowed
- // "eflags=0" => not usefull
- // "eflags=283648" => only filter, which has not set these flag field will be adressed
+ // "eflags=0" => not useful
+ // "eflags=283648" => only filter, which has not set these flag field will be addressed
if (
(nEFlags > 0 ) &&
((nCheckValue & nEFlags) == nEFlags)
@@ -674,7 +674,7 @@ OUStringList FilterFactory::impl_readSortedFilterListFromConfig(const ::rtl::OUS
xUISortConfig->getByName(sModule) >>= xModule;
if (xModule.is()) // only to be on the safe side of life if the exception was not thrown .-)
{
- // Note: convertion of the returned Any to OUStringList throws
+ // Note: conversion of the returned Any to OUStringList throws
// an IllegalArgumentException if the type does not match ...
// but it resets the OUStringList to a length of 0 if the Any is empty!
OUStringList lSortedFilters(xModule->getByName(PROPNAME_SORTEDFILTERLIST));
diff --git a/filter/source/config/cache/frameloaderfactory.cxx b/filter/source/config/cache/frameloaderfactory.cxx
index 731c8d3ef8fe..23cff43ba4f0 100644
--- a/filter/source/config/cache/frameloaderfactory.cxx
+++ b/filter/source/config/cache/frameloaderfactory.cxx
@@ -89,7 +89,7 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL FrameLoaderFactory::createI
#ifdef _FILTER_CONFIG_MIGRATION_Q_
/* -> TODO - HACK
- check if the given loader name realy exist ...
+ check if the given loader name really exists ...
Because our old implementation worked with an internal
type name instead of a loader name. For a small migration time
we must simulate this old feature :-( */
diff --git a/filter/source/config/cache/lateinitlistener.cxx b/filter/source/config/cache/lateinitlistener.cxx
index 3fdd10a2e86a..f7f90ff7957a 100644
--- a/filter/source/config/cache/lateinitlistener.cxx
+++ b/filter/source/config/cache/lateinitlistener.cxx
@@ -119,7 +119,7 @@ void SAL_CALL LateInitListener::disposing(const css::lang::EventObject& /* aEven
// Normaly it should never be called. Because we cancel our listener connection
// if we got the event about finished open of the first office document.
// But if this method was reached, it indicates an office, which was started
- // (might as remote script container for an external API client) but not realy used.
+ // (might as remote script container for an external API client) but not really used.
// SAFE ->
::osl::ResettableMutexGuard aLock(m_aLock);
diff --git a/filter/source/config/cache/querytokenizer.hxx b/filter/source/config/cache/querytokenizer.hxx
index 628778c50609..0d1d3c173bd8 100644
--- a/filter/source/config/cache/querytokenizer.hxx
+++ b/filter/source/config/cache/querytokenizer.hxx
@@ -53,7 +53,7 @@ namespace filter{
</ul>
uses this schema.
- @attention This class is not threadsafe implemented. Because its not neccessary.
+ @attention This class is not threadsafe implemented. Because its not necessary.
But you have to make shure, that ist not used as such :-)
*/
class QueryTokenizer : public ::std::hash_map< ::rtl::OUString ,
@@ -83,7 +83,7 @@ class QueryTokenizer : public ::std::hash_map< ::rtl::OUString
a new query.
@descr The given query is immidiatly analyzed
- and seperated into its token, which can
+ and separated into its token, which can
be access by some specialized method later.
@param sQuery
diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx
index c13d608051bc..70644910c2a9 100644
--- a/filter/source/config/cache/typedetection.cxx
+++ b/filter/source/config/cache/typedetection.cxx
@@ -169,7 +169,7 @@ TypeDetection::~TypeDetection()
// verify every flat detected (or preselected!) type
// by calling its registered deep detection service.
// But break this loop if a type match to the given descriptor
- // by an URL pattern(!) or if deep detection isnt allowed from
+ // by an URL pattern(!) or if deep detection isn't allowed from
// outside (bAllowDeep=sal_False) or break the whole detection by
// throwing an exception if creation of the might needed input
// stream failed by e.g. an IO exception ...
@@ -179,7 +179,7 @@ TypeDetection::~TypeDetection()
//*******************************************
// if no flat detected (nor preselected!) type could be
- // verified and no error occured during creation of
+ // verified and no error occurred during creation of
// the might needed input stream, start detection
// which uses all registered deep detection services.
if (
@@ -415,9 +415,9 @@ sal_Bool TypeDetection::impl_getPreselectionForType(const ::rtl::OUString& sPreS
const css::util::URL& aParsedURL ,
FlatDetection& rFlatTypes )
{
- // Can be used to supress execution of some parts of this method
+ // Can be used to suppress execution of some parts of this method
// if its already clear that detected type is valid or not.
- // Its neccessary to use shared code at the end, which update
+ // Its necessary to use shared code at the end, which update
// all return parameters constistency!
sal_Bool bBreakDetection = sal_False;
@@ -456,7 +456,7 @@ sal_Bool TypeDetection::impl_getPreselectionForType(const ::rtl::OUString& sPreS
if (!bBreakDetection)
{
- // We cant check a preselected type for a given stream!
+ // We can't check a preselected type for a given stream!
// So we must believe, that it can work ...
if (aParsedURL.Complete.equalsAsciiL("private:stream", 14))
bBreakDetection = sal_True;
@@ -471,8 +471,8 @@ sal_Bool TypeDetection::impl_getPreselectionForType(const ::rtl::OUString& sPreS
INetURLObject::DECODE_WITH_CHARSET);
sExtension = sExtension.toAsciiLowerCase();
- // otherwhise we must know, if it matches to the given URL realy.
- // especialy if it matches by its extension or pattern registration.
+ // otherwise we must know, if it matches to the given URL really.
+ // especially if it matches by its extension or pattern registration.
OUStringList lExtensions(aType[PROPNAME_EXTENSIONS]);
OUStringList lURLPattern(aType[PROPNAME_URLPATTERN]);
@@ -549,9 +549,9 @@ sal_Bool TypeDetection::impl_getPreselectionForFilter(const ::rtl::OUString& sPr
const css::util::URL& aParsedURL ,
FlatDetection& rFlatTypes )
{
- // Can be used to supress execution of some parts of this method
+ // Can be used to suppress execution of some parts of this method
// if its already clear that detected filter is valid or not.
- // Its neccessary to use shared code at the end, which update
+ // Its necessary to use shared code at the end, which update
// all return parameters constistency!
sal_Bool bBreakDetection = sal_False;
@@ -701,9 +701,9 @@ void TypeDetection::impl_getPreselection(const css::util::URL& aP
And the user normaly preselects a filter or type. The preslected
document service cames from the dialog.
- Further it doesnt matter if the user preselected a filter or a document service.
+ Further it doesn't matter if the user preselected a filter or a document service.
A filter selection is always more explicit then a document service selection.
- So it must be pereferred. An order between type and filter selection cant be discussed .-)
+ So it must be pereferred. An order between type and filter selection can't be discussed .-)
*/
::rtl::OUString sSelectedType = rDescriptor.getUnpackedValueOrDefault(::comphelper::MediaDescriptor::PROP_TYPENAME(), ::rtl::OUString());
@@ -737,8 +737,8 @@ void TypeDetection::impl_getPreselection(const css::util::URL& aP
// solutions:
// a) no types => no detection
// b) deep detection not allowed => return first valid type of list (because its the preferred or the first valid one)
- // or(!) match by URLPattern => in such case a deep detection will be supressed!
- // c) type has no detect service => safe the first occured type without a detect service
+ // or(!) match by URLPattern => in such case a deep detection will be suppressed!
+ // c) type has no detect service => safe the first occurred type without a detect service
// as "last chance"(!). It will be used outside of this method
// if no further type could be detected.
// It must be the first one, because it can be a preferred type.
@@ -1005,7 +1005,7 @@ void TypeDetection::impl_seekStreamToZero(comphelper::MediaDescriptor& rDescript
// <- SAFE
// Attention! If e.g. an office module was not installed sometimes we find a
- // registered detect service, which is referred inside the configuration ... but not realy
+ // registered detect service, which is referred inside the configuration ... but not really
// installed. On the other side we use third party components here, which can make trouble anyway.
// So we should handle errors during creation of such services more gracefully .-)
xDetector = css::uno::Reference< css::document::XExtendedFilterDetection >(
@@ -1087,8 +1087,8 @@ void TypeDetection::impl_seekStreamToZero(comphelper::MediaDescriptor& rDescript
// Dont distrub the user for "non existing files - means empty URLs" or
// if we was forced to detect a stream.
// Reason behind: We must be shure to ask user for "unknown contents" only ...
- // and not for "missing files". Especialy if detection is done by a stream only
- // we cant check if the stream points to an "existing content"!
+ // and not for "missing files". Especially if detection is done by a stream only
+ // we can't check if the stream points to an "existing content"!
if (
(!sURL.getLength() ) || // "non existing file" ?
(!xStream.is() ) || // non existing file !
diff --git a/filter/source/config/cache/typedetection.hxx b/filter/source/config/cache/typedetection.hxx
index 398d9f8af788..9aa41434fcf3 100644
--- a/filter/source/config/cache/typedetection.hxx
+++ b/filter/source/config/cache/typedetection.hxx
@@ -101,11 +101,11 @@ class TypeDetection : public ::cppu::ImplInheritanceHelper1< BaseContainer
MediaDescriptor and validate this information.
@descr Only in case the preselected filter exists and its type registration
- seems to be usefully, it would be used realy as valid type detection
- result. This method doesnt make any deep detection here. It checks only
+ seems to be usefully, it would be used really as valid type detection
+ result. This method doesn't make any deep detection here. It checks only
if the preselection match to the URL by an URLPattern.
This information has to be added to the given rFlatTypes list too.
- The outside code can use it to supress a deep detection then in general.
+ The outside code can use it to suppress a deep detection then in general.
Because pattern are defined as non detectable at all!
@param pDescriptor
@@ -130,16 +130,16 @@ class TypeDetection : public ::cppu::ImplInheritanceHelper1< BaseContainer
@descr It steps over all flat detected types (given by the parameter lFlatTypes),
try it and search for most suitable one.
The specified MediaDescriptor will be patched, so it contain
- the right values everytime. Using of any deep detection service
+ the right values every time. Using of any deep detection service
can be enabled/disabled. And last but not least: If the results
- wont be realy clear (because a flat detected type has no deep
+ wont be really clear (because a flat detected type has no deep
detection service), a "sugested" type name will be returned as "rLastChance".
It can be used after e.g. all well known deep detection services
was used without getting any result. Then this "last-chance-type"
should be returned. Of course using of it can fail too ... but its a try :-)
As an optimization - this method collects the names of all used deep
- detection services. This information can be usefull inside the may be
+ detection services. This information can be useful inside the may be
afterwards called method "impl_detectTypeDeepOnly()"!
@param rDescriptor
@@ -183,7 +183,7 @@ class TypeDetection : public ::cppu::ImplInheritanceHelper1< BaseContainer
and check her results. The first positive result will be
used for return. Its more a "try and error" algorithm then
a real type detection and will be used if a flat detection
- cant work realy ... e.g. if the extension of an URL is
+ can't work really ... e.g. if the extension of an URL is
missing or wrong.
@param rDescriptor
@@ -207,7 +207,7 @@ class TypeDetection : public ::cppu::ImplInheritanceHelper1< BaseContainer
/** @short seek a might existing stream to position 0.
@descr This is an optinal action to be more robust
- in case any detect service doesnt make this seek ...
+ in case any detect service doesn't make this seek ...
Normaly it's part of any called detect service or filter ...
but sometimes it's not done there.
@@ -222,7 +222,7 @@ class TypeDetection : public ::cppu::ImplInheritanceHelper1< BaseContainer
detect service (threadsafe!).
@descr It creates the right uno service, prepare the
- needed MediaDescriptor, call ths right interfaces,
+ needed MediaDescriptor, call this right interfaces,
and return the results.
@attention The results (means type and corresponding filter)
@@ -258,7 +258,7 @@ class TypeDetection : public ::cppu::ImplInheritanceHelper1< BaseContainer
//---------------------------------------
/** @short check if an input stream is already part of the
- given MediaDesciptor and creates a new one if neccessary.
+ given MediaDesciptor and creates a new one if necessary.
@attention This method does further something special!
<ul>
@@ -286,7 +286,7 @@ class TypeDetection : public ::cppu::ImplInheritanceHelper1< BaseContainer
Note : Its content will be adapted to returned result of this method.
Means: The stream will be added to it.
- @throw Any suitable exception if stream should be opened but operation was not sucessfull.
+ @throw Any suitable exception if stream should be opened but operation was not successful.
Note: If an interactionHandler is part of the given descriptor too, it was already used.
Means: let the exception pass trough the top most interface method!
*/
@@ -379,7 +379,7 @@ class TypeDetection : public ::cppu::ImplInheritanceHelper1< BaseContainer
types too !
@note #i60158#
- sometimes our text ascii and our csv filter cant work together.
+ sometimes our text ascii and our csv filter can't work together.
Then we overwrite our detection hardly.
sType param is used as out parameter then too ... and
rDescriptor will be changed by selecting another filter.
diff --git a/filter/source/config/cache/versions.hxx b/filter/source/config/cache/versions.hxx
index b0ae3a56d625..53e13baf29aa 100644
--- a/filter/source/config/cache/versions.hxx
+++ b/filter/source/config/cache/versions.hxx
@@ -27,6 +27,6 @@
//_______________________________________________
//#define _FILTER_CONFIG_Q_ // final Q code base
-#define _FILTER_CONFIG_MIGRATION_Q_ // usefull for migration time, to support some old functionality temp. :-)
+#define _FILTER_CONFIG_MIGRATION_Q_ // useful for migration time, to support some old functionality temp. :-)
#endif // _FILTER_CONFIG_VERSIONS_HXX_
diff --git a/filter/source/config/fragments/makefile.mk b/filter/source/config/fragments/makefile.mk
index 84497eebdd17..971c1bca405e 100644
--- a/filter/source/config/fragments/makefile.mk
+++ b/filter/source/config/fragments/makefile.mk
@@ -156,7 +156,7 @@ PACKLANG_PARAM := --stringparam
PACKLANG_XSL :=
# -----------------------------------------------------------------------------
-# build every module seperated
+# build every module separated
# -----------------------------------------------------------------------------
$(REALFILTERPACKAGES_TYPES_FLAG) : $$(TYPES_4$$(@:b))
diff --git a/filter/source/config/tools/merge/pyAltFCFGMerge b/filter/source/config/tools/merge/pyAltFCFGMerge
index 8015de567522..1adc1f1aa503 100755
--- a/filter/source/config/tools/merge/pyAltFCFGMerge
+++ b/filter/source/config/tools/merge/pyAltFCFGMerge
@@ -311,7 +311,7 @@ def printHelp():
print("parameters:")
print("\tcfg=<file name>")
print("\t\tmust point to a system file, which contains")
- print("\t\tall neccessary configuration data for the merge process.")
+ print("\t\tall necessary configuration data for the merge process.")
print("\tFurther cou can specify every parameter allowed in the")
print("\tconfig file as command line parameter too, to overwrite")
print("\tthe value from the file.")
@@ -502,7 +502,7 @@ class Merger:
self.m_aCfg.getValue(PROP_XMLPACKAGE ),\
self.m_aCfg.getValueWithDefault(PROP_LANGUAGEPACK, False))
- # counts all transfered fragments
+ # counts all transferred fragments
# Can be used later to decide, if a generated package file
# contains "nothing"!
nItemCount = 0
diff --git a/filter/source/config/tools/split/FCFGSplit.java b/filter/source/config/tools/split/FCFGSplit.java
index afd4656ba3b5..24ff179e75f9 100644
--- a/filter/source/config/tools/split/FCFGSplit.java
+++ b/filter/source/config/tools/split/FCFGSplit.java
@@ -182,7 +182,7 @@ public class FCFGSplit
* Its meaned relativ to m_sOutDir. */
private static java.lang.String m_sSubDirContentHandlers;
- /** enable/disable generating of filter groups - seperated by
+ /** enable/disable generating of filter groups - separated by
* application modules. */
private static boolean m_bSeperateFiltersByModule;
@@ -466,7 +466,7 @@ public class FCFGSplit
sTimes.append(" ms\n" );
m_aDebug.setDetailedInfo(sTimes.toString());
- // everyting seems to be ok.
+ // everything seems to be ok.
// Return "OK" to calli.
m_aDebug.setGlobalInfo("Finish.");
System.exit(0);
diff --git a/filter/source/config/tools/split/Splitter.java b/filter/source/config/tools/split/Splitter.java
index 69461bda2b8a..94c94b37efdb 100644
--- a/filter/source/config/tools/split/Splitter.java
+++ b/filter/source/config/tools/split/Splitter.java
@@ -80,7 +80,7 @@ public class Splitter
createDirectoryStructures();
// use some statistic values to check if all cache items
- // will be transformed realy.
+ // will be transformed really.
int nTypes = m_aDataSet.m_aCache.getItemCount(Cache.E_TYPE );
int nFilters = m_aDataSet.m_aCache.getItemCount(Cache.E_FILTER );
int nDetectServices = m_aDataSet.m_aCache.getItemCount(Cache.E_DETECTSERVICE );
diff --git a/filter/source/flash/swfdialog.cxx b/filter/source/flash/swfdialog.cxx
index 256dceac5c9f..4c4acf33f1ac 100644
--- a/filter/source/flash/swfdialog.cxx
+++ b/filter/source/flash/swfdialog.cxx
@@ -171,7 +171,7 @@ Dialog* SWFDialog::createDialog( Window* pParent )
if( mpResMgr && mxSrcDoc.is() )
{
-/* TODO: From the controler we may get information what page is visible and what shapes
+/* TODO: From the controller we may get information what page is visible and what shapes
are selected, if we optionaly want to limit output to that
Any aSelection;
diff --git a/filter/source/flash/swffilter.cxx b/filter/source/flash/swffilter.cxx
index 2d0fb40f1a9e..aafbfe60eb1d 100644
--- a/filter/source/flash/swffilter.cxx
+++ b/filter/source/flash/swffilter.cxx
@@ -211,7 +211,7 @@ OUString exportBackground(FlashExporter &aFlashExporter, Reference< XDrawPage >
OUString filename = STR("slide") + VAL(nPage+1) + STR(suffix) + STR(".swf");
OUString fullpath = sPath + STR("/") + filename;
- // AS: If suffix is "o" then the last paramter is true (for exporting objects).
+ // AS: If suffix is "o" then the last parameter is true (for exporting objects).
Reference<XOutputStream> xOutputStreamWrap(*(new OslOutputStreamWrapper(fullpath)), UNO_QUERY);
sal_uInt16 nCached = aFlashExporter.exportBackgrounds( xDrawPage, xOutputStreamWrap, sal::static_int_cast<sal_uInt16>( nPage ), *suffix == 'o' );
aFlashExporter.Flush();
diff --git a/filter/source/flash/swfwriter.cxx b/filter/source/flash/swfwriter.cxx
index a6a2793b947e..f270a269b852 100644
--- a/filter/source/flash/swfwriter.cxx
+++ b/filter/source/flash/swfwriter.cxx
@@ -545,7 +545,7 @@ sal_Bool Writer::streamSound( const char * filename )
// not the sum of the number of samples in the L and R channels.
//
// The return code = number of bytes output in mp3buffer. This can be 0.
-// If it is <0, an error occured.
+// If it is <0, an error occurred.
for (int samples_written = 0; samples_written < info.frames; samples_written += samples_per_frame)
diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx
index 018cae8e2b7f..16b68d4b190b 100644
--- a/filter/source/flash/swfwriter1.cxx
+++ b/filter/source/flash/swfwriter1.cxx
@@ -607,7 +607,7 @@ void Writer::Impl_writeText( const Point& rPos, const String& rText, const sal_I
// write text element
-/* test code to create a bound rect, not realy working for rotated text
+/* test code to create a bound rect, not really working for rotated text
Size aTextSize( map( Size( mpVDev->GetTextWidth( rText ), mpVDev->GetTextHeight() ) ) );
Point aMetricPoint( map( Point( aMetric.GetLeading(), aMetric.GetAscent() ) ) );
@@ -710,7 +710,7 @@ void Writer::Impl_writeText( const Point& rPos, const String& rText, const sal_I
maShapeIds.push_back( nTextId );
- // AS: Write strikeout and underline, if neccessary. This code was originally taken from the SVG
+ // AS: Write strikeout and underline, if necessary. This code was originally taken from the SVG
// export facility, although the positioning had to be tweaked a little. I can't explain the
// numbers, but the flash lines up very well with the original OOo document. All of this should
// probably be converted to polygons as part of the meta file, though, as we don't handle any
@@ -757,9 +757,9 @@ void Writer::Impl_writeText( const Point& rPos, const String& rText, const sal_I
}
// -----------------------------------------------------------------------------
-// AS: Because JPEGs require the alpha channel provided seperately (JPEG does not
-// natively support alpha channel, but SWF lets you provide it seperately), we
-// extract the alpha channel into a seperate array here.
+// AS: Because JPEGs require the alpha channel provided separately (JPEG does not
+// natively support alpha channel, but SWF lets you provide it separately), we
+// extract the alpha channel into a separate array here.
void getBitmapData( const BitmapEx& aBmpEx, sal_uInt8*& tgadata, sal_uInt8*& tgaAlphadata, sal_uInt32& nWidth, sal_uInt32& nHeight )
{
if( !aBmpEx.IsEmpty() )
@@ -860,7 +860,7 @@ sal_uInt16 Writer::defineBitmap( const BitmapEx &bmpSource, sal_Int32 nJPEGQuali
#endif
// AS: SWF files let you provide an Alpha mask for JPEG images, but we have
- // to ZLIB compress the alpha channel seperately.
+ // to ZLIB compress the alpha channel separately.
uLong alpha_compressed_size = 0;
sal_uInt8 *pAlphaCompressed = NULL;
if (bmpSource.IsAlpha() || bmpSource.IsTransparent())
@@ -1043,7 +1043,7 @@ void Writer::Impl_writeBmp( sal_uInt16 nBitmapId, sal_uInt32 width, sal_uInt32 h
void Writer::Impl_writeJPEG(sal_uInt16 nBitmapId, const sal_uInt8* pJpgData, sal_uInt32 nJpgDataLength, sal_uInt8 *pAlphaCompressed, sal_uInt32 alpha_compressed_size )
{
- // AS: Go through the actuall JPEG bits, seperating out the
+ // AS: Go through the actuall JPEG bits, separating out the
// header fields from the actual image fields. Fields are
// identifed by 0xFFXX where XX is the field type. Both
// the header and the image need start and stop (D8 and D9),
@@ -1092,7 +1092,7 @@ void Writer::Impl_writeJPEG(sal_uInt16 nBitmapId, const sal_uInt8* pJpgData, sal
nLength = 2 + (pJpgSearch[2]<<8) + pJpgSearch[3];
}
- // AS: I'm refering to libjpeg for a list of what these
+ // AS: I'm referring to libjpeg for a list of what these
// markers are. See jdmarker.c for a list.
// AS: I'm ignoring application specific markers 0xE1...0xEF
// and comments 0xFE. I don't know what
diff --git a/filter/source/graphicfilter/ieps/ieps.cxx b/filter/source/graphicfilter/ieps/ieps.cxx
index 588c0584a47e..b81bd79d5717 100644
--- a/filter/source/graphicfilter/ieps/ieps.cxx
+++ b/filter/source/graphicfilter/ieps/ieps.cxx
@@ -173,7 +173,7 @@ static oslProcessError runProcessWithPathSearch(const rtl::OUString &rProgName,
*
* Because one of our programs is called "convert" and there is a convert
* in the windows system directory, we want to explicitly search the PATH
- * to avoid picking up on that one if ImageMagick's convert preceeds it in
+ * to avoid picking up on that one if ImageMagick's convert precedes it in
* PATH.
*
*/
diff --git a/filter/source/msfilter/countryid.cxx b/filter/source/msfilter/countryid.cxx
index b6c5d25d89ce..a3795a94c574 100644
--- a/filter/source/msfilter/countryid.cxx
+++ b/filter/source/msfilter/countryid.cxx
@@ -325,7 +325,7 @@ CountryId ConvertLanguageToCountry( LanguageType eLanguage )
LanguageType ConvertCountryToLanguage( CountryId eCountry )
{
- // just find the first occurance of eCountry and return the language type
+ // just find the first occurrence of eCountry and return the language type
const CountryEntry* pEntry = std::find_if( pTable, pEnd, CountryEntryPred_Country( eCountry ) );
return (pEntry != pEnd) ? pEntry->meLanguage : LANGUAGE_DONTKNOW;
}
diff --git a/filter/source/msfilter/dffpropset.cxx b/filter/source/msfilter/dffpropset.cxx
index 7f0326a135e1..e6b786dd093f 100644
--- a/filter/source/msfilter/dffpropset.cxx
+++ b/filter/source/msfilter/dffpropset.cxx
@@ -1131,7 +1131,7 @@ void DffPropSet::ReadPropSet( SvStream& rIn, bool bSetUninitializedOnly )
sal_uInt32 nMergeFlags = nContent;
nMergeFlags &= ( nMergeFlags >> 16 ) | 0xffff0000; // clearing low word
- nMergeFlags &= ( ( nCurrentFlags & 0xffff0000 ) // remove allready hard set
+ nMergeFlags &= ( ( nCurrentFlags & 0xffff0000 ) // remove already hard set
| ( nCurrentFlags >> 16 ) ) ^ 0xffffffff; // attributes from mergeflags
nCurrentFlags &= ( ( nMergeFlags & 0xffff0000 ) // apply zero master bits
| ( nMergeFlags >> 16 ) ) ^ 0xffffffff;
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 430aae9aa52e..f01724a4ba19 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -3379,7 +3379,7 @@ FASTBOOL SvxMSDffManager::SeekToRec( SvStream& rSt, sal_uInt16 nRecId, sal_uLong
}
while ( rSt.GetError() == 0 && rSt.Tell() < nMaxFilePos && !bRet );
if ( !bRet )
- rSt.Seek( nFPosMerk ); // restore orginal FilePos
+ rSt.Seek( nFPosMerk ); // restore original FilePos
return bRet;
}
@@ -3620,7 +3620,7 @@ Color SvxMSDffManager::MSO_CLR_ToColor( sal_uInt32 nColorCode, sal_uInt16 nConte
aColor = Color( (sal_uInt8)nR, (sal_uInt8)nG, (sal_uInt8)nB );
}
break;
- case 0x04 : // substract grey level RGB(p,p,p)
+ case 0x04 : // subtract grey level RGB(p,p,p)
{
sal_Int16 nR = (sal_Int16)aColor.GetRed() - (sal_Int16)nParameter;
sal_Int16 nG = (sal_Int16)aColor.GetGreen() - (sal_Int16)nParameter;
@@ -3634,7 +3634,7 @@ Color SvxMSDffManager::MSO_CLR_ToColor( sal_uInt32 nColorCode, sal_uInt16 nConte
aColor = Color( (sal_uInt8)nR, (sal_uInt8)nG, (sal_uInt8)nB );
}
break;
- case 0x05 : // substract from grey level RGB(p,p,p)
+ case 0x05 : // subtract from grey level RGB(p,p,p)
{
sal_Int16 nR = (sal_Int16)nParameter - (sal_Int16)aColor.GetRed();
sal_Int16 nG = (sal_Int16)nParameter - (sal_Int16)aColor.GetGreen();
diff --git a/filter/source/msfilter/msocximex.cxx b/filter/source/msfilter/msocximex.cxx
index f101c3cc4d16..9b2a72cc96e8 100644
--- a/filter/source/msfilter/msocximex.cxx
+++ b/filter/source/msfilter/msocximex.cxx
@@ -113,7 +113,7 @@ long ReadAlign(SvStorageStream *pS, long nPos, int nAmount)
// referenced externally. On import from ms document try to save images for controls here.
// Images are stored in directory called temp in the user installation directory. Next version of OO/SO
// hopefully will address this issue and allow a choice e.g. images for controls to be stored as links
-// or embeded in the document.
+// or embedded in the document.
// [out]location path to the stream to where the image is to be stored,
// if same name exists in folder then this function calcuates a new name
@@ -740,7 +740,7 @@ class ContainerRecReader
{
sal_uInt32 nUnknown_32b; // unknown 32 bit structure, flags ?
sal_uInt16 nUnknown_16b; // unknown 16 bit structure
- sal_uInt16 nMysteryLen; // lenght of unknown sub record
+ sal_uInt16 nMysteryLen; // length of unknown sub record
*pS >> nUnknown_32b;
*pS >> nUnknown_16b;
@@ -4487,7 +4487,7 @@ OCX_Control * SvxMSConvertOCXControls::OCX_Factory(
//Begin nasty hack
/*
There is a truly horrible thing with EditControls and FormattedField
- Controls, they both pretend to have an EDITBOX ClassId for compability
+ Controls, they both pretend to have an EDITBOX ClassId for compatibility
reasons, at some stage in the future hopefully there will be a proper
FormulaField ClassId rather than this piggybacking two controls onto the
same ClassId, when this happens uncomment the FORMULAFIELD in the OCX_Tab
@@ -4566,8 +4566,8 @@ sal_Bool SvxMSConvertOCXControls::ReadOCXStream( SvStorageRef& rSrc1,
pSt->SetNumberFormatInt( NUMBERFORMAT_INT_LITTLEENDIAN );
/*Get Class Id of this object, see if it is one of the types
- *that this importer can handle, call the appropiate handler
- to read that control, and call the appropiate handler to
+ *that this importer can handle, call the appropriate handler
+ to read that control, and call the appropriate handler to
insert that control
*/
@@ -4603,8 +4603,8 @@ sal_Bool SvxMSConvertOCXControls::ReadOCXExcelKludgeStream(
{
sal_Bool bRet=sal_False;
/*Get Class Id of this object, see if it is one of the types
- *that this importer can handle, call the appropiate handler
- to read that control, and call the appropiate handler to
+ *that this importer can handle, call the appropriate handler
+ to read that control, and call the appropriate handler to
insert that control
*/
/*The Excel Kludge is to concatenate a class id with a contents
diff --git a/filter/source/msfilter/msvbahelper.cxx b/filter/source/msfilter/msvbahelper.cxx
index 431262cc78bc..e9f657447c45 100644
--- a/filter/source/msfilter/msvbahelper.cxx
+++ b/filter/source/msfilter/msvbahelper.cxx
@@ -423,7 +423,7 @@ MacroResolvedInfo resolveVBAMacro( SfxObjectShell* pShell, const rtl::OUString&
return aRes;
}
-// Treat the args as possible inouts ( convertion at bottom of method )
+// Treat the args as possible inouts ( conversion at bottom of method )
sal_Bool executeMacro( SfxObjectShell* pShell, const String& sMacroName, uno::Sequence< uno::Any >& aArgs, uno::Any& aRet, const uno::Any& /*aCaller*/)
{
sal_Bool bRes = sal_False;
diff --git a/filter/source/msfilter/svxmsbas.cxx b/filter/source/msfilter/svxmsbas.cxx
index 5c02f056b154..309faf40dac8 100644
--- a/filter/source/msfilter/svxmsbas.cxx
+++ b/filter/source/msfilter/svxmsbas.cxx
@@ -313,7 +313,7 @@ sal_Bool SvxImportMSVBasic::ImportCode_Impl( const String& rStorageName,
const String &sBasicModule = aVBA.GetStreamName( i);
#endif
/* #117718# expose information regarding type of Module
- * Class, Form or plain 'ould VBA module with a REM statment
+ * Class, Form or plain 'ould VBA module with a REM statement
* at the top of the module. Mapping of Module Name
* to type is performed in VBA_Impl::Open() method,
* ( msvbasic.cxx ) by examining the PROJECT stream.
diff --git a/filter/source/xmlfilterdetect/filterdetect.cxx b/filter/source/xmlfilterdetect/filterdetect.cxx
index 0e07630961c3..cf7c28da852b 100644
--- a/filter/source/xmlfilterdetect/filterdetect.cxx
+++ b/filter/source/xmlfilterdetect/filterdetect.cxx
@@ -186,7 +186,7 @@ Reference< com::sun::star::frame::XModel > xModel;
}
catch(Exception &)
{
- OSL_ENSURE( sal_False, "An Exception occured while opening File stream" );
+ OSL_ENSURE( sal_False, "An Exception occurred while opening File stream" );
}
if(sTypeName.equalsAscii(""))
{
diff --git a/filter/source/xslt/common/math.xsl b/filter/source/xslt/common/math.xsl
index 6f2c9afd1064..5ea625607c97 100644
--- a/filter/source/xslt/common/math.xsl
+++ b/filter/source/xslt/common/math.xsl
@@ -35,7 +35,7 @@ Public Functions
abs(x)
max(x1,x2)
min(x1,x2)
- power(x,power(interger only), rounding-factor=100)
+ power(x,power(integer only), rounding-factor=100)
sqrt(x, rounding-factor=100)
convert2radian(x,rounding-factor=100)
convert2degree(x,rounding-factor=100)
diff --git a/filter/source/xslt/export/spreadsheetml/ooo2spreadsheetml.xsl b/filter/source/xslt/export/spreadsheetml/ooo2spreadsheetml.xsl
index 48f846b75b68..439ae4ed3ca6 100644
--- a/filter/source/xslt/export/spreadsheetml/ooo2spreadsheetml.xsl
+++ b/filter/source/xslt/export/spreadsheetml/ooo2spreadsheetml.xsl
@@ -83,7 +83,7 @@
<xsl:param name="targetBaseURL" select="'./'" />
<!-- OPTIONAL: (MANDATORY: for input document with relative internal links)
- To access contents of a office file (content like the meta.xml, styles.xml file or graphics) a URL could be choosen.
+ To access contents of a office file (content like the meta.xml, styles.xml file or graphics) a URL could be chosen.
This could be even a JAR URL. The sourceBase of the content URL "jar:file:/C:/temp/Test.sxw!/content.xml" would be
"jar:file:/C:/temp/Test.sxw!/" for example.
When working with OpenOffice API a Package-URL encoded over HTTP can be used to access the jared contents of the the jared document. -->
diff --git a/filter/source/xslt/export/spreadsheetml/table.xsl b/filter/source/xslt/export/spreadsheetml/table.xsl
index 7aae5ddfa0db..e2accc359fc1 100644
--- a/filter/source/xslt/export/spreadsheetml/table.xsl
+++ b/filter/source/xslt/export/spreadsheetml/table.xsl
@@ -471,7 +471,7 @@
<xsl:param name="calculatedCellPosition" select="1" /><!-- the later table position of the current cell -->
<xsl:param name="calculatedRowPosition" /><!-- the later table position of the current row -->
<xsl:param name="setIndex" select="false()" /> <!-- if not '0' @ss:Index used for neglecting repeteated empty cells -->
- <xsl:param name="repetition" select="@table:number-columns-repeated" /> <!-- used for explicit writen out cells -->
+ <xsl:param name="repetition" select="@table:number-columns-repeated" /> <!-- used for explicit written out cells -->
<xsl:param name="repetitionCellPosition" select="$calculatedCellPosition" /><!-- during repetition formula needs exact cell positioning -->
<xsl:param name="nextMatchedCellPosition"><!-- the later table position of the next cell -->
<xsl:choose>
diff --git a/filter/source/xslt/export/wordml/ooo2wordml_draw.xsl b/filter/source/xslt/export/wordml/ooo2wordml_draw.xsl
index 76b5bcb8cebb..5f4013e64202 100644
--- a/filter/source/xslt/export/wordml/ooo2wordml_draw.xsl
+++ b/filter/source/xslt/export/wordml/ooo2wordml_draw.xsl
@@ -49,7 +49,7 @@
</xsl:variable>
<xsl:choose>
<!--
- deal with captions and frames first. draw:text-box is a powerfull element in OOo, its GUI name is frame. And OOo use it to contain Captions
+ deal with captions and frames first. draw:text-box is a powerful element in OOo, its GUI name is frame. And OOo use it to contain Captions
Since there is not a corresponding object in word, so we draw the text-box itself and its children separately. If it look like a Caption only frame
we'll adjust the text-box position to make it look pretty
-->
diff --git a/filter/source/xslt/export/wordml/ooo2wordml_field.xsl b/filter/source/xslt/export/wordml/ooo2wordml_field.xsl
index 954b79d42a79..6909b71aa07d 100644
--- a/filter/source/xslt/export/wordml/ooo2wordml_field.xsl
+++ b/filter/source/xslt/export/wordml/ooo2wordml_field.xsl
@@ -359,7 +359,7 @@ $field_number_format_style ='壹, 贰, 叁, ...' ">
</w:fldSimple>
</xsl:template>
<xsl:template name="field_convert_linebreak">
- <!-- this template convert the linebreak (&#x0A; and &#x0D;) in continous text to Ms word element<w:br/> -->
+ <!-- this template convert the linebreak (&#x0A; and &#x0D;) in continuous text to Ms word element<w:br/> -->
<xsl:param name="field_input_text"/>
<xsl:if test="not (contains($field_input_text,'&#x0A;'))">
<w:t>
diff --git a/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl b/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl
index 934f0fa662e6..e6e19d0900e0 100644
--- a/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl
+++ b/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl
@@ -4274,7 +4274,7 @@
<xsl:when test="ss:Alignment/@ss:Vertical = 'Center'">middle</xsl:when>
<xsl:when test="ss:Alignment/@ss:Vertical = 'Bottom'">bottom</xsl:when>
<xsl:when test="ss:Alignment/@ss:Vertical = 'Automatic'">middle</xsl:when>
- <!-- actually for vertical writen characters, not supported by StarOffice/OpenOffice now yet -->
+ <!-- actually for vertical written characters, not supported by StarOffice/OpenOffice now yet -->
<xsl:otherwise>middle</xsl:otherwise>
</xsl:choose>
</xsl:variable>
diff --git a/filter/source/xslt/import/uof2/uof2odf.xsl b/filter/source/xslt/import/uof2/uof2odf.xsl
index be6c3fbd877e..363c7f26f928 100644
--- a/filter/source/xslt/import/uof2/uof2odf.xsl
+++ b/filter/source/xslt/import/uof2/uof2odf.xsl
@@ -2162,10 +2162,10 @@
</xsl:for-each>
</xsl:template>
<xsl:template match="字:上下标类型_4143" mode="sentence">
- <xsl:variable name="positon">
+ <xsl:variable name="position">
<xsl:value-of select="."/>
</xsl:variable>
- <xsl:attribute name="style:text-position"><xsl:choose><xsl:when test="contains($positon,'sup')">super 58%</xsl:when><xsl:when test="contains($positon,'sub')">sub 58%</xsl:when></xsl:choose></xsl:attribute>
+ <xsl:attribute name="style:text-position"><xsl:choose><xsl:when test="contains($position,'sup')">super 58%</xsl:when><xsl:when test="contains($position,'sub')">sub 58%</xsl:when></xsl:choose></xsl:attribute>
</xsl:template>
<xsl:template match="字:缩放_4144" mode="sentence">
<xsl:attribute name="style:text-scale"><xsl:value-of select="."/>%</xsl:attribute>
@@ -13233,7 +13233,7 @@ iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAKElEQVR4nGNRZrhz57+yCuNdBjCAs1kg
</xsl:when>
</xsl:choose>
<xsl:attribute name="draw:opacity">100%</xsl:attribute>
- <!-- no Foreward Color data in ODF -->
+ <!-- no Forward Color data in ODF -->
<xsl:if test="图表:数据标记_E70E/@背景色E711">
<xsl:attribute name="draw:stroke" select="'solid'"/>
<xsl:attribute name="svg:stroke-color" select="图表:数据标记_E70E/@背景色E711"/>
diff --git a/filter/source/xslt/import/wordml/wordml2ooo.xsl b/filter/source/xslt/import/wordml/wordml2ooo.xsl
index 89ac99ddeb07..1f4b1fb4632f 100644
--- a/filter/source/xslt/import/wordml/wordml2ooo.xsl
+++ b/filter/source/xslt/import/wordml/wordml2ooo.xsl
@@ -233,7 +233,7 @@
<xsl:template match="w:body">
<xsl:element name="office:body">
<xsl:element name="office:text">
- <!-- to add the sequece variable declaration at the begining of the office:body G.Y.-->
+ <!-- to add the sequece variable declaration at the beginning of the office:body G.Y.-->
<text:sequence-decls>
<xsl:call-template name="default_seqence_declaration"/>
<xsl:apply-templates select="/w:wordDocument/w:body//w:instrText[substring(normalize-space(text()),1,3) = 'SEQ' ] | /w:wordDocument/w:body//w:fldSimple[substring(normalize-space(@w:instr),1,3) = 'SEQ' ] " mode="sequence_declare"/>
diff --git a/filter/source/xslt/import/wordml/wordml2ooo_draw.xsl b/filter/source/xslt/import/wordml/wordml2ooo_draw.xsl
index bbc202e90d1f..afe739dd213f 100644
--- a/filter/source/xslt/import/wordml/wordml2ooo_draw.xsl
+++ b/filter/source/xslt/import/wordml/wordml2ooo_draw.xsl
@@ -1720,7 +1720,7 @@
<xsl:number from="/w:wordDocument/w:body" level="any" count="v:textpath" format="1"/>
</xsl:variable>
<xsl:variable name="font-family">
- <!-- we need remove the addtional &quot; from font-family -->
+ <!-- we need remove the additional &quot; from font-family -->
<xsl:value-of select="translate(substring-before(substring-after(@style,'font-family:'),';'), '&quot;' ,'')"/>
</xsl:variable>
<xsl:variable name="font-size">
diff --git a/filter/source/xslt/import/wordml/wordml2ooo_path.xsl b/filter/source/xslt/import/wordml/wordml2ooo_path.xsl
index 1deb000815a9..4c9d1da103ea 100644
--- a/filter/source/xslt/import/wordml/wordml2ooo_path.xsl
+++ b/filter/source/xslt/import/wordml/wordml2ooo_path.xsl
@@ -1529,7 +1529,7 @@
<xsl:value-of select="concat( $curr-char,$second-char , ':' , $position +2)"/>
</xsl:if>
<xsl:if test="$isvalid = '0' ">
- <xsl:message>ooo2wordml_path.xsl: Error command occured </xsl:message>
+ <xsl:message>ooo2wordml_path.xsl: Error command occurred </xsl:message>
</xsl:if>
</xsl:when>
<xsl:when test="$curr-char = 'n' ">
@@ -1546,7 +1546,7 @@
<xsl:value-of select="concat( $curr-char,$second-char , ':' , $position +2)"/>
</xsl:if>
<xsl:if test="$isvalid = '0' ">
- <xsl:message>ooo2wordml_path.xsl: Error command occured </xsl:message>
+ <xsl:message>ooo2wordml_path.xsl: Error command occurred </xsl:message>
</xsl:if>
</xsl:when>
<xsl:when test="$curr-char = 'w' ">
@@ -1563,7 +1563,7 @@
<xsl:value-of select="concat( $curr-char,$second-char , ':' , $position +2)"/>
</xsl:if>
<xsl:if test="$isvalid = '0' ">
- <xsl:message>ooo2wordml_path.xsl: Error command occured </xsl:message>
+ <xsl:message>ooo2wordml_path.xsl: Error command occurred </xsl:message>
</xsl:if>
</xsl:when>
<xsl:when test="$curr-char = 'q' ">
@@ -1581,7 +1581,7 @@
<xsl:value-of select="concat( $curr-char,$second-char , ':' , $position +2)"/>
</xsl:if>
<xsl:if test="$isvalid = '0' ">
- <xsl:message>ooo2wordml_path.xsl: Error command occured </xsl:message>
+ <xsl:message>ooo2wordml_path.xsl: Error command occurred </xsl:message>
</xsl:if>
</xsl:when>
<xsl:when test="$curr-char = 'h' ">
@@ -1597,7 +1597,7 @@
<xsl:value-of select="concat( $curr-char,$second-char , ':' , $position +2)"/>
</xsl:if>
<xsl:if test="$isvalid = '0' ">
- <xsl:message>ooo2wordml_path.xsl: Error command occured </xsl:message>
+ <xsl:message>ooo2wordml_path.xsl: Error command occurred </xsl:message>
</xsl:if>
</xsl:when>
<xsl:when test="string-length(translate($curr-char , 'mlcxetrv' ,'')) = 0 ">
diff --git a/filter/source/xslt/odf2xhtml/export/common/table/table_cells.xsl b/filter/source/xslt/odf2xhtml/export/common/table/table_cells.xsl
index abbb3fa5b4cf..b4a042f77967 100644
--- a/filter/source/xslt/odf2xhtml/export/common/table/table_cells.xsl
+++ b/filter/source/xslt/odf2xhtml/export/common/table/table_cells.xsl
@@ -64,7 +64,7 @@
<!-- matching cells to give out -> covered table cells are not written out -->
<xsl:template match="table:table-cell">
<xsl:param name="globalData" />
- <!-- position of the current input cell to get the correct colum style (hidden are also counted)-->
+ <!-- position of the current input cell to get the correct column style (hidden are also counted)-->
<xsl:param name="allTableColumns" />
<xsl:param name="maxRowLength" />
<xsl:param name="tableDataType" />
@@ -101,7 +101,7 @@
<xsl:choose>
<xsl:when test="function-available('common:node-set')">
<xsl:call-template name="create-table-cell">
- <!-- position of the current input cell to get the correct colum style (hidden are also counted)-->
+ <!-- position of the current input cell to get the correct column style (hidden are also counted)-->
<xsl:with-param name="allTableColumns" select="$allTableColumns" />
<xsl:with-param name="maxRowLength" select="$maxRowLength" />
<xsl:with-param name="precedingColumns" select="sum(common:node-set($precedingCells)/*)" />
@@ -111,7 +111,7 @@
</xsl:when>
<xsl:when test="function-available('xalan:nodeset')">
<xsl:call-template name="create-table-cell">
- <!-- position of the current input cell to get the correct colum style (hidden are also counted)-->
+ <!-- position of the current input cell to get the correct column style (hidden are also counted)-->
<xsl:with-param name="allTableColumns" select="$allTableColumns" />
<xsl:with-param name="maxRowLength" select="$maxRowLength" />
<xsl:with-param name="precedingColumns" select="sum(xalan:nodeset($precedingCells)/*)" />
@@ -121,7 +121,7 @@
</xsl:when>
<xsl:when test="function-available('xt:node-set')">
<xsl:call-template name="create-table-cell">
- <!-- position of the current input cell to get the correct colum style (hidden are also counted)-->
+ <!-- position of the current input cell to get the correct column style (hidden are also counted)-->
<xsl:with-param name="allTableColumns" select="$allTableColumns" />
<xsl:with-param name="maxRowLength" select="$maxRowLength" />
<xsl:with-param name="precedingColumns" select="sum(xt:node-set($precedingCells)/*)" />
@@ -138,7 +138,7 @@
<!-- current node is a table:table-cell -->
<xsl:template name="create-table-cell">
- <!-- position of the current input cell to get the correct colum style (hidden are also counted)-->
+ <!-- position of the current input cell to get the correct column style (hidden are also counted)-->
<xsl:param name="allTableColumns" />
<xsl:param name="globalData" />
<xsl:param name="maxRowLength" />
diff --git a/filter/source/xslt/odf2xhtml/export/common/table/table_rows.xsl b/filter/source/xslt/odf2xhtml/export/common/table/table_rows.xsl
index ece5fb12b04e..6fb56108b295 100644
--- a/filter/source/xslt/odf2xhtml/export/common/table/table_rows.xsl
+++ b/filter/source/xslt/odf2xhtml/export/common/table/table_rows.xsl
@@ -66,7 +66,7 @@
<xsl:param name="allTableColumns" />
<!-- Some Office Calc documents simulate a background by repeating one of the later cells until end of used space
- (The value of "table:number-columns-repeated" is enourmous). Writing out all these cells would be fatal in time
+ (The value of "table:number-columns-repeated" is enormous). Writing out all these cells would be fatal in time
and output size. Therefore, this global variable shows us the longest row with content. -->
<xsl:variable name="maxRowLength" select="count($allTableColumns/table:table-column)" />
<xsl:if test="$debugEnabled">
diff --git a/filter/source/xslt/odf2xhtml/export/common/table_of_content.xsl b/filter/source/xslt/odf2xhtml/export/common/table_of_content.xsl
index 31b31b44efed..42b1b3b05040 100644
--- a/filter/source/xslt/odf2xhtml/export/common/table_of_content.xsl
+++ b/filter/source/xslt/odf2xhtml/export/common/table_of_content.xsl
@@ -452,7 +452,7 @@ Scenarios unmatched:
</xsl:choose>
</xsl:template>
- <!-- As the span width will be mapped to column width, the preceding span widths have to be substracted -->
+ <!-- As the span width will be mapped to column width, the preceding span widths have to be subtracted -->
<xsl:template name="create-cell-width">
<xsl:param name="width"/>
<xsl:param name="unit"/>
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
index a2373c5685b2..b8aae4774e31 100644
--- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
+++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
@@ -797,7 +797,7 @@
<xsl:when test="$createDiv and normalize-space(.) != ''">
<!-- every following frame sibling till the next draw:frame
have to be incapuslated within a div with left indent.
- To be moved alltogether arcording the indent (usually right) -->
+ To be moved altogether arcording the indent (usually right) -->
<xsl:comment>Next 'div' added for floating.</xsl:comment>
<xsl:element name="div">
<xsl:attribute name="style">
@@ -881,7 +881,7 @@
- <!-- As draw:fame may occure within more elements than in text:p and draw:page -->
+ <!-- As draw:fame may occur within more elements than in text:p and draw:page -->
<xsl:template match="draw:frame">
<xsl:param name="globalData"/>
<xsl:param name="previousFrameWidths" select="0"/>
@@ -990,7 +990,7 @@
<xsl:if test="@text:anchor-type='paragraph'">
<xsl:comment>Next 'div' is emulating the top hight of a draw:frame.</xsl:comment>
<!-- When the svg:y is set relativ to the paragraph content, the best way to emulate a positive height,
- is to add an invisbile division inbetween with a height.
+ is to add an invisbile division between with a height.
Often text will flow into this 'gap', which is handled separately!
-->
<xsl:if test="$svgY &gt; 0">
@@ -1551,7 +1551,7 @@
B)
Since OASIS Open Document XML (implemented in OOo2.0) only one parent type exists for list items
- the 'text:list' element. The XHTML element 'ol', 'ul' will be choosen upon the list style type.
+ the 'text:list' element. The XHTML element 'ol', 'ul' will be chosen upon the list style type.
C)
An Office list may be spread over the whole document. Linked by their style and text:continue-numbering='true'.
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/opendoc2xhtml.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/opendoc2xhtml.xsl
index 2652e321167c..34868592f3b4 100644
--- a/filter/source/xslt/odf2xhtml/export/xhtml/opendoc2xhtml.xsl
+++ b/filter/source/xslt/odf2xhtml/export/xhtml/opendoc2xhtml.xsl
@@ -95,7 +95,7 @@
<xsl:param name="targetURL" select="'./'" />
<!-- OPTIONAL: (MANDATORY: for input document with relative internal links)
- To access contents of a office file (content like the meta.xml, styles.xml file or graphics) a URL could be choosen.
+ To access contents of a office file (content like the meta.xml, styles.xml file or graphics) a URL could be chosen.
This could be even a JAR URL. The sourceBase of the content URL "jar:file:/C:/temp/Test.sxw!/content.xml" would be
"jar:file:/C:/temp/Test.sxw!/" for example.
When working with OpenOffice API a Package-URL encoded over HTTP can be used to access the jared contents of the the jared document. -->
diff --git a/filter/source/xsltdialog/xmlfiltertestdialog.cxx b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
index 5530e51c8028..06c2467a4d34 100644
--- a/filter/source/xsltdialog/xmlfiltertestdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
@@ -378,7 +378,7 @@ void XMLFilterTestDialog::onExportBrowse()
if( (nFound == 15) && (aType.getLength() && aService == mpFilterInfo->maDocumentService) )
{
- // see if this filter is not supressed in dialog
+ // see if this filter is not suppressed in dialog
if( (nFlags & 0x1000) == 0 )
{
aAny = xTypeDetection->getByName( aType );
diff --git a/filter/source/xsltfilter/com/sun/star/comp/xsltfilter/Base64.java b/filter/source/xsltfilter/com/sun/star/comp/xsltfilter/Base64.java
index b51fe7e6e3c7..ee1464ca38ac 100644
--- a/filter/source/xsltfilter/com/sun/star/comp/xsltfilter/Base64.java
+++ b/filter/source/xsltfilter/com/sun/star/comp/xsltfilter/Base64.java
@@ -473,7 +473,7 @@ public class Base64
* anywhere along their length by specifying
* <var>srcOffset</var> and <var>destOffset</var>.
* This method does not check to make sure your arrays
- * are large enough to accomodate <var>srcOffset</var> + 3 for
+ * are large enough to accommodate <var>srcOffset</var> + 3 for
* the <var>source</var> array or <var>destOffset</var> + 4 for
* the <var>destination</var> array.
* The actual number of significant bytes in your array is
@@ -826,7 +826,7 @@ public class Base64
* anywhere along their length by specifying
* <var>srcOffset</var> and <var>destOffset</var>.
* This method does not check to make sure your arrays
- * are large enough to accomodate <var>srcOffset</var> + 4 for
+ * are large enough to accommodate <var>srcOffset</var> + 4 for
* the <var>source</var> array or <var>destOffset</var> + 3 for
* the <var>destination</var> array.
* This method returns the actual number of bytes that
diff --git a/forms/qa/complex/forms/CheckOGroupBoxModel.java b/forms/qa/complex/forms/CheckOGroupBoxModel.java
index 32d5834df108..fa47baa33d8a 100644
--- a/forms/qa/complex/forms/CheckOGroupBoxModel.java
+++ b/forms/qa/complex/forms/CheckOGroupBoxModel.java
@@ -117,15 +117,15 @@ public class CheckOGroupBoxModel
}
catch (com.sun.star.beans.PropertyVetoException e)
{
- fail("Exception occured while trying to change the properties.");
+ fail("Exception occurred while trying to change the properties.");
}
catch (com.sun.star.lang.IllegalArgumentException e)
{
- fail("Exception occured while trying to change the properties.");
+ fail("Exception occurred while trying to change the properties.");
}
catch (com.sun.star.lang.WrappedTargetException e)
{
- fail("Exception occured while trying to change the properties.");
+ fail("Exception occurred while trying to change the properties.");
} // end of try-catch
assertTrue("Listener was not called.", ml.wasListenerCalled());
diff --git a/forms/source/component/Columns.cxx b/forms/source/component/Columns.cxx
index c307de658074..484ce1c9ef5f 100644
--- a/forms/source/component/Columns.cxx
+++ b/forms/source/component/Columns.cxx
@@ -194,7 +194,7 @@ Sequence<Type> SAL_CALL OGridColumn::getTypes() throw(RuntimeException)
Any SAL_CALL OGridColumn::queryAggregation( const Type& _rType ) throw (RuntimeException)
{
Any aReturn;
- // some functionality at our aggregate cannot be reasonably fullfilled here.
+ // some functionality at our aggregate cannot be reasonably fulfilled here.
if ( _rType.equals(::getCppuType(static_cast< Reference< XFormComponent >* >(NULL)))
|| _rType.equals(::getCppuType(static_cast< Reference< XServiceInfo >* >(NULL)))
|| _rType.equals(::getCppuType(static_cast< Reference< XBindableValue >* >(NULL)))
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx
index 7ab4b71fe59e..a7012ca7fcc6 100644
--- a/forms/source/component/DatabaseForm.cxx
+++ b/forms/source/component/DatabaseForm.cxx
@@ -90,7 +90,7 @@
#include <ctype.h>
#include <hash_map>
-// compatiblity: DatabaseCursorType is dead, but for compatiblity reasons we still have to write it ...
+// compatibility: DatabaseCursorType is dead, but for compatibility reasons we still have to write it ...
namespace com {
namespace sun {
namespace star {
@@ -3099,7 +3099,7 @@ void SAL_CALL ODatabaseForm::rowSetChanged(const EventObject& /*event*/) throw(
// if our parent is an ODatabaseForm, too, then after this rowSetChanged we'll get a "reloaded"
// or a "loaded" event.
// If somebody gave us another parent which is an XRowSet but doesn't handle an execute as
- // "load" respectivly "reload" ... can't do anything ....
+ // "load" respectively "reload" ... can't do anything ....
}
//------------------------------------------------------------------------------
diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx
index 34ad5eabd7e0..73cf49db0cb1 100644
--- a/forms/source/component/FormComponent.cxx
+++ b/forms/source/component/FormComponent.cxx
@@ -1330,7 +1330,7 @@ OBoundControlModel::OBoundControlModel(
m_aValuePropertyType = _pOriginal->m_aValuePropertyType;
m_aControlSource = _pOriginal->m_aControlSource;
m_bInputRequired = _pOriginal->m_bInputRequired;
- // m_xLabelControl, though being a property, is not to be cloned, not even the reference will be transfered.
+ // m_xLabelControl, though being a property, is not to be cloned, not even the reference will be transferred.
// (the former should be clear - a clone of the object we're only referencing does not make sense)
// (the second would violate the restriction for label controls that they're part of the
// same form component hierarchy - we ourself are no part, yet, so we can't have a label control)
@@ -1967,7 +1967,7 @@ void SAL_CALL OBoundControlModel::propertyChange( const PropertyChangeEvent& evt
// if the DBColumn value changed, transfer it to the control
if ( evt.PropertyName.equals( PROPERTY_VALUE ) )
{
- OSL_ENSURE( evt.Source == getField(), "OBoundControlModel::propertyChange: value changes from components other than our database colum?" );
+ OSL_ENSURE( evt.Source == getField(), "OBoundControlModel::propertyChange: value changes from components other than our database column?" );
osl::MutexGuard aGuard(m_aMutex);
if ( m_bForwardValueChanges && m_xColumn.is() )
transferDbValueToControl();
@@ -2246,7 +2246,7 @@ void OBoundControlModel::impl_connectDatabaseColumn_noNotify( bool _bFromReload
}
// now that we're connected (more or less, even if we did not find a column),
- // we definately want to forward any potentially occuring value changes
+ // we definitely want to forward any potentially occurring value changes
m_bForwardValueChanges = sal_True;
// let derived classes react on this new connection
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index 65c6e7cee269..db395a5b2946 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -1257,7 +1257,7 @@ namespace frm
{
Any aReturn;
- // by definition, multiple selected entries are transfered as NULL if the
+ // by definition, multiple selected entries are transferred as NULL if the
// binding does not support string lists
if ( _rSelectSequence.getLength() <= 1 )
{
diff --git a/forms/source/component/RadioButton.hxx b/forms/source/component/RadioButton.hxx
index dc9c85f7b375..7e59f7984a77 100644
--- a/forms/source/component/RadioButton.hxx
+++ b/forms/source/component/RadioButton.hxx
@@ -77,7 +77,7 @@ protected:
private:
/** sets the given value as new State at the aggregate
@precond
- our mutex is aquired exactly once
+ our mutex is acquired exactly once
*/
void setNewAggregateState( const ::com::sun::star::uno::Any& _rValue );
};
diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx
index a159a91ce2b4..3a63e7010a9d 100644
--- a/forms/source/component/clickableimage.cxx
+++ b/forms/source/component/clickableimage.cxx
@@ -600,7 +600,7 @@ namespace frm
Any SAL_CALL OClickableImageBaseModel::queryAggregation(const Type& _rType) throw (RuntimeException)
{
// order matters:
- // we definately want to "overload" the XImageProducer interface of our aggregate,
+ // we definitely want to "overload" the XImageProducer interface of our aggregate,
// thus check OClickableImageBaseModel_Base (which provides this) first
Any aReturn = OClickableImageBaseModel_Base::queryInterface( _rType );
diff --git a/forms/source/component/propertybaghelper.cxx b/forms/source/component/propertybaghelper.cxx
index 6222435ab828..7876858620ee 100644
--- a/forms/source/component/propertybaghelper.cxx
+++ b/forms/source/component/propertybaghelper.cxx
@@ -131,7 +131,7 @@ namespace frm
if ( ( nHandle != -1 ) && rPropInfo.fillPropertyMembersByHandle( NULL, NULL, nHandle ) )
nHandle = -1;
- // seach a free handle in <math>F_1009</math>
+ // search a free handle in <math>F_1009</math>
if ( nHandle == -1 )
{
sal_Int32 nPrime = 1009;
diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx
index 88a62abdf368..86eb85a2b1d3 100644
--- a/forms/source/inc/FormComponent.hxx
+++ b/forms/source/inc/FormComponent.hxx
@@ -194,7 +194,7 @@ public:
the aggregate. In this case, you <em>have</em> to call doSetDelegator within your
own constructor.
- This is helpfull, if your derived class wants to cache an interface of the aggregate.
+ This is helpful, if your derived class wants to cache an interface of the aggregate.
In this case, the aggregate needs to be queried for this interface <b>before</b> the
<member scope="com::sun::star::uno">XAggregation::setDelegator</member> call.
@@ -674,7 +674,7 @@ private:
const sal_Bool m_bSupportsExternalBinding : 1; // do we support XBindableValue?
const sal_Bool m_bSupportsValidation : 1; // do we support XValidatable?
sal_Bool m_bForwardValueChanges : 1; // do we currently handle changes in the bound database field?
- sal_Bool m_bTransferingValue : 1; // true if we're currently transfering our value to an external binding
+ sal_Bool m_bTransferingValue : 1; // true if we're currently transferring our value to an external binding
sal_Bool m_bIsCurrentValueValid : 1; // flag specifying whether our current value is valid, relative to our external validator
sal_Bool m_bBindingControlsRO : 1; // is our ReadOnly property currently controlled by our external binding?
sal_Bool m_bBindingControlsEnable : 1; // is our Enabled property currently controlled by our external binding?
diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx
index ffdece17b2c1..57bb9b6965f9 100644
--- a/forms/source/richtext/richtextcontrol.cxx
+++ b/forms/source/richtext/richtextcontrol.cxx
@@ -243,7 +243,7 @@ namespace frm
DBG_ASSERT( pPeer, "ORichTextControl::createPeer: invalid peer returned!" );
if ( pPeer )
{
- // by definition, the returned component is aquired once
+ // by definition, the returned component is acquired once
pPeer->release();
// announce the peer to the base class
@@ -344,7 +344,7 @@ namespace frm
// the peer itself
ORichTextPeer* pPeer = new ORichTextPeer;
- pPeer->acquire(); // by definition, the returned object is aquired once
+ pPeer->acquire(); // by definition, the returned object is acquired once
// the VCL control for the peer
RichTextControl* pRichTextControl = new RichTextControl( pEngine, _pParentWindow, _nStyle, NULL, pPeer );
diff --git a/forms/source/richtext/richtextcontrol.hxx b/forms/source/richtext/richtextcontrol.hxx
index 2298fee9195b..6959bfd929d0 100644
--- a/forms/source/richtext/richtextcontrol.hxx
+++ b/forms/source/richtext/richtextcontrol.hxx
@@ -109,7 +109,7 @@ namespace frm
public:
/** factory method
@return
- a new ORichTextPeer instance, which has been aquired once!
+ a new ORichTextPeer instance, which has been acquired once!
*/
static ORichTextPeer* Create(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& _rxModel,
diff --git a/forms/source/richtext/richtextimplcontrol.cxx b/forms/source/richtext/richtextimplcontrol.cxx
index 21749f091b13..222c7878fe61 100644
--- a/forms/source/richtext/richtextimplcontrol.cxx
+++ b/forms/source/richtext/richtextimplcontrol.cxx
@@ -67,7 +67,7 @@ namespace frm
,m_bHasEverBeenShown ( false )
{
OSL_ENSURE( m_pAntiImpl, "RichTextControlImpl::RichTextControlImpl: invalid window!" );
- OSL_ENSURE( m_pEngine, "RichTextControlImpl::RichTextControlImpl: invalid edit engine! This will *definately* crash!" );
+ OSL_ENSURE( m_pEngine, "RichTextControlImpl::RichTextControlImpl: invalid edit engine! This will *definitely* crash!" );
m_pViewport = new RichTextViewPort( m_pAntiImpl );
m_pViewport->setAttributeInvalidationHandler( LINK( this, RichTextControlImpl, OnInvalidateAllAttributes ) );
@@ -124,7 +124,7 @@ namespace frm
// type (Latin, Asian, Complex). However, if we have an observer who is interested
// in the state of this attribute, we have to kind of *merge* the three attributes
// to only one.
- // This is usefull in case the observer is for instance a toolbox which contains only
+ // This is useful in case the observer is for instance a toolbox which contains only
// an, e.g., "bold" slot, and thus not interested in the particular script type of the
// current selection.
SvxScriptSetItem aNormalizedSet( (WhichId)_pHandler->first, *m_pView->GetAttribs().GetPool() );
@@ -307,7 +307,7 @@ namespace frm
// the AutoPaperSize bits set.
// So in order to be properly notified, we would need the AutoPaperSize. But, with
// AutoPaperSize, other things do not work anymore: Either, when we set a MaxAutoPaperSize,
- // then the view does automatic soft line breaks at the paper end - which we definately do
+ // then the view does automatic soft line breaks at the paper end - which we definitely do
// want. Or, if we did not set a MaxAutoPaperSize, then the view does not automatically scroll
// anymore in horizontal direction.
// So this is some kind of lose-lose situation ... :(
diff --git a/forms/source/solar/component/navbarcontrol.cxx b/forms/source/solar/component/navbarcontrol.cxx
index e0ffc53d619b..3101ef4fbb7f 100644
--- a/forms/source/solar/component/navbarcontrol.cxx
+++ b/forms/source/solar/component/navbarcontrol.cxx
@@ -180,7 +180,7 @@ namespace frm
ONavigationBarPeer* pPeer = ONavigationBarPeer::Create( maContext.getLegacyServiceFactory(), pParentWin, getModel() );
DBG_ASSERT( pPeer, "ONavigationBarControl::createPeer: invalid peer returned!" );
if ( pPeer )
- // by definition, the returned component is aquired once
+ // by definition, the returned component is acquired once
pPeer->release();
// announce the peer to the base class
@@ -275,7 +275,7 @@ namespace frm
// the peer itself
ONavigationBarPeer* pPeer = new ONavigationBarPeer( _rxORB );
- pPeer->acquire(); // by definition, the returned object is aquired once
+ pPeer->acquire(); // by definition, the returned object is acquired once
// the VCL control for the peer
Reference< XModel > xContextDocument( getXModel( _rxModel ) );
diff --git a/forms/source/solar/component/navbarcontrol.hxx b/forms/source/solar/component/navbarcontrol.hxx
index 3d8b12994866..d574553269a2 100644
--- a/forms/source/solar/component/navbarcontrol.hxx
+++ b/forms/source/solar/component/navbarcontrol.hxx
@@ -99,7 +99,7 @@ namespace frm
public:
/** factory method
@return
- a new ONavigationBarPeer instance, which has been aquired once!
+ a new ONavigationBarPeer instance, which has been acquired once!
*/
static ONavigationBarPeer* Create(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxORB,
diff --git a/forms/source/solar/inc/navtoolbar.hxx b/forms/source/solar/inc/navtoolbar.hxx
index bc6464c04717..787eb9e6fab6 100644
--- a/forms/source/solar/inc/navtoolbar.hxx
+++ b/forms/source/solar/inc/navtoolbar.hxx
@@ -85,7 +85,7 @@ namespace frm
then the states of the features are updated
@param _pDispatcher
- the new (or old) dispatcher. The caller is reponsible for
+ the new (or old) dispatcher. The caller is responsible for
ensuring the life time of the object does exceed the life time
of the tool bar instance.
*/
diff --git a/forms/source/xforms/binding.cxx b/forms/source/xforms/binding.cxx
index c1722b8ab081..0f7e6ac45279 100644
--- a/forms/source/xforms/binding.cxx
+++ b/forms/source/xforms/binding.cxx
@@ -674,7 +674,7 @@ void Binding::bind( bool bForceRebind )
}
}
- // now evaluate remaining MIPs in the apropriate context
+ // now evaluate remaining MIPs in the appropriate context
maReadonly.evaluate( rContext );
maRelevant.evaluate( rContext );
maRequired.evaluate( rContext );
@@ -1274,7 +1274,7 @@ void Binding::handleEvent( const XEvent_t& xEvent )
// the modification of the 'mnDeferModifyNotifications'-member
// is necessary to prevent infinite notication looping.
- // This can happend in case the binding which caused
+ // This can happened in case the binding which caused
// the notification chain is listening to those events
// as well...
bool bPreserveValueModified = mbValueModified;
diff --git a/forms/source/xforms/convert.hxx b/forms/source/xforms/convert.hxx
index 4cd804ca098f..035902149a2b 100644
--- a/forms/source/xforms/convert.hxx
+++ b/forms/source/xforms/convert.hxx
@@ -94,7 +94,7 @@ public:
sal_Int16 _nWhitespaceTreatment
);
- /** replace all occurences 0x08, 0x0A, 0x0D with 0x20
+ /** replace all occurrences 0x08, 0x0A, 0x0D with 0x20
*/
static ::rtl::OUString replaceWhitespace( const ::rtl::OUString& _rString );
diff --git a/forms/source/xforms/datatypes.hxx b/forms/source/xforms/datatypes.hxx
index 9bcb3c1f0c0a..cb0dadc74cf9 100644
--- a/forms/source/xforms/datatypes.hxx
+++ b/forms/source/xforms/datatypes.hxx
@@ -219,11 +219,11 @@ namespace xforms
The normalization must respect the "<" and "==" relations on the value
space. That is, if two values are equal, their normalizations must be equal, too.
- Similarily, if <code>foo</code> is less than <code>bar</code>, the same
+ Similarly, if <code>foo</code> is less than <code>bar</code>, the same
must hold for their normalizations.
@param _rValue
- the value to translate. Guranteed to be not <NULL/>, and of type <member>ValueType</member>
+ the value to translate. Guaranteed to be not <NULL/>, and of type <member>ValueType</member>
@param _rDoubleValue
output parameter to hold the resulting double value
*/
diff --git a/forms/source/xforms/model.cxx b/forms/source/xforms/model.cxx
index 7f6bd4effca6..6162b3848a6a 100644
--- a/forms/source/xforms/model.cxx
+++ b/forms/source/xforms/model.cxx
@@ -289,7 +289,7 @@ void Model::dbg_assertInvariant() const
//
-// MIP managment
+// MIP management
//
void Model::addMIP( void* pTag, const XNode_t& xNode, const MIP& rMIP )
diff --git a/forms/source/xforms/model_ui.cxx b/forms/source/xforms/model_ui.cxx
index b440b2972d78..4c3a203b0350 100644
--- a/forms/source/xforms/model_ui.cxx
+++ b/forms/source/xforms/model_ui.cxx
@@ -134,7 +134,7 @@ void lcl_OutPosition( OUStringBuffer& rBuffer,
{
OSL_ENSURE( xNode->getParentNode().is(), "need parent" );
- // count # of occurences of this node
+ // count # of occurrences of this node
sal_Int32 nFound = 0;
sal_Int32 nPosition = -1;
if( xNode->getParentNode().is() )
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx
index 8694254ed409..0ac806d6d49f 100644
--- a/formula/source/core/api/token.cxx
+++ b/formula/source/core/api/token.cxx
@@ -1051,7 +1051,7 @@ bool FormulaMissingContext::AddMissing( FormulaTokenArray *pNewArr, const Missin
case ocOffset:
// FIXME: rather tough.
- // if arg 3 (height) ommitted, export arg1 (rows)
+ // if arg 3 (height) omitted, export arg1 (rows)
break;
default:
break;
diff --git a/fpicker/source/aqua/SalAquaFilePicker.cxx b/fpicker/source/aqua/SalAquaFilePicker.cxx
index 65bb422556b1..809e4633e209 100644
--- a/fpicker/source/aqua/SalAquaFilePicker.cxx
+++ b/fpicker/source/aqua/SalAquaFilePicker.cxx
@@ -86,7 +86,7 @@ using namespace ::com::sun::star::uno;
namespace
{
- // controling event notifications
+ // controlling event notifications
const bool STARTUP_SUSPENDED = true;
const bool STARTUP_ALIVE = false;
diff --git a/fpicker/source/aqua/SalAquaFolderPicker.cxx b/fpicker/source/aqua/SalAquaFolderPicker.cxx
index 3e40a8edfa68..f3bf06f6d3d4 100644
--- a/fpicker/source/aqua/SalAquaFolderPicker.cxx
+++ b/fpicker/source/aqua/SalAquaFolderPicker.cxx
@@ -73,7 +73,7 @@ using namespace ::com::sun::star::uno;
namespace
{
- // controling event notifications
+ // controlling event notifications
uno::Sequence<rtl::OUString> SAL_CALL FolderPicker_getSupportedServiceNames()
{
uno::Sequence<rtl::OUString> aRet(2);
diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx
index c303976872d9..79af62b97e95 100644
--- a/fpicker/source/office/OfficeFilePicker.cxx
+++ b/fpicker/source/office/OfficeFilePicker.cxx
@@ -267,7 +267,7 @@ WinBits SvtFilePicker::getWinBits( WinBits& rExtraBits )
WinBits nBits = 0L;
rExtraBits = 0L;
- // set the standard bits acording to the service name
+ // set the standard bits according to the service name
if ( m_nServiceType == TemplateDescription::FILEOPEN_SIMPLE )
{
nBits = WB_OPEN;
diff --git a/fpicker/source/office/fpinteraction.cxx b/fpicker/source/office/fpinteraction.cxx
index 224acd01bec5..5fd6033460e0 100644
--- a/fpicker/source/office/fpinteraction.cxx
+++ b/fpicker/source/office/fpinteraction.cxx
@@ -93,7 +93,7 @@ namespace svt
// intercept some interesting interactions
- // The "does not exist" interaction will be supressed here completly.
+ // The "does not exist" interaction will be suppressed here completly.
if (m_eInterceptions & OFilePickerInteractionHandler::E_DOESNOTEXIST)
{
InteractiveIOException aIoException;
diff --git a/fpicker/source/office/fpsmartcontent.cxx b/fpicker/source/office/fpsmartcontent.cxx
index afdda61c0ab6..8c21084c833d 100644
--- a/fpicker/source/office/fpsmartcontent.cxx
+++ b/fpicker/source/office/fpsmartcontent.cxx
@@ -93,7 +93,7 @@ namespace svt
void SmartContent::enableDefaultInteractionHandler()
{
// Don't free the memory here! It will be done by the next
- // call automaticly - releasing of the uno reference ...
+ // call automatically - releasing of the uno reference ...
m_pOwnInteraction = NULL;
m_xOwnInteraction = Reference< XInteractionHandler >();
@@ -127,7 +127,7 @@ namespace svt
void SmartContent::disableInteractionHandler()
{
// Don't free the memory here! It will be done by the next
- // call automaticly - releasing of the uno reference ...
+ // call automatically - releasing of the uno reference ...
m_pOwnInteraction = NULL;
m_xOwnInteraction.clear();
@@ -201,12 +201,12 @@ namespace svt
else
bIs = m_pContent->isDocument();
- // from here on, we definately know that the content is valid
+ // from here on, we definitely know that the content is valid
m_eState = VALID;
}
catch( Exception& )
{
- // now we're definately invalid
+ // now we're definitely invalid
m_eState = INVALID;
}
return bIs;
@@ -224,12 +224,12 @@ namespace svt
m_pContent->getPropertyValue( ::rtl::OUString::createFromAscii( "Title" ) ) >>= sTitle;
_rTitle = sTitle;
- // from here on, we definately know that the content is valid
+ // from here on, we definitely know that the content is valid
m_eState = VALID;
}
catch( ::com::sun::star::uno::Exception& )
{
- // now we're definately invalid
+ // now we're definitely invalid
m_eState = INVALID;
}
}
@@ -252,14 +252,14 @@ namespace svt
String aParentURL = String( xParent->getIdentifier()->getContentIdentifier() );
bRet = ( aParentURL.Len() > 0 && aParentURL != (String)(m_pContent->getURL()) );
- // now we're definately valid
+ // now we're definitely valid
m_eState = VALID;
}
}
}
catch( const Exception& )
{
- // now we're definately invalid
+ // now we're definitely invalid
m_eState = INVALID;
}
return bRet;
@@ -287,12 +287,12 @@ namespace svt
}
}
- // now we're definately valid
+ // now we're definitely valid
m_eState = VALID;
}
catch( Exception& )
{
- // now we're definately invalid
+ // now we're definitely invalid
m_eState = INVALID;
}
return bRet;
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index cdca7b9b3b77..045086d7105e 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -2253,7 +2253,7 @@ short SvtFileDialog::PrepareExecute()
UpdateControls( aObj.GetMainURL( INetURLObject::NO_DECODE ) );
- // Somebody might want to enable some controls acording to the current filter
+ // Somebody might want to enable some controls according to the current filter
FilterSelect();
// Zustand der Steuerelemente anpassen.
@@ -3137,7 +3137,7 @@ void SvtFileDialog::setImage( sal_Int16 /*aImageFormat*/, const Any& rImage )
sal_Bool SvtFileDialog::setShowState( sal_Bool /*bShowState*/ )
{
// #97633 for the system filedialog it's
- // usefull to make the preview switchable
+ // useful to make the preview switchable
// because the preview occupies
// half of the size of the file listbox
// which is not the case here,
diff --git a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx
index 01a4edec42a5..e613d71e841c 100644
--- a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx
+++ b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx
@@ -73,7 +73,7 @@ using namespace ::com::sun::star::uno;
namespace
{
- // controling event notifications
+ // controlling event notifications
const bool STARTUP_SUSPENDED = true;
const bool STARTUP_ALIVE = false;
diff --git a/fpicker/source/unx/gnome/SalGtkFolderPicker.cxx b/fpicker/source/unx/gnome/SalGtkFolderPicker.cxx
index 298ec456da91..e6ebe5b75ee0 100644
--- a/fpicker/source/unx/gnome/SalGtkFolderPicker.cxx
+++ b/fpicker/source/unx/gnome/SalGtkFolderPicker.cxx
@@ -66,7 +66,7 @@ using namespace ::com::sun::star::uno;
namespace
{
- // controling event notifications
+ // controlling event notifications
uno::Sequence<rtl::OUString> SAL_CALL FolderPicker_getSupportedServiceNames()
{
uno::Sequence<rtl::OUString> aRet(2);
diff --git a/fpicker/source/unx/kde4/KDE4FilePicker.cxx b/fpicker/source/unx/kde4/KDE4FilePicker.cxx
index c25751cbf84e..07d803bf119b 100644
--- a/fpicker/source/unx/kde4/KDE4FilePicker.cxx
+++ b/fpicker/source/unx/kde4/KDE4FilePicker.cxx
@@ -86,7 +86,7 @@ using namespace ::com::sun::star::uno;
namespace
{
- // controling event notifications
+ // controlling event notifications
const bool STARTUP_SUSPENDED = true;
const bool STARTUP_ALIVE = false;
diff --git a/fpicker/source/win32/filepicker/FileOpenDlg.hxx b/fpicker/source/win32/filepicker/FileOpenDlg.hxx
index 3e4977923f89..f36b29fe9451 100644
--- a/fpicker/source/win32/filepicker/FileOpenDlg.hxx
+++ b/fpicker/source/win32/filepicker/FileOpenDlg.hxx
@@ -209,10 +209,10 @@ public:
// the method returns:
// 0 - when the dialog was canceled by the user
// 1 - when the dialog was closed with ok
- // -1 - when an error occured
+ // -1 - when an error occurred
sal_Int16 SAL_CALL doModal();
- // returns the last dialog error that occured
+ // returns the last dialog error that occurred
sal_uInt32 SAL_CALL getLastDialogError() const;
// retrievs the currently selected file
diff --git a/fpicker/source/win32/filepicker/FilePicker.cxx b/fpicker/source/win32/filepicker/FilePicker.cxx
index 01294ef3a25a..ef9ba521beb3 100644
--- a/fpicker/source/win32/filepicker/FilePicker.cxx
+++ b/fpicker/source/win32/filepicker/FilePicker.cxx
@@ -66,7 +66,7 @@ using namespace ::com::sun::star::ui::dialogs::TemplateDescription;
namespace
{
- // controling event notifications
+ // controlling event notifications
const bool STARTUP_SUSPENDED = true;
const bool STARTUP_ALIVE = false;
diff --git a/fpicker/source/win32/filepicker/PreviewCtrl.cxx b/fpicker/source/win32/filepicker/PreviewCtrl.cxx
index 6b23790e9f89..21cad6690322 100644
--- a/fpicker/source/win32/filepicker/PreviewCtrl.cxx
+++ b/fpicker/source/win32/filepicker/PreviewCtrl.cxx
@@ -259,7 +259,7 @@ CFilePreview::CFilePreview(
wndClsEx.lpszClassName = PREVIEWWND_CLASS_NAME;
// register the preview window class
- // !!! Win95 - the window class will be unregistered automaticly
+ // !!! Win95 - the window class will be unregistered automatically
// if the dll is unloaded
// Win2000 - the window class must be unregistered manually
// if the dll is unloaded
@@ -414,7 +414,7 @@ sal_Bool SAL_CALL CFilePreview::show( sal_Bool bShow )
// if the preview is shown and enabled
// preview of the given file will be shown
// returns true on success or false if an error
-// occured (the file in not there or not accessible etc.)
+// occurred (the file in not there or not accessible etc.)
//---------------------------------------------------
sal_Bool SAL_CALL CFilePreview::update( const rtl::OUString& aFileName )
diff --git a/fpicker/source/win32/filepicker/PreviewCtrl.hxx b/fpicker/source/win32/filepicker/PreviewCtrl.hxx
index 18b32a32c821..f96cdf37fd6d 100644
--- a/fpicker/source/win32/filepicker/PreviewCtrl.hxx
+++ b/fpicker/source/win32/filepicker/PreviewCtrl.hxx
@@ -147,7 +147,7 @@ public:
// if the preview is shown and enabled
// preview of the given file will be shown
// returns true on success or false if an error
- // occured (the file in not there or not accessible etc.)
+ // occurred (the file in not there or not accessible etc.)
virtual sal_Bool SAL_CALL update( const rtl::OUString& aFileName );
protected:
diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.cxx b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
index 54abcf4d07db..486cb7bfb679 100644
--- a/fpicker/source/win32/filepicker/VistaFilePicker.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
@@ -80,7 +80,7 @@ namespace vista{
namespace
{
- // controling event notifications
+ // controlling event notifications
const bool STARTUP_SUSPENDED = true;
const bool STARTUP_ALIVE = false;
@@ -321,7 +321,7 @@ void SAL_CALL VistaFilePicker::setDisplayDirectory(const ::rtl::OUString& sDirec
}
//-----------------------------------------------------------------------------------------
-// @deprecated cant be supported any longer ... see IDL description for further details
+// @deprecated can't be supported any longer ... see IDL description for further details
css::uno::Sequence< ::rtl::OUString > SAL_CALL VistaFilePicker::getFiles()
throw(css::uno::RuntimeException)
{
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
index 79f8144e8b72..4d6046ffd672 100644
--- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
@@ -876,7 +876,7 @@ void VistaFilePickerImpl::impl_sta_ShowDialogModal(const RequestRef& rRequest)
TFileSaveDialog iSave = m_iDialogSave;
// it's important to know if we are showing the dialog.
- // Some dialog interface methods cant be called then or some
+ // Some dialog interface methods can't be called then or some
// tasks must be done differently .-) (e.g. see impl_sta_getSelectedFiles())
m_bInExecute = sal_True;
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx
index f052db57cc64..4c19a6b00257 100644
--- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx
+++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx
@@ -260,9 +260,9 @@ class VistaFilePickerImpl : private ::cppu::BaseMutex
void impl_sta_EnableControl(const RequestRef& rRequest);
//---------------------------------------------------------------------
- /** create all needed (optional!) UI controls adressed by the field nFeatures.
+ /** create all needed (optional!) UI controls addressed by the field nFeatures.
* The given number nFeatures is used as a flag field. Use const values FEATURE_XXX
- * to adress it.
+ * to address it.
*
* Internal new controls will be added to the dialog. Every control can be accessed
* by it's own control id. Those control ID must be one of the const set
diff --git a/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx b/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx
index 24754a16e94d..1e1ba364bd04 100644
--- a/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx
+++ b/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx
@@ -683,7 +683,7 @@ void SAL_CALL CWinFileOpenImpl::onSelChanged(HWND)
// string to the file name edit line
// this would overwritte our text when we would set
// the default name in onInitDone, so we have to
- // remeber that this is the first SelChanged message
+ // remember that this is the first SelChanged message
// and set the default name here to overwrite the
// windows setting
InitialSetDefaultName();
diff --git a/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx b/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx
index 27cef4531a50..041f8d034467 100644
--- a/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx
+++ b/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx
@@ -70,7 +70,7 @@ void SAL_CALL CDialogCustomControlBase::AlignToBuddy(HWND aBuddyHandle)
int cy_new = rcBuddy.bottom - rcBuddy.top;
// keep the vertical position because
- // the Windows dialog controler does
+ // the Windows dialog controller does
// this job
RECT rcMe;
GetWindowRect(m_CustomControlHandle,&rcMe);
diff --git a/fpicker/source/win32/filepicker/dibpreview.cxx b/fpicker/source/win32/filepicker/dibpreview.cxx
index 328ae764da96..75b450b5bee3 100644
--- a/fpicker/source/win32/filepicker/dibpreview.cxx
+++ b/fpicker/source/win32/filepicker/dibpreview.cxx
@@ -419,7 +419,7 @@ ATOM SAL_CALL CDIBPreview::RegisterDibPreviewWindowClass()
wndClsEx.lpszClassName = PREVIEWWND_CLASS_NAME;
// register the preview window class
- // !!! Win95 - the window class will be unregistered automaticly
+ // !!! Win95 - the window class will be unregistered automatically
// if the dll is unloaded
// Win2000 - the window class must be unregistered manually
// if the dll is unloaded
diff --git a/fpicker/source/win32/filepicker/filepickerstate.cxx b/fpicker/source/win32/filepicker/filepickerstate.cxx
index cd7d022220fd..16d698f2848e 100644
--- a/fpicker/source/win32/filepicker/filepickerstate.cxx
+++ b/fpicker/source/win32/filepicker/filepickerstate.cxx
@@ -665,7 +665,7 @@ inline sal_Bool SAL_CALL CExecuteFilePickerState::IsListboxControl( HWND hwndCon
//---------------------------------------------
// because listboxes (comboboxes) and their labels
-// are seperated we have to translate the listbox
+// are separated we have to translate the listbox
// id to their corresponding label id
// the convention is that the label id of a listbox
// is the id of the listbox + 100
diff --git a/fpicker/source/win32/filepicker/helppopupwindow.cxx b/fpicker/source/win32/filepicker/helppopupwindow.cxx
index 72cad22675b5..1024a2cc08a7 100644
--- a/fpicker/source/win32/filepicker/helppopupwindow.cxx
+++ b/fpicker/source/win32/filepicker/helppopupwindow.cxx
@@ -561,7 +561,7 @@ ATOM SAL_CALL CHelpPopupWindow::RegisterWindowClass( )
wndClsEx.lpszClassName = HELPPOPUPWND_CLASS_NAME;
// register the preview window class
- // !!! Win95 - the window class will be unregistered automaticly
+ // !!! Win95 - the window class will be unregistered automatically
// if the dll is unloaded
// Win2000 - the window class must be unregistered manually
// if the dll is unloaded
diff --git a/fpicker/source/win32/filepicker/helppopupwindow.hxx b/fpicker/source/win32/filepicker/helppopupwindow.hxx
index f28ed1adff29..4021e9d9ebde 100644
--- a/fpicker/source/win32/filepicker/helppopupwindow.hxx
+++ b/fpicker/source/win32/filepicker/helppopupwindow.hxx
@@ -86,9 +86,9 @@ public:
/*
Shows the window with the text that was last set.
- The posistion is the prefered position. The window
+ The position is the preferred position. The window
may itself show at a slightly different position
- if it fits not at the prefered position.
+ if it fits not at the preferred position.
*/
void SAL_CALL show( sal_Int32 x, sal_Int32 y );
diff --git a/fpicker/source/win32/filepicker/workbench/Test_fps.cxx b/fpicker/source/win32/filepicker/workbench/Test_fps.cxx
index fb738ba8efe5..c4b616887f01 100644
--- a/fpicker/source/win32/filepicker/workbench/Test_fps.cxx
+++ b/fpicker/source/win32/filepicker/workbench/Test_fps.cxx
@@ -267,7 +267,7 @@ int SAL_CALL main(int nArgc, char* Argv[], char* Env[] )
OUString rdbName = OUString( RTL_CONSTASCII_USTRINGPARAM( RDB_SYSPATH ) );
Reference< XMultiServiceFactory > g_xFactory( createRegistryServiceFactory( rdbName ) );
- // Print a message if an error occured.
+ // Print a message if an error occurred.
if ( g_xFactory.is() == sal_False )
{
OSL_ENSURE(sal_False, "Can't create RegistryServiceFactory");
@@ -366,7 +366,7 @@ int SAL_CALL main(int nArgc, char* Argv[], char* Env[] )
// Cast factory to XComponent
Reference< XComponent > xComponent( g_xFactory, UNO_QUERY );
- // Print a message if an error occured.
+ // Print a message if an error occurred.
if ( xComponent.is() == sal_False )
{
OSL_ENSURE(sal_False, "Error shuting down");
diff --git a/fpicker/source/win32/folderpicker/MtaFop.cxx b/fpicker/source/win32/folderpicker/MtaFop.cxx
index 556ad48c9460..54c88ceb0175 100644
--- a/fpicker/source/win32/folderpicker/MtaFop.cxx
+++ b/fpicker/source/win32/folderpicker/MtaFop.cxx
@@ -197,7 +197,7 @@ CMtaFolderPicker::~CMtaFolderPicker( )
// force the destruction of the sta thread request window
// and the end of the thread
- // remeber: DestroyWindow may only be called from within
+ // remember: DestroyWindow may only be called from within
// the thread that created the window
if ( IsWindow( m_hwndStaRequestWnd ) )
{
@@ -205,7 +205,7 @@ CMtaFolderPicker::~CMtaFolderPicker( )
// we place unregister class here because
// if we have a valid window we must have
- // sucessfully registered a window class
+ // successfully registered a window class
// if the creation of the window itself
// failed after registering the window
// class we have unregistered it immediately
diff --git a/fpicker/source/win32/folderpicker/MtaFop.hxx b/fpicker/source/win32/folderpicker/MtaFop.hxx
index 69e147ec477c..8f2d4c52fba5 100644
--- a/fpicker/source/win32/folderpicker/MtaFop.hxx
+++ b/fpicker/source/win32/folderpicker/MtaFop.hxx
@@ -140,7 +140,7 @@ private:
sal_Bool SAL_CALL createStaRequestWindow( );
//---------------------------------------------------------------
- // message handler functions; remeber these functions are called
+ // message handler functions; remember these functions are called
// from a different thread context!
//---------------------------------------------------------------
diff --git a/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx b/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx
index 53124d4afc21..3fa4dd3ff2e4 100644
--- a/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx
+++ b/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx
@@ -129,7 +129,7 @@ int SAL_CALL main(int /*nArgc*/, char* /*Argv[]*/, char* /*Env[]*/ )
OUString rdbName = OUString( RTL_CONSTASCII_USTRINGPARAM( RDB_SYSPATH ) );
Reference< XMultiServiceFactory > g_xFactory( createRegistryServiceFactory( rdbName ) );
- // Print a message if an error occured.
+ // Print a message if an error occurred.
if ( g_xFactory.is() == sal_False )
{
OSL_ENSURE(sal_False, "Can't create RegistryServiceFactory");
@@ -180,7 +180,7 @@ int SAL_CALL main(int /*nArgc*/, char* /*Argv[]*/, char* /*Env[]*/ )
// Cast factory to XComponent
Reference< XComponent > xComponent( g_xFactory, UNO_QUERY );
- // Print a message if an error occured.
+ // Print a message if an error occurred.
if ( xComponent.is() == sal_False )
{
OSL_ENSURE(sal_False, "Error shuting down");
diff --git a/framework/inc/classes/checkediterator.hxx b/framework/inc/classes/checkediterator.hxx
index 1956085c1695..b962023f436d 100644
--- a/framework/inc/classes/checkediterator.hxx
+++ b/framework/inc/classes/checkediterator.hxx
@@ -61,7 +61,7 @@ namespace framework{
@short implement a iterator which support 2 end states!
@descr For our search methods we need a "walking" iterator object with special functionality!
We must check for 3 different states of an iterator - normal position, exact end, after end.
- It's neccessary to detect if we have not found a entry and must return our default or
+ It's necessary to detect if we have not found a entry and must return our default or
default already returned and we must break loop!
see using in class FilterCache too for further informations!
@@ -114,7 +114,7 @@ class CheckedIterator
/*-****************************************************************************************************//**
@short initialize instance with valid container
- @descr Set new container at an instance of this class. The other member will set automaticly!
+ @descr Set new container at an instance of this class. The other member will set automatically!
m_pPosition = first element in container
m_eEndState = BEFOREEND
diff --git a/framework/inc/classes/droptargetlistener.hxx b/framework/inc/classes/droptargetlistener.hxx
index aaca8e47637e..36f937f5adda 100644
--- a/framework/inc/classes/droptargetlistener.hxx
+++ b/framework/inc/classes/droptargetlistener.hxx
@@ -59,7 +59,7 @@ class DropTargetListener : private ThreadHelpBase
// member
private:
- /// uno service manager to create neccessary services
+ /// uno service manager to create necessary services
css::uno::Reference< css::lang::XMultiServiceFactory > m_xFactory;
/// weakreference to target frame (Don't use a hard reference. Owner can't delete us then!)
css::uno::WeakReference< css::frame::XFrame > m_xTargetFrame;
diff --git a/framework/inc/classes/filtercache.hxx b/framework/inc/classes/filtercache.hxx
index 9f27b29cccec..f156c4f47f3c 100644
--- a/framework/inc/classes/filtercache.hxx
+++ b/framework/inc/classes/filtercache.hxx
@@ -83,7 +83,7 @@ namespace framework{
/*-************************************************************************************************************//**
@short cache for all filter and type information
@descr Frameloader- and filterfactory need some informations about our current registered filters and types.
- For better performance its neccessary to cache all needed values.
+ For better performance its necessary to cache all needed values.
@implements -
@base ThreadHelpBase
diff --git a/framework/inc/classes/filtercachedata.hxx b/framework/inc/classes/filtercachedata.hxx
index f9367f358a76..ea46d659fe30 100644
--- a/framework/inc/classes/filtercachedata.hxx
+++ b/framework/inc/classes/filtercachedata.hxx
@@ -73,7 +73,7 @@ namespace framework{
#define PACKAGENAME_TYPEDETECTION_STANDARD DECLARE_ASCII("Office.TypeDetection" ) /// Names of our configuration files.
#define PACKAGENAME_TYPEDETECTION_ADDITIONAL DECLARE_ASCII("Office.TypeDetectionAdditional" )
-#define CFG_PATH_SEPERATOR DECLARE_ASCII("/" ) /// seperator for configuration pathes
+#define CFG_PATH_SEPERATOR DECLARE_ASCII("/" ) /// seperator for configuration paths
#define PROPERTY_SEPERATOR sal_Unicode(',') /// seperator for own formated property strings of types and filters
#define LIST_SEPERATOR sal_Unicode(';') /// seperator for own formated lists as part of our own formated type- or filter-string
#define LOCALE_FALLBACK DECLARE_ASCII("en-US" ) /// fallback, if configuration can't give us current set locale ...
@@ -469,7 +469,7 @@ class SetNodeHash : public ::std::hash_map< ::rtl::OUString ,
//-------------------------------------------------------------------------------------------------------------
public:
//---------------------------------------------------------------------------------------------------------
- // The only way to free ALL memory realy!
+ // The only way to free ALL memory really!
//---------------------------------------------------------------------------------------------------------
inline void free()
{
@@ -481,7 +481,7 @@ class SetNodeHash : public ::std::hash_map< ::rtl::OUString ,
//---------------------------------------------------------------------------------------------------------
// Append changed, added or removed items to special lists
- // Neccessary for saving changes
+ // Necessary for saving changes
//---------------------------------------------------------------------------------------------------------
void appendChange( const ::rtl::OUString& sName ,
EModifyState eState );
@@ -507,7 +507,7 @@ class PerformanceHash : public ::std::hash_map< ::rtl::OUString
{
public:
//---------------------------------------------------------------------------------------------------------
- // try to free all used memory REALY!
+ // try to free all used memory REALLY!
//---------------------------------------------------------------------------------------------------------
inline void free()
{
@@ -576,7 +576,7 @@ class DataContainer : private ThreadHelpBase
/** @short identifies different sets of the TypeDetection configuration package.
@descr Most functions on top of this configuration package are the same ...
- but must be executed on different places inside ths configuration structures.
+ but must be executed on different places inside this configuration structures.
These enum values can be used ate some interface methods to specify, which
configuration set should be used.
Further it must be possible to start the same action for more then one cfg type.
@@ -778,8 +778,8 @@ class FilterCFGAccess : public ::utl::ConfigItem
// member
//-------------------------------------------------------------------------------------------------------------
private:
- EFilterPackage m_ePackage ; // ... not realy used yet! should split configuration in STANDARD and ADDITIONAL filter
- sal_Int32 m_nVersion ; // file format version of configuration! (neccessary for "xml2xcd" transformation!)
+ EFilterPackage m_ePackage ; // ... not really used yet! should split configuration in STANDARD and ADDITIONAL filter
+ sal_Int32 m_nVersion ; // file format version of configuration! (necessary for "xml2xcd" transformation!)
sal_Int32 m_nKeyCountTypes ; // follow key counts present count of configuration properties for types/filters ... and depends from m_nVersion - must be set right!
sal_Int32 m_nKeyCountFilters ;
sal_Int32 m_nKeyCountDetectors ;
@@ -815,7 +815,7 @@ class FilterCFGListener : public css::util::XChangesListener
DataContainer* m_pData;
// we must know, if we are already registered as listener or not.
- // That can be usefull to supress double registration calls ...
+ // That can be useful to suppress double registration calls ...
// which may will force double call backs in our disposing method!
// Such superflous calls can be dangerous.
sal_Bool m_bListening;
diff --git a/framework/inc/classes/framecontainer.hxx b/framework/inc/classes/framecontainer.hxx
index a07585d87f89..1665a8eb87d8 100644
--- a/framework/inc/classes/framecontainer.hxx
+++ b/framework/inc/classes/framecontainer.hxx
@@ -99,7 +99,7 @@ class FrameContainer : private ThreadHelpBase
/// list to hold all frames
TFrameContainer m_aContainer;
- /// one container item can be the current active frame. Its neccessary for Desktop or Frame implementation.
+ /// one container item can be the current active frame. Its necessary for Desktop or Frame implementation.
css::uno::Reference< css::frame::XFrame > m_xActiveFrame;
/*DEPRECATEME
/// indicates using of the automatic async quit feature in case last task will be closed
diff --git a/framework/inc/classes/protocolhandlercache.hxx b/framework/inc/classes/protocolhandlercache.hxx
index ee727bb5f978..3e2a1e30bf37 100644
--- a/framework/inc/classes/protocolhandlercache.hxx
+++ b/framework/inc/classes/protocolhandlercache.hxx
@@ -57,7 +57,7 @@ namespace framework{
#define PACKAGENAME_PROTOCOLHANDLER DECLARE_ASCII("Office.ProtocolHandler" ) /// name of our configuration package
-#define CFG_PATH_SEPERATOR DECLARE_ASCII("/" ) /// seperator for configuration pathes
+#define CFG_PATH_SEPERATOR DECLARE_ASCII("/" ) /// seperator for configuration paths
#define CFG_ENCODING_OPEN DECLARE_ASCII("[\'" ) /// used to start encoding of set names
#define CFG_ENCODING_CLOSE DECLARE_ASCII("\']" ) /// used to finish encoding of set names
@@ -116,7 +116,7 @@ typedef BaseHash< ProtocolHandler > HandlerHash;
- another one maps her registered pattern to her uno names to
perform search on such data
But this lists a static for all instances of this class. So it's possible to
- create new objects without opening configuration twice and free memory automaticly
+ create new objects without opening configuration twice and free memory automatically
if last object will gone.
@attention We implement a singleton concept - so we doesn't need any mutex member here.
@@ -165,7 +165,7 @@ class FWI_DLLPUBLIC HandlerCache
We set a data container pointer for filling or reading ... this class use it temp.
After successfuly calling of read(), we can use filled container directly or merge it with an existing one.
After successfuly calling of write() all values of given data container are flushed to our configuration -
- but current implementation doesn't support writeing realy.
+ but current implementation doesn't support writeing really.
@base ::utl::ConfigItem
base mechanism for configuration access
diff --git a/framework/inc/classes/servicemanager.hxx b/framework/inc/classes/servicemanager.hxx
index cb7feedc3856..299031bc1bd0 100644
--- a/framework/inc/classes/servicemanager.hxx
+++ b/framework/inc/classes/servicemanager.hxx
@@ -63,7 +63,7 @@ namespace framework{
/*-************************************************************************************************************//**
@short create a new global servicemanager
- @descr A global servicemanager is neccessary to instanciate UNO-services. To do this, you need
+ @descr A global servicemanager is necessary to instanciate UNO-services. To do this, you need
a factory to create new objects with special type. That's the reason for a servicemanager.
@implements -
@@ -118,9 +118,9 @@ class ServiceManager
@short initialize global uno service manager and return it
@descr This method create a new manager only at first call. We confiscate this with a static
pointer, which will be initialized only, if it NULL!
- Then you can call this method everytime to get a reference to the manager.
+ Then you can call this method every time to get a reference to the manager.
If you will initialize an uno application you must set returned reference in ::comphelper::setProcessServiceFactory()!
- The created manager use "applicat.rdb" and "userXX.rdb" automaticly.
+ The created manager use "applicat.rdb" and "userXX.rdb" automatically.
@seealso -
@@ -149,7 +149,7 @@ class ServiceManager
/*-****************************************************************************************************//**
@short return a reference to a uno servicemanager instance which use your specified user registry file
@descr This do the same like method before - but instead of "userXX.rdb" we use your file.
- These is neccessary, if you will run more then one uno application at the same time in same environment!
+ These is necessary, if you will run more then one uno application at the same time in same environment!
All created servicemanager use the same "applicat.rdb" but different user registries.
@ATTENTION Given file name must be a full qualified system file name. If file not already exist we create a new one!
@@ -211,7 +211,7 @@ class ServiceManager
@param -
@return reference to created static own global mutex
- @onerror No error should occure.
+ @onerror No error should occur.
*//*-*****************************************************************************************************/
MUTEX& impl_getOwnGlobalMutex();
@@ -224,7 +224,7 @@ class ServiceManager
@param "sRegistryFile", file name of user registry.
@return A reference to a new initialized servicemanager with a valid registry.
- It can be NULL, if an error occured.
+ It can be NULL, if an error occurred.
@onerror Return a NULL-reference.
*//*-*****************************************************************************************************/
diff --git a/framework/inc/commands.h b/framework/inc/commands.h
index 88843267117b..5333565b5aa8 100644
--- a/framework/inc/commands.h
+++ b/framework/inc/commands.h
@@ -45,7 +45,7 @@ namespace framework{
#define COMMAND_PLUGIN DECLARE_ASCII("-plugin" ) /// office is plugged into a browser
#define COMMAND_HEADLESS DECLARE_ASCII("-headless" ) /// office runs in headless mode for scripting
-#define COMMAND_INVISIBLE DECLARE_ASCII("-invisible" ) /// office runs in invisible mode which supress splash screen and first empry document
+#define COMMAND_INVISIBLE DECLARE_ASCII("-invisible" ) /// office runs in invisible mode which suppress splash screen and first empry document
#define COMMAND_SERVER DECLARE_ASCII("-server" ) /// office runs as server
} // namespace framework
diff --git a/framework/inc/dispatch/basedispatcher.hxx b/framework/inc/dispatch/basedispatcher.hxx
index 0b60fb359a26..82b5325052a5 100644
--- a/framework/inc/dispatch/basedispatcher.hxx
+++ b/framework/inc/dispatch/basedispatcher.hxx
@@ -153,8 +153,8 @@ struct LoadBinding
css::uno::Reference< css::frame::XDispatch > xHandler ; // if handler was used, this reference will be valid
css::uno::Reference< css::frame::XFrameLoader > xLoader ; // if loader was used, this reference will be valid
css::uno::Reference< css::frame::XFrame > xFrame ; // Target of loading
- css::util::URL aURL ; // dispatched URL - neccessary to find listener for status event!
- css::uno::Sequence< css::beans::PropertyValue > lDescriptor ; // dispatched arguments - neccessary for "reactForLoadingState()"!
+ css::util::URL aURL ; // dispatched URL - necessary to find listener for status event!
+ css::uno::Sequence< css::beans::PropertyValue > lDescriptor ; // dispatched arguments - necessary for "reactForLoadingState()"!
css::uno::Any aAsyncInfo ; // superclasses could use them to save her own user specific data for these asynchron call-info
css::uno::Reference< css::frame::XDispatchResultListener > xListener;
};
@@ -228,7 +228,7 @@ class LoaderThreads : private ::std::vector< LoadBinding >
/*-************************************************************************************************************//**
@short base class for dispatcher implementations
- @descr Most of our dispatch implementations do everytime the same. They try to handle or load
+ @descr Most of our dispatch implementations do every time the same. They try to handle or load
somethinmg into a target ... normaly a frame/task/pluginframe!
They must do it synchron or sometimes asynchron. They must wait for callbacks and
notify registered listener with right status events.
@@ -255,7 +255,7 @@ class BaseDispatcher : // interfaces
public css::frame::XNotifyingDispatch ,
public css::frame::XLoadEventListener , // => XEventListener too!
// baseclasses
- // Order is neccessary for right initialization!
+ // Order is necessary for right initialization!
protected ThreadHelpBase ,
protected TransactionBase ,
public ::cppu::OWeakObject
@@ -311,7 +311,7 @@ class BaseDispatcher : // interfaces
task if operation failed ...!?
By overwriting these pure virtual methods it's possible to do such things.
We call you with all available informations ... you should react for it.
- BUT - don't send any status events to your listener! We will do it everytime.
+ BUT - don't send any status events to your listener! We will do it every time.
(other listener could be informed as well!)
You will called back in: a) "reactForLoadingState()" , if URL was loaded into a frame
diff --git a/framework/inc/dispatch/blankdispatcher.hxx b/framework/inc/dispatch/blankdispatcher.hxx
index d08dcf9754f6..9879e992df7e 100644
--- a/framework/inc/dispatch/blankdispatcher.hxx
+++ b/framework/inc/dispatch/blankdispatcher.hxx
@@ -70,7 +70,7 @@ namespace framework{
@threadsafe yes
*//*-*************************************************************************************************************/
class BlankDispatcher : // -interfaces ... are supported by our BaseDispatcher!
- // -baseclasses ... order is neccessary for right initialization!
+ // -baseclasses ... order is necessary for right initialization!
public BaseDispatcher
{
//-------------------------------------------------------------------------------------------------------------
diff --git a/framework/inc/dispatch/closedispatcher.hxx b/framework/inc/dispatch/closedispatcher.hxx
index 205c22a3106a..06e37f51550f 100644
--- a/framework/inc/dispatch/closedispatcher.hxx
+++ b/framework/inc/dispatch/closedispatcher.hxx
@@ -65,13 +65,13 @@ namespace framework{
@descr These URLs implements a special functionality to close a document or the whole frame ...
and handle the state, it was the last frame or document. Then we create the
default backing document which can be used to open new ones using the file open dialog
- or some other menu entries. Or we terminate the whole application in case this backing mode shouldnt
+ or some other menu entries. Or we terminate the whole application in case this backing mode shouldn't
be used.
*/
class CloseDispatcher : public css::lang::XTypeProvider
, public css::frame::XNotifyingDispatch // => XDispatch
, public css::frame::XDispatchInformationProvider
- // baseclasses ... order is neccessary for right initialization!
+ // baseclasses ... order is necessary for right initialization!
, private ThreadHelpBase
, public ::cppu::OWeakObject
{
@@ -205,10 +205,10 @@ class CloseDispatcher : public css::lang::XTypeProvider
//---------------------------------------
/** @short prepare m_xCloseFrame so it should be closeable without problems.
- @descr Thats needed to be shure, that the document cant disagree
+ @descr Thats needed to be sure, that the document can't disagree
later with e.g. an office termination.
The problem: Closing of documents can show UI. If the user
- ignores it and open/close other documents, we cant know
+ ignores it and open/close other documents, we can't know
which state the office has after closing of this frame.
@param bAllowSuspend
@@ -236,8 +236,8 @@ class CloseDispatcher : public css::lang::XTypeProvider
before (e.g. by calling implts_closeView()!
Otherwhise e.g. the XController->suspend()
- call isnt made and no UI warn the user about
- loosing document changes. Because the
+ call isn't made and no UI warn the user about
+ losing document changes. Because the
frame is closed ....
@return [bool]
@@ -282,7 +282,7 @@ class CloseDispatcher : public css::lang::XTypeProvider
directly used as css::frame::DispatchResultState value.
@param aResult
- not used yet realy ...
+ not used yet really ...
*/
void implts_notifyResultListener(const css::uno::Reference< css::frame::XDispatchResultListener >& xListener,
sal_Int16 nState ,
@@ -290,13 +290,13 @@ class CloseDispatcher : public css::lang::XTypeProvider
//---------------------------------------
/** @short try to find the right target frame where this close request
- must be realy done.
+ must be really done.
@descr The problem behind: closing some resources depends sometimes from the
context where its dispatched. Sometimes the start frame of the dispatch
has to be closed itself (target=_self) ... sometimes it's parent frame
has to be closed - BUT(!) it means a parent frame containing a top level
- window. _top cant be used then for dispatch - because it adress TopFrames
+ window. _top can't be used then for dispatch - because it address TopFrames
not frames containg top level windows. So normaly _magic (which btw does not
exists at the moment .-) ) should be used. So we interpret target=<empty>
as _magic !
diff --git a/framework/inc/dispatch/createdispatcher.hxx b/framework/inc/dispatch/createdispatcher.hxx
index 3450cdfa0b31..fc35f205653b 100644
--- a/framework/inc/dispatch/createdispatcher.hxx
+++ b/framework/inc/dispatch/createdispatcher.hxx
@@ -77,7 +77,7 @@ namespace framework{
@threadsafe yes
*//*-*************************************************************************************************************/
class CreateDispatcher : // -interfaces ... are supported by our BaseDispatcher!
- // -baseclasses ... order is neccessary for right initialization!
+ // -baseclasses ... order is necessary for right initialization!
public BaseDispatcher
{
//-------------------------------------------------------------------------------------------------------------
diff --git a/framework/inc/dispatch/dispatchprovider.hxx b/framework/inc/dispatch/dispatchprovider.hxx
index 78c4c17e946c..05dff041cbda 100644
--- a/framework/inc/dispatch/dispatchprovider.hxx
+++ b/framework/inc/dispatch/dispatchprovider.hxx
@@ -66,7 +66,7 @@ namespace framework{
//_________________________________________________________________________________________________________________
/**
- @descr We know some special dispatch objects with diffrent functionality.
+ @descr We know some special dispatch objects with different functionality.
The can be created internaly by the following DispatchProvider.
Here we define some identifier to force creation of the right one.
*/
@@ -108,7 +108,7 @@ class DispatchProvider : // interfaces
public css::lang::XTypeProvider ,
public css::frame::XDispatchProvider ,
// baseclasses
- // Order is neccessary for right initialization!
+ // Order is necessary for right initialization!
private ThreadHelpBase ,
private TransactionBase ,
public ::cppu::OWeakObject
diff --git a/framework/inc/dispatch/helpagentdispatcher.hxx b/framework/inc/dispatch/helpagentdispatcher.hxx
index cfd4cf448ed5..4487296bee02 100644
--- a/framework/inc/dispatch/helpagentdispatcher.hxx
+++ b/framework/inc/dispatch/helpagentdispatcher.hxx
@@ -42,7 +42,7 @@ namespace framework
// define css alias ... and undefine it at the end of this file !!!
#ifdef css
- #error "I tried to use css as namespace define inside non exported header ... but it was already defined by somwhere else. .-)"
+ #error "I tried to use css as namespace define inside non exported header ... but it was already defined by somewhere else. .-)"
#else
#define css ::com::sun::star
#endif
diff --git a/framework/inc/dispatch/interceptionhelper.hxx b/framework/inc/dispatch/interceptionhelper.hxx
index c8bf5eb9c68f..41240ab73b3b 100644
--- a/framework/inc/dispatch/interceptionhelper.hxx
+++ b/framework/inc/dispatch/interceptionhelper.hxx
@@ -260,7 +260,7 @@ class InterceptionHelper : public css::frame::XDispatchProvider
@descr It capsulate more then one queryDispatch() requests and return a lits of dispatch objects
as result. Because both lists (in and out) coreespond together, it's not allowed to
- pack it - means supress NULL references!
+ pack it - means suppress NULL references!
@param lDescriptor
a list of queryDispatch() arguments.
diff --git a/framework/inc/dispatch/mailtodispatcher.hxx b/framework/inc/dispatch/mailtodispatcher.hxx
index 0f0466ae83fb..ae84635ffba2 100644
--- a/framework/inc/dispatch/mailtodispatcher.hxx
+++ b/framework/inc/dispatch/mailtodispatcher.hxx
@@ -70,7 +70,7 @@ namespace framework{
/**
@short protocol handler for "mailto:" URLs
@descr It's a special dispatch object which is used registered for "mailto:*" URLs and
- will be automaticly used from the framework dispatch mechanism if such URL occured.
+ will be automatically used from the framework dispatch mechanism if such URL occurred.
@base ThreadHelpBase
exports a lock member to guarantee right initialize value of it
@@ -87,7 +87,7 @@ class MailToDispatcher : // interfaces
public css::frame::XDispatchProvider ,
public css::frame::XNotifyingDispatch, // => XDispatch
// baseclasses
- // Order is neccessary for right initialization!
+ // Order is necessary for right initialization!
private ThreadHelpBase ,
public cppu::OWeakObject
{
diff --git a/framework/inc/dispatch/menudispatcher.hxx b/framework/inc/dispatch/menudispatcher.hxx
index 89e078e56723..ba7cab46c8f8 100644
--- a/framework/inc/dispatch/menudispatcher.hxx
+++ b/framework/inc/dispatch/menudispatcher.hxx
@@ -106,7 +106,7 @@ class MenuDispatcher : // interfaces
public css::frame::XDispatch ,
public css::frame::XFrameActionListener ,
// baseclasses
- // Order is neccessary for right initialization!
+ // Order is necessary for right initialization!
public ThreadHelpBase ,
public cppu::OWeakObject
{
@@ -122,7 +122,7 @@ class MenuDispatcher : // interfaces
/*-****************************************************************************************************//**
@short standard ctor
- @descr These initialize a new instance of ths class with needed informations for work.
+ @descr These initialize a new instance of this class with needed informations for work.
@seealso using at owner
@@ -149,7 +149,7 @@ class MenuDispatcher : // interfaces
/*-****************************************************************************************************//**
@short dispatch URL with arguments
- @descr Every dispatch create a new task. If load of URL failed task will deleted automaticly!
+ @descr Every dispatch create a new task. If load of URL failed task will deleted automatically!
@seealso -
@@ -171,7 +171,7 @@ class MenuDispatcher : // interfaces
@seealso method loadCancelled()
@param "xControl" , css::uno::Reference to a valid listener for state events.
- @param "aURL" , URL about listener will be informed, if something occured.
+ @param "aURL" , URL about listener will be informed, if something occurred.
@return -
@onerror -
diff --git a/framework/inc/dispatch/oxt_handler.hxx b/framework/inc/dispatch/oxt_handler.hxx
index 705b557572f4..291cd1e37493 100644
--- a/framework/inc/dispatch/oxt_handler.hxx
+++ b/framework/inc/dispatch/oxt_handler.hxx
@@ -139,7 +139,7 @@ class Oxt_Handler : // interfaces
, public css::frame::XNotifyingDispatch // => XDispatch
, public css::document::XExtendedFilterDetection
// baseclasses
- // Order is neccessary for right initialization!
+ // Order is necessary for right initialization!
, private ThreadHelpBase
, public ::cppu::OWeakObject
{
diff --git a/framework/inc/dispatch/popupmenudispatcher.hxx b/framework/inc/dispatch/popupmenudispatcher.hxx
index 29d1570adcba..6a03192e7a99 100644
--- a/framework/inc/dispatch/popupmenudispatcher.hxx
+++ b/framework/inc/dispatch/popupmenudispatcher.hxx
@@ -121,7 +121,7 @@ class PopupMenuDispatcher : // interfaces
public css::frame::XFrameActionListener ,
public css::lang::XInitialization ,
// baseclasses
- // Order is neccessary for right initialization!
+ // Order is necessary for right initialization!
public ThreadHelpBase ,
public cppu::OWeakObject
{
diff --git a/framework/inc/dispatch/selfdispatcher.hxx b/framework/inc/dispatch/selfdispatcher.hxx
index a8dda70246ef..d84a4f16bf7a 100644
--- a/framework/inc/dispatch/selfdispatcher.hxx
+++ b/framework/inc/dispatch/selfdispatcher.hxx
@@ -72,7 +72,7 @@ namespace framework{
@threadsafe yes
*//*-*************************************************************************************************************/
class SelfDispatcher : // -interfaces ... are supported by our BaseDispatcher!
- // -baseclasses ... order is neccessary for right initialization!
+ // -baseclasses ... order is necessary for right initialization!
public BaseDispatcher
{
//-------------------------------------------------------------------------------------------------------------
diff --git a/framework/inc/dispatch/servicehandler.hxx b/framework/inc/dispatch/servicehandler.hxx
index 8d95dd20ec92..79fd44700ce7 100644
--- a/framework/inc/dispatch/servicehandler.hxx
+++ b/framework/inc/dispatch/servicehandler.hxx
@@ -70,10 +70,10 @@ namespace framework{
/**
@short protocol handler for "service:*" URLs
@descr It's a special dispatch/provider object which is registered for such URL pattern and will
- be automaticly used by the framework dispatch mechanism if such URL occured.
+ be automatically used by the framework dispatch mechanism if such URL occurred.
His job is to create any registered uno components which must be coded inside
dispatched URL (may with some optional given parameters). After that such created
- service must be hold his self alive. Such mechanism can be usefull for UI components
+ service must be hold his self alive. Such mechanism can be useful for UI components
(e.g. Dialogs, Wizards) only.
@base ThreadHelpBase
@@ -91,7 +91,7 @@ class ServiceHandler : // interfaces
public css::frame::XDispatchProvider ,
public css::frame::XNotifyingDispatch, // => XDispatch
// baseclasses
- // Order is neccessary for right initialization!
+ // Order is necessary for right initialization!
private ThreadHelpBase ,
public cppu::OWeakObject
{
diff --git a/framework/inc/dispatch/startmoduledispatcher.hxx b/framework/inc/dispatch/startmoduledispatcher.hxx
index 41d9c6e14f4d..8e7c890b4b0e 100644
--- a/framework/inc/dispatch/startmoduledispatcher.hxx
+++ b/framework/inc/dispatch/startmoduledispatcher.hxx
@@ -64,7 +64,7 @@ namespace framework{
class StartModuleDispatcher : public css::lang::XTypeProvider
, public css::frame::XNotifyingDispatch // => XDispatch
, public css::frame::XDispatchInformationProvider
- // baseclasses ... order is neccessary for right initialization!
+ // baseclasses ... order is necessary for right initialization!
, private ThreadHelpBase
, public ::cppu::OWeakObject
{
@@ -180,7 +180,7 @@ class StartModuleDispatcher : public css::lang::XTypeProvider
directly used as css::frame::DispatchResultState value.
@param aResult
- not used yet realy ...
+ not used yet really ...
*/
void implts_notifyResultListener(const css::uno::Reference< css::frame::XDispatchResultListener >& xListener,
sal_Int16 nState ,
diff --git a/framework/inc/dispatch/systemexec.hxx b/framework/inc/dispatch/systemexec.hxx
index 8b8b201aa3a5..39d30066c269 100644
--- a/framework/inc/dispatch/systemexec.hxx
+++ b/framework/inc/dispatch/systemexec.hxx
@@ -70,7 +70,7 @@ namespace framework{
/**
@short protocol handler for "systemexec:*" URLs
@descr It's a special dispatch/provider object which is registered for such URL pattern and will
- be automaticly used by the framework dispatch mechanism if such URL occured.
+ be automatically used by the framework dispatch mechanism if such URL occurred.
It forwards all URL's to the underlying operating system.
So it would e.g. be possible to open HTML files outside the office within a web browser.
@@ -87,7 +87,7 @@ class SystemExec : // interfaces
public css::frame::XDispatchProvider ,
public css::frame::XNotifyingDispatch, // => XDispatch
// baseclasses
- // Order is neccessary for right initialization!
+ // Order is necessary for right initialization!
private ThreadHelpBase ,
public cppu::OWeakObject
{
diff --git a/framework/inc/framework/addonsoptions.hxx b/framework/inc/framework/addonsoptions.hxx
index b53aea694af9..13a9ead43875 100644
--- a/framework/inc/framework/addonsoptions.hxx
+++ b/framework/inc/framework/addonsoptions.hxx
@@ -41,7 +41,7 @@
/*-************************************************************************************************************//**
@descr The method GetAddonsMenu() returns a list of property values.
- Use follow defines to seperate values by names.
+ Use follow defines to separate values by names.
*//*-*************************************************************************************************************/
#define ADDONSMENUITEM_STRING_URL "URL"
#define ADDONSMENUITEM_STRING_TITLE "Title"
@@ -128,7 +128,7 @@ typedef ::std::vector< MergeStatusbarInstruction > MergeStatusbarInstructionCont
/*-************************************************************************************************************//**
@short forward declaration to our private date container implementation
@descr We use these class as internal member to support small memory requirements.
- You can create the container if it is neccessary. The class which use these mechanism
+ You can create the container if it is necessary. The class which use these mechanism
is faster and smaller then a complete implementation!
*//*-*************************************************************************************************************/
diff --git a/framework/inc/framework/framelistanalyzer.hxx b/framework/inc/framework/framelistanalyzer.hxx
index 7179b22854b7..38dc3fed7684 100644
--- a/framework/inc/framework/framelistanalyzer.hxx
+++ b/framework/inc/framework/framelistanalyzer.hxx
@@ -46,7 +46,7 @@ namespace framework{
/** analyze and split the current available frame list of a given frames supplier
into different parts.
- These analyzed informations can be used e.g. to decide if it's neccessary
+ These analyzed informations can be used e.g. to decide if it's necessary
to switch into the backing mode, close the current active frame only or
exit the whole application explicitly or implicitly.
*/
@@ -93,13 +93,13 @@ class FWE_DLLPUBLIC FrameListAnalyzer
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > > m_lModelFrames;
/** contains all frames, which does not contain the same model like the reference frame.
- Filling of it can't be supressed by m_eDetectMode.
+ Filling of it can't be suppressed by m_eDetectMode.
The reference frame is never part of this list!
All frames inside this list are visible ones. */
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > > m_lOtherVisibleFrames;
/** contains all frames, which does not contain the same model like the reference frame.
- Filling of it can't be supressed by m_eDetectMode.
+ Filling of it can't be suppressed by m_eDetectMode.
The reference frame is never part of this list!
All frames inside this list are hidden ones. */
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > > m_lOtherHiddenFrames;
diff --git a/framework/inc/framework/preventduplicateinteraction.hxx b/framework/inc/framework/preventduplicateinteraction.hxx
index 19f4077c0660..83407b713593 100644
--- a/framework/inc/framework/preventduplicateinteraction.hxx
+++ b/framework/inc/framework/preventduplicateinteraction.hxx
@@ -189,7 +189,7 @@ class FWE_DLLPUBLIC PreventDuplicateInteraction : private ThreadHelpBase2
@param xSMGR
uno service manager for creating services internaly
- @threadsafe not neccessary
+ @threadsafe not necessary
*/
PreventDuplicateInteraction(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR);
@@ -225,10 +225,10 @@ class FWE_DLLPUBLIC PreventDuplicateInteraction : private ThreadHelpBase2
@short add a new interaction to the list of interactions, which
must be handled by this helper.
- @descr This method must be called immediatly after a new instance of this helper was
+ @descr This method must be called immediately after a new instance of this helper was
created. Without such list of InteractionRules, this instances does nothing!
On the other side there is no possibility to remove rules.
- So the same instance cant be used within different transactions.
+ So the same instance can't be used within different transactions.
It's a OneWay-object .-)
@param aInteractionInfo
diff --git a/framework/inc/general.h b/framework/inc/general.h
index d7f9f5bc7d3e..018457b925ea 100644
--- a/framework/inc/general.h
+++ b/framework/inc/general.h
@@ -29,7 +29,7 @@
#include <macros/generic.hxx>
-/* Normaly XInterface isnt used here ...
+/* Normaly XInterface isn't used here ...
But we need it to be able to define namespace alias css to anything related to ::com::sun::star
:-) */
#include <com/sun/star/uno/XInterface.hpp>
diff --git a/framework/inc/helper/fixeddocumentproperties.hxx b/framework/inc/helper/fixeddocumentproperties.hxx
index 51e450407060..5ee78a616108 100644
--- a/framework/inc/helper/fixeddocumentproperties.hxx
+++ b/framework/inc/helper/fixeddocumentproperties.hxx
@@ -37,15 +37,15 @@ struct FixedDocumentProperties
sal_Bool m_bAutoloadEnabled ; /// Automatic reload enabled/disabled ?
sal_Int32 m_nAutoloadSecs ; /// Time cycle for automatic reload
::rtl::OUString m_sAutoloadURL ; /// URL for automatic reload
- ::rtl::OUString m_sBlindCopiesTo ; /// Adress for BCC
- ::rtl::OUString m_sCopiesTo ; /// Adress CC
+ ::rtl::OUString m_sBlindCopiesTo ; /// Address for BCC
+ ::rtl::OUString m_sCopiesTo ; /// Address CC
com::sun::star::util::DateTime m_aCreationDate ; /// Time and date of document creation
::rtl::OUString m_sDefaultTarget ; /// Name of default target
::rtl::OUString m_sDescription ; /// Short description and comments
sal_Int16 m_nEditingCycles ; /// Document number
sal_Int32 m_nEditingDuration ; /// Duration since last edit
com::sun::star::uno::Sequence< sal_Int8 > m_seqExtraData ; /// Buffer of bytes for some extra data
- ::rtl::OUString m_sInReplyTo ; /// Adress for reply to ...
+ ::rtl::OUString m_sInReplyTo ; /// Address for reply to ...
sal_Bool m_bIsEncrypted ; /// Document is en/decrypted
::rtl::OUString m_sKeywords ; /// Some keywords
::rtl::OUString m_sMIMEType ; /// MIME-type of document
@@ -60,7 +60,7 @@ struct FixedDocumentProperties
sal_Bool m_bQueryTemplate ; /// Search for template ?
::rtl::OUString m_sRecipient ; /// Name of recipient
::rtl::OUString m_sReferences ; /// Some references to other things
- ::rtl::OUString m_sReplyTo ; /// Adress to reply
+ ::rtl::OUString m_sReplyTo ; /// Address to reply
sal_Bool m_bSaveGraphicsCompressed ; /// Compressed/non compressed graphics
sal_Bool m_bSaveOriginalGraphics ; /// Include graphics
sal_Bool m_bSaveVersionOnClose ; /// Save version on close of document ?
diff --git a/framework/inc/helper/ocomponentaccess.hxx b/framework/inc/helper/ocomponentaccess.hxx
index f4c60fac2cc3..a63ef13c9f8f 100644
--- a/framework/inc/helper/ocomponentaccess.hxx
+++ b/framework/inc/helper/ocomponentaccess.hxx
@@ -83,7 +83,7 @@ namespace framework{
@devstatus ready to use
*//*-*************************************************************************************************************/
-class OComponentAccess : private ThreadHelpBase , // Must be the first of baseclasses - Is neccessary for right initialization of objects!
+class OComponentAccess : private ThreadHelpBase , // Must be the first of baseclasses - Is necessary for right initialization of objects!
public ::cppu::WeakImplHelper1< ::com::sun::star::container::XEnumerationAccess >
{
//-------------------------------------------------------------------------------------------------------------
@@ -199,12 +199,12 @@ class OComponentAccess : private ThreadHelpBase , // M
/*-****************************************************************************************************//**
@short recursive method (!) to collect all components of all frames from the subtree of given node
- @descr This is neccessary to create the enumeration.
+ @descr This is necessary to create the enumeration.
@seealso method createEnumeration
@param "xNode" , root of subtree and start point of search
- @param "seqComponents", result list of search. We cant use a return value, we search recursive
+ @param "seqComponents", result list of search. We can't use a return value, we search recursive
and must collect all informations.
@return -
diff --git a/framework/inc/helper/ocomponentenumeration.hxx b/framework/inc/helper/ocomponentenumeration.hxx
index 46a59172f29a..106ee4e6bf5f 100644
--- a/framework/inc/helper/ocomponentenumeration.hxx
+++ b/framework/inc/helper/ocomponentenumeration.hxx
@@ -67,7 +67,7 @@ namespace framework{
@short implement a helper for a oneway enumeration of components
@descr You can step during this list only for one time! Its a snapshot.
Don't forget to release the reference. You are the owner of an instance of this implementation.
- You cant use this as a baseclass. Please use it as a dynamical object for return.
+ You can't use this as a baseclass. Please use it as a dynamical object for return.
@implements XInterface
XTypeProvider
diff --git a/framework/inc/helper/oframes.hxx b/framework/inc/helper/oframes.hxx
index 632c8397ac32..378862f7b422 100644
--- a/framework/inc/helper/oframes.hxx
+++ b/framework/inc/helper/oframes.hxx
@@ -83,7 +83,7 @@ namespace framework{
@devstatus deprecated
*//*-*************************************************************************************************************/
-class OFrames : private ThreadHelpBase , // Must be the first of baseclasses - Is neccessary for right initialization of objects!
+class OFrames : private ThreadHelpBase , // Must be the first of baseclasses - Is necessary for right initialization of objects!
public ::cppu::WeakImplHelper1< ::com::sun::star::frame::XFrames >
{
//-------------------------------------------------------------------------------------------------------------
diff --git a/framework/inc/helper/otasksenumeration.hxx b/framework/inc/helper/otasksenumeration.hxx
index fe091c945cde..fbbe055b6661 100644
--- a/framework/inc/helper/otasksenumeration.hxx
+++ b/framework/inc/helper/otasksenumeration.hxx
@@ -68,7 +68,7 @@ namespace framework{
@short implement a helper for a oneway enumeration of tasks
@descr You can step during this list only for one time! Its a snapshot.
Don't forget to release the reference. You are the owner of an instance of this implementation.
- You cant use this as a baseclass. Please use it as a dynamical object for return.
+ You can't use this as a baseclass. Please use it as a dynamical object for return.
@implements XInterface
XTypeProvider
diff --git a/framework/inc/helper/persistentwindowstate.hxx b/framework/inc/helper/persistentwindowstate.hxx
index c56ff204404c..7750b1f84dfe 100644
--- a/framework/inc/helper/persistentwindowstate.hxx
+++ b/framework/inc/helper/persistentwindowstate.hxx
@@ -87,7 +87,7 @@ class PersistentWindowState : // interfaces
public css::lang::XTypeProvider,
public css::lang::XInitialization,
public css::frame::XFrameActionListener, // => XEventListener
- // baseclasses (order neccessary for right initialization!)
+ // baseclasses (order necessary for right initialization!)
private ThreadHelpBase,
public ::cppu::OWeakObject
{
@@ -177,7 +177,7 @@ class PersistentWindowState : // interfaces
@param xWindow
must point to the container window of the frame.
- We use it VCL part here - because the toolkit doesnt
+ We use it VCL part here - because the toolkit doesn't
provide the right functionality!
@return [string]
@@ -207,7 +207,7 @@ class PersistentWindowState : // interfaces
@param xWindow
must point to the container window of the frame.
- We use it VCL part here - because the toolkit doesnt
+ We use it VCL part here - because the toolkit doesn't
provide the right functionality!
@param sWindowState
diff --git a/framework/inc/helper/statusindicator.hxx b/framework/inc/helper/statusindicator.hxx
index 3230f56b7f83..852073394d5e 100644
--- a/framework/inc/helper/statusindicator.hxx
+++ b/framework/inc/helper/statusindicator.hxx
@@ -70,7 +70,7 @@ namespace framework{
*/
class StatusIndicator : public css::lang::XTypeProvider
, public css::task::XStatusIndicator
- , private ThreadHelpBase // Order of baseclasses is neccessary for right initializaton!
+ , private ThreadHelpBase // Order of baseclasses is necessary for right initializaton!
, public ::cppu::OWeakObject // => XInterface
{
//-------------------------------------------
diff --git a/framework/inc/helper/statusindicatorfactory.hxx b/framework/inc/helper/statusindicatorfactory.hxx
index 4ae0796c88c8..10a7e4ac0f54 100644
--- a/framework/inc/helper/statusindicatorfactory.hxx
+++ b/framework/inc/helper/statusindicatorfactory.hxx
@@ -289,7 +289,7 @@ class StatusIndicatorFactory : public css::lang::XTypeProvider
if it's allowed to do so.
- @descr By default we show the parent window automaticly
+ @descr By default we show the parent window automatically
if this progress is used.
If that isn't a valid operation, the user of this
progress can suppress this feature by initializaing
diff --git a/framework/inc/helper/tagwindowasmodified.hxx b/framework/inc/helper/tagwindowasmodified.hxx
index e78f2e46f407..dcba1a86ea54 100644
--- a/framework/inc/helper/tagwindowasmodified.hxx
+++ b/framework/inc/helper/tagwindowasmodified.hxx
@@ -65,7 +65,7 @@ namespace framework{
/*-************************************************************************************************************//**
@short listen for modify events on model and tag frame container window so it can react accordingly
- @descr Used e.g. by our MAC port where such state is shown seperately on some controls of the
+ @descr Used e.g. by our MAC port where such state is shown separately on some controls of the
title bar.
@base ThreadHelpBase
@@ -83,7 +83,7 @@ class TagWindowAsModified : // interfaces
public css::lang::XInitialization,
public css::frame::XFrameActionListener, // => XEventListener
public css::util::XModifyListener, // => XEventListener
- // baseclasses (order neccessary for right initialization!)
+ // baseclasses (order necessary for right initialization!)
private ThreadHelpBase,
public ::cppu::OWeakObject
{
diff --git a/framework/inc/helper/titlebarupdate.hxx b/framework/inc/helper/titlebarupdate.hxx
index f48a947eceac..10c211732cf7 100644
--- a/framework/inc/helper/titlebarupdate.hxx
+++ b/framework/inc/helper/titlebarupdate.hxx
@@ -121,7 +121,7 @@ class TitleBarUpdate : // interfaces
, public css::lang::XInitialization
, public css::frame::XTitleChangeListener // => XEventListener
, public css::frame::XFrameActionListener // => XEventListener
- // baseclasses (order neccessary for right initialization!)
+ // baseclasses (order necessary for right initialization!)
, private ThreadHelpBase
, public ::cppu::OWeakObject
{
@@ -213,7 +213,7 @@ class TitleBarUpdate : // interfaces
//____________________________
/** @short set a new icon and title on the title bar of our connected frame window.
- @descr It does not check if an update is realy needed. That has to be done outside.
+ @descr It does not check if an update is really needed. That has to be done outside.
It retrieves all needed informations and update the title bar - nothing less -
nothing more.
*/
diff --git a/framework/inc/helper/vclstatusindicator.hxx b/framework/inc/helper/vclstatusindicator.hxx
index 5c7aedd2341e..ff686fe23b95 100644
--- a/framework/inc/helper/vclstatusindicator.hxx
+++ b/framework/inc/helper/vclstatusindicator.hxx
@@ -69,7 +69,7 @@ class VCLStatusIndicator : public css::task::XStatusIndicator
/** shows the progress.
- @attention This member isnt synchronized using our own mutex!
+ @attention This member isn't synchronized using our own mutex!
Its guarded by the solarmutex only. Otherwhise
we have to lock two of them, which can force a deadlock ...
*/
diff --git a/framework/inc/interaction/quietinteraction.hxx b/framework/inc/interaction/quietinteraction.hxx
index c6dc88cb92d3..0c64226fcf74 100644
--- a/framework/inc/interaction/quietinteraction.hxx
+++ b/framework/inc/interaction/quietinteraction.hxx
@@ -60,7 +60,7 @@ namespace framework{
/**
@short handle interactions non visible
- @descr Sometimes it's neccessary to use a non visible interaction handler.
+ @descr Sometimes it's necessary to use a non visible interaction handler.
He can't do anything, which a visible one can handle.
But it can be used to intercept problems e.g. during loading of documents.
@@ -98,7 +98,7 @@ class QuietInteraction : public css::lang::XTypeProvider
@interface XInteractionHandler
@short called from outside to handle a problem
@descr The only interaction we can handle here is to
- decide which of two ambigous filters should be realy used.
+ decide which of two ambigous filters should be really used.
We use the user selected one every time.
All other request will be aborted and can break the code,
which use this interaction handler.
@@ -121,7 +121,7 @@ class QuietInteraction : public css::lang::XTypeProvider
@short ctor to guarantee right initialized instances of this class
@descr -
- @threadsafe not neccessary
+ @threadsafe not necessary
*/
QuietInteraction();
@@ -130,7 +130,7 @@ class QuietInteraction : public css::lang::XTypeProvider
@short return the handled interaction request
@descr We saved any getted interaction request internaly.
May the outside user of this class is interessted
- on that. Especialy we gotted an unknown interaction
+ on that. Especially we gotted an unknown interaction
and aborted it hard.
@return [com.sun.star.uno.Any]
diff --git a/framework/inc/jobs/configaccess.hxx b/framework/inc/jobs/configaccess.hxx
index d18ae3406017..2bba3053bea5 100644
--- a/framework/inc/jobs/configaccess.hxx
+++ b/framework/inc/jobs/configaccess.hxx
@@ -80,7 +80,7 @@ class FWI_DLLPUBLIC ConfigAccess : public ThreadHelpBase
/**
reference to the uno service manager
- It's neccessary to instanciate own needed services.
+ It's necessary to instanciate own needed services.
*/
css::uno::Reference< css::lang::XMultiServiceFactory > m_xSMGR;
diff --git a/framework/inc/jobs/helponstartup.hxx b/framework/inc/jobs/helponstartup.hxx
index dfa8a48ab516..60d9f67af674 100644
--- a/framework/inc/jobs/helponstartup.hxx
+++ b/framework/inc/jobs/helponstartup.hxx
@@ -111,7 +111,7 @@ class HelpOnStartup : private ThreadHelpBase
/** @short does nothing real ...
@descr But it should exists as virtual function,
- so this class cant make trouble
+ so this class can't make trouble
related to inline/symbols etcpp.!
*/
virtual ~HelpOnStartup();
@@ -158,11 +158,11 @@ class HelpOnStartup : private ThreadHelpBase
/** @short tries to locate the open help module and return
the url of the currently shown help content.
- @descr It returns an empty string, if the help isnt still
+ @descr It returns an empty string, if the help isn't still
open at calling time.
@return The URL of the current shown help content;
- or an empty value if the help isnt still open.
+ or an empty value if the help isn't still open.
*/
::rtl::OUString its_getCurrentHelpURL();
@@ -180,7 +180,7 @@ class HelpOnStartup : private ThreadHelpBase
::sal_Bool its_isHelpUrlADefaultOne(const ::rtl::OUString& sHelpURL);
//---------------------------------------
- /** @short checks, if the help module should be shown automaticly for the
+ /** @short checks, if the help module should be shown automatically for the
currently opened office module.
@descr This value is readed from the module configuration.
diff --git a/framework/inc/jobs/job.hxx b/framework/inc/jobs/job.hxx
index 129484823aec..9b34456d0b57 100644
--- a/framework/inc/jobs/job.hxx
+++ b/framework/inc/jobs/job.hxx
@@ -100,7 +100,7 @@ class Job : public css::lang::XTypeProvider
private:
/**
- hold all neccessary informations about this job.
+ hold all necessary informations about this job.
It can be used for both modes: with and without configuration.
*/
JobData m_aJobCfg;
@@ -126,7 +126,7 @@ class Job : public css::lang::XTypeProvider
We use it too, to listen for closing events of this ressource.
Please note: If m_xFrame is set - m_xModel should be NULL.
- Only one environment can be supported realy.
+ Only one environment can be supported really.
*/
css::uno::Reference< css::frame::XFrame > m_xFrame;
@@ -136,13 +136,13 @@ class Job : public css::lang::XTypeProvider
We use it too, to listen for closing events of this ressource.
Please note: If m_xModel is set - m_xFrame should be NULL.
- Only one environment can be supported realy.
+ Only one environment can be supported really.
*/
css::uno::Reference< css::frame::XModel > m_xModel;
/**
We are registered at this instance to listen for office shutdown events.
- It's neccessary supress it (if possible) or to react in the right way.
+ It's necessary suppress it (if possible) or to react in the right way.
*/
css::uno::Reference< css::frame::XDesktop > m_xDesktop;
@@ -163,7 +163,7 @@ class Job : public css::lang::XTypeProvider
/**
Holds the state, if we are listen for desktop/frame or model closing events or not.
- The used references are not realy enough to detect a valid listener connection.
+ The used references are not really enough to detect a valid listener connection.
Thats why we use this additional information here too.
*/
sal_Bool m_bListenOnDesktop;
@@ -182,7 +182,7 @@ class Job : public css::lang::XTypeProvider
indicates in which state the internal job currently exist.
We can use this information to throw any suitable veto exception
- to prevent the environment against dieing or supress superflous dispose()
+ to prevent the environment against dieing or suppress superflous dispose()
calls at the job.
*/
ERunState m_eRunState;
diff --git a/framework/inc/jobs/jobconst.hxx b/framework/inc/jobs/jobconst.hxx
index 9923d4f3757b..c4f4c5d279dc 100644
--- a/framework/inc/jobs/jobconst.hxx
+++ b/framework/inc/jobs/jobconst.hxx
@@ -53,7 +53,7 @@ namespace framework{
@descr The protocol between job executor/dispatch and jobs is fix and well defined.
But why every implemented job should write such constant values directly into
- it's code. Typos can occure or code will be changed by new developers ...
+ it's code. Typos can occur or code will be changed by new developers ...
Shared set of constant values can help to improve the mentainance of this code.
*/
class FWI_DLLPUBLIC JobConst
diff --git a/framework/inc/jobs/jobdata.hxx b/framework/inc/jobs/jobdata.hxx
index faea7ffbe40d..08ec01f4f359 100644
--- a/framework/inc/jobs/jobdata.hxx
+++ b/framework/inc/jobs/jobdata.hxx
@@ -57,7 +57,7 @@ namespace framework{
// definitions
/**
- @short holds all neccessary informations about a job and
+ @short holds all necessary informations about a job and
handle it's configuration (if any exist!)
@descr It can be used rom different use cases as a container
(or proxy) for all config data of a registered job.
@@ -145,8 +145,8 @@ class JobData : private ThreadHelpBase
/** Some jobs can be registered to "logical events", which are generated on demand if another document event
occures. E.g. "onDocumentOpened" in case "OnNew" or "OnLoad" was notified to the JobExecutor instance.
And normaly the original event is transported as parameter set to the executed job. But then such job
- cant differ between e.g. "OnNew" and "onDocumentOpened".
- That's why we must know, for which type of event the job was realy triggered .-)
+ can't differ between e.g. "OnNew" and "onDocumentOpened".
+ That's why we must know, for which type of event the job was really triggered .-)
The information "sDocEvent" from this struct must be set on the member JobData::m_sEvent from outside
user of such Jobdata structure.
@@ -198,7 +198,7 @@ class JobData : private ThreadHelpBase
/**
the alias name of this job.
Is used as entry of configuration set for job registration, to find all
- neccessary properties of it..
+ necessary properties of it..
*/
::rtl::OUString m_sAlias;
@@ -232,7 +232,7 @@ class JobData : private ThreadHelpBase
css::uno::Sequence< css::beans::NamedValue > m_lArguments;
/**
- after a job was sucessfully executed (by any outside code using our
+ after a job was successfully executed (by any outside code using our
informations) it can return a result. This member make it part of this
container too. So it can be used for further things.
We use it also to update our internal state and the configuration
diff --git a/framework/inc/jobs/jobexecutor.hxx b/framework/inc/jobs/jobexecutor.hxx
index a2497d9a70c5..5aa643c44696 100644
--- a/framework/inc/jobs/jobexecutor.hxx
+++ b/framework/inc/jobs/jobexecutor.hxx
@@ -64,7 +64,7 @@ namespace framework{
@short implements a job executor, which can be triggered from any code
@descr It uses the given trigger event to locate any registered job service
inside the configuration and execute it. Of course it controls the
- liftime of such jobs too.
+ lifetime of such jobs too.
*/
class JobExecutor : public css::lang::XTypeProvider
, public css::lang::XServiceInfo
diff --git a/framework/inc/jobs/jobresult.hxx b/framework/inc/jobs/jobresult.hxx
index 85a626d3a5f4..0676e4a0f20d 100644
--- a/framework/inc/jobs/jobresult.hxx
+++ b/framework/inc/jobs/jobresult.hxx
@@ -92,7 +92,7 @@ class JobResult : private ThreadHelpBase
/**
an user of us must know, which (possible) parts of
- a "pure result" was realy set by an executed job.
+ a "pure result" was really set by an executed job.
Means which other members of this class are valid.
This mask can be used to find it out.
*/
diff --git a/framework/inc/jobs/joburl.hxx b/framework/inc/jobs/joburl.hxx
index 4a4ac4ecebc2..7a7eb86fe533 100644
--- a/framework/inc/jobs/joburl.hxx
+++ b/framework/inc/jobs/joburl.hxx
@@ -67,7 +67,7 @@ namespace framework{
@short can be used to parse, validate and work with job URL's
@descr Job URLs are specified by the following syntax:
vnd.sun.star.job:{[event=<name>]|[alias=<name>]|[service=<name>]}
- This class can analyze this structure and seperate it into his different parts.
+ This class can analyze this structure and separate it into his different parts.
After doing that these parts are accessible by the methods of this class.
*/
class JobURL : private ThreadHelpBase
diff --git a/framework/inc/jobs/shelljob.hxx b/framework/inc/jobs/shelljob.hxx
index ef04c7d4417b..149b469fde1c 100644
--- a/framework/inc/jobs/shelljob.hxx
+++ b/framework/inc/jobs/shelljob.hxx
@@ -92,7 +92,7 @@ class ShellJob : private ThreadHelpBase
/** @short does nothing real ...
@descr But it should exists as virtual function,
- so this class cant make trouble
+ so this class can't make trouble
related to inline/symbols etcpp.!
*/
virtual ~ShellJob();
diff --git a/framework/inc/loadstate.h b/framework/inc/loadstate.h
index d55c0e613abb..1010a26dc2a0 100644
--- a/framework/inc/loadstate.h
+++ b/framework/inc/loadstate.h
@@ -41,12 +41,12 @@ namespace framework{
/**
These enum values specify all possible results of a load request.
It doesn't matter, if this load operation used dispatch() or loadComponentFromURL().
- The meaning is everytime the same.
+ The meaning is every time the same.
*/
enum ELoadState
{
E_UNSPECIFIED = 0, // indicates the operation was not already started
- E_SUCCESS = 1, // the load request was successfull
+ E_SUCCESS = 1, // the load request was successful
E_IOERROR = 2, // there was an io error internaly
E_INTERACTION = 3, // there was an interaction, which couldn't be handled (doesn't include IO interactions => see E_IOERROR before)
E_FAILED = 4 // for unknown or unspecified errors
diff --git a/framework/inc/macros/debug/assertion.hxx b/framework/inc/macros/debug/assertion.hxx
index 8f3cd54125a5..8f34d839890c 100644
--- a/framework/inc/macros/debug/assertion.hxx
+++ b/framework/inc/macros/debug/assertion.hxx
@@ -195,7 +195,7 @@
LOG_EXCEPTION( SMETHOD, SOWNMESSAGE, SEXCEPTIONMESSAGE )
Show some exception info by using current set output mode by define LOGTYPE!
- We use a seperated scope {} do protect us against multiple variable definitions.
+ We use a separated scope {} do protect us against multiple variable definitions.
_____________________________________________________________________________________________________________*/
#define LOG_EXCEPTION( SMETHOD, SOWNMESSAGE, SEXCEPTIONMESSAGE ) \
diff --git a/framework/inc/macros/debug/event.hxx b/framework/inc/macros/debug/event.hxx
index 1949761c2cb5..c7d0b6c1639f 100644
--- a/framework/inc/macros/debug/event.hxx
+++ b/framework/inc/macros/debug/event.hxx
@@ -52,7 +52,7 @@
/*_____________________________________________________________________________________________________________
LOG_FRAMEACTIONEVENT( SFRAMETYPE, SFRAMENAME, AFRAMEACTION )
- Use this macro to print debug informations about sending of events to listener for controling right order.
+ Use this macro to print debug informations about sending of events to listener for controlling right order.
( Use new scope in macro to declare sBuffer more then on time in same "parentscope"! )
_____________________________________________________________________________________________________________*/
diff --git a/framework/inc/macros/debug/filterdbg.hxx b/framework/inc/macros/debug/filterdbg.hxx
index 5ef6e920ac6f..f8cb43aac641 100644
--- a/framework/inc/macros/debug/filterdbg.hxx
+++ b/framework/inc/macros/debug/filterdbg.hxx
@@ -26,7 +26,7 @@
//*************************************************************************************************************
// special macros for time measures
-// 1) LOGFILE_FILTERDBG used it to define log file for this operations (default will be set automaticly)
+// 1) LOGFILE_FILTERDBG used it to define log file for this operations (default will be set automatically)
// 4) LOG_FILTERDBG write debug info to log file
//*************************************************************************************************************
diff --git a/framework/inc/macros/debug/memorymeasure.hxx b/framework/inc/macros/debug/memorymeasure.hxx
index 1253154789d1..7d52ed2c15c1 100644
--- a/framework/inc/macros/debug/memorymeasure.hxx
+++ b/framework/inc/macros/debug/memorymeasure.hxx
@@ -26,7 +26,7 @@
//*************************************************************************************************************
// special macros for time measures
-// 1) LOGFILE_MEMORYMEASURE used it to define log file for this operations (default will be set automaticly)
+// 1) LOGFILE_MEMORYMEASURE used it to define log file for this operations (default will be set automatically)
// 2) MAKE_MEMORY_SNAPSHOT make snapshot of currently set memory informations of OS
// 3) LOG_MEMORYMEASURE write measured time to logfile
//*************************************************************************************************************
diff --git a/framework/inc/macros/debug/timemeasure.hxx b/framework/inc/macros/debug/timemeasure.hxx
index 012fba83dada..f6dea01ff899 100644
--- a/framework/inc/macros/debug/timemeasure.hxx
+++ b/framework/inc/macros/debug/timemeasure.hxx
@@ -26,7 +26,7 @@
//*************************************************************************************************************
// special macros for time measures
-// 1) LOGFILE_TIMEMEASURE used it to define log file for this operations (default will be set automaticly)
+// 1) LOGFILE_TIMEMEASURE used it to define log file for this operations (default will be set automatically)
// 2) START_TIMEMEASURE start new measure by using given variable names
// 3) START_TIMEMEASURE stop current measure by using given variable names and return time
// 4) LOG_TIMEMEASURE write measured time to logfile
diff --git a/framework/inc/macros/xserviceinfo.hxx b/framework/inc/macros/xserviceinfo.hxx
index f571ddb33cc2..e9e9d05960cb 100644
--- a/framework/inc/macros/xserviceinfo.hxx
+++ b/framework/inc/macros/xserviceinfo.hxx
@@ -66,7 +66,7 @@ namespace framework{
1) DECLARE_XSERVICEINFO => use it to declare XServiceInfo in your header
2) DEFINE_XSERVICEINFO_MULTISERVICE( CLASS, XINTERFACECAST, SERVICENAME, IMPLEMENTATIONNAME ) => use it to define XServiceInfo for multi service mode
3) DEFINE_XSERVICEINFO_ONEINSTANCESERVICE( CLASS, XINTERFACECAST, SERVICENAME, IMPLEMENTATIONNAME ) => use it to define XServiceInfo for one instance service mode
- 4) DEFINE_INIT_SERVICE( CLASS ) => use it to implement your own impl_initService() method, which is neccessary for initializeing object by using his own reference!
+ 4) DEFINE_INIT_SERVICE( CLASS ) => use it to implement your own impl_initService() method, which is necessary for initializeing object by using his own reference!
_________________________________________________________________________________________________________________*/
diff --git a/framework/inc/macros/xtypeprovider.hxx b/framework/inc/macros/xtypeprovider.hxx
index ad8cbf85382c..0b8368566e36 100644
--- a/framework/inc/macros/xtypeprovider.hxx
+++ b/framework/inc/macros/xtypeprovider.hxx
@@ -314,8 +314,8 @@ ________________________________________________________________________________
// implementation of XTypeProvider
//*****************************************************************************************************************
// implementation of XTypeProvider without additional interface for getTypes()
-// XTypeProvider is used as the only one interface automaticly.
-// Following defines don't use XTypeProvider automaticly!!!!
+// XTypeProvider is used as the only one interface automatically.
+// Following defines don't use XTypeProvider automatically!!!!
#define DEFINE_XTYPEPROVIDER_0( CLASS ) \
PRIVATE_DEFINE_XTYPEPROVIDER_PURE( CLASS )
diff --git a/framework/inc/protocols.h b/framework/inc/protocols.h
index c886f1d4551a..afa2a0a26a1b 100644
--- a/framework/inc/protocols.h
+++ b/framework/inc/protocols.h
@@ -41,7 +41,7 @@ namespace framework{
//_______________________________________________________________________
/**
some protocols must be checked during loading or dispatching URLs manually
- It can be neccessary to decide, if a URL represent a non visible content or
+ It can be necessary to decide, if a URL represent a non visible content or
a real visible component.
*/
diff --git a/framework/inc/queries.h b/framework/inc/queries.h
index 611a532bc2cd..fbc4d7350657 100644
--- a/framework/inc/queries.h
+++ b/framework/inc/queries.h
@@ -359,7 +359,7 @@ class QueryAnalyzer
//---------------------------------------------------------------------------------------------------------
// access to additional parameter values
- // Methods return default of realy set values!
+ // Methods return default of really set values!
//---------------------------------------------------------------------------------------------------------
sal_uInt32 getIFlags () const { return m_nIFlags ; }
sal_uInt32 getEFlags () const { return m_nEFlags ; }
diff --git a/framework/inc/recording/dispatchrecordersupplier.hxx b/framework/inc/recording/dispatchrecordersupplier.hxx
index b226dc07fe41..555342583883 100644
--- a/framework/inc/recording/dispatchrecordersupplier.hxx
+++ b/framework/inc/recording/dispatchrecordersupplier.hxx
@@ -74,7 +74,7 @@ class DispatchRecorderSupplier : // interfaces
public css::lang::XServiceInfo ,
public css::frame::XDispatchRecorderSupplier ,
// baseclasses
- // Order is neccessary for right initialization!
+ // Order is necessary for right initialization!
private ThreadHelpBase ,
public ::cppu::OWeakObject
{
@@ -86,7 +86,7 @@ class DispatchRecorderSupplier : // interfaces
//_______________________________________
/** provided dispatch recorder of this supplier instance
- @life Is controled from outside. Because this variable is setted
+ @life Is controlled from outside. Because this variable is setted
from there and not created internaly. But we release our
reference to it if we die.
*/
diff --git a/framework/inc/services/autorecovery.hxx b/framework/inc/services/autorecovery.hxx
index 91b5cfea10ec..96c1c72b3124 100644
--- a/framework/inc/services/autorecovery.hxx
+++ b/framework/inc/services/autorecovery.hxx
@@ -117,7 +117,7 @@ struct DispatchParams
@descr If our dispatch() method was forced to start the
internal operation asynchronous ... we send an event
- to start and return immediatly. But we must be shure that
+ to start and return immediately. But we must be sure that
our instance live if the event callback reach us.
So we hold an uno reference to ourself.
*/
@@ -136,7 +136,7 @@ class AutoRecovery : public css::lang::XTypeProvider
, public css::document::XEventListener // => css.lang.XEventListener
, public css::util::XChangesListener // => css.lang.XEventListener
, public css::util::XModifyListener // => css.lang.XEventListener
- // attention! Must be the first base class to guarentee right initialize lock ...
+ // attention! Must be the first base class to guarantee right initialize lock ...
, private ThreadHelpBase
, public ::cppu::OBroadcastHelper
, public ::cppu::OPropertySetHelper // => XPropertySet, XFastPropertySet, XMultiPropertySet
@@ -174,9 +174,9 @@ class AutoRecovery : public css::lang::XTypeProvider
/* FINAL STATES */
- /// the Auto/Emergency saved document isnt useable any longer
+ /// the Auto/Emergency saved document isn't useable any longer
E_DAMAGED = 64,
- /// the Auto/Emergency saved document isnt realy up-to-date (some changes can be missing)
+ /// the Auto/Emergency saved document isn't really up-to-date (some changes can be missing)
E_INCOMPLETE = 128,
/// the Auto/Emergency saved document was processed successfully
E_SUCCEDED = 512
@@ -198,7 +198,7 @@ class AutoRecovery : public css::lang::XTypeProvider
// TODO document me
enum ETimerType
{
- /** the timer shouldnt be used next time */
+ /** the timer shouldn't be used next time */
E_DONT_START_TIMER,
/** timer (was/must be) started with normal AutoSaveTimeIntervall */
E_NORMAL_AUTOSAVE_INTERVALL,
@@ -208,7 +208,7 @@ class AutoRecovery : public css::lang::XTypeProvider
/** timer mst be started with a very(!) short time intervall,
to poll for the end of an user action, which does not allow saving documents in general */
E_POLL_TILL_AUTOSAVE_IS_ALLOWED,
- /** dont start the timer - but calls the same action then before immediatly again! */
+ /** dont start the timer - but calls the same action then before immediately again! */
E_CALL_ME_BACK
};
@@ -250,7 +250,7 @@ class AutoRecovery : public css::lang::XTypeProvider
css::uno::Reference< css::frame::XModel > Document;
//-------------------------------
- /** @short knows, if the document is realy modified since the last autosave,
+ /** @short knows, if the document is really modified since the last autosave,
or was postponed, because it was an active one etcpp...
@descr Because we have no CHANGE TRACKING mechanism, based on office document,
@@ -264,7 +264,7 @@ class AutoRecovery : public css::lang::XTypeProvider
//-------------------------------
/** Because our applications not ready for concurrent save requests at the same time,
- we have supress our own AutoSave for the moment, a document will be already saved
+ we have suppress our own AutoSave for the moment, a document will be already saved
by others.
*/
sal_Bool UsedForSaving;
@@ -298,7 +298,7 @@ class AutoRecovery : public css::lang::XTypeProvider
::rtl::OUString AppModule; // e.g. com.sun.star.text.TextDocument - used to identify app module
::rtl::OUString FactoryService; // the service to create a document of the module
::rtl::OUString RealFilter; // real filter, which was used at loading time
- ::rtl::OUString DefaultFilter; // supports saving of the default format without loosing data
+ ::rtl::OUString DefaultFilter; // supports saving of the default format without losing data
::rtl::OUString Extension; // file extension of the default filter
::rtl::OUString Title; // can be used as "DisplayName" on every recovery UI!
::com::sun::star::uno::Sequence< ::rtl::OUString >
@@ -398,9 +398,9 @@ class AutoRecovery : public css::lang::XTypeProvider
ListenerHash m_lListener;
/** @descr This member is used to prevent us against re-entrance problems.
- A mutex cant help to prevent us from concurrent using of members
+ A mutex can't help to prevent us from concurrent using of members
inside the same thread. But e.g. our internaly used stl structures
- are not threadsafe ... and furthermore they cant be used at the same time
+ are not threadsafe ... and furthermore they can't be used at the same time
for iteration and add/remove requests!
So we have to detect such states and ... show a warning.
May be there will be a better solution next time ... (copying the cache temp.
@@ -561,7 +561,7 @@ class AutoRecovery : public css::lang::XTypeProvider
@descr ... but only keys related to the AutoSave mechanism.
Means: State and Timer intervall.
- E.g. the recovery list isnt adressed here.
+ E.g. the recovery list isn't addressed here.
@throw [com.sun.star.uno.RuntimeException]
if config could not be opened or readed successfully!
@@ -705,7 +705,7 @@ class AutoRecovery : public css::lang::XTypeProvider
/** @short save all current opened documents to a specific
backup directory.
- @descr Only realy changed documents will be saved here.
+ @descr Only really changed documents will be saved here.
Further this method returns a suggestion, if and how it should
be called again. May be some documents was not saved yet
@@ -905,7 +905,7 @@ class AutoRecovery : public css::lang::XTypeProvider
E.g. our svtools::ConfigItems() has to be flushed explicitly .-(
- Note: This method cant fail. Flushing of config entries is an
+ Note: This method can't fail. Flushing of config entries is an
optional feature. Errors can be ignored.
*/
void impl_flushALLConfigChanges();
@@ -961,14 +961,14 @@ class AutoRecovery : public css::lang::XTypeProvider
a) An external progress is provided by our CrashSave or Recovery dialog.
b) We must create our own progress e.g. for an AutoSave
c) Sometimes our application filters dont use the progress
- provided by the MediaDescriptor. They uses the Frame everytime to create
+ provided by the MediaDescriptor. They uses the Frame every time to create
it's own progress. So we implemented a HACK for these and now we set
an InterceptedProgress there for the time WE use this frame for loading/storing documents .-)
@param xNewFrame
must be set only in case WE create a new frame (e.g. for loading documents
on session restore or recovery). Then search for a frame using rInfo.Document must
- be supressed and xFrame must be preferred instead .-)
+ be suppressed and xFrame must be preferred instead .-)
@param rInfo
used e.g. to find the frame corresponding to a document.
@@ -989,14 +989,14 @@ class AutoRecovery : public css::lang::XTypeProvider
/** try to remove the specified file from disc.
Every URL supported by our UCB component can be used here.
- Further it doesnt matter if the file realy exists or not.
+ Further it doesn't matter if the file really exists or not.
Because removing a non exsistent file will have the same
result at the end ... a non existing file .-)
On the other side removing of files from disc is an optional
feature. If we are not able doing so ... its not a real problem.
Ok - users disc place will be samller then ... but we should produce
- a crash during crash save because we cant delete a temporary file only !
+ a crash during crash save because we can't delete a temporary file only !
@param sURL
the url of the file, which should be removed.
@@ -1005,10 +1005,10 @@ class AutoRecovery : public css::lang::XTypeProvider
//---------------------------------------
/** try to remove ".lock" file from disc if office will be terminated
- not using the offical way .-)
+ not using the official way .-)
This method has to be handled "optional". So every error inside
- has to be ignored ! This method CANT FAIL ... it can forget something only .-)
+ has to be ignored ! This method CAN'T FAIL ... it can forget something only .-)
*/
static void st_impl_removeLockFile();
};
diff --git a/framework/inc/services/backingcomp.hxx b/framework/inc/services/backingcomp.hxx
index f2b724c31c04..09bfb440ec56 100644
--- a/framework/inc/services/backingcomp.hxx
+++ b/framework/inc/services/backingcomp.hxx
@@ -78,7 +78,7 @@ class BackingComp : public css::lang::XTypeProvider
, public css::lang::XInitialization
, public css::frame::XController // => XComponent
, public css::awt::XKeyListener // => XEventListener
- // attention! Must be the first base class to guarentee right initialize lock ...
+ // attention! Must be the first base class to guarantee right initialize lock ...
, private ThreadHelpBase
, public ::cppu::OWeakObject
{
diff --git a/framework/inc/services/contenthandlerfactory.hxx b/framework/inc/services/contenthandlerfactory.hxx
index 2760446b3d9e..399e9f6cca8a 100644
--- a/framework/inc/services/contenthandlerfactory.hxx
+++ b/framework/inc/services/contenthandlerfactory.hxx
@@ -106,7 +106,7 @@ class ContentHandlerFactory : // interfaces
public css::container::XNameContainer , // => XNameReplace => XNameAccess => XElementAccess
public css::util::XFlushable ,
// base classes
- // Order is neccessary for right initialization of it!
+ // Order is necessary for right initialization of it!
private ThreadHelpBase ,
private TransactionBase ,
public ::cppu::OWeakObject
diff --git a/framework/inc/services/desktop.hxx b/framework/inc/services/desktop.hxx
index 0a019f479fe8..812e86f06724 100644
--- a/framework/inc/services/desktop.hxx
+++ b/framework/inc/services/desktop.hxx
@@ -144,7 +144,7 @@ class Desktop : // interfaces
public css::task::XInteractionHandler ,
public css::frame::XUntitledNumbers ,
// base classes
- // Order is neccessary for right initialization!
+ // Order is necessary for right initialization!
private ThreadHelpBase ,
private TransactionBase ,
public ::cppu::OBroadcastHelper ,
@@ -186,7 +186,7 @@ class Desktop : // interfaces
Btw: Desktop.terminate() was designed in the past to be used
within an UI based envrionment. So it's allowed e.g. to
- call XController.suspend() here. If UI isnt an option ... please
+ call XController.suspend() here. If UI isn't an option ... please
use XCloseable.close() at these desktop implementation.
... if it will be supported in the future .-))
@@ -411,9 +411,9 @@ class Desktop : // interfaces
*
* Iterates over all child frames and try to close them.
* Given parameter bAllowUI enable/disable showing any UI
- * (which mostly occure on calling XController->suspend()).
+ * (which mostly occur on calling XController->suspend()).
*
- * These method doesnt stop if one frame could not be closed.
+ * These method doesn't stop if one frame could not be closed.
* It will ignore such frames and try all other ones.
* But it returns false in such case - true otherwise.
*
@@ -426,7 +426,7 @@ class Desktop : // interfaces
//-------------------------------------------------------------------------------------------------------------
// debug methods
- // (should be private everytime!)
+ // (should be private every time!)
//-------------------------------------------------------------------------------------------------------------
#ifdef ENABLE_ASSERTIONS
private:
@@ -442,7 +442,7 @@ class Desktop : // interfaces
//-------------------------------------------------------------------------------------------------------------
// variables
- // (should be private everytime!)
+ // (should be private every time!)
//-------------------------------------------------------------------------------------------------------------
private:
@@ -476,7 +476,7 @@ class Desktop : // interfaces
//---------------------------------------------------------------------
/** special terminate listener which loads images asynchronous for current open documents.
- * Because internaly it uses blocking system APIs ... it cant be guaranteed that
+ * Because internaly it uses blocking system APIs ... it can't be guaranteed that
* running jobs can be cancelled successfully if the corressponding document will be closed ...
* it will not hinder those documents on closing. Instead it let all jobs running ...
* but at least on terminate we have to wait for all those blocked requests.
@@ -487,15 +487,15 @@ class Desktop : // interfaces
//---------------------------------------------------------------------
/** special terminate listener shuting down the SfxApplication.
* Because these desktop instance closes documents and informs listener
- * only ... it does not realy shutdown the whole application.
+ * only ... it does not really shutdown the whole application.
*
* Btw: That wouldnt be possible by design ... because Desktop.terminate()
- * has to return a boolean value about success ... it cant realy shutdown the
+ * has to return a boolean value about success ... it can't really shutdown the
* process .-)
*
* So we uses a trick: A special listener (exactly these one here) listen for notifyTermination()
* and shutdown the process asynchronous. But desktop has to make this special
- * notification as realy last one ... Otherwhise it can happen that asynchronous
+ * notification as really last one ... Otherwise it can happen that asynchronous
* shutdown will be faster then all other code around Desktop.terminate() .-))
*/
css::uno::Reference< css::frame::XTerminateListener > m_xSfxTerminator;
diff --git a/framework/inc/services/detectorfactory.hxx b/framework/inc/services/detectorfactory.hxx
index 405fc7514601..96c7de307b37 100644
--- a/framework/inc/services/detectorfactory.hxx
+++ b/framework/inc/services/detectorfactory.hxx
@@ -93,7 +93,7 @@ class DetectorFactory : // interfaces
public css::container::XNameContainer , // => XNameReplace => XNameAccess => XElementAccess
public css::util::XFlushable ,
// base classes
- // Order is neccessary for right initialization of it!
+ // Order is necessary for right initialization of it!
private ThreadHelpBase ,
public ::cppu::OWeakObject
{
@@ -361,7 +361,7 @@ class DetectorFactory : // interfaces
/** @short check if searched entry exist inside this container.
@attention In multithreaded environments it's not guaranteed, that a
- queried item exist next time realy! It can be deleted by
+ queried item exist next time really! It can be deleted by
another thread ...
@param sName
@@ -378,7 +378,7 @@ class DetectorFactory : // interfaces
/** @short return the uno type, which is used for all container items.
- @return Type of sequence< com::sun::star::beans::PropertyValue > everytime - because it's fix.
+ @return Type of sequence< com::sun::star::beans::PropertyValue > every time - because it's fix.
*/
virtual css::uno::Type SAL_CALL getElementType()
@@ -406,8 +406,8 @@ class DetectorFactory : // interfaces
Calling of flush() will do that.
At the same time all currently registered flush listener will be informed,
so they can update her structures too.
- Note: Before all these operations are started realy, all changes will be
- verified and if neccessary some corrections will be done.
+ Note: Before all these operations are started really, all changes will be
+ verified and if necessary some corrections will be done.
In case the cache will be invalid and could not be repaired an exception is thrown!
Normaly this container will not work correctly afterwards ...
diff --git a/framework/inc/services/frame.hxx b/framework/inc/services/frame.hxx
index c03747e51709..72e9061cfdc3 100644
--- a/framework/inc/services/frame.hxx
+++ b/framework/inc/services/frame.hxx
@@ -94,7 +94,7 @@ namespace framework{
// exported const
//_________________________________________________________________________________________________________________
-// This enum can be used to set differnt active states of frames
+// This enum can be used to set different active states of frames
enum EActiveState
{
E_INACTIVE , // I'am not a member of active path in tree and i don't have the focus.
@@ -152,7 +152,7 @@ class Frame : // interfaces
public css::frame::XTitle ,
public css::frame::XTitleChangeBroadcaster ,
// base classes
- // Order is neccessary for right initialization of this class!
+ // Order is necessary for right initialization of this class!
public ThreadHelpBase ,
public TransactionBase ,
public PropertySetHelper , // helper implements ThreadHelpbase, TransactionBase, XPropertySet, XPropertySetInfo
diff --git a/framework/inc/services/frameloaderfactory.hxx b/framework/inc/services/frameloaderfactory.hxx
index 4ed165c1e173..9ebd6cab93e9 100644
--- a/framework/inc/services/frameloaderfactory.hxx
+++ b/framework/inc/services/frameloaderfactory.hxx
@@ -248,14 +248,14 @@ class FrameLoaderFactory : public ThreadHelpBase
@param -
@return A list of well known loader. Is static at runtime!
- @onerror No error should occure.
+ @onerror No error should occur.
*//*-*****************************************************************************************************/
virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL getElementNames() throw( css::uno::RuntimeException );
/*-****************************************************************************************************//**
@short check if searched frame loader exist in configuration
- @descr Normaly nobody need these method realy (use getElementNames() in combination with getByName()).
+ @descr Normaly nobody needs really these method (use getElementNames() in combination with getByName()).
We guarantee correctness of these mechanism. There is no reason to check for existing elements then ...
but if you have an unknwon name and has no fun to search it in returned sequence ...
you can call these ...
@@ -266,7 +266,7 @@ class FrameLoaderFactory : public ThreadHelpBase
@param "sName", implementation name of searched frame loader
@return sal_True if loader exist, sal_False otherwise.
- @onerror No error should occure.
+ @onerror No error should occur.
*//*-*****************************************************************************************************/
virtual sal_Bool SAL_CALL hasByName( const ::rtl::OUString& sName ) throw( css::uno::RuntimeException );
@@ -277,14 +277,14 @@ class FrameLoaderFactory : public ThreadHelpBase
/*-****************************************************************************************************//**
@short return the type of retrun value of method XNameAccess::getByName()
- @descr In these implementation its a Sequence< PropertyValue > everytime!
+ @descr In these implementation its a Sequence< PropertyValue > every time!
@seealso description of interface XNameAccess
@param -
@return Type of Sequence< PropertyValue >.
- @onerror No error should occure.
+ @onerror No error should occur.
*//*-*****************************************************************************************************/
virtual css::uno::Type SAL_CALL getElementType() throw( css::uno::RuntimeException );
@@ -299,7 +299,7 @@ class FrameLoaderFactory : public ThreadHelpBase
@param -
@return sal_True if information available, sal_False otherwise.
- @onerror No error should occure.
+ @onerror No error should occur.
*//*-*****************************************************************************************************/
virtual sal_Bool SAL_CALL hasElements() throw( css::uno::RuntimeException );
@@ -329,7 +329,7 @@ class FrameLoaderFactory : public ThreadHelpBase
@param "pLoaderInfo" configuration structure of these loader.
@return -
- @onerror No error should occure.
+ @onerror No error should occur.
*//*-*****************************************************************************************************/
void impl_initializeLoader( css::uno::Reference< css::uno::XInterface >& xLoader, const Loader& pLoaderInfo );
diff --git a/framework/inc/services/layoutmanager.hxx b/framework/inc/services/layoutmanager.hxx
index a653ded3873a..287f4fb1d563 100644
--- a/framework/inc/services/layoutmanager.hxx
+++ b/framework/inc/services/layoutmanager.hxx
@@ -101,7 +101,7 @@ namespace framework
typedef ::comphelper::OPropertyContainer LayoutManager_PBase;
class LayoutManager : public LayoutManager_Base ,
// base classes
- // Order is neccessary for right initialization!
+ // Order is necessary for right initialization!
private ThreadHelpBase , // Struct for right initalization of mutex member! Must be first of baseclasses.
public ::cppu::OBroadcastHelper ,
public ILayoutNotifications ,
diff --git a/framework/inc/services/license.hxx b/framework/inc/services/license.hxx
index 29aacc5db5e9..c0a291bc7d38 100644
--- a/framework/inc/services/license.hxx
+++ b/framework/inc/services/license.hxx
@@ -68,7 +68,7 @@ namespace framework
public css::task::XJob ,
public css::util::XCloseable ,
// base classes
- // Order is neccessary for right initialization!
+ // Order is necessary for right initialization!
private ThreadHelpBase , // Struct for right initalization of mutex member! Must be first of baseclasses.
public ::cppu::OWeakObject // => XWeak, XInterface
{
diff --git a/framework/inc/services/logindialog.hxx b/framework/inc/services/logindialog.hxx
index 8b9089ff4590..ec025ae082e5 100644
--- a/framework/inc/services/logindialog.hxx
+++ b/framework/inc/services/logindialog.hxx
@@ -372,7 +372,7 @@ class cIMPL_Dialog : public ModalDialog
@descr This dialog need his own ressource. We can't use the global ressource manager!
We must use our own.
You must give us the ressource language. If no right ressource could be found -
- any existing one is used automaticly!
+ any existing one is used automatically!
@seealso method setValues()
@@ -445,7 +445,7 @@ class LoginDialog : public XTYPEPROVIDER ,
public XSERVICEINFO ,
public XDIALOG ,
public XFLUSHABLE ,
- private ThreadHelpBase , // Order of baseclasses is neccessary for right initialization!
+ private ThreadHelpBase , // Order of baseclasses is necessary for right initialization!
public OBROADCASTHELPER ,
public OPROPERTYSETHELPER ,
public OWEAKOBJECT
@@ -502,7 +502,7 @@ class LoginDialog : public XTYPEPROVIDER ,
/*-****************************************************************************************************//**
@short write changed values to configuration
- @descr Normaly the dialog returns with an OK or ERROR value. If OK occure - we flush data
+ @descr Normaly the dialog returns with an OK or ERROR value. If OK occur - we flush data
auomaticly. But otherwise we do nothing. If user of this service wish to use property set
only without any UI(!) - he must call "flush()" explicitly to write data!
@@ -597,7 +597,7 @@ class LoginDialog : public XTYPEPROVIDER ,
Don't use this directly!
You must try to convert the value of given propertyhandle and
return results of this operation. This will be use to ask vetoable
- listener. If no listener have a veto, we will change value realy!
+ listener. If no listener have a veto, we will change value really!
( in method setFastPropertyValue_NoBroadcast(...) )
@seealso class OPropertySetHelper
@@ -623,7 +623,7 @@ class LoginDialog : public XTYPEPROVIDER ,
@descr This method is calling from helperclass "OPropertySetHelper".
Don't use this directly!
Handle and value are valid everyway! You must set the new value only.
- After this, baseclass send messages to all listener automaticly.
+ After this, baseclass send messages to all listener automatically.
@seealso OPropertySetHelper
@@ -708,7 +708,7 @@ class LoginDialog : public XTYPEPROVIDER ,
/*-****************************************************************************************************//**
@short helper method to check if a property will change his value
- @descr Is neccessary for vetoable listener mechanism of OPropertySethelper.
+ @descr Is necessary for vetoable listener mechanism of OPropertySethelper.
@seealso -
@@ -803,9 +803,9 @@ class LoginDialog : public XTYPEPROVIDER ,
/*-****************************************************************************************************//**
@short helper methods to read/write properties from/to ini file
- @descr Using of Config-Class isn't easy everytime :-(
- Thats the reason for these helper. State of operation isn't realy important ..
- but we assert impossible cases or occured errors!
+ @descr Using of Config-Class isn't easy every time :-(
+ Thats the reason for these helper. State of operation isn't really important ..
+ but we assert impossible cases or occurred errors!
@seealso -
diff --git a/framework/inc/services/modulemanager.hxx b/framework/inc/services/modulemanager.hxx
index aa2b8d55cd0e..8a4bbaa83ac5 100644
--- a/framework/inc/services/modulemanager.hxx
+++ b/framework/inc/services/modulemanager.hxx
@@ -64,7 +64,7 @@ class ModuleManager : public css::lang::XTypeProvider
, public css::frame::XModuleManager
, public css::container::XNameReplace // => XNameAccess, XElementAccess
, public css::container::XContainerQuery
- // attention! Must be the first base class to guarentee right initialize lock ...
+ // attention! Must be the first base class to guarantee right initialize lock ...
, private ThreadHelpBase
, public ::cppu::OWeakObject
{
@@ -154,7 +154,7 @@ class ModuleManager : public css::lang::XTypeProvider
Note: A writable configuration access
must be created explicitly. Otherwise
- we cant make sure that broken write requests
+ we can't make sure that broken write requests
wont affect our read access !
@return [com.sun.star.container.XNameAccess]
diff --git a/framework/inc/services/pathsettings.hxx b/framework/inc/services/pathsettings.hxx
index 5a47393e9df7..a988c703876c 100644
--- a/framework/inc/services/pathsettings.hxx
+++ b/framework/inc/services/pathsettings.hxx
@@ -67,7 +67,7 @@ class PathSettings : public css::lang::XTypeProvider ,
public css::lang::XServiceInfo ,
public css::util::XChangesListener , // => XEventListener
// base classes
- // Order is neccessary for right initialization!
+ // Order is necessary for right initialization!
private ThreadHelpBase ,
public ::cppu::OBroadcastHelper ,
public ::cppu::OPropertySetHelper , // => XPropertySet / XFastPropertySet / XMultiPropertySet
@@ -113,7 +113,7 @@ class PathSettings : public css::lang::XTypeProvider ,
/// this special path is used to generate feature depending content there
::rtl::OUString sWritePath;
- /// indicates real single pathes, which uses WritePath property only
+ /// indicates real single paths, which uses WritePath property only
sal_Bool bIsSinglePath;
/// simple handling of finalized/mandatory states ... => we know one state READONLY only .-)
@@ -164,7 +164,7 @@ class PathSettings : public css::lang::XTypeProvider ,
public:
/** initialize a new instance of this class.
- Attention: It's neccessary for right function of this class, that the order of base
+ Attention: It's necessary for right function of this class, that the order of base
classes is the right one. Because we transfer information from one base to another
during this ctor runs! */
PathSettings(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR);
@@ -227,7 +227,7 @@ class PathSettings : public css::lang::XTypeProvider ,
sal_Bool bReSubst);
- /** converts our new string list schema to the old ";" seperated schema ... */
+ /** converts our new string list schema to the old ";" separated schema ... */
::rtl::OUString impl_convertPath2OldStyle(const PathSettings::PathInfo& rPath ) const;
OUStringList impl_convertOldStyle2Path(const ::rtl::OUString& sOldStylePath) const;
diff --git a/framework/inc/services/pluginframe.hxx b/framework/inc/services/pluginframe.hxx
index 555cc19718c5..3673d6df1dcf 100644
--- a/framework/inc/services/pluginframe.hxx
+++ b/framework/inc/services/pluginframe.hxx
@@ -80,7 +80,7 @@ namespace framework{
class PlugInFrame : public css::lang::XInitialization ,
public css::mozilla::XPluginInstance ,
public css::frame::XDispatchResultListener , // => XEVENTLISTENER
- public Frame // Order of baseclasses is neccessary for right initialization!
+ public Frame // Order of baseclasses is necessary for right initialization!
{
//-------------------------------------------------------------------------------------------------------------
// public methods
@@ -268,7 +268,7 @@ class PlugInFrame : public css::lang::XInitialization ,
sal_Bool m_bILoad ; /// PlugInFrame has a valid loader which load the document and wait for finished/cancelled
sal_Bool m_bIHaveDocument ; /// We have a document loaded successful.
css::uno::Reference< css::frame::XDispatchProvider > m_xPlugInDispatcher ; /// Dispatcher to forward dispatches to browser
- static sal_Bool m_bRemoteFactoriesExist ; /// indicates, if remote factories was already registered (neccessary one times only!)
+ static sal_Bool m_bRemoteFactoriesExist ; /// indicates, if remote factories was already registered (necessary one times only!)
SvtCommandOptions m_aCommandOptions ; /// ref counted class to support disabling commands defined by configuration file
}; // class PlugInFrame
diff --git a/framework/inc/services/substitutepathvars.hxx b/framework/inc/services/substitutepathvars.hxx
index b6234cf7a54f..8604e61dac3c 100644
--- a/framework/inc/services/substitutepathvars.hxx
+++ b/framework/inc/services/substitutepathvars.hxx
@@ -188,7 +188,7 @@ enum PreDefVariable
PREDEFVAR_PROGURL,
PREDEFVAR_USERURL,
PREDEFVAR_WORKDIRURL,
- // --> PB 2004-10-27 #i32656# - new variable of hierachy service
+ // --> PB 2004-10-27 #i32656# - new variable of hierarchy service
PREDEFVAR_BASEINSTURL,
PREDEFVAR_USERDATAURL,
// <--
diff --git a/framework/inc/services/task.hxx b/framework/inc/services/task.hxx
index 731e783f83f2..f97cabd1712e 100644
--- a/framework/inc/services/task.hxx
+++ b/framework/inc/services/task.hxx
@@ -77,7 +77,7 @@ namespace framework{
*//*-*************************************************************************************************************/
class Task : public css::frame::XTask , // => XFrame => XComponent
- public Frame // Order of baseclasses is neccessary for right initialization!
+ public Frame // Order of baseclasses is necessary for right initialization!
{
//-------------------------------------------------------------------------------------------------------------
// public methods
@@ -429,7 +429,7 @@ class Task : public css::frame::XTask , // => XFrame => XComponent
Don't use this directly!
You must try to convert the value of given propertyhandle and
return results of this operation. This will be use to ask vetoable
- listener. If no listener have a veto, we will change value realy!
+ listener. If no listener have a veto, we will change value really!
( in method setFastPropertyValue_NoBroadcast(...) )
@seealso OPropertySetHelper
@@ -455,7 +455,7 @@ class Task : public css::frame::XTask , // => XFrame => XComponent
@descr This method is calling from helperclass "OPropertySetHelper".
Don't use this directly!
Handle and value are valid everyway! You must set the new value only.
- After this, baseclass send messages to all listener automaticly.
+ After this, baseclass send messages to all listener automatically.
@seealso OPropertySetHelper
diff --git a/framework/inc/services/taskcreatorsrv.hxx b/framework/inc/services/taskcreatorsrv.hxx
index 4533ca542534..d7f8f3015e18 100644
--- a/framework/inc/services/taskcreatorsrv.hxx
+++ b/framework/inc/services/taskcreatorsrv.hxx
@@ -62,7 +62,7 @@ namespace framework
class TaskCreatorService : public css::lang::XTypeProvider
, public css::lang::XServiceInfo
, public css::lang::XSingleServiceFactory
- // attention! Must be the first base class to guarentee right initialize lock ...
+ // attention! Must be the first base class to guarantee right initialize lock ...
, private ThreadHelpBase
, public ::cppu::OWeakObject
{
@@ -99,7 +99,7 @@ class TaskCreatorService : public css::lang::XTypeProvider
static const ::rtl::OUString ARGUMENT_SUPPORTPERSISTENTWINDOWSTATE;
/** [sal_Bool] enable/disable special mode, where the title bar of our
- the new created frame will be updated automaticly.
+ the new created frame will be updated automatically.
Default = ON !
*/
static const ::rtl::OUString ARGUMENT_ENABLE_TITLEBARUPDATE;
diff --git a/framework/inc/stdtypes.h b/framework/inc/stdtypes.h
index ba1dbc8de6da..72f4a1fb22bc 100644
--- a/framework/inc/stdtypes.h
+++ b/framework/inc/stdtypes.h
@@ -104,7 +104,7 @@ struct KeyEventEqualsFunc
/**
Basic string list based on a std::vector()
- It implements some additional funtionality which can be usefull but
+ It implements some additional funtionality which can be useful but
is missing at the normal vector implementation.
*/
class OUStringList : public ::comphelper::SequenceAsVector< ::rtl::OUString >
@@ -128,7 +128,7 @@ class OUStringList : public ::comphelper::SequenceAsVector< ::rtl::OUString >
return ::std::find(begin(), end(), sElement);
}
- // the only way to free used memory realy!
+ // the only way to free used memory really!
void free()
{
OUStringList().swap( *this );
@@ -139,7 +139,7 @@ class OUStringList : public ::comphelper::SequenceAsVector< ::rtl::OUString >
/**
Basic string queue based on a std::queue()
- It implements some additional funtionality which can be usefull but
+ It implements some additional funtionality which can be useful but
is missing at the normal std implementation.
*/
typedef ::std::queue< ::rtl::OUString > OUStringQueue;
@@ -148,7 +148,7 @@ typedef ::std::queue< ::rtl::OUString > OUStringQueue;
/**
Basic hash based on a std::hash_map() which provides key=[OUString] and value=[template type] pairs
- It implements some additional funtionality which can be usefull but
+ It implements some additional funtionality which can be useful but
is missing at the normal hash implementation.
*/
template< class TType >
@@ -159,7 +159,7 @@ class BaseHash : public ::std::hash_map< ::rtl::OUString ,
{
public:
- // the only way to free used memory realy!
+ // the only way to free used memory really!
void free()
{
BaseHash().swap( *this );
diff --git a/framework/inc/threadhelp/fairrwlock.hxx b/framework/inc/threadhelp/fairrwlock.hxx
index 1979e8926d8d..f815c7afe8d7 100644
--- a/framework/inc/threadhelp/fairrwlock.hxx
+++ b/framework/inc/threadhelp/fairrwlock.hxx
@@ -85,7 +85,7 @@ class FairRWLock : public IRWLock
@short standard ctor
@descr Initialize instance with right start values for correct working.
no reader could exist => m_nReadCount = 0
- don't block first comming writer => m_aWriteCondition.set()
+ don't block first coming writer => m_aWriteCondition.set()
@seealso -
@@ -231,7 +231,7 @@ class FairRWLock : public IRWLock
@attention Don't call this method if you are not a writer!
Results are not defined then ...
- An upgrade can't be implemented realy ... because acquiring new access
+ An upgrade can't be really implemented ... because acquiring new access
will be the same - there no differences!
@seealso -
diff --git a/framework/inc/threadhelp/gate.hxx b/framework/inc/threadhelp/gate.hxx
index d081b2e7183d..0a4aad96f83b 100644
--- a/framework/inc/threadhelp/gate.hxx
+++ b/framework/inc/threadhelp/gate.hxx
@@ -165,7 +165,7 @@ class Gate : public IGate
@short open gate for current waiting threads
@descr All current waiting threads stand in wait() at line "m_aPassage.wait()" ...
With this call you can open the passage for these waiting ones.
- The "gap" is closed by any new thread which call wait() automaticly!
+ The "gap" is closed by any new thread which call wait() automatically!
@seealso method wait()
@seealso method open()
diff --git a/framework/inc/threadhelp/inoncopyable.h b/framework/inc/threadhelp/inoncopyable.h
index 7fa18d1e22c4..da05ec905ac4 100644
--- a/framework/inc/threadhelp/inoncopyable.h
+++ b/framework/inc/threadhelp/inoncopyable.h
@@ -52,8 +52,8 @@ namespace framework{
/*-************************************************************************************************************//**
@descr Use this as one of your base classes to disable
- all possiblities to copy or assign one object to another one!
- We declare neccessary functions private to do so.
+ all possibilities to copy or assign one object to another one!
+ We declare necessary functions private to do so.
*//*-*************************************************************************************************************/
class INonCopyable
{
diff --git a/framework/inc/threadhelp/itransactionmanager.h b/framework/inc/threadhelp/itransactionmanager.h
index 1ca85c2de4ac..03d966f8be3c 100644
--- a/framework/inc/threadhelp/itransactionmanager.h
+++ b/framework/inc/threadhelp/itransactionmanager.h
@@ -44,7 +44,7 @@ namespace framework{
/*-************************************************************************************************************//**
@descr Describe different states of a feature of following implementation.
- During live time of an object different working states occure:
+ During live time of an object different working states occur:
initialization - working - closing - closed
If you whish to implement thread safe classes you should use these feature to protect
your code against calls at wrong time. e.g. you are not full initialized but somewhere
@@ -113,7 +113,7 @@ enum EExceptionMode
/*-************************************************************************************************************//**
@descr How can you use the transaction manager?
Use it in combination with an TransactionGuard, which register your transaction in ctor
- and release in dtor automaticly! Follow interface class can be used to make using
+ and release in dtor automatically! Follow interface class can be used to make using
of different manager implmentations possible by using same guard.
*//*-*************************************************************************************************************/
class ITransactionManager
diff --git a/framework/inc/threadhelp/lockhelper.hxx b/framework/inc/threadhelp/lockhelper.hxx
index d79bd689146c..b6d49e68d683 100644
--- a/framework/inc/threadhelp/lockhelper.hxx
+++ b/framework/inc/threadhelp/lockhelper.hxx
@@ -79,12 +79,12 @@ enum ELockType
@short helper to set right lock in right situation
@descr This helper support different types of locking:
a) no locks - transparent for user!
- This could be usefull for simluation or single threaded environments!
+ This could be useful for simluation or single threaded environments!
b) own mutex
- An object use his own osl-mutex to be threadsafe. Usefull for easy and exclusiv locking.
+ An object use his own osl-mutex to be threadsafe. Useful for easy and exclusiv locking.
c) solar mutex
An object use our solar mutex and will be a part of a greater safed "threadsafe code block".
- Could be usefull for simulation and testing of higher modules!
+ Could be useful for simulation and testing of higher modules!
d) fair rw-lock
An object use an implementation of a fair rw-lock. This increase granularity of t hreadsafe mechanism
and should be used for high performance threadsafe code!
@@ -153,10 +153,10 @@ class FWI_DLLPUBLIC LockHelper : public IMutex
// ... or the solarmuex as "m_pSolarMutex" (must be set from outside! because some components must be vcl-free!)
// ... but sometimes you need a shareable osl mutex!
// In this case you has some problems: i ) If your lock type is set to E_OWNMUTEX => it's easy; you can use your member "m_pOwnMutex" - it's a osl mutex.
- // Creation and using of "m_pShareableOslMutex" isn't neccessary!
+ // Creation and use of "m_pShareableOslMutex" isn't necessary!
// ii ) Otherwise you have no osl mutex ... so you must create "m_pShareableOslMutex" and use it twice!
- // In this case you must lock two member everytime - "m_pShareableMutex" AND "m_pFairRWLock" or "m_pSolarMutex" or ...
- // It isn't realy fine - but the only possible way.
+ // In this case you must lock two members every time - "m_pShareableMutex" AND "m_pFairRWLock" or "m_pSolarMutex" or ...
+ // It isn't really fine - but the only possible way.
// iii) There exist another special case - E_NOTHING is set! Then we should create this shareable mutex ...
// nad you can use it ... but this implmentation ignore it.
//-------------------------------------------------------------------------------------------------------------
diff --git a/framework/inc/threadhelp/readguard.hxx b/framework/inc/threadhelp/readguard.hxx
index 8abd10eb0190..61e943b47da3 100644
--- a/framework/inc/threadhelp/readguard.hxx
+++ b/framework/inc/threadhelp/readguard.hxx
@@ -63,7 +63,7 @@ namespace framework{
@descr This guard should be used to set a lock for reading object internal member.
Nobody can control it but don't use member after successfuly locking for writing!
We never need a own mutex to safe our internal member access - because
- a guard is used as function-local member only. There exist no multithreaded access to it realy ...
+ a guard is used as function-local member only. There exists no multithreaded access to it really ...
@attention a) To prevent us against wrong using, the default ctor, copy ctor and the =operator are maked private!
b) Use interface "IRWLock" of set LockHelper only - because we must support a finer granularity of locking.
@@ -111,7 +111,7 @@ class ReadGuard : private INonCopyable
/*-****************************************************************************************************//**
@short dtor
- @descr We unlock the used lock member automaticly if user forget it.
+ @descr We unlock the used lock member automatically if user forgets it.
@seealso -
@@ -148,7 +148,7 @@ class ReadGuard : private INonCopyable
/*-****************************************************************************************************//**
@short unset read lock
@descr Call this method to unlock the rw-lock temp.!
- Normaly we do it at dtor automaticly for you ...
+ Normaly we do it at dtor automatically for you ...
@seealso method lock()
@@ -173,7 +173,7 @@ class ReadGuard : private INonCopyable
/*-****************************************************************************************************//**
@short disable using of these functions!
- @descr It's not allowed to use this methods. Different problem can occure otherwise.
+ @descr It's not allowed to use this methods. Different problems can occur otherwise.
Thats why we disable it by make it private.
@seealso other ctor
diff --git a/framework/inc/threadhelp/resetableguard.hxx b/framework/inc/threadhelp/resetableguard.hxx
index 5dfe0dced88d..556b46f43300 100644
--- a/framework/inc/threadhelp/resetableguard.hxx
+++ b/framework/inc/threadhelp/resetableguard.hxx
@@ -84,7 +84,7 @@ class ResetableGuard : private INonCopyable
/*-****************************************************************************************************//**
@short ctors
@descr Use these ctor methods to initialize the guard right.
- Given lock reference must be valid - otherwise crashes could occure!
+ Given lock reference must be valid - otherwise crashes could occur!
@seealso -
@@ -169,7 +169,7 @@ class ResetableGuard : private INonCopyable
/*-****************************************************************************************************//**
@short disable using of these functions!
- @descr It's not allowed to use this methods. Different problem can occure otherwise.
+ @descr It's not allowed to use this methods. Different problems can occur otherwise.
Thats why we disable it by make it private.
@seealso other ctor
diff --git a/framework/inc/threadhelp/transactionguard.hxx b/framework/inc/threadhelp/transactionguard.hxx
index f62037d293b5..d2a86ae9e9c8 100644
--- a/framework/inc/threadhelp/transactionguard.hxx
+++ b/framework/inc/threadhelp/transactionguard.hxx
@@ -58,9 +58,9 @@ namespace framework{
@descr If you whish to support non breakable method calls without lockingf any mutex, rw-lock or
something like that - you should use this guard implementation.
Initialize it at first in your method and don't release it till end of your function!
- Your "transaction" is registered in ctor and automaticly released in dtor.
+ Your "transaction" is registered in ctor and automatically released in dtor.
Use set/get of working mode to enable/disable further transactions.
- It's possible too, to enable automaticly throwing of some exceptions for illegal
+ It's possible too, to enable automatically throwing of some exceptions for illegal
transaction requests ... e.g. interface call for already disposed objects.
@attention To prevent us against wrong using, the default ctor, copy ctor and the =operator are maked private!
@@ -80,9 +80,9 @@ class TransactionGuard : private INonCopyable
/*-****************************************************************************************************//**
@short ctors
@descr Use these ctor methods to initialize the guard right.
- Given reference must be valid - otherwise crashes could occure!
+ Given reference must be valid - otherwise crashes could occur!
- @attention It's not neccessary to lock any mutex here! Because a ctor should not be called
+ @attention It's not necessary to lock any mutex here! Because a ctor should not be called
from different threads at the same time ... this class use no refcount mechanism!
@seealso -
@@ -158,7 +158,7 @@ class TransactionGuard : private INonCopyable
/*-****************************************************************************************************//**
@short disable using of these functions!
- @descr It's not allowed to use this methods. Different problem can occure otherwise.
+ @descr It's not allowed to use this methods. Different problems can occur otherwise.
Thats why we disable it by make it private.
@seealso other ctor
diff --git a/framework/inc/threadhelp/transactionmanager.hxx b/framework/inc/threadhelp/transactionmanager.hxx
index b363788ea581..d911edf50614 100644
--- a/framework/inc/threadhelp/transactionmanager.hxx
+++ b/framework/inc/threadhelp/transactionmanager.hxx
@@ -67,7 +67,7 @@ namespace framework{
synchronization like e.g. mutex, rw-lock!
That protect your code against wrong calls at wrong time ... e.g. calls after disposing an object!
Use combination of EExceptionMode and ERejectReason to detect rejected requests
- and react for it. You can enable automaticly throwing of exceptions too.
+ and react for it. You can enable automatically throwing of exceptions too.
@implements ITransactionManager
@base INonCopyable
diff --git a/framework/inc/threadhelp/writeguard.hxx b/framework/inc/threadhelp/writeguard.hxx
index 5fb442dddc92..a8b99460b7bf 100644
--- a/framework/inc/threadhelp/writeguard.hxx
+++ b/framework/inc/threadhelp/writeguard.hxx
@@ -61,7 +61,7 @@ namespace framework{
@short implement a guard to set write locks
@descr This guard should be used to set a lock for reading AND writing object internal member.
We never need a own mutex to safe our internal member access - because
- a guard is used as function-local member only. There exist no multithreaded access to it realy ...
+ a guard is used as function-local member only. There exist no multithreaded access to it really ...
@attention a) To prevent us against wrong using, the default ctor, copy ctor and the =operator are maked private!
b) Use interface "IRWLock" of set LockHelper only - because we must support a finer granularity of locking.
@@ -109,7 +109,7 @@ class WriteGuard : private INonCopyable
/*-****************************************************************************************************//**
@short dtor
- @descr We unlock the used lock member automaticly if user forget it.
+ @descr We unlock the used lock member automatically if user forget it.
@seealso -
@@ -160,7 +160,7 @@ class WriteGuard : private INonCopyable
/*-****************************************************************************************************//**
@short unset write lock
@descr Call this method to unlock the rw-lock temp.!
- Normaly we do it at dtor automaticly for you ...
+ Normaly we do it at dtor automatically for you ...
@seealso method lock()
@@ -175,7 +175,7 @@ class WriteGuard : private INonCopyable
{
case E_READLOCK : {
// User has downgraded to a read lock before!
- // => There isn't realy a write lock ...
+ // => There isn't really a write lock ...
m_pLock->releaseReadAccess();
m_eMode = E_NOLOCK;
}
@@ -219,7 +219,7 @@ class WriteGuard : private INonCopyable
@param -
@return Current set lock mode.
- @onerror No error should occure.
+ @onerror No error should occur.
*//*-*****************************************************************************************************/
inline ELockMode getMode() const
{
@@ -233,7 +233,7 @@ class WriteGuard : private INonCopyable
/*-****************************************************************************************************//**
@short disable using of these functions!
- @descr It's not allowed to use this methods. Different problem can occure otherwise.
+ @descr It's not allowed to use this methods. Different problem can occur otherwise.
Thats why we disable it by make it private.
@seealso other ctor
diff --git a/framework/inc/uifactory/uielementfactorymanager.hxx b/framework/inc/uifactory/uielementfactorymanager.hxx
index 763ee3357cf1..a5ec9f09dae2 100644
--- a/framework/inc/uifactory/uielementfactorymanager.hxx
+++ b/framework/inc/uifactory/uielementfactorymanager.hxx
@@ -62,7 +62,7 @@ namespace framework
class ConfigurationAccess_FactoryManager : // interfaces
// baseclasses
- // Order is neccessary for right initialization!
+ // Order is necessary for right initialization!
private ThreadHelpBase ,
public ::cppu::WeakImplHelper1< ::com::sun::star::container::XContainerListener>
{
diff --git a/framework/inc/xml/acceleratorconfigurationreader.hxx b/framework/inc/xml/acceleratorconfigurationreader.hxx
index 172b39e2e8f1..5468b9450ff0 100644
--- a/framework/inc/xml/acceleratorconfigurationreader.hxx
+++ b/framework/inc/xml/acceleratorconfigurationreader.hxx
@@ -126,7 +126,7 @@ class AcceleratorConfigurationReader : public css::xml::sax::XDocumentHandler
/** @short provide informations abou the parsing state.
@descr We use it to find out the line and column, where
- an error occure.
+ an error occur.
*/
css::uno::Reference< css::xml::sax::XLocator > m_xLocator;
diff --git a/framework/qa/complex/XUserInputInterception/EventTest.java b/framework/qa/complex/XUserInputInterception/EventTest.java
index daa0d586e397..dda68f17fdc2 100644
--- a/framework/qa/complex/XUserInputInterception/EventTest.java
+++ b/framework/qa/complex/XUserInputInterception/EventTest.java
@@ -415,7 +415,7 @@ public class EventTest {
return true;
}
/**
- * This event does nothing usefull
+ * This event does nothing useful
* @param oEvent refers to the object that fired the event.
*/
public void disposing( EventObject oEvent ){
@@ -451,7 +451,7 @@ public class EventTest {
return true;
}
/**
- * This event does nothing usefull
+ * This event does nothing useful
* @param oEvent refers to the object that fired the event.
*/
public void disposing( EventObject oEvent ){
diff --git a/framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java b/framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java
index 953e7b0c5ac5..77da45516894 100644
--- a/framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java
+++ b/framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java
@@ -123,7 +123,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor
}
catch (com.sun.star.uno.Exception ex)
{
- // something strange has happend!
+ // something strange has happened!
}
catch (java.lang.Throwable ex)
{
diff --git a/framework/qa/complex/dispatches/Interceptor.java b/framework/qa/complex/dispatches/Interceptor.java
index c4fb088a2a7c..d41b6ba59dee 100644
--- a/framework/qa/complex/dispatches/Interceptor.java
+++ b/framework/qa/complex/dispatches/Interceptor.java
@@ -90,7 +90,7 @@ public class Interceptor implements XDispatchProvider,
/** counts calls of setSlave...().
So the outside API test can use this value to know if this interceptor
- was realy added to the interceptor chain of OOo.
+ was really added to the interceptor chain of OOo.
*/
private int m_nRegistrationCount = 0;
@@ -260,7 +260,7 @@ public class Interceptor implements XDispatchProvider,
// ____________________
/** set a new list of URL's, which should be used on registration time
- (that's why it's neccessary to call this impl-method before the interceptor
+ (that's why it's necessary to call this impl-method before the interceptor
is used at the OOo API!) to optimize the interception chain.
*/
public synchronized void setURLs4InterceptionInfo(String[] lURLs)
@@ -271,7 +271,7 @@ public class Interceptor implements XDispatchProvider,
// ____________________
/** set a new list of URL's, which should be blocked by this interceptor.
- (that's why it's neccessary to call this impl-method before the interceptor
+ (that's why it's necessary to call this impl-method before the interceptor
is used at the OOo API!)
*/
public synchronized void setURLs4URLs4Blocking(String[] lURLs)
diff --git a/framework/qa/complex/dispatches/checkdispatchapi.java b/framework/qa/complex/dispatches/checkdispatchapi.java
index fd93a8029841..270a89fffbbc 100644
--- a/framework/qa/complex/dispatches/checkdispatchapi.java
+++ b/framework/qa/complex/dispatches/checkdispatchapi.java
@@ -125,7 +125,7 @@ public class checkdispatchapi
}
catch (java.lang.Throwable ex)
{
- fail("Cant initialize test environment.");
+ fail("Can't initialize test environment.");
}
}
@@ -258,7 +258,7 @@ public class checkdispatchapi
public void checkInterceptorLifeTime()
{
// Note: It's important for the following test, that aInterceptor will be hold alive by the uno reference
- // xInterceptor. Otherwhise we cant check some internal states of aInterceptor at the end of this method, because
+ // xInterceptor. Otherwise we can't check some internal states of aInterceptor at the end of this method, because
// it was already killed .-)
Interceptor aInterceptor = new Interceptor();
@@ -283,7 +283,7 @@ public class checkdispatchapi
if (bIsRegistered)
{
- fail("Interceptor was not deregistered automaticly on closing the corresponding frame.");
+ fail("Interceptor was not deregistered automatically on closing the corresponding frame.");
}
System.out.println("Destruction of interception chain works as designed .-)");
diff --git a/framework/qa/complex/framework/autosave/AutoSave.java b/framework/qa/complex/framework/autosave/AutoSave.java
index 2bd97f45bea6..8b3da1a541b7 100644
--- a/framework/qa/complex/framework/autosave/AutoSave.java
+++ b/framework/qa/complex/framework/autosave/AutoSave.java
@@ -317,7 +317,7 @@ public class AutoSave
{
m_aLog.log(Protocol.TYPE_WARNING , "got IOException on calling doc.store()." );
m_aLog.log(Protocol.TYPE_WARNING_INFO, "Please check the reason for that more in detail." );
- m_aLog.log(Protocol.TYPE_WARNING_INFO, "A message like \"Concurrent save requests are not allowed.\" was intended and doesnt show an error!");
+ m_aLog.log(Protocol.TYPE_WARNING_INFO, "A message like \"Concurrent save requests are not allowed.\" was intended and doesn't show an error!");
m_aLog.log(Protocol.TYPE_WARNING_INFO, "Message of the original exception:" );
m_aLog.log(Protocol.TYPE_WARNING_INFO, exIO.getMessage());
}
@@ -351,14 +351,14 @@ public class AutoSave
}
else
{
- m_aLog.log(Protocol.TYPE_ERROR, "closeDoc() = ERROR. Doc doesnt provide needed interface!");
+ m_aLog.log(Protocol.TYPE_ERROR, "closeDoc() = ERROR. Doc doesn't provide needed interface!");
}
}
catch(com.sun.star.util.CloseVetoException exVeto)
{
m_aLog.log(Protocol.TYPE_WARNING , "got CloseVetoException on calling doc.close()." );
m_aLog.log(Protocol.TYPE_WARNING_INFO, "Please check the reason for that more in detail." );
- m_aLog.log(Protocol.TYPE_WARNING_INFO, "A message like \"Cant close while saving.\" was intended and doesnt show an error!");
+ m_aLog.log(Protocol.TYPE_WARNING_INFO, "A message like \"Can't close while saving.\" was intended and doesn't show an error!");
m_aLog.log(Protocol.TYPE_WARNING_INFO, exVeto.getMessage());
}
diff --git a/framework/qa/complex/framework/autosave/Protocol.java b/framework/qa/complex/framework/autosave/Protocol.java
index 271d4bdf977e..2196ce3d30c8 100644
--- a/framework/qa/complex/framework/autosave/Protocol.java
+++ b/framework/qa/complex/framework/autosave/Protocol.java
@@ -59,10 +59,10 @@ import java.sql.*;
/**
* Implements a log mechanism to create a protocol of all steps of e.g. an api test
* It provides the possibility to write the logged meesages to a file and/or
- * to stdout/stderr (if neccessary at the same time!).
+ * to stdout/stderr (if necessary at the same time!).
*
* TODO
- * - implement filter, which e.g. supress showing of INFO data
+ * - implement filter, which e.g. suppress showing of INFO data
*/
public class Protocol extends JComponent
{
@@ -195,7 +195,7 @@ public class Protocol extends JComponent
private int m_nType;
/// of course, we have to know the logged message too :-)
private String m_sMessage;
- /// and it can be usefull to know the current time, when this line was created
+ /// and it can be useful to know the current time, when this line was created
private Timestamp m_aStamp;
/** ctor for fast initializing of such line */
@@ -502,7 +502,7 @@ public class Protocol extends JComponent
// ____________________
/**
- * For some modes it's neccessary, that we write some additional
+ * For some modes it's necessary, that we write some additional
* informations to the log. E.g. for html we must generate close targets.
*/
public synchronized void finish()
@@ -524,7 +524,7 @@ public class Protocol extends JComponent
/**
* log an unspecified message.
*
- * Sometimes it's not neccessary to set a special type for an message.
+ * Sometimes it's not necessary to set a special type for an message.
* The pure message seams to be enough. The type of such "pure messages"
* will be set to INFO.
*
@@ -635,7 +635,7 @@ public class Protocol extends JComponent
++m_nLine;
- // it's neccessary to open scopes before creatig the protocol line
+ // it's necessary to open scopes before creatig the protocol line
// to guarantee right tab handling for new scope value!
if ((nType & TYPE_SCOPE_OPEN) == TYPE_SCOPE_OPEN)
++m_nScope;
@@ -645,7 +645,7 @@ public class Protocol extends JComponent
String sAsciiLog = aLine.toString();
String sHTMLLog = aLine.toHTML();
- // it's neccessary to close scope after creatig the protocol line
+ // it's necessary to close scope after creatig the protocol line
// to guarantee right tab handling for old scope value!
if (
( m_nScope > 0 ) &&
@@ -671,7 +671,7 @@ public class Protocol extends JComponent
System.err.print(sAsciiLog);
// no else - it's a bit field of possible reactions!
// But these both conditions must be handled together.
- // Because we cant generate different types of log contents to the same log file.
+ // Because we can't generate different types of log contents to the same log file.
// We preferr HTML if both types are set.
if (
((m_nMode & MODE_HTML ) == MODE_HTML ) ||
@@ -757,7 +757,7 @@ public class Protocol extends JComponent
* returns a generic html header for generating html log files
*
* It's used from the method finish() to generate a valid html formated file.
- * For that its neccessary to open some special html targets like e.g. <html>.
+ * For that its necessary to open some special html targets like e.g. <html>.
*
* @return A string, which includes the whole header.
*
diff --git a/framework/qa/complex/framework/recovery/RecoveryTest.java b/framework/qa/complex/framework/recovery/RecoveryTest.java
index 58c530a2d7fb..98ec2390bbaa 100644
--- a/framework/qa/complex/framework/recovery/RecoveryTest.java
+++ b/framework/qa/complex/framework/recovery/RecoveryTest.java
@@ -584,7 +584,7 @@ public class RecoveryTest extends ComplexTestCase {
}
String tempURL = utils.getOfficeTempDir(xMSF);
- log.println("the destination for saveing is: " + tempURL);
+ log.println("the destination for saving is: " + tempURL);
try{
oUITools.setTextEditFiledText("Save to", tempURL);
} catch (java.lang.Exception e){
@@ -603,7 +603,7 @@ public class RecoveryTest extends ComplexTestCase {
/**
* This function gets the current screen size and calculate the first
- * quarter of it. This qaurter was used to postion to Office windows.
+ * quarter of it. This qaurter was used to position to Office windows.
* Further this function calculates the maximum window size so the window
* is visible if it placed on extreme position.
*/
@@ -725,7 +725,7 @@ public class RecoveryTest extends ComplexTestCase {
try{
xMathDoc = SOF.createMathDoc(frameName);
} catch (com.sun.star.uno.Exception e) {
- log.println("Exception occured while creating math document '"+frameName+"':");
+ log.println("Exception occurred while creating math document '"+frameName+"':");
failed("Couldn't create test environment");
}
return xMathDoc;
@@ -739,16 +739,16 @@ public class RecoveryTest extends ComplexTestCase {
try {
xPS.setPropertyValue("Formula", expFormula);
} catch(com.sun.star.lang.WrappedTargetException e) {
- log.println("Exception occured while filling math document with content.");
+ log.println("Exception occurred while filling math document with content.");
failed("Couldn't create test environment");
} catch(com.sun.star.lang.IllegalArgumentException e) {
- log.println("Exception occured while filling math document with content.");
+ log.println("Exception occurred while filling math document with content.");
failed("Couldn't create test environment");
} catch(com.sun.star.beans.PropertyVetoException e) {
- log.println("Exception occured while filling math document with content.");
+ log.println("Exception occurred while filling math document with content.");
failed("Couldn't create test environment");
} catch(com.sun.star.beans.UnknownPropertyException e) {
- log.println("Exception occured while filling math document with content.");
+ log.println("Exception occurred while filling math document with content.");
failed("Couldn't create test environment");
}
}
@@ -758,7 +758,7 @@ public class RecoveryTest extends ComplexTestCase {
try{
xImpressDoc = SOF.createImpressDoc(frameName);
} catch (com.sun.star.uno.Exception e) {
- log.println("Exception occured while creating impress document '"+frameName+"':");
+ log.println("Exception occurred while creating impress document '"+frameName+"':");
failed("Couldn't create test environment");
}
return xImpressDoc;
@@ -809,7 +809,7 @@ public class RecoveryTest extends ComplexTestCase {
try{
xDrawDoc = SOF.createDrawDoc(frameName);
} catch (com.sun.star.uno.Exception e) {
- log.println("Exception occured while creating draw document '"+frameName+"':");
+ log.println("Exception occurred while creating draw document '"+frameName+"':");
failed("Couldn't create test environment");
}
return xDrawDoc;
@@ -861,16 +861,16 @@ public class RecoveryTest extends ComplexTestCase {
new Type(XStyle.class),oShapeProps.getPropertyValue("Style"));
oShapeProps.setPropertyValue("ZOrder", new Integer(1));
} catch (com.sun.star.lang.WrappedTargetException e) {
- log.println("Exception occured while setting or getting property value while filling draw document with content.");
+ log.println("Exception occurred while setting or getting property value while filling draw document with content.");
failed("Couldn't create test environment");
} catch (com.sun.star.beans.UnknownPropertyException e) {
- log.println("Exception occured while setting or getting property value while filling draw document with content.");
+ log.println("Exception occurred while setting or getting property value while filling draw document with content.");
failed("Couldn't create test environment");
} catch (com.sun.star.lang.IllegalArgumentException e) {
- log.println("Exception occured while setting or getting property value while filling draw document with content.");
+ log.println("Exception occurred while setting or getting property value while filling draw document with content.");
failed("Couldn't create test environment");
} catch (com.sun.star.beans.PropertyVetoException e) {
- log.println("Exception occured while setting or getting property value while filling draw document with content.");
+ log.println("Exception occurred while setting or getting property value while filling draw document with content.");
failed("Couldn't create test environment");
}
}
@@ -888,7 +888,7 @@ public class RecoveryTest extends ComplexTestCase {
try {
xTextDoc = SOF.createTextDoc(frameName);
} catch (com.sun.star.uno.Exception e) {
- log.println("Exception occured while creating text document '"+frameName+"':");
+ log.println("Exception occurred while creating text document '"+frameName+"':");
failed("Couldn't create test environment");
}
return xTextDoc;
@@ -915,10 +915,10 @@ public class RecoveryTest extends ComplexTestCase {
oCursor, ControlCharacter.LINE_BREAK, false );
}
} catch ( com.sun.star.lang.IllegalArgumentException e ){
- log.println("Exception occured while filling text document with content.");
+ log.println("Exception occurred while filling text document with content.");
failed("Couldn't create test environment");
} catch (com.sun.star.uno.Exception e) {
- log.println("Exception occured while filling text document with content.");
+ log.println("Exception occurred while filling text document with content.");
failed("Couldn't create test environment");
}
}
@@ -930,7 +930,7 @@ public class RecoveryTest extends ComplexTestCase {
try {
xSheetDoc = SOF.createCalcDoc(frameName);
} catch (com.sun.star.uno.Exception e) {
- log.println("Exception occured while creating calc document '"+frameName+"':");
+ log.println("Exception occurred while creating calc document '"+frameName+"':");
failed("Couldn't create test environment");
}
return xSheetDoc;
@@ -956,19 +956,19 @@ public class RecoveryTest extends ComplexTestCase {
oSheet.getCellByPosition(3, 2).setFormula("xTextDoc");
oSheet.getCellByPosition(3, 3).setFormula("xTextDoc");
} catch (com.sun.star.lang.WrappedTargetException e) {
- log.println("Exception occured while filling calc document with content.");
+ log.println("Exception occurred while filling calc document with content.");
failed("Couldn't create test environment");
} catch (com.sun.star.container.NoSuchElementException e) {
- log.println("Exception occured while filling calc document with content.");
+ log.println("Exception occurred while filling calc document with content.");
failed("Couldn't create test environment");
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
- log.println("Exception occured while filling calc document with content.");
+ log.println("Exception occurred while filling calc document with content.");
failed("Couldn't create test environment");
} catch (com.sun.star.lang.IllegalArgumentException e) {
- log.println("Exception occured while filling calc document with content.");
+ log.println("Exception occurred while filling calc document with content.");
failed("Couldn't create test environment");
} catch (com.sun.star.uno.Exception e) {
- log.println("Exception occured while filling calc document with content.");
+ log.println("Exception occurred while filling calc document with content.");
failed("Couldn't create test environment");
}
}
diff --git a/framework/qa/complex/imageManager/_XInitialization.java b/framework/qa/complex/imageManager/_XInitialization.java
index 0337c6a160b4..78e21c82dd79 100644
--- a/framework/qa/complex/imageManager/_XInitialization.java
+++ b/framework/qa/complex/imageManager/_XInitialization.java
@@ -71,7 +71,7 @@ public class _XInitialization {
}
} catch (com.sun.star.uno.Exception e) {
- System.out.println("Exception occured while method calling.") ;
+ System.out.println("Exception occurred while method calling.") ;
result = false ;
}
diff --git a/framework/qa/complex/imageManager/_XTypeProvider.java b/framework/qa/complex/imageManager/_XTypeProvider.java
index f25571ac8992..27356488e96d 100644
--- a/framework/qa/complex/imageManager/_XTypeProvider.java
+++ b/framework/qa/complex/imageManager/_XTypeProvider.java
@@ -54,7 +54,7 @@ public class _XTypeProvider {
/**
* Just calls the method.<p>
- * Has <b>OK</b> status if no runtime exceptions occured.
+ * Has <b>OK</b> status if no runtime exceptions occurred.
*/
public boolean _getImplementationId() {
boolean result = true;
diff --git a/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java b/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java
index 6495ccab97c1..e9e9f77d6863 100644
--- a/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java
+++ b/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java
@@ -71,7 +71,7 @@ import static org.junit.Assert.*;
The parameters for this have to be "ftp_access" and "http_access".
If they are not given, tests for ftp and http will fail.
- @todo We need a further test for accessing UNC pathes on windows!
+ @todo We need a further test for accessing UNC paths on windows!
*/
public class CheckXComponentLoader
{
@@ -185,7 +185,7 @@ public class CheckXComponentLoader
// define default loader for testing
// TODO think about using of bot loader instances!
m_xLoader = UnoRuntime.queryInterface(XComponentLoader.class, m_xDesktop);
- assertNotNull("Desktop service doesnt support needed component loader interface.", m_xLoader);
+ assertNotNull("Desktop service doesn't support needed component loader interface.", m_xLoader);
// get temp path for this environment
final String tempDirURL = util.utils.getOfficeTemp/*Dir*/(getMSF());
@@ -529,7 +529,7 @@ public class CheckXComponentLoader
// loadURL(m_xLoader, RESULT_ILLEGALARGUMENTEXCEPTION, sEmptyDocs, "_blank", 0,
// lProps);
//
-// System.out.println("check case senstive URLs");
+// System.out.println("check case sensitive URLs");
//
// sIllegalArgs = new String[] {
// "sLot:5000", "sloT:10909", ".unO:SaveAs", ".uno:OPEN",
diff --git a/framework/qa/complex/loadAllDocuments/StatusIndicator.java b/framework/qa/complex/loadAllDocuments/StatusIndicator.java
index e16e3221affb..5c5e069cbe38 100644
--- a/framework/qa/complex/loadAllDocuments/StatusIndicator.java
+++ b/framework/qa/complex/loadAllDocuments/StatusIndicator.java
@@ -53,7 +53,7 @@ public class StatusIndicator implements com.sun.star.task.XStatusIndicator
/**
* @const SHOWSTATUS_NO don't show the status - but save information about using of this indicator object
- * @const SHOWSTATUS_LOG the possible set protocol object will be used (it covers STDOUT, STDERR automaticly too)
+ * @const SHOWSTATUS_LOG the possible set protocol object will be used (it covers STDOUT, STDERR automatically too)
* @const SHOWSTATUS_DIALOG the status will be shown inside a java dialog
* @const SHOWSTATUS_LINK the status will be notified to interested listener (one listener only!)
*/
diff --git a/framework/qa/complex/loadAllDocuments/StreamSimulator.java b/framework/qa/complex/loadAllDocuments/StreamSimulator.java
index 340ddc6dd5e8..52556f0cd0dd 100644
--- a/framework/qa/complex/loadAllDocuments/StreamSimulator.java
+++ b/framework/qa/complex/loadAllDocuments/StreamSimulator.java
@@ -75,7 +75,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream ,
* @throw com.sun.star.io.NotConnectedException
* in case the internal streams to the file on disk couldn't
* be established.
- * They are neccessary. Otherwhise this simulator can't
+ * They are necessary. Otherwise this simulator can't
* really work.
*/
public StreamSimulator(XMultiServiceFactory xMSF,
@@ -121,7 +121,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream ,
/**
* following methods simulates the XInputStream.
* The notice all actions inside the internal protocol
- * and try to map all neccessary functions to the internal
+ * and try to map all necessary functions to the internal
* open in-stream.
*/
public int readBytes(byte[][] lData, int nBytesToRead )
@@ -275,7 +275,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream ,
/**
* following methods simulates the XOutputStream.
* The notice all actions inside the internal protocol
- * and try to map all neccessary functions to the internal
+ * and try to map all necessary functions to the internal
* open out-stream.
*/
public void writeBytes(byte[] lData)
@@ -369,7 +369,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream ,
/**
* following methods simulates the XSeekable.
* The notice all actions inside the internal protocol
- * and try to map all neccessary functions to the internal
+ * and try to map all necessary functions to the internal
* open stream.
*/
public void seek(long nLocation )
diff --git a/framework/qa/complex/path_settings/PathSettingsTest.java b/framework/qa/complex/path_settings/PathSettingsTest.java
index 043df0356d63..48e5d13e34ee 100644
--- a/framework/qa/complex/path_settings/PathSettingsTest.java
+++ b/framework/qa/complex/path_settings/PathSettingsTest.java
@@ -198,7 +198,7 @@ public class PathSettingsTest
}
/**
- * Simple existance test, if this fails, the Lists must update
+ * Simple existence test, if this fails, the Lists must update
*/
@Test
public void checkInternalListConsistence()
@@ -909,7 +909,7 @@ public class PathSettingsTest
*/
private String changeToCorrectValue(String path)
{
- // the simplest possiblity
+ // the simplest possibility
if (path == null || path.equals(""))
{
String sTempDir = System.getProperty("java.io.tmpdir");
diff --git a/framework/source/accelerators/acceleratorcache.cxx b/framework/source/accelerators/acceleratorcache.cxx
index 467e35967ae4..13bf1bc802ea 100644
--- a/framework/source/accelerators/acceleratorcache.cxx
+++ b/framework/source/accelerators/acceleratorcache.cxx
@@ -69,7 +69,7 @@ AcceleratorCache::AcceleratorCache(const AcceleratorCache& rCopy)
//-----------------------------------------------
AcceleratorCache::~AcceleratorCache()
{
- // Dont save anything automaticly here.
+ // Dont save anything automatically here.
// The user has to do that explicitly!
}
diff --git a/framework/source/accelerators/acceleratorconfiguration.cxx b/framework/source/accelerators/acceleratorconfiguration.cxx
index 5396622fa326..71c8b16bf05b 100644
--- a/framework/source/accelerators/acceleratorconfiguration.cxx
+++ b/framework/source/accelerators/acceleratorconfiguration.cxx
@@ -587,7 +587,7 @@ void XMLBasedAcceleratorConfiguration::impl_ts_save(const css::uno::Reference< c
css::uno::Reference< css::io::XTruncate > xClearable(xStream, css::uno::UNO_QUERY_THROW);
xClearable->truncate();
- // TODO can be removed if seek(0) is done by truncate() automaticly!
+ // TODO can be removed if seek(0) is done by truncate() automatically!
css::uno::Reference< css::io::XSeekable > xSeek(xStream, css::uno::UNO_QUERY);
if (xSeek.is())
xSeek->seek(0);
@@ -637,7 +637,7 @@ AcceleratorCache& XMLBasedAcceleratorConfiguration::impl_getCFG(sal_Bool bWriteA
}
// in case, we have a writeable cache, we use it for reading too!
- // Otherwhise the API user cant find its own changes ...
+ // Otherwise the API user can't find its own changes ...
if (m_pWriteCache)
return *m_pWriteCache;
else
@@ -1255,7 +1255,7 @@ void SAL_CALL XCUBasedAcceleratorConfiguration::changesOccurred(const css::util:
// Only path of form "PrimaryKeys/Modules/Module['<module_name>']/Key['<command_url>']/Command[<locale>]" will
// be interesting for use. Sometimes short path values are given also by the broadcaster ... but they must be ignored :-)
- // So we try to split the path into 3 parts (module isnt important here, because we already know it ... because
+ // So we try to split the path into 3 parts (module isn't important here, because we already know it ... because
// these instance is bound to a specific module configuration ... or it''s the global configuration where no module is given at all.
::rtl::OUString sOrgPath ;
@@ -1680,7 +1680,7 @@ AcceleratorCache& XCUBasedAcceleratorConfiguration::impl_getCFG(sal_Bool bPrefer
}
// in case, we have a writeable cache, we use it for reading too!
- // Otherwhise the API user cant find its own changes ...
+ // Otherwise the API user can't find its own changes ...
if (m_pPrimaryWriteCache)
return *m_pPrimaryWriteCache;
else
@@ -1700,7 +1700,7 @@ AcceleratorCache& XCUBasedAcceleratorConfiguration::impl_getCFG(sal_Bool bPrefer
}
// in case, we have a writeable cache, we use it for reading too!
- // Otherwhise the API user cant find its own changes ...
+ // Otherwise the API user can't find its own changes ...
if (m_pSecondaryWriteCache)
return *m_pSecondaryWriteCache;
else
diff --git a/framework/source/accelerators/acceleratorexecute.cxx b/framework/source/accelerators/acceleratorexecute.cxx
index c14bf14f7ffc..96502750384e 100644
--- a/framework/source/accelerators/acceleratorexecute.cxx
+++ b/framework/source/accelerators/acceleratorexecute.cxx
@@ -174,7 +174,7 @@ void AcceleratorExecute::execute(const css::awt::KeyEvent& aAWTKey)
{
::rtl::OUString sCommand = impl_ts_findCommand(aAWTKey);
- // No Command found? Do nothing! User isnt interested on any error handling .-)
+ // No Command found? Do nothing! User isn't interested on any error handling .-)
if (!sCommand.getLength())
return;
diff --git a/framework/source/accelerators/acceleratorexecute.hxx b/framework/source/accelerators/acceleratorexecute.hxx
index 90dccefa5023..de3a0797e2a3 100644
--- a/framework/source/accelerators/acceleratorexecute.hxx
+++ b/framework/source/accelerators/acceleratorexecute.hxx
@@ -93,7 +93,7 @@ struct TMutexInit
Because exceution of an accelerator command can be dangerous
(in case it force an office shutdown for key "ALT+F4"!)
all internal dispatches are done asynchronous.
- Menas that the trigger call doesnt wait till the dispatch
+ Menas that the trigger call doesn't wait till the dispatch
is finished. You can call very often. All requests will be
queued internal and dispatched ASAP.
diff --git a/framework/source/accelerators/keymapping.cxx b/framework/source/accelerators/keymapping.cxx
index 5f6a8ba98716..7d32ebe6303e 100644
--- a/framework/source/accelerators/keymapping.cxx
+++ b/framework/source/accelerators/keymapping.cxx
@@ -187,7 +187,7 @@ sal_uInt16 KeyMapping::mapIdentifierToCode(const ::rtl::OUString& sIdentifier)
sal_uInt16 nCode = 0;
if (!KeyMapping::impl_st_interpretIdentifierAsPureKeyCode(sIdentifier, nCode))
throw css::lang::IllegalArgumentException(
- DECLARE_ASCII("Cant map given identifier to a valid key code value."),
+ DECLARE_ASCII("Can't map given identifier to a valid key code value."),
css::uno::Reference< css::uno::XInterface >(),
0);
diff --git a/framework/source/accelerators/presethandler.cxx b/framework/source/accelerators/presethandler.cxx
index a3df27e28915..d0aea1799f41 100644
--- a/framework/source/accelerators/presethandler.cxx
+++ b/framework/source/accelerators/presethandler.cxx
@@ -277,7 +277,7 @@ css::uno::Reference< css::embed::XStorage > PresetHandler::getOrCreateRootStorag
/*
// TODO remove me!
// Attention: This is temp. workaround ... We create a temp. storage file
- // based of a sytem directory. This must be used so, till the storage implementation
+ // based of a system directory. This must be used so, till the storage implementation
// can work on directories too.
*/
css::uno::Sequence< css::uno::Any > lArgs(2);
@@ -445,7 +445,7 @@ void PresetHandler::connectToResource( PresetHandler::EConfigType
// a) inside share layer we should not create any new structures ... We jave to use
// existing ones only!
- // b) inside user layer we can (SOFT mode!) but sometimes we shouldnt (HARD mode!)
+ // b) inside user layer we can (SOFT mode!) but sometimes we shouldn't (HARD mode!)
// create new empty structures. We should preferr using of any existing structure.
sal_Int32 eShareMode = (css::embed::ElementModes::READ | css::embed::ElementModes::NOCREATE);
sal_Int32 eUserMode = (css::embed::ElementModes::READWRITE );
@@ -879,7 +879,7 @@ css::uno::Reference< css::embed::XStorage > PresetHandler::impl_openLocalizedPat
)
return css::uno::Reference< css::embed::XStorage >();
- // it doesnt matter, if there is a locale fallback or not
+ // it doesn't matter, if there is a locale fallback or not
// If creation of storages is allowed, we do it anyway.
// Otherwhise we have no acc config at all, which can make other trouble.
::rtl::OUString sLocalizedPath;
diff --git a/framework/source/accelerators/storageholder.cxx b/framework/source/accelerators/storageholder.cxx
index 86860c00c21a..17a5745e1340 100644
--- a/framework/source/accelerators/storageholder.cxx
+++ b/framework/source/accelerators/storageholder.cxx
@@ -201,7 +201,7 @@ css::uno::Reference< css::embed::XStorage > StorageHolder::openPath(const ::rtl:
/* TODO URGENT!
in case we found some "already existing storages" on the path before and increased its UseCount ...
and now we will get an exception on creating a new sub storage ...
- we must decrease all UseCounts, which was touched before. Otherwise these storages cant be closed!
+ we must decrease all UseCounts, which was touched before. Otherwise these storages can't be closed!
Idea: Using of another structure member "PossibleUseCount" as vector of unique numbers.
Every thread use another unique number to identify all "owned candidates".
@@ -257,7 +257,7 @@ StorageHolder::TStorageList StorageHolder::getAllPathStorages(const ::rtl::OUStr
if (pCheck == m_lStorages.end())
{
// at least one path element was not found
- // Seems that this path isnt open ...
+ // Seems that this path isn't open ...
lStoragesOfPath.clear();
return lStoragesOfPath;
}
@@ -308,7 +308,7 @@ void StorageHolder::closePath(const ::rtl::OUString& rPath)
::rtl::OUString sNormedPath = StorageHolder::impl_st_normPath(rPath);
OUStringList lFolders = StorageHolder::impl_st_parsePath(sNormedPath);
- /* convert list of pathes in the following way:
+ /* convert list of paths in the following way:
[0] = "path_1" => "path_1
[1] = "path_2" => "path_1/path_2"
[2] = "path_3" => "path_1/path_2/path_3"
diff --git a/framework/source/application/framework.cxx b/framework/source/application/framework.cxx
index 42edd1e990c4..73d2c45d618e 100644
--- a/framework/source/application/framework.cxx
+++ b/framework/source/application/framework.cxx
@@ -175,7 +175,7 @@ void FrameWork::impl_analyzeCommandArguments()
sal_uInt32 nCount = aInfo.getCommandArgCount();
for ( sal_uInt32 nArgument=0; nArgument<nCount; ++nArgument )
{
- // If extraction of current argument successfull ...
+ // If extraction of current argument successful ...
if ( aInfo.getCommandArg( nArgument, sArgument ) == osl_Process_E_None )
{
// ... search for matching with supported values.
diff --git a/framework/source/application/login.cxx b/framework/source/application/login.cxx
index cdcea2444d0c..31980fce9533 100644
--- a/framework/source/application/login.cxx
+++ b/framework/source/application/login.cxx
@@ -63,8 +63,8 @@
//_________________________________________________________________________________________________________________
#define TEMPFILE_ENCODING RTL_TEXTENCODING_UTF8 // encoding of written temp. ascii file
-#define LOGIN_RDB DECLARE_ASCII("login.rdb") // name of our own registry file - neccessary to create own servicemanager
-#define SEPERATOR "\n" // used to seperate parts in temp. file
+#define LOGIN_RDB DECLARE_ASCII("login.rdb") // name of our own registry file - necessary to create own servicemanager
+#define SEPERATOR "\n" // used to separate parts in temp. file
#define MINARGUMENTCOUNT 1 // count of min. required arguments
#define ARGUMENTFOUND 0 // OUString::compareTo returns 0 if searched string match given one
@@ -99,7 +99,7 @@ using namespace ::com::sun::star::beans ;
@descr We need this temp. file to share informations between our dialog and different processes, which
can't use vcl directly. Caller of this executable give us the file name as an argument - we save
all informations in it - caller can read it and MUST delete temp. file.
- This is neccessary for example; to hide the password!
+ This is necessary for example; to hide the password!
@implements -
@@ -149,7 +149,7 @@ void LoginApplication::Main()
impl_parseCommandline();
LOG_ASSERT( !(m_sTempFile.getLength()<1), "LoginApplication::Main()\nWrong or missing argument for temp. file detected!\n" )
- // Try to get neccessary dialog service.
+ // Try to get necessary dialog service.
// By the way - cast it to interface XPropertySet too - we need it later.
// (define SERVICENAME... comes from defines.hxx!)
Reference< XDialog > xLoginDialog( xServiceManager->createInstance( SERVICENAME_LOGINDIALOG ), UNO_QUERY );
@@ -200,7 +200,7 @@ void LoginApplication::Main()
}
// Build string for output.
- // At this point it doesnt matter if information exist or not!
+ // At this point it doesn't matter if information exist or not!
// Format of output: "<decision> [0|1] SEPERATOR
// <username> [string] SEPERATOR
// <password> [string] SEPERATOR
@@ -229,8 +229,8 @@ void LoginApplication::Main()
sBuffer.appendAscii ( SEPERATOR );
// Write informations in temp. file.
- // If given file name isnt valid ... caller will have a problem!!!
- // If fil already exist (That's out of specification!!!) we overwrite it everytime.
+ // If given file name isn't valid ... caller will have a problem!!!
+ // If fil already exist (That's out of specification!!!) we overwrite it every time.
FILE* pFile = fopen( m_sTempFile.getStr(), "w" );
LOG_ASSERT( !(pFile==NULL), "LoginApplication::Main()\nCould not open file!\n" );
if( pFile != NULL )
@@ -257,7 +257,7 @@ void LoginApplication::impl_parseCommandline()
OUString sArgument ;
OUString sValue ;
- // Warn programmer if argument count isnt ok!
+ // Warn programmer if argument count isn't ok!
LOG_ASSERT( !(nCount!=MINARGUMENTCOUNT), "LoginApplication::impl_parseCommandline()\nWrong argument count detected!\n" )
// Reset all possible argument variables to defaults if someone is missing.
diff --git a/framework/source/classes/framecontainer.cxx b/framework/source/classes/framecontainer.cxx
index 7700a9976a23..5f10cc264a38 100644
--- a/framework/source/classes/framecontainer.cxx
+++ b/framework/source/classes/framecontainer.cxx
@@ -73,12 +73,12 @@ namespace framework{
@short initialize an empty container
@descr The container will be empty then - special features (e.g. the async quit mechanism) are disabled.
- @threadsafe not neccessary - its not a singleton
+ @threadsafe not necessary - its not a singleton
@modified 01.07.2002 14:42,as96863
*****************************************************************************************************************/
FrameContainer::FrameContainer()
// initialize base classes first.
- // Order is neccessary for right initilization of his and OUR member ... m_aLock
+ // Order is necessary for right initilization of his and OUR member ... m_aLock
: ThreadHelpBase ( &Application::GetSolarMutex() )
/*DEPRECATEME
, m_bAsyncQuit ( sal_False ) // default must be "disabled"!
@@ -91,7 +91,7 @@ FrameContainer::FrameContainer()
@short deinitialize may a filled container
@descr Special features (if the currently are running) will be dsiabled and we free all used other ressources.
- @threadsafe not neccessary - its not a singleton
+ @threadsafe not necessary - its not a singleton
@modified 01.07.2002 14:43,as96863
*****************************************************************************************************************/
FrameContainer::~FrameContainer()
@@ -139,7 +139,7 @@ void FrameContainer::append( const css::uno::Reference< css::frame::XFrame >& xF
void FrameContainer::remove( const css::uno::Reference< css::frame::XFrame >& xFrame )
{
/* SAFE { */
- // write lock neccessary for follwing erase()!
+ // write lock necessary for follwing erase()!
WriteGuard aWriteLock( m_aLock );
TFrameIterator aSearchedItem = ::std::find( m_aContainer.begin(), m_aContainer.end(), xFrame );
@@ -244,7 +244,7 @@ sal_uInt32 FrameContainer::getCount() const
So it will be marked as deprecated and should be replaced by "getAllElements()".
@param nIndex
- a valud between 0 and (getCount()-1) to adress one container item
+ a valud between 0 and (getCount()-1) to address one container item
@return a reference to a frame inside the container, which match with given index
@@ -278,7 +278,7 @@ css::uno::Reference< css::frame::XFrame > FrameContainer::operator[]( sal_uInt32
@short returns a snapshot of all currently existing frames inside this container
@descr Should be used to replace the deprecated functions getCount()/operator[]!
- @return a list of all frame refrences inside this container
+ @return a list of all frame references inside this container
@threadsafe yes
@modified 01.07.2002 15:09,as96863
diff --git a/framework/source/classes/menumanager.cxx b/framework/source/classes/menumanager.cxx
index d33c5d3917d4..f8daef422e09 100644
--- a/framework/source/classes/menumanager.cxx
+++ b/framework/source/classes/menumanager.cxx
@@ -907,7 +907,7 @@ IMPL_LINK( MenuManager, Activate, Menu *, pMenu )
::rtl::OUString aCommand( m_aMenuItemCommand );
if ( m_aMenuItemCommand.matchIgnoreAsciiCase( UNO_COMMAND, 0 ))
{
- // Remove protocol part from command so we can use an easier comparision method
+ // Remove protocol part from command so we can use an easier comparison method
aCommand = aCommand.copy( UNO_COMMAND.getLength() );
}
diff --git a/framework/source/classes/taskcreator.cxx b/framework/source/classes/taskcreator.cxx
index 672275578e3b..bf8420a9b76f 100644
--- a/framework/source/classes/taskcreator.cxx
+++ b/framework/source/classes/taskcreator.cxx
@@ -68,7 +68,7 @@ namespace framework{
//_________________________________________________________________________________________________________________
/*-****************************************************************************************************//**
- @short initialize instance with neccessary informations
+ @short initialize instance with necessary informations
@descr We need a valid uno service manager to create or instanciate new services.
All other informations to create frames or tasks come in on right interface methods.
@@ -129,7 +129,7 @@ css::uno::Reference< css::frame::XFrame > TaskCreator::createTask( const ::rtl::
catch(const css::uno::Exception&)
{}
- // no catch here ... without an task creator service we cant open ANY document window within the office.
+ // no catch here ... without an task creator service we can't open ANY document window within the office.
// Thats IMHO not a good idea. Then we should accept the stacktrace showing us the real problem.
// BTW: The used fallback creator service (IMPLEMENTATIONNAME_FWK_TASKCREATOR) is implemented in the same
// library then these class here ... Why we should not be able to create it ?
diff --git a/framework/source/dispatch/closedispatcher.cxx b/framework/source/dispatch/closedispatcher.cxx
index a7f8aed73a24..8fab1bff5da6 100644
--- a/framework/source/dispatch/closedispatcher.cxx
+++ b/framework/source/dispatch/closedispatcher.cxx
@@ -129,7 +129,7 @@ css::uno::Sequence< css::frame::DispatchInformation > SAL_CALL CloseDispatcher::
{
if (nCommandGroup == css::frame::CommandGroup::VIEW)
{
- /* Attention: Dont add .uno:CloseFrame here. Because its not realy
+ /* Attention: Dont add .uno:CloseFrame here. Because its not really
a configurable feature ... and further it does not have
a valid UIName entry inside the GenericCommands.xcu ... */
css::uno::Sequence< css::frame::DispatchInformation > lViewInfos(1);
@@ -215,13 +215,13 @@ void SAL_CALL CloseDispatcher::dispatchWithNotification(const css::util::URL&
}
// OK - URLs are the right ones.
- // But we cant execute synchronously :-)
+ // But we can't execute synchronously :-)
// May we are called from a generic key-input handler,
- // which isnt aware that this call kill its own environment ...
+ // which isn't aware that this call kill its own environment ...
// Do it asynchronous everytimes!
// But dont forget to hold usself alive.
- // We are called back from an environment, which doesnt know an uno reference.
+ // We are called back from an environment, which doesn't know an uno reference.
// They call us back by using our c++ interface.
m_xResultListener = xListener;
@@ -254,7 +254,7 @@ void SAL_CALL CloseDispatcher::dispatchWithNotification(const css::util::URL&
Now we do the following:
- close all views to the same document, if needed and possible
- make the current frame empty
- ! This step is neccessary to handle errors during closing the
+ ! This step is necessary to handle errors during closing the
document inside the frame. May the document shows a dialog and
the user ignore it. Then the state of the office can be changed
during we try to close frame and document.
@@ -306,7 +306,7 @@ IMPL_LINK( CloseDispatcher, impl_asyncCallback, void*, EMPTYARG )
FrameListAnalyzer aCheck1(xDesktop, xCloseFrame, FrameListAnalyzer::E_HELP | FrameListAnalyzer::E_BACKINGCOMPONENT);
// a) If the curent frame (where the close dispatch was requested for) does not have
- // any parent frame ... it will close this frame only. Such frame isnt part of the
+ // any parent frame ... it will close this frame only. Such frame isn't part of the
// global desktop tree ... and such frames are used as "implementation details" only.
// E.g. the live previews of our wizards doing such things. And then the owner of the frame
// is responsible for closing the application or accepting closing of the application
@@ -315,9 +315,9 @@ IMPL_LINK( CloseDispatcher, impl_asyncCallback, void*, EMPTYARG )
bCloseFrame = sal_True;
else
- // b) The help window cant disagree with any request.
- // Because it doesnt implement a controller - it uses a window only.
- // Further t cant be the last open frame - if we do all other things
+ // b) The help window can't disagree with any request.
+ // Because it doesn't implement a controller - it uses a window only.
+ // Further t can't be the last open frame - if we do all other things
// right inside this CloseDispatcher implementation.
// => close it!
if (aCheck1.m_bReferenceIsHelp)
@@ -326,7 +326,7 @@ IMPL_LINK( CloseDispatcher, impl_asyncCallback, void*, EMPTYARG )
// c) If we are already in "backing mode", we have to terminate
// the application, if this special frame is closed.
- // It doesnt matter, how many other frames (can be the help or hidden frames only)
+ // It doesn't matter, how many other frames (can be the help or hidden frames only)
// are open then.
// => terminate the application!
if (aCheck1.m_bReferenceIsBacking)
@@ -436,7 +436,7 @@ IMPL_LINK( CloseDispatcher, impl_asyncCallback, void*, EMPTYARG )
// We reached this method only, by using a reference to ourself :-)
// Further this member is used to detect still running and not yet finished
// ansynchronous operations. So its time now to release this reference.
- // But hold it temp alive. Otherwhise we die before we can finish this method realy :-))
+ // But hold it temp alive. Otherwise we die before we can finish this method really :-))
css::uno::Reference< css::uno::XInterface > xTempHold = m_xSelfHold;
m_xSelfHold.clear();
m_xResultListener.clear();
@@ -500,9 +500,9 @@ sal_Bool CloseDispatcher::implts_prepareFrameForClosing(const css::uno::Referenc
}
}
- // dont remove the component realy by e.g. calling setComponent(null, null).
+ // dont remove the component really by e.g. calling setComponent(null, null).
// It's enough to suspend the controller.
- // If we close the frame later this controller doesnt show the same dialog again.
+ // If we close the frame later this controller doesn't show the same dialog again.
return sal_True;
}
@@ -621,8 +621,8 @@ css::uno::Reference< css::frame::XFrame > CloseDispatcher::static_impl_searchRig
if (xTopWindowCheck.is())
{
// b1) Note: Toolkit interface XTopWindow sometimes is used by real VCL-child-windows also .-)
- // Be sure that these window is realy a "top system window".
- // Attention ! Checking Window->GetParent() isnt the right approach here.
+ // Be sure that these window is really a "top system window".
+ // Attention ! Checking Window->GetParent() isn't the right approach here.
// Because sometimes VCL create "implicit border windows" as parents even we created
// a simple XWindow using the toolkit only .-(
::vos::OGuard aSolarLock(&Application::GetSolarMutex());
diff --git a/framework/source/dispatch/dispatchinformationprovider.cxx b/framework/source/dispatch/dispatchinformationprovider.cxx
index 6d4a64dfe779..50fbba156b83 100644
--- a/framework/source/dispatch/dispatchinformationprovider.cxx
+++ b/framework/source/dispatch/dispatchinformationprovider.cxx
@@ -85,7 +85,7 @@ css::uno::Sequence< sal_Int16 > SAL_CALL DispatchInformationProvider::getSupport
for (i1=0; i1<c1; ++i1)
{
- // ignore controller, which doesnt implement the right interface
+ // ignore controller, which doesn't implement the right interface
css::uno::Reference< css::frame::XDispatchInformationProvider > xProvider = lProvider[i1];
if (!xProvider.is())
continue;
@@ -119,7 +119,7 @@ css::uno::Sequence< css::frame::DispatchInformation > SAL_CALL DispatchInformati
{
try
{
- // ignore controller, which doesnt implement the right interface
+ // ignore controller, which doesn't implement the right interface
css::uno::Reference< css::frame::XDispatchInformationProvider > xProvider = lProvider[i1];
if (!xProvider.is())
continue;
diff --git a/framework/source/dispatch/dispatchprovider.cxx b/framework/source/dispatch/dispatchprovider.cxx
index eff34eb56e8d..76707461c70b 100644
--- a/framework/source/dispatch/dispatchprovider.cxx
+++ b/framework/source/dispatch/dispatchprovider.cxx
@@ -100,7 +100,7 @@ DEFINE_XTYPEPROVIDER_2( DispatchProvider ,
/**
@short standard ctor/dtor
- @descr These initialize a new instance of tihs class with needed informations for work.
+ @descr These initialize a new instance of this class with needed informations for work.
We hold a weakreference to our owner frame which start dispatches at us.
We can't use a normal reference because he hold a reference of us too ...
nobody can die so ...!
@@ -388,7 +388,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_queryFrame
{
// Don''t use findFrame() here - because it's not possible to find
// a top lebel frame without knowing his name. And a frame with name
- // "" can't be realy searched! That's why forward query to any parent
+ // "" can't be really searched! That's why forward query to any parent
// explicitly.
css::uno::Reference< css::frame::XDispatchProvider > xProvider( xFrame->getCreator(), css::uno::UNO_QUERY );
if (xProvider.is())
@@ -428,7 +428,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_queryFrame
{
css::uno::Reference< css::frame::XDispatchProvider > xParent( xFrame->getCreator(), css::uno::UNO_QUERY );
if (xParent.is())
- // SELF => we must adress the parent directly... and not his parent or any other parent!
+ // SELF => we must address the parent directly... and not his parent or any other parent!
xDispatcher = xParent->queryDispatch(aURL, SPECIALTARGET_SELF, 0);
}
@@ -509,7 +509,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_queryFrame
// Not for controller - not for protocol handler
// It should be a loadable content - may be a file. Check it ...
- // This check is neccessary to found out, that
+ // This check is necessary to found out, that
// support for some protocols isn't installed by user. May be
// "ftp" isn't available. So we suppress creation of our self dispatcher.
// The result will be clear. He can't handle it - but he would try it.
@@ -606,7 +606,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_searchProt
}
catch(css::uno::Exception&) {}
- // look if initialization is neccessary
+ // look if initialization is necessary
css::uno::Reference< css::lang::XInitialization > xInit( xHandler, css::uno::UNO_QUERY );
if (xInit.is())
{
@@ -646,7 +646,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_searchProt
Thats why we implement this method. It return an already existing helper or create a new one otherwise.
@attention The parameter sTarget and nSearchFlags are defaulted to "" and 0!
- Please use it only, if you can be shure, that the realy given by the outside calli!
+ Please use it only, if you can be sure, that the really given by the outside calli!
Mostly it depends from the parameter eHelper is they are required or not.
@param eHelper
diff --git a/framework/source/dispatch/helpagentdispatcher.cxx b/framework/source/dispatch/helpagentdispatcher.cxx
index 31f848cd152b..c1c4e5c9e50b 100644
--- a/framework/source/dispatch/helpagentdispatcher.cxx
+++ b/framework/source/dispatch/helpagentdispatcher.cxx
@@ -217,7 +217,7 @@ void HelpAgentDispatcher::implts_acceptCurrentURL()
aWriteLock.unlock();
// <- SAFE
- // We must make sure that this URL isnt marked as ignored by the user.
+ // We must make sure that this URL isn't marked as ignored by the user.
// Otherwhise the user wont see the corresponding help content in the future.
SvtHelpOptions().resetAgentIgnoreURLCounter(sAcceptedURL);
@@ -285,7 +285,7 @@ void HelpAgentDispatcher::implts_startTimer()
// SAFE ->
// Timer uses pointer to this help agent dispatcher ...
// But normaly we are ref counted. So we must make sure that this
- // dispatcher isnt killed during the timer runs .-)
+ // dispatcher isn't killed during the timer runs .-)
WriteGuard aWriteLock(m_aLock);
m_xSelfHold = css::uno::Reference< css::uno::XInterface >(static_cast< css::frame::XDispatch* >(this), css::uno::UNO_QUERY_THROW);
aWriteLock.unlock();
diff --git a/framework/source/dispatch/interceptionhelper.cxx b/framework/source/dispatch/interceptionhelper.cxx
index 672c41106655..104bf50348f6 100644
--- a/framework/source/dispatch/interceptionhelper.cxx
+++ b/framework/source/dispatch/interceptionhelper.cxx
@@ -97,7 +97,7 @@ css::uno::Reference< css::frame::XDispatch > SAL_CALL InterceptionHelper::queryD
ReadGuard aReadLock(m_aLock);
// a) first search an interceptor, which match to this URL by it's URL pattern registration
- // Note: if it return NULL - it does not mean an empty interceptor list automaticly!
+ // Note: if it return NULL - it does not mean an empty interceptor list automatically!
css::uno::Reference< css::frame::XDispatchProvider > xInterceptor;
InterceptorList::const_iterator pIt = m_lInterceptionRegs.findByPattern(aURL.Complete);
if (pIt != m_lInterceptionRegs.end())
@@ -107,7 +107,7 @@ css::uno::Reference< css::frame::XDispatch > SAL_CALL InterceptionHelper::queryD
// Use first interceptor everytimes.
// Note: it doesn't matter, which direction this helper implementation use to ask interceptor objects.
// Using of member m_aInterceptorList will starts at the beginning everytimes.
- // It depends from the filling operation, in which direction it works realy!
+ // It depends from the filling operation, in which direction it works really!
if (!xInterceptor.is() && m_lInterceptionRegs.size()>0)
{
pIt = m_lInterceptionRegs.begin();
@@ -300,7 +300,7 @@ void SAL_CALL InterceptionHelper::disposing(const css::lang::EventObject& aEvent
css::uno::Reference< css::frame::XDispatchProvider > xThis(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY_THROW);
// We need a full copy of all currently registered interceptor objects.
- // Otherwhise we cant iterate over this vector without the risk, that our iterator will be invalid.
+ // Otherwise we can't iterate over this vector without the risk, that our iterator will be invalid.
// Because this vetor will be influenced by every deregistered interceptor.
InterceptionHelper::InterceptorList aCopy = m_lInterceptionRegs;
diff --git a/framework/source/dispatch/loaddispatcher.cxx b/framework/source/dispatch/loaddispatcher.cxx
index a7f179128678..c5638b4f23cd 100644
--- a/framework/source/dispatch/loaddispatcher.cxx
+++ b/framework/source/dispatch/loaddispatcher.cxx
@@ -128,7 +128,7 @@ css::uno::Any LoadDispatcher::impl_dispatch( const css::util::URL& rURL,
const css::uno::Reference< css::frame::XDispatchResultListener >& xListener )
{
// Attention: May be nobody outside hold such temp. dispatch object alive (because
- // the container in which we resists isnt implemented threadsafe but updated by a timer
+ // the container in which we resists isn't implemented threadsafe but updated by a timer
// and clear our reference ...) we should hold us self alive!
css::uno::Reference< css::uno::XInterface > xThis(static_cast< css::frame::XNotifyingDispatch* >(this), css::uno::UNO_QUERY);
@@ -144,7 +144,7 @@ css::uno::Any LoadDispatcher::impl_dispatch( const css::util::URL& rURL,
{
if (xListener.is())
xListener->dispatchFinished(
- css::frame::DispatchResultEvent(xThis, css::frame::DispatchResultState::DONTKNOW, css::uno::Any())); // DONTKNOW? ... not realy started ... not realy failed :-)
+ css::frame::DispatchResultEvent(xThis, css::frame::DispatchResultState::DONTKNOW, css::uno::Any())); // DONTKNOW? ... not really started ... not really failed :-)
}
css::uno::Reference< css::frame::XFrame > xBaseFrame(m_xOwnerFrame.get(), css::uno::UNO_QUERY);
diff --git a/framework/source/dispatch/mailtodispatcher.cxx b/framework/source/dispatch/mailtodispatcher.cxx
index e7b03f0f8ba0..2a60ab8cf858 100644
--- a/framework/source/dispatch/mailtodispatcher.cxx
+++ b/framework/source/dispatch/mailtodispatcher.cxx
@@ -103,7 +103,7 @@ DEFINE_INIT_SERVICE(MailToDispatcher,
/**
@short standard ctor
- @descr These initialize a new instance of ths class with needed informations for work.
+ @descr These initialize a new instance of this class with needed informations for work.
@param xContext
reference to uno component context
@@ -140,7 +140,7 @@ MailToDispatcher::~MailToDispatcher()
be asked by the generic dispatch mechanism inside framework, if he can handle this
special URL wich match his registration. He can agree by returning of a valid dispatch
instance or disagree by returning <NULL/>.
- We don't create new dispatch instances here realy - we return THIS as result to handle it
+ We don't create new dispatch instances here really - we return THIS as result to handle it
at the same implementation.
@modified 02.05.2002 15:25, as96863
@@ -195,7 +195,7 @@ css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL Mail
void SAL_CALL MailToDispatcher::dispatch( const css::util::URL& aURL ,
const css::uno::Sequence< css::beans::PropertyValue >& lArguments ) throw( css::uno::RuntimeException )
{
- // dispatch() is an [oneway] call ... and may our user release his reference to us immediatly.
+ // dispatch() is an [oneway] call ... and may our user release his reference to us immediately.
// So we should hold us self alive till this call ends.
css::uno::Reference< css::frame::XNotifyingDispatch > xSelfHold(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY);
implts_dispatch(aURL,lArguments);
@@ -222,7 +222,7 @@ void SAL_CALL MailToDispatcher::dispatchWithNotification( const css::util::URL&
const css::uno::Sequence< css::beans::PropertyValue >& lArguments,
const css::uno::Reference< css::frame::XDispatchResultListener >& xListener ) throw( css::uno::RuntimeException )
{
- // This class was designed to die by reference. And if user release his reference to us immediatly after calling this method
+ // This class was designed to die by reference. And if user release his reference to us immediately after calling this method
// we can run into some problems. So we hold us self alive till this method ends.
// Another reason: We can use this reference as source of sending event at the end too.
css::uno::Reference< css::frame::XNotifyingDispatch > xThis(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY);
@@ -256,8 +256,8 @@ void SAL_CALL MailToDispatcher::dispatchWithNotification( const css::util::URL&
@return <TRUE/> if dispatch could be started successfully
Note: Our internal used shell executor doesn't return any state value - so we must
- belive that call was successfully.
- <FALSE/> if neccessary ressource couldn't be created or an exception was thrown.
+ believe that call was successfully.
+ <FALSE/> if necessary ressource couldn't be created or an exception was thrown.
@modified 30.04.2002 14:49, as96863
*/
@@ -306,7 +306,7 @@ sal_Bool MailToDispatcher::implts_dispatch( const css::util::URL&
@param xListener
reference to a valid listener for state events
@param aURL
- URL about listener will be informed, if something occured
+ URL about listener will be informed, if something occurred
@modified 30.04.2002 14:49, as96863
*/
diff --git a/framework/source/dispatch/menudispatcher.cxx b/framework/source/dispatch/menudispatcher.cxx
index 2eef9101cf0a..40f2086cbd4f 100644
--- a/framework/source/dispatch/menudispatcher.cxx
+++ b/framework/source/dispatch/menudispatcher.cxx
@@ -411,7 +411,7 @@ IMPL_LINK( MenuDispatcher, Close_Impl, void*, EMPTYARG )
ATTENTION
- If you miss a test for one of this parameters, contact the autor or add it himself !(?)
+ If you miss a test for one of this parameters, contact the author or add it himself !(?)
But ... look for right testing! See using of this methods!
-----------------------------------------------------------------------------------------------------------------*/
diff --git a/framework/source/dispatch/oxt_handler.cxx b/framework/source/dispatch/oxt_handler.cxx
index 0307f2e9aae4..da9d539b4e33 100644
--- a/framework/source/dispatch/oxt_handler.cxx
+++ b/framework/source/dispatch/oxt_handler.cxx
@@ -175,12 +175,12 @@ Oxt_Handler::~Oxt_Handler()
@short try to load audio file
@descr This method try to load given audio file by URL and play it. We use vcl/Sound class to do that.
- Playing of sound is asynchron everytime.
+ Playing of sound is asynchron every time.
@attention We must hold us alive by ourself ... because we use async. vcl sound player ... but playing is started
in async interface call "dispatch()" too. And caller forget us imediatly. But then our uno ref count
will decreased to 0 and will die. The only solution is to use own reference to our implementation.
- But we do it for realy started jobs only and release it during call back of vcl.
+ But we do it for really started jobs only and release it during call back of vcl.
@seealso class vcl/Sound
@seealso method implts_PlayerNotify()
@@ -250,7 +250,7 @@ void SAL_CALL Oxt_Handler::dispatch( const css::util::URL&
@attention a) We don't need any mutex here ... because we don't use any member!
b) Dont' use internal player instance "m_pPlayer" to detect given sound file!
- It's not neccessary to do that ... and we can use temp. variable to do the same.
+ It's not necessary to do that ... and we can use temp. variable to do the same.
This way is easy - we don't must synchronize it with currently played sounds!
Another reason to do so ... We are a listener on our internal ma_Player object.
If you would call "IsSoundFile()" on this instance, he would call us back and
@@ -267,7 +267,7 @@ void SAL_CALL Oxt_Handler::dispatch( const css::util::URL&
::rtl::OUString SAL_CALL Oxt_Handler::detect( css::uno::Sequence< css::beans::PropertyValue >& lDescriptor )
throw( css::uno::RuntimeException )
{
- // Our default is "nothing". So we can return it, if detection failed or fily type is realy unknown.
+ // Our default is "nothing". So we can return it, if detection failed or fily type is really unknown.
::rtl::OUString sTypeName;
// Analyze given descriptor to find filename or input stream or ...
diff --git a/framework/source/dispatch/servicehandler.cxx b/framework/source/dispatch/servicehandler.cxx
index 7b214da8e1ac..c806fa016c7d 100644
--- a/framework/source/dispatch/servicehandler.cxx
+++ b/framework/source/dispatch/servicehandler.cxx
@@ -102,7 +102,7 @@ DEFINE_INIT_SERVICE(ServiceHandler,
/**
@short standard ctor
- @descr These initialize a new instance of ths class with needed informations for work.
+ @descr These initialize a new instance of this class with needed informations for work.
@param xFactory
reference to uno servicemanager for creation of new services
@@ -139,7 +139,7 @@ ServiceHandler::~ServiceHandler()
be asked by the generic dispatch mechanism inside framework, if he can handle this
special URL wich match his registration. He can agree by returning of a valid dispatch
instance or disagree by returning <NULL/>.
- We don't create new dispatch instances here realy - we return THIS as result to handle it
+ We don't create new dispatch instances here really - we return THIS as result to handle it
at the same implementation.
@modified 02.05.2002 15:25, as96863
@@ -193,7 +193,7 @@ css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL Serv
void SAL_CALL ServiceHandler::dispatch( const css::util::URL& aURL ,
const css::uno::Sequence< css::beans::PropertyValue >& lArguments ) throw( css::uno::RuntimeException )
{
- // dispatch() is an [oneway] call ... and may our user release his reference to us immediatly.
+ // dispatch() is an [oneway] call ... and may our user release his reference to us immediately.
// So we should hold us self alive till this call ends.
css::uno::Reference< css::frame::XNotifyingDispatch > xSelfHold(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY);
implts_dispatch(aURL,lArguments);
@@ -220,7 +220,7 @@ void SAL_CALL ServiceHandler::dispatchWithNotification( const css::util::URL&
const css::uno::Sequence< css::beans::PropertyValue >& lArguments,
const css::uno::Reference< css::frame::XDispatchResultListener >& xListener ) throw( css::uno::RuntimeException )
{
- // This class was designed to die by reference. And if user release his reference to us immediatly after calling this method
+ // This class was designed to die by reference. And if user release his reference to us immediately after calling this method
// we can run into some problems. So we hold us self alive till this method ends.
// Another reason: We can use this reference as source of sending event at the end too.
css::uno::Reference< css::frame::XNotifyingDispatch > xThis(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY);
@@ -292,7 +292,7 @@ css::uno::Reference< css::uno::XInterface > ServiceHandler::implts_dispatch( con
if (!sServiceName.getLength())
return css::uno::Reference< css::uno::XInterface >();
- // If a service doesnt support an optional job executor interface - he can't get
+ // If a service doesn't support an optional job executor interface - he can't get
// any given parameters!
// Because we can't know if we must call createInstanceWithArguments() or XJobExecutor::trigger() ...
@@ -326,7 +326,7 @@ css::uno::Reference< css::uno::XInterface > ServiceHandler::implts_dispatch( con
@param xListener
reference to a valid listener for state events
@param aURL
- URL about listener will be informed, if something occured
+ URL about listener will be informed, if something occurred
@modified 30.04.2002 14:49, as96863
*/
diff --git a/framework/source/fwe/classes/actiontriggerpropertyset.cxx b/framework/source/fwe/classes/actiontriggerpropertyset.cxx
index 78437de31817..1dcc71be10d7 100644
--- a/framework/source/fwe/classes/actiontriggerpropertyset.cxx
+++ b/framework/source/fwe/classes/actiontriggerpropertyset.cxx
@@ -310,7 +310,7 @@ void SAL_CALL ActionTriggerPropertySet::getFastPropertyValue(
if( pInfoHelper == NULL )
{
// Define static member to give structure of properties to baseclass "OPropertySetHelper".
- // "impl_getStaticPropertyDescriptor" is a non exported and static funtion, who will define a static propertytable.
+ // "impl_getStaticPropertyDescriptor" is a non exported and static function, who will define a static propertytable.
// "sal_True" say: Table is sorted by name.
static OPropertyArrayHelper aInfoHelper( impl_getStaticPropertyDescriptor(), sal_True );
pInfoHelper = &aInfoHelper;
diff --git a/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx b/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx
index 23215dbbf84f..eaf5445d1195 100644
--- a/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx
+++ b/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx
@@ -254,7 +254,7 @@ void SAL_CALL ActionTriggerSeparatorPropertySet::getFastPropertyValue(
if( pInfoHelper == NULL )
{
// Define static member to give structure of properties to baseclass "OPropertySetHelper".
- // "impl_getStaticPropertyDescriptor" is a non exported and static funtion, who will define a static propertytable.
+ // "impl_getStaticPropertyDescriptor" is a non exported and static function, who will define a static propertytable.
// "sal_True" say: Table is sorted by name.
static OPropertyArrayHelper aInfoHelper( impl_getStaticPropertyDescriptor(), sal_True );
pInfoHelper = &aInfoHelper;
diff --git a/framework/source/fwe/classes/framelistanalyzer.cxx b/framework/source/fwe/classes/framelistanalyzer.cxx
index b30bda183b40..460d09bb1bb3 100644
--- a/framework/source/fwe/classes/framelistanalyzer.cxx
+++ b/framework/source/fwe/classes/framelistanalyzer.cxx
@@ -90,7 +90,7 @@ FrameListAnalyzer::~FrameListAnalyzer()
We try to get a snapshot of all opened frames, which are part of the desktop frame container.
Of course we can't access frames, which stands outside of this tree.
- But it's neccessary to collect top frames here only. Otherwhise we interpret closing of last
+ But it's necessary to collect top frames here only. Otherwise we interpret closing of last
frame wrong. Further we analyze this list and split into different parts.
E.g. for "CloseDoc" we must know, which frames of the given list referr to the same model.
These frames must be closed then. But all other frames must be untouched.
@@ -126,7 +126,7 @@ void FrameListAnalyzer::impl_analyze()
// ask for the model of the given reference frame.
// It must be compared with the model of every frame of the container
// to sort it into the list of frames with the same model.
- // Supress this step, if right detect mode isn't set.
+ // Suppress this step, if right detect mode isn't set.
css::uno::Reference< css::frame::XModel > xReferenceModel;
if ((m_eDetectMode & E_MODEL) == E_MODEL )
{
@@ -138,7 +138,7 @@ void FrameListAnalyzer::impl_analyze()
}
// check, if the reference frame is in hidden mode.
- // But look, if this analyze step is realy needed.
+ // But look, if this analyze step is really needed.
css::uno::Reference< css::beans::XPropertySet > xSet(m_xReferenceFrame, css::uno::UNO_QUERY);
if (
((m_eDetectMode & E_HIDDEN) == E_HIDDEN) &&
@@ -149,7 +149,7 @@ void FrameListAnalyzer::impl_analyze()
}
// check, if the reference frame includes the backing component.
- // But look, if this analyze step is realy needed.
+ // But look, if this analyze step is really needed.
if (((m_eDetectMode & E_BACKINGCOMPONENT) == E_BACKINGCOMPONENT) && m_xReferenceFrame.is() )
{
try
@@ -169,7 +169,7 @@ void FrameListAnalyzer::impl_analyze()
}
// check, if the reference frame includes the help module.
- // But look, if this analyze step is realy needed.
+ // But look, if this analyze step is really needed.
if (
((m_eDetectMode & E_HELP) == E_HELP ) &&
(m_xReferenceFrame.is() ) &&
@@ -210,7 +210,7 @@ void FrameListAnalyzer::impl_analyze()
// -------------------------------------------------
// a) Is it the special help task?
- // Return it seperated from any return list.
+ // Return it separated from any return list.
if (
((m_eDetectMode & E_HELP) == E_HELP ) &&
(xFrame->getName()==SPECIALTARGET_HELPTASK)
@@ -222,7 +222,7 @@ void FrameListAnalyzer::impl_analyze()
// -------------------------------------------------
// b) Or is includes this task the special backing component?
- // Return it seperated from any return list.
+ // Return it separated from any return list.
// But check if the reference task itself is the backing frame.
// Our user mst know it to decide right.
if ((m_eDetectMode & E_BACKINGCOMPONENT) == E_BACKINGCOMPONENT)
@@ -289,8 +289,8 @@ void FrameListAnalyzer::impl_analyze()
catch(css::lang::IndexOutOfBoundsException)
{
// stop copying if index seams to be wrong.
- // This interface can't realy guarantee its count for multithreaded
- // environments. So it can occure!
+ // This interface can't really guarantee its count for multithreaded
+ // environments. So it can occur!
}
// Pack both lists by using the actual step positions.
diff --git a/framework/source/fwe/dispatch/interaction.cxx b/framework/source/fwe/dispatch/interaction.cxx
index 9b4cd8c98e1f..d68a1677e417 100644
--- a/framework/source/fwe/dispatch/interaction.cxx
+++ b/framework/source/fwe/dispatch/interaction.cxx
@@ -45,7 +45,7 @@ namespace framework{
Why? Normaly interaction should show a filter selection dialog and ask user for his decision.
He can select any filter - then instances of these class will be called by handler ... or user
close dialog without any selection. Then another continuation should be slected by handler to
- abort continuations ... Retrying isn't very usefull here ... I think.
+ abort continuations ... Retrying isn't very useful here ... I think.
@implements XInteractionFilterSelect
@@ -116,7 +116,7 @@ private:
};
//---------------------------------------------------------------------------------------------------------
-// initialize instance with all neccessary informations
+// initialize instance with all necessary informations
// We use it without any further checks on our member then ...!
//---------------------------------------------------------------------------------------------------------
RequestFilterSelect_Impl::RequestFilterSelect_Impl( const ::rtl::OUString& sURL )
@@ -261,7 +261,7 @@ uno::Reference < task::XInteractionRequest > RequestAmbigousFilter::GetRequest()
}
//---------------------------------------------------------------------------------------------------------
-// initialize instance with all neccessary informations
+// initialize instance with all necessary informations
// We use it without any further checks on our member then ...!
//---------------------------------------------------------------------------------------------------------
RequestAmbigousFilter_Impl::RequestAmbigousFilter_Impl( const ::rtl::OUString& sURL ,
diff --git a/framework/source/fwe/helper/titlehelper.cxx b/framework/source/fwe/helper/titlehelper.cxx
index cfeb3fbb745e..0afda09133ee 100644
--- a/framework/source/fwe/helper/titlehelper.cxx
+++ b/framework/source/fwe/helper/titlehelper.cxx
@@ -596,7 +596,7 @@ void TitleHelper::impl_appendModuleName (::rtl::OUStringBuffer& sTitle)
const ::rtl::OUString sUIName = lProps.getUnpackedValueOrDefault (OFFICEFACTORY_PROPNAME_UINAME, ::rtl::OUString());
// An UIname property is an optional value !
- // So please add it to the title in case it does realy exists only.
+ // So please add it to the title in case it does really exists only.
if (sUIName.getLength() > 0)
{
sTitle.appendAscii (" " );
diff --git a/framework/source/fwe/helper/undomanagerhelper.cxx b/framework/source/fwe/helper/undomanagerhelper.cxx
index 2a828ce8eeb7..4e640f47dba9 100644
--- a/framework/source/fwe/helper/undomanagerhelper.cxx
+++ b/framework/source/fwe/helper/undomanagerhelper.cxx
@@ -187,7 +187,7 @@ namespace framework
void cancel( const Reference< XInterface >& i_context )
{
m_caughtException <<= RuntimeException(
- ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Concurrency error: an ealier operation on the stack failed." ) ),
+ ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Concurrency error: an earlier operation on the stack failed." ) ),
i_context
);
m_finishCondition.set();
diff --git a/framework/source/fwe/xml/eventsdocumenthandler.cxx b/framework/source/fwe/xml/eventsdocumenthandler.cxx
index f5f06639435e..cd03dbd63c99 100644
--- a/framework/source/fwe/xml/eventsdocumenthandler.cxx
+++ b/framework/source/fwe/xml/eventsdocumenthandler.cxx
@@ -192,7 +192,7 @@ throw( SAXException, RuntimeException )
if ( m_bEventsStartFound )
{
::rtl::OUString aErrorMessage = getErrorLineString();
- aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'event:events' cannot be embeded into 'event:events'!" ));
+ aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'event:events' cannot be embedded into 'event:events'!" ));
throw SAXException( aErrorMessage, Reference< XInterface >(), Any() );
}
@@ -205,7 +205,7 @@ throw( SAXException, RuntimeException )
if ( !m_bEventsStartFound )
{
::rtl::OUString aErrorMessage = getErrorLineString();
- aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'event:event' must be embeded into element 'event:events'!" ));
+ aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'event:event' must be embedded into element 'event:events'!" ));
throw SAXException( aErrorMessage, Reference< XInterface >(), Any() );
}
diff --git a/framework/source/fwe/xml/saxnamespacefilter.cxx b/framework/source/fwe/xml/saxnamespacefilter.cxx
index 578d6bc3f703..d6572b29d652 100644
--- a/framework/source/fwe/xml/saxnamespacefilter.cxx
+++ b/framework/source/fwe/xml/saxnamespacefilter.cxx
@@ -98,7 +98,7 @@ void SAL_CALL SaxNamespaceFilter::startElement(
try
{
- // apply namespaces to all remaing attributes
+ // apply namespaces to all remaining attributes
for ( ::std::vector< sal_Int16 >::const_iterator i(
aAttributeIndexes.begin());
i != aAttributeIndexes.end(); ++i )
diff --git a/framework/source/fwe/xml/statusbardocumenthandler.cxx b/framework/source/fwe/xml/statusbardocumenthandler.cxx
index b77d6bf33ddf..1c142c4a865e 100644
--- a/framework/source/fwe/xml/statusbardocumenthandler.cxx
+++ b/framework/source/fwe/xml/statusbardocumenthandler.cxx
@@ -242,7 +242,7 @@ throw( SAXException, RuntimeException )
if ( m_bStatusBarStartFound )
{
::rtl::OUString aErrorMessage = getErrorLineString();
- aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'statusbar:statusbar' cannot be embeded into 'statusbar:statusbar'!" ));
+ aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'statusbar:statusbar' cannot be embedded into 'statusbar:statusbar'!" ));
throw SAXException( aErrorMessage, Reference< XInterface >(), Any() );
}
@@ -255,7 +255,7 @@ throw( SAXException, RuntimeException )
if ( !m_bStatusBarStartFound )
{
::rtl::OUString aErrorMessage = getErrorLineString();
- aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'statusbar:statusbaritem' must be embeded into element 'statusbar:statusbar'!" ));
+ aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'statusbar:statusbaritem' must be embedded into element 'statusbar:statusbar'!" ));
throw SAXException( aErrorMessage, Reference< XInterface >(), Any() );
}
diff --git a/framework/source/fwe/xml/toolboxdocumenthandler.cxx b/framework/source/fwe/xml/toolboxdocumenthandler.cxx
index 950b98a3f667..bb63446b5cf0 100644
--- a/framework/source/fwe/xml/toolboxdocumenthandler.cxx
+++ b/framework/source/fwe/xml/toolboxdocumenthandler.cxx
@@ -251,7 +251,7 @@ throw( SAXException, RuntimeException )
if ( m_bToolBarStartFound )
{
::rtl::OUString aErrorMessage = getErrorLineString();
- aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'toolbar:toolbar' cannot be embeded into 'toolbar:toolbar'!" ));
+ aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'toolbar:toolbar' cannot be embedded into 'toolbar:toolbar'!" ));
throw SAXException( aErrorMessage, Reference< XInterface >(), Any() );
}
else
@@ -300,7 +300,7 @@ throw( SAXException, RuntimeException )
if ( !m_bToolBarStartFound )
{
::rtl::OUString aErrorMessage = getErrorLineString();
- aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'toolbar:toolbaritem' must be embeded into element 'toolbar:toolbar'!" ));
+ aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'toolbar:toolbaritem' must be embedded into element 'toolbar:toolbar'!" ));
throw SAXException( aErrorMessage, Reference< XInterface >(), Any() );
}
@@ -401,7 +401,7 @@ throw( SAXException, RuntimeException )
case TB_ATTRIBUTE_STYLE:
{
- // read space seperated item style list
+ // read space separated item style list
::rtl::OUString aTemp = xAttribs->getValueByIndex( n );
sal_Int32 nIndex = 0;
diff --git a/framework/source/fwi/classes/protocolhandlercache.cxx b/framework/source/fwi/classes/protocolhandlercache.cxx
index cb6dcc0971ff..c80762648e74 100644
--- a/framework/source/fwi/classes/protocolhandlercache.cxx
+++ b/framework/source/fwi/classes/protocolhandlercache.cxx
@@ -99,7 +99,7 @@ PatternHash::iterator PatternHash::findPatternKey( const ::rtl::OUString& sURL )
/**
@short initialize static member of class HandlerCache
@descr We use a singleton pattern to implement this handler cache.
- That means it use two static member list to hold all neccessary informations
+ That means it use two static member list to hold all necessary informations
and a ref count mechanism to create/destroy it on demand.
@modified 30.04.2002 11:13, as96863
@@ -113,7 +113,7 @@ HandlerCFGAccess* HandlerCache::m_pConfig = NULL;
/**
@short ctor of the cache of all registered protoco handler
- @descr It tries to open the right configuration package automaticly
+ @descr It tries to open the right configuration package automatically
and fill the internal structures. After that the cache can be
used for read access on this data and perform some search
operations on it.
@@ -198,7 +198,7 @@ sal_Bool HandlerCache::search( const ::rtl::OUString& sURL, ProtocolHandler* pRe
/**
@short search for a registered handler by using an URL struct
- @descr We combine neccessary parts of this struct to a valid URL string
+ @descr We combine necessary parts of this struct to a valid URL string
and call our other search method ...
It's a helper for outside code.
@@ -247,7 +247,7 @@ void HandlerCache::takeOver(HandlerHash* pHandler, PatternHash* pPattern)
/**
@short dtor of the config access class
- @descr It opens the configuration package automaticly by using base class mechanism.
+ @descr It opens the configuration package automatically by using base class mechanism.
After that "read()" method of this class should be called to use it.
@param sPackage
diff --git a/framework/source/fwi/jobs/configaccess.cxx b/framework/source/fwi/jobs/configaccess.cxx
index 66c9306583fe..97d4a176b74a 100644
--- a/framework/source/fwi/jobs/configaccess.cxx
+++ b/framework/source/fwi/jobs/configaccess.cxx
@@ -214,7 +214,7 @@ void ConfigAccess::close()
@descr It's not allowed to safe this c++ (!) reference outside. You have
to use it directly. Further you must use our public lock member m_aLock
to synchronize your code with our internal structures and our interface
- methods. Acquire it before you call cfg() and release it afterwards immediatly.
+ methods. Acquire it before you call cfg() and release it afterwards immediately.
E.g.: ConfigAccess aAccess(...);
ReadGuard aReadLock(aAccess.m_aLock);
diff --git a/framework/source/fwi/threadhelp/lockhelper.cxx b/framework/source/fwi/threadhelp/lockhelper.cxx
index cb52285f087a..6574ced494be 100644
--- a/framework/source/fwi/threadhelp/lockhelper.cxx
+++ b/framework/source/fwi/threadhelp/lockhelper.cxx
@@ -163,7 +163,7 @@ LockHelper::~LockHelper()
we must simulate it as a write access!
@attention If a shareable osl mutex exist, he must be used as twice!
- It's neccessary for some cppu-helper classes ...
+ It's necessary for some cppu-helper classes ...
@seealso method acquireWriteAccess()
@@ -200,7 +200,7 @@ void LockHelper::acquire()
we must simulate it as a write access!
@attention If a shareable osl mutex exist, he must be used as twice!
- It's neccessary for some cppu-helper classes ...
+ It's necessary for some cppu-helper classes ...
@seealso method releaseWriteAccess()
@@ -237,7 +237,7 @@ void LockHelper::release()
We use m_eLockType to differ between all possible "lock-member"!!!
@attention If a shareable osl mutex exist, he must be used as twice!
- It's neccessary for some cppu-helper classes ...
+ It's necessary for some cppu-helper classes ...
@seealso method releaseReadAccess()
@@ -273,7 +273,7 @@ void LockHelper::acquireReadAccess()
We use m_eLockType to differ between all possible "lock-member"!!!
@attention If a shareable osl mutex exist, he must be used as twice!
- It's neccessary for some cppu-helper classes ...
+ It's necessary for some cppu-helper classes ...
@seealso method acquireReadAccess()
@@ -311,7 +311,7 @@ void LockHelper::releaseReadAccess()
We use m_eLockType to differ between all possible "lock-member"!!!
@attention If a shareable osl mutex exist, he must be used as twice!
- It's neccessary for some cppu-helper classes ...
+ It's necessary for some cppu-helper classes ...
@seealso method releaseWriteAccess()
@@ -347,7 +347,7 @@ void LockHelper::acquireWriteAccess()
We use m_eLockType to differ between all possible "lock-member"!!!
@attention If a shareable osl mutex exist, he must be used as twice!
- It's neccessary for some cppu-helper classes ...
+ It's necessary for some cppu-helper classes ...
@seealso method acquireWriteAccess()
@@ -388,10 +388,10 @@ void LockHelper::releaseWriteAccess()
@attention a) Don't call this method if you are not a writer!
Results are not defined then ...
- An upgrade can't be implemented realy ... because acquiring new access
+ An upgrade can't be implemented really ... because acquiring new access
will be the same - there no differences!
b) Without function if m_eLockTyp is different from E_FAIRRWLOCK(!) ...
- because, a mutex don't support it realy.
+ because, a mutex don't support it really.
@seealso -
diff --git a/framework/source/fwi/threadhelp/transactionmanager.cxx b/framework/source/fwi/threadhelp/transactionmanager.cxx
index da3a43c9a287..2cda4d422a53 100644
--- a/framework/source/fwi/threadhelp/transactionmanager.cxx
+++ b/framework/source/fwi/threadhelp/transactionmanager.cxx
@@ -102,7 +102,7 @@ TransactionManager::~TransactionManager()
@short set new working mode
@descr These implementation knows for states of working: E_INIT, E_WORK, E_CLOSING, E_CLOSE
You can step during this ones only from the left to the right side and start at left side again!
- (This is neccessary e.g. for refcounted objects!)
+ (This is necessary e.g. for refcounted objects!)
This call will block till all current existing transactions was finished.
Follow results occure:
E_INIT : All requests on this implementation are refused.
@@ -146,7 +146,7 @@ void TransactionManager::setWorkingMode( EWorkingMode eMode )
}
// Wait for current existing transactions then!
- // (Only neccessary for changing to E_BEFORECLOSE or E_CLOSE! ...
+ // (Only necessary for changing to E_BEFORECLOSE or E_CLOSE! ...
// otherwise; if you wait at setting E_WORK another thrad could finish a acquire-call during our unlock() and wait() call
// ... and we will wait forever here!!!)
// Don't forget to release access mutex before.
@@ -213,7 +213,7 @@ EWorkingMode TransactionManager::getWorkingMode() const
@seealso method unregisterTransaction()
- @param "eMode" ,used to enable/disable throwing exceptions automaticly for rejected calls
+ @param "eMode" ,used to enable/disable throwing exceptions automatically for rejected calls
@param "eReason" ,reason for rejected calls if eMode=E_NOEXCEPTIONS
@return -
@@ -317,7 +317,7 @@ sal_Bool TransactionManager::isCallRejected( ERejectReason& eReason ) const
/*-****************************************************************************************************//**
@short throw any exceptions for rejected calls
- @descr If user whish to use our automaticly exception mode we use this impl-method.
+ @descr If user whish to use our automatically exception mode we use this impl-method.
We check all combinations of eReason and eExceptionMode and throw right exception with some
descriptions for recipient of it.
diff --git a/framework/source/fwi/uielement/constitemcontainer.cxx b/framework/source/fwi/uielement/constitemcontainer.cxx
index 3c0c5c92a06f..c5330a4965dc 100644
--- a/framework/source/fwi/uielement/constitemcontainer.cxx
+++ b/framework/source/fwi/uielement/constitemcontainer.cxx
@@ -434,7 +434,7 @@ throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang
if( pInfoHelper == NULL )
{
// Define static member to give structure of properties to baseclass "OPropertySetHelper".
- // "impl_getStaticPropertyDescriptor" is a non exported and static funtion, who will define a static propertytable.
+ // "impl_getStaticPropertyDescriptor" is a non exported and static function, who will define a static propertytable.
// "sal_True" say: Table is sorted by name.
static ::cppu::OPropertyArrayHelper aInfoHelper( impl_getStaticPropertyDescriptor(), sal_True );
pInfoHelper = &aInfoHelper;
diff --git a/framework/source/fwi/uielement/rootitemcontainer.cxx b/framework/source/fwi/uielement/rootitemcontainer.cxx
index c19aeb365578..a8df8b64215d 100644
--- a/framework/source/fwi/uielement/rootitemcontainer.cxx
+++ b/framework/source/fwi/uielement/rootitemcontainer.cxx
@@ -402,7 +402,7 @@ void SAL_CALL RootItemContainer::getFastPropertyValue( com::sun::star::uno::Any&
if( pInfoHelper == NULL )
{
// Define static member to give structure of properties to baseclass "OPropertySetHelper".
- // "impl_getStaticPropertyDescriptor" is a non exported and static funtion, who will define a static propertytable.
+ // "impl_getStaticPropertyDescriptor" is a non exported and static function, who will define a static propertytable.
// "sal_True" say: Table is sorted by name.
static ::cppu::OPropertyArrayHelper aInfoHelper( impl_getStaticPropertyDescriptor(), sal_True );
pInfoHelper = &aInfoHelper;
diff --git a/framework/source/helper/ocomponentaccess.cxx b/framework/source/helper/ocomponentaccess.cxx
index c24ba52c73c4..5343f8559349 100755
--- a/framework/source/helper/ocomponentaccess.cxx
+++ b/framework/source/helper/ocomponentaccess.cxx
@@ -230,7 +230,7 @@ css::uno::Reference< XComponent > OComponentAccess::impl_getFrameComponent( cons
ATTENTION
- If you miss a test for one of this parameters, contact the autor or add it himself !(?)
+ If you miss a test for one of this parameters, contact the author or add it himself !(?)
But ... look for right testing! See using of this methods!
-----------------------------------------------------------------------------------------------------------------*/
diff --git a/framework/source/helper/ocomponentenumeration.cxx b/framework/source/helper/ocomponentenumeration.cxx
index 6619319e5ef9..a5cdc03362d9 100755
--- a/framework/source/helper/ocomponentenumeration.cxx
+++ b/framework/source/helper/ocomponentenumeration.cxx
@@ -188,7 +188,7 @@ void OComponentEnumeration::impl_resetObject()
ATTENTION
- If you miss a test for one of this parameters, contact the autor or add it himself !(?)
+ If you miss a test for one of this parameters, contact the author or add it himself !(?)
But ... look for right testing! See using of this methods!
-----------------------------------------------------------------------------------------------------------------*/
diff --git a/framework/source/helper/oframes.cxx b/framework/source/helper/oframes.cxx
index 2f9b833d1e7f..b3d96e40d935 100755
--- a/framework/source/helper/oframes.cxx
+++ b/framework/source/helper/oframes.cxx
@@ -420,7 +420,7 @@ void OFrames::impl_appendSequence( Sequence< css::uno::Reference< XFram
ATTENTION
- If you miss a test for one of this parameters, contact the autor or add it himself !(?)
+ If you miss a test for one of this parameters, contact the author or add it himself !(?)
But ... look for right testing! See using of this methods!
-----------------------------------------------------------------------------------------------------------------*/
diff --git a/framework/source/helper/persistentwindowstate.cxx b/framework/source/helper/persistentwindowstate.cxx
index 003039477054..b3c806efee21 100644
--- a/framework/source/helper/persistentwindowstate.cxx
+++ b/framework/source/helper/persistentwindowstate.cxx
@@ -288,7 +288,7 @@ void PersistentWindowState::implst_setWindowStateOnConfig(const css::uno::Refere
::vos::OClearableGuard aSolarLock(Application::GetSolarMutex());
Window* pWindow = VCLUnoHelper::GetWindow(xWindow);
- // check for system window is neccessary to guarantee correct pointer cast!
+ // check for system window is necessary to guarantee correct pointer cast!
if (
(pWindow ) &&
(pWindow->IsSystemWindow())
@@ -326,7 +326,7 @@ void PersistentWindowState::implst_setWindowStateOnWindow(const css::uno::Refere
if (!pWindow)
return;
- // check for system and work window - its neccessary to guarantee correct pointer cast!
+ // check for system and work window - its necessary to guarantee correct pointer cast!
sal_Bool bSystemWindow = pWindow->IsSystemWindow();
sal_Bool bWorkWindow = (pWindow->GetType() == WINDOW_WORKWINDOW);
diff --git a/framework/source/helper/statusindicatorfactory.cxx b/framework/source/helper/statusindicatorfactory.cxx
index d086f414f82d..05d38dcd00bf 100644
--- a/framework/source/helper/statusindicatorfactory.cxx
+++ b/framework/source/helper/statusindicatorfactory.cxx
@@ -269,7 +269,7 @@ void StatusIndicatorFactory::end(const css::uno::Reference< css::task::XStatusIn
else
{
// Our stack is empty. No further child exists.
- // Se we must "end" our progress realy
+ // Se we must "end" our progress really
if (xProgress.is())
xProgress->end();
// Now hide the progress bar again.
@@ -367,7 +367,7 @@ void StatusIndicatorFactory::implts_makeParentVisibleIfAllowed()
xParentWindow = xPluggWindow;
// dont disturb user in case he put the loading document into the background!
- // Supress any setVisible() or toFront() call in case the initial show was
+ // Suppress any setVisible() or toFront() call in case the initial show was
// already made.
css::uno::Reference< css::awt::XWindow2 > xVisibleCheck(xParentWindow, css::uno::UNO_QUERY);
sal_Bool bIsVisible = sal_False;
@@ -394,11 +394,11 @@ void StatusIndicatorFactory::implts_makeParentVisibleIfAllowed()
}
}
- // Ok the window should be made visible ... becuase it isnt currently visible.
+ // Ok the window should be made visible ... because it isn't currently visible.
// BUT ..!
// We need a Hack for our applications: They get her progress from the frame directly
// on saving documents. Because there is no progress set on the MediaDescriptor.
- // But that's wrong. In case the document was opened hidden, they shouldnt use any progress .-(
+ // But that's wrong. In case the document was opened hidden, they shouldn't use any progress .-(
// They only possible workaround: dont show the parent window here, if the document was opened hidden.
sal_Bool bHiddenDoc = sal_False;
if (xFrame.is())
@@ -421,7 +421,7 @@ void StatusIndicatorFactory::implts_makeParentVisibleIfAllowed()
return;
// OK: The document was not opened in hidden mode ...
- // and the window isnt already visible.
+ // and the window isn't already visible.
// Show it and bring it to front.
// But before we have to be sure, that our internal used helper progress
// is visible too.
diff --git a/framework/source/helper/uiconfigelementwrapperbase.cxx b/framework/source/helper/uiconfigelementwrapperbase.cxx
index 8c068d84a1f3..f251626a7973 100644
--- a/framework/source/helper/uiconfigelementwrapperbase.cxx
+++ b/framework/source/helper/uiconfigelementwrapperbase.cxx
@@ -432,7 +432,7 @@ void SAL_CALL UIConfigElementWrapperBase::getFastPropertyValue( com::sun::star::
if( pInfoHelper == NULL )
{
// Define static member to give structure of properties to baseclass "OPropertySetHelper".
- // "impl_getStaticPropertyDescriptor" is a non exported and static funtion, who will define a static propertytable.
+ // "impl_getStaticPropertyDescriptor" is a non exported and static function, who will define a static propertytable.
// "sal_True" say: Table is sorted by name.
static ::cppu::OPropertyArrayHelper aInfoHelper( impl_getStaticPropertyDescriptor(), sal_True );
pInfoHelper = &aInfoHelper;
diff --git a/framework/source/helper/uielementwrapperbase.cxx b/framework/source/helper/uielementwrapperbase.cxx
index 1295a208555e..a6957000d874 100644
--- a/framework/source/helper/uielementwrapperbase.cxx
+++ b/framework/source/helper/uielementwrapperbase.cxx
@@ -220,7 +220,7 @@ void SAL_CALL UIElementWrapperBase::getFastPropertyValue( com::sun::star::uno::A
if( pInfoHelper == NULL )
{
// Define static member to give structure of properties to baseclass "OPropertySetHelper".
- // "impl_getStaticPropertyDescriptor" is a non exported and static funtion, who will define a static propertytable.
+ // "impl_getStaticPropertyDescriptor" is a non exported and static function, who will define a static propertytable.
// "sal_True" say: Table is sorted by name.
static ::cppu::OPropertyArrayHelper aInfoHelper( impl_getStaticPropertyDescriptor(), sal_True );
pInfoHelper = &aInfoHelper;
diff --git a/framework/source/helper/vclstatusindicator.cxx b/framework/source/helper/vclstatusindicator.cxx
index 025e360699a5..db1b578a554d 100644
--- a/framework/source/helper/vclstatusindicator.cxx
+++ b/framework/source/helper/vclstatusindicator.cxx
@@ -67,7 +67,7 @@ VCLStatusIndicator::VCLStatusIndicator(const css::uno::Reference< css::lang::XMu
{
if (!m_xParentWindow.is())
throw css::uno::RuntimeException(
- ::rtl::OUString::createFromAscii("Cant work without a parent window!"),
+ ::rtl::OUString::createFromAscii("Can't work without a parent window!"),
static_cast< css::task::XStatusIndicator* >(this));
}
diff --git a/framework/source/inc/accelerators/acceleratorcache.hxx b/framework/source/inc/accelerators/acceleratorcache.hxx
index c5710feba3cd..cddec3f3a73e 100644
--- a/framework/source/inc/accelerators/acceleratorcache.hxx
+++ b/framework/source/inc/accelerators/acceleratorcache.hxx
@@ -58,7 +58,7 @@ namespace framework
copy-on-write ... How? Do the following:
*/
-class AcceleratorCache : public ThreadHelpBase // attention! Must be the first base class to guarentee right initialize lock ...
+class AcceleratorCache : public ThreadHelpBase // attention! Must be the first base class to guarantee right initialize lock ...
{
//______________________________________
// const, types
diff --git a/framework/source/inc/accelerators/acceleratorconfiguration.hxx b/framework/source/inc/accelerators/acceleratorconfiguration.hxx
index ea0dcefbe1f0..792031248938 100644
--- a/framework/source/inc/accelerators/acceleratorconfiguration.hxx
+++ b/framework/source/inc/accelerators/acceleratorconfiguration.hxx
@@ -87,7 +87,7 @@ typedef PresetHandler AcceleratorPresets;
/**
implements a read/write access to the accelerator configuration.
*/
-class XMLBasedAcceleratorConfiguration : protected ThreadHelpBase // attention! Must be the first base class to guarentee right initialize lock ...
+class XMLBasedAcceleratorConfiguration : protected ThreadHelpBase // attention! Must be the first base class to guarantee right initialize lock ...
, public IStorageListener
, public ::cppu::OWeakObject
, public css::lang::XTypeProvider
@@ -305,7 +305,7 @@ class XMLBasedAcceleratorConfiguration : protected ThreadHelpBase
};
-class XCUBasedAcceleratorConfiguration : protected ThreadHelpBase // attention! Must be the first base class to guarentee right initialize lock ...
+class XCUBasedAcceleratorConfiguration : protected ThreadHelpBase // attention! Must be the first base class to guarantee right initialize lock ...
, public ::cppu::OWeakObject
, public css::lang::XTypeProvider
, public css::util::XChangesListener
diff --git a/framework/source/inc/accelerators/keymapping.hxx b/framework/source/inc/accelerators/keymapping.hxx
index 4d696d124620..eafefd069eac 100644
--- a/framework/source/inc/accelerators/keymapping.hxx
+++ b/framework/source/inc/accelerators/keymapping.hxx
@@ -147,7 +147,7 @@ class KeyMapping
if this method returns sal_True!
@return [boolean]
- sal_True if convertion was successfully.
+ sal_True if conversion was successfully.
*/
sal_Bool impl_st_interpretIdentifierAsPureKeyCode(const ::rtl::OUString& sIdentifier,
sal_uInt16& rCode );
diff --git a/framework/source/inc/accelerators/presethandler.hxx b/framework/source/inc/accelerators/presethandler.hxx
index 6e6f2c5ab3b3..242c75d40dde 100644
--- a/framework/source/inc/accelerators/presethandler.hxx
+++ b/framework/source/inc/accelerators/presethandler.hxx
@@ -71,7 +71,7 @@ namespace framework
"menubar" "default" "menubar"
*/
-class PresetHandler : private ThreadHelpBase // attention! Must be the first base class to guarentee right initialize lock ...
+class PresetHandler : private ThreadHelpBase // attention! Must be the first base class to guarantee right initialize lock ...
{
//-------------------------------------------
// const
@@ -109,7 +109,7 @@ class PresetHandler : private ThreadHelpBase // attention! Must be the first bas
//---------------------------------------
/** @short because a concurrent access to the same storage from different implementations
- isnt supported, we have to share it with others.
+ isn't supported, we have to share it with others.
@descr This struct makes it possible to use any shared storage
in combination with a SingletonRef<> template ...
@@ -176,7 +176,7 @@ class PresetHandler : private ThreadHelpBase // attention! Must be the first bas
::salhelper::SingletonRef< TSharedStorages > m_aSharedStorages;
//---------------------------------------
- /** @short if we run in document mode, we cant use the global root storages!
+ /** @short if we run in document mode, we can't use the global root storages!
We have to use a special document storage explicitly. */
StorageHolder m_lDocumentStorages;
@@ -245,7 +245,7 @@ class PresetHandler : private ThreadHelpBase // attention! Must be the first bas
@descr Because this class should be useable in combination
with ::salhelper::SingletonRef template this ctor
- cant have any special parameters!
+ can't have any special parameters!
@param xSMGR
points to an uno service manager, which is used internaly
@@ -337,7 +337,7 @@ class PresetHandler : private ThreadHelpBase // attention! Must be the first bas
and we use e.g. "/en-US/default.xml" internaly.
If no localization exists for this preset set, this class
- will work in default mode - means "no locale" - automaticly.
+ will work in default mode - means "no locale" - automatically.
e.g. "/default.xml"
@throw com::sun::star::uno::RuntimeException(!)
@@ -397,7 +397,7 @@ class PresetHandler : private ThreadHelpBase // attention! Must be the first bas
@descr Note: Targets resist inside the user
layer. Normaly they are opened in read/write mode.
- But it will be opened readonly automaticly if that isnt possible
+ But it will be opened readonly automatically if that isn't possible
(may be the file is write protected on the system ...).
@param sTarget
@@ -414,12 +414,12 @@ class PresetHandler : private ThreadHelpBase // attention! Must be the first bas
sal_Bool bCreateIfMissing);
//---------------------------------------
- /** @short do anything which is neccessary to flush all changes
+ /** @short do anything which is necessary to flush all changes
back to disk.
@descr We have to call commit on all cached sub storages on the
path from the root storage upside down to the working storage
- (which are not realy used, but required to be holded alive!).
+ (which are not really used, but required to be holded alive!).
*/
void commitUserChanges();
diff --git a/framework/source/inc/accelerators/storageholder.hxx b/framework/source/inc/accelerators/storageholder.hxx
index c3a4392e2641..29418c7425c5 100644
--- a/framework/source/inc/accelerators/storageholder.hxx
+++ b/framework/source/inc/accelerators/storageholder.hxx
@@ -66,7 +66,7 @@ namespace framework
/**
TODO document me
*/
-class StorageHolder : private ThreadHelpBase // attention! Must be the first base class to guarentee right initialize lock ...
+class StorageHolder : private ThreadHelpBase // attention! Must be the first base class to guarantee right initialize lock ...
{
//-------------------------------------------
// types
@@ -207,7 +207,7 @@ class StorageHolder : private ThreadHelpBase // attention! Must be the first bas
@descr First this method try to open the requested sub element
using the given open mode. If it failed there is second step,
which tries to do the same again ... but removing a might existing
- WRITE flag from the open mode. The user can supress this fallback
+ WRITE flag from the open mode. The user can suppress this fallback
handling by setting the parameter bAllowFallback to sal_False.
@param xBaseStorage
diff --git a/framework/source/inc/dispatch/loaddispatcher.hxx b/framework/source/inc/dispatch/loaddispatcher.hxx
index 4f8c68e181af..e37cd44eab70 100644
--- a/framework/source/inc/dispatch/loaddispatcher.hxx
+++ b/framework/source/inc/dispatch/loaddispatcher.hxx
@@ -87,7 +87,7 @@ class LoadDispatcher : private ThreadHelpBase
public:
- /** @short creates a new instance and initialize it with all neccessary parameters.
+ /** @short creates a new instance and initialize it with all necessary parameters.
@descr Every instance of such LoadDispatcher can be used for the specified context only.
That means: It can be used to load any further requested content into tzhe here(!)
@@ -104,7 +104,7 @@ class LoadDispatcher : private ThreadHelpBase
which define such target.
@param nSearchFlags
- used in case sTargetFrame isnt a special one.
+ used in case sTargetFrame isn't a special one.
*/
LoadDispatcher(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR ,
const css::uno::Reference< css::frame::XFrame >& xOwnerFrame ,
diff --git a/framework/source/inc/dispatch/windowcommanddispatch.hxx b/framework/source/inc/dispatch/windowcommanddispatch.hxx
index 0b73ef4c24cc..d3a45adef022 100644
--- a/framework/source/inc/dispatch/windowcommanddispatch.hxx
+++ b/framework/source/inc/dispatch/windowcommanddispatch.hxx
@@ -92,7 +92,7 @@ class WindowCommandDispatch : private ThreadHelpBase
/// knows the frame, where we dispatch our commands as weak reference
css::uno::WeakReference< css::frame::XFrame > m_xFrame;
- /// knows the VCL window (where the hard coded commands occured) as weak XWindow reference
+ /// knows the VCL window (where the hard coded commands occurred) as weak XWindow reference
css::uno::WeakReference< css::awt::XWindow > m_xWindow;
//___________________________________________
diff --git a/framework/source/inc/loadenv/actionlockguard.hxx b/framework/source/inc/loadenv/actionlockguard.hxx
index 421a6876cd24..47f72d98e150 100644
--- a/framework/source/inc/loadenv/actionlockguard.hxx
+++ b/framework/source/inc/loadenv/actionlockguard.hxx
@@ -77,7 +77,7 @@ class ActionLockGuard : private ThreadHelpBase
//---------------------------------------
/** @short default ctor to initialize a "non working guard".
- @descr That can be usefull in cases, where no resource still exists,
+ @descr That can be useful in cases, where no resource still exists,
but will be available next time. Then this guard can be used
in a mode "use guard for more then one resources".
*/
@@ -88,7 +88,7 @@ class ActionLockGuard : private ThreadHelpBase
}
//---------------------------------------
- /** @short initialize new guard instance and lock the given resource immediatly.
+ /** @short initialize new guard instance and lock the given resource immediately.
@param xLock
points to the outside resource, which should be locked.
diff --git a/framework/source/inc/loadenv/loadenv.hxx b/framework/source/inc/loadenv/loadenv.hxx
index d1929ddfe67b..07c7d4cb8b0e 100644
--- a/framework/source/inc/loadenv/loadenv.hxx
+++ b/framework/source/inc/loadenv/loadenv.hxx
@@ -210,7 +210,7 @@ class LoadEnv : private ThreadHelpBase
/** @short holds the information about the finished load process.
- @descr The content of m_xTargetFrame cant be used as valid indicator,
+ @descr The content of m_xTargetFrame can't be used as valid indicator,
(in case the micht existing old document was reactivated)
we must hold the result of the load process explicitly.
*/
@@ -241,7 +241,7 @@ class LoadEnv : private ThreadHelpBase
@throw Currently there is no reason to throw such exception!
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
LoadEnv(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR)
throw(LoadEnvException, css::uno::RuntimeException);
@@ -303,10 +303,10 @@ class LoadEnv : private ThreadHelpBase
This value is set to a default value "UNKNWON_CONTENT", which force
an internal check, if this content is loadable or not.
But may this check was already made by the caller of this method and
- passing this information to this LoadEnv instance can supress this
+ passing this information to this LoadEnv instance can suppress this
might expensive check.
- That can be usefull in case this information is needed outside too,
- to decide if its neccessary to create some resources for this load
+ That can be useful in case this information is needed outside too,
+ to decide if its necessary to create some resources for this load
request ... or to reject the request imidiatly if it seems to be not
loadable in general.
@@ -315,7 +315,7 @@ class LoadEnv : private ThreadHelpBase
The real reason, a suitable message and ID will be given here immidiatly.
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
virtual void initializeLoading(const ::rtl::OUString& sURL ,
const css::uno::Sequence< css::beans::PropertyValue >& lMediaDescriptor,
@@ -335,7 +335,7 @@ class LoadEnv : private ThreadHelpBase
a frame with a controller/model inside can be possible. For loading
of a "non visible component" only an information about a successfully start
can be provided.
- Further it cant be guranteed, that the internal process runs synchronous.
+ Further it can't be guaranteed, that the internal process runs synchronous.
Thats why we preferr using of specialized methods afterwards e.g. to:
- wait till the internal job will be finished
and get the results
@@ -346,7 +346,7 @@ class LoadEnv : private ThreadHelpBase
The reason, a suitable message and ID will be given here immidiatly.
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
virtual void startLoading()
throw(LoadEnvException, css::uno::RuntimeException);
@@ -371,7 +371,7 @@ class LoadEnv : private ThreadHelpBase
@throw ... currently not used :-)
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
virtual sal_Bool waitWhileLoading(sal_uInt32 nTimeout = 0)
throw(LoadEnvException, css::uno::RuntimeException);
@@ -477,7 +477,7 @@ class LoadEnv : private ThreadHelpBase
In such cases a RuntimeException would be to hard for the outside code :-)
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
void impl_reactForLoadingState()
throw(LoadEnvException, css::uno::RuntimeException);
@@ -498,12 +498,12 @@ class LoadEnv : private ThreadHelpBase
@attention Not all types we know, are supported by filters. So it does not
indicates an error, if no suitable filter(loader etcpp will be found
for a type. But a type must be detected for the specified content.
- Otherwhise its an error and loading cant be finished successfully.
+ Otherwise its an error and loading can't be finished successfully.
@throw A LoadEnvException if detection failed.
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
void impl_detectTypeAndFilter()
throw(LoadEnvException, css::uno::RuntimeException);
@@ -531,7 +531,7 @@ class LoadEnv : private ThreadHelpBase
for the detected content type (must be done before by calling
impl_detectTypeAndFilter()). Because such handler does not depend
from a real target frame, location of such frame will be
- supressed here.
+ suppressed here.
In case handle failed all new created resources will be
removed before a suitable exception is thrown.
(Excepting a RuntimeException occure!)
@@ -541,7 +541,7 @@ class LoadEnv : private ThreadHelpBase
@throw A LoadEnvException if handling failed.
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
sal_Bool impl_handleContent()
throw(LoadEnvException, css::uno::RuntimeException);
@@ -562,7 +562,7 @@ class LoadEnv : private ThreadHelpBase
@throw A LoadEnvException if loading failed.
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
sal_Bool impl_loadContent()
throw(LoadEnvException, css::uno::RuntimeException);
@@ -590,7 +590,7 @@ class LoadEnv : private ThreadHelpBase
In such cases a RuntimeException would be to hard for the outside code :-)
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
css::uno::Reference< css::frame::XFrame > impl_searchAlreadyLoaded()
throw(LoadEnvException, css::uno::RuntimeException);
@@ -623,7 +623,7 @@ class LoadEnv : private ThreadHelpBase
In such cases a RuntimeException would be to hard for the outside code :-)
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
css::uno::Reference< css::frame::XFrame > impl_searchRecycleTarget()
throw(LoadEnvException, css::uno::RuntimeException);
@@ -631,11 +631,11 @@ class LoadEnv : private ThreadHelpBase
//_______________________________________
/** @short because showing of a frame is needed more then once ...
- it's implemented as an seperate method .-)
+ it's implemented as an separate method .-)
@descr Note: Showing of a frame is bound to a special feature ...
a) If we recycle any existing frame, we must bring it to front.
- Showing of such frame isnt needed realy .. because we recycle
+ Showing of such frame isn't needed really .. because we recycle
visible frames only!
b) If the document was already shown (e.g. by our progress implementation)
we do nothing here. The reason behind: The document was already shown ..
@@ -662,7 +662,7 @@ class LoadEnv : private ThreadHelpBase
/** @short checks weather a frame is already used for another load request or not.
- @descr Such frames cant be used for our "recycle feature"!
+ @descr Such frames can't be used for our "recycle feature"!
@param xFrame
the frame, which should be checked.
diff --git a/framework/source/inc/loadenv/loadenvexception.hxx b/framework/source/inc/loadenv/loadenvexception.hxx
index cd416e8a382a..8cb5d1c84512 100644
--- a/framework/source/inc/loadenv/loadenvexception.hxx
+++ b/framework/source/inc/loadenv/loadenvexception.hxx
@@ -53,7 +53,7 @@ namespace css = ::com::sun::star;
load environment only.
@descr Of course outside code must wrapp it, to transport
- the occured information to its caller.
+ the occurred information to its caller.
@author as96863
*/
@@ -106,11 +106,11 @@ class LoadEnvException
ID_COULD_NOT_REACTIVATE_CONTROLLER,
/** @short inidcates an already running load operation. Of yourse the same
- instance cant be used for multiple load requests at the same time.
+ instance can't be used for multiple load requests at the same time.
*/
ID_STILL_RUNNING,
- /** @short sometiems we cant specify the reason for an error, because we
+ /** @short sometiems we can't specify the reason for an error, because we
was interrupted by an called code in an unexpected way ...
*/
ID_GENERAL_ERROR
@@ -128,7 +128,7 @@ class LoadEnvException
/** @short An ID, which make this exception unique among others. */
sal_Int32 m_nID;
- /** @short Contains the original exception, if any occured. */
+ /** @short Contains the original exception, if any occurred. */
css::uno::Any m_exOriginal;
/** TODO
@@ -144,7 +144,7 @@ class LoadEnvException
/** @short initialize a new instance with an ID.
@descr Some other items of this exception
(e.g. a suitable message) will be generated
- automaticly.
+ automatically.
@param nID
One of the defined const IDs of this class.
@@ -160,7 +160,7 @@ class LoadEnvException
an wrap a detected exception into this one.
@descr Some other items of this exception
(e.g. a suitable message) will be generated
- automaticly.
+ automatically.
@param nID
One of the defined const IDs of this class.
diff --git a/framework/source/inc/pattern/frame.hxx b/framework/source/inc/pattern/frame.hxx
index 00b2416263b0..ad940f31f48b 100644
--- a/framework/source/inc/pattern/frame.hxx
+++ b/framework/source/inc/pattern/frame.hxx
@@ -72,8 +72,8 @@ inline css::uno::Reference< css::frame::XModel > extractFrameModel(const css::un
@descr It try to close the given resource first.
Delegating of the ownership can be influenced from
- outside. If closing isnt possible (because the
- needed interface isnt available) dispose() is tried instead.
+ outside. If closing isn't possible (because the
+ needed interface isn't available) dispose() is tried instead.
Al possible exception are handled inside.
So the user of this method has to look for the return value only.
@@ -111,10 +111,10 @@ inline sal_Bool closeIt(const css::uno::Reference< css::uno::XInterface >& xReso
catch(const css::lang::DisposedException&)
{} // disposed is closed is ...
catch(const css::uno::RuntimeException&)
- { throw; } // shouldnt be suppressed!
+ { throw; } // shouldn't be suppressed!
catch(const css::uno::Exception&)
{ return sal_False; } // ??? We defined to return a boolen value instead of throwing exceptions ...
- // (OK: RuntimeExceptions shouldnt be catched inside the core ..)
+ // (OK: RuntimeExceptions shouldn't be catched inside the core ..)
return sal_True;
}
diff --git a/framework/source/inc/pattern/storages.hxx b/framework/source/inc/pattern/storages.hxx
index 2ee2bb92996a..f34369dd5053 100644
--- a/framework/source/inc/pattern/storages.hxx
+++ b/framework/source/inc/pattern/storages.hxx
@@ -62,7 +62,7 @@ css::uno::Reference< css::embed::XStorage > createTempStorageBasedOnFolder(const
const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR ,
sal_Bool bReadOnly)
{
- // error during opening the temp file isnt realy a runtime error -> handle it gracefully
+ // error during opening the temp file isn't really a runtime error -> handle it gracefully
css::uno::Reference< css::io::XOutputStream > xTempFile(xSMGR->createInstance(SERVICENAME_TEMPFILE), css::uno::UNO_QUERY);
if (!xTempFile.is())
return css::uno::Reference< css::embed::XStorage >();
diff --git a/framework/source/inc/pattern/window.hxx b/framework/source/inc/pattern/window.hxx
index b188159f32eb..b7f491b70016 100644
--- a/framework/source/inc/pattern/window.hxx
+++ b/framework/source/inc/pattern/window.hxx
@@ -74,7 +74,7 @@ static ::rtl::OUString getWindowState(const css::uno::Reference< css::awt::XWind
ByteString sWindowState;
Window* pWindow = VCLUnoHelper::GetWindow(xWindow);
- // check for system window is neccessary to guarantee correct pointer cast!
+ // check for system window is necessary to guarantee correct pointer cast!
if (pWindow!=NULL && pWindow->IsSystemWindow())
{
sal_uLong nMask = WINDOWSTATE_MASK_ALL;
@@ -102,7 +102,7 @@ static void setWindowState(const css::uno::Reference< css::awt::XWindow >& xWind
::vos::OClearableGuard aSolarGuard(Application::GetSolarMutex());
Window* pWindow = VCLUnoHelper::GetWindow(xWindow);
- // check for system window is neccessary to guarantee correct pointer cast!
+ // check for system window is necessary to guarantee correct pointer cast!
if (
(pWindow ) &&
(pWindow->IsSystemWindow()) &&
@@ -128,8 +128,8 @@ static ::sal_Bool isTopWindow(const css::uno::Reference< css::awt::XWindow >& xW
if (xTopWindowCheck.is())
{
// Note: Toolkit interface XTopWindow sometimes is used by real VCL-child-windows also .-)
- // Be sure that these window is realy a "top system window".
- // Attention ! Checking Window->GetParent() isnt the right approach here.
+ // Be sure that these window is really a "top system window".
+ // Attention ! Checking Window->GetParent() isn't the right approach here.
// Because sometimes VCL create "implicit border windows" as parents even we created
// a simple XWindow using the toolkit only .-(
::vos::OGuard aSolarLock(&Application::GetSolarMutex());
diff --git a/framework/source/interaction/quietinteraction.cxx b/framework/source/interaction/quietinteraction.cxx
index dbf823a17175..24fbd14a1c02 100644
--- a/framework/source/interaction/quietinteraction.cxx
+++ b/framework/source/interaction/quietinteraction.cxx
@@ -94,7 +94,7 @@ QuietInteraction::QuietInteraction()
void SAL_CALL QuietInteraction::handle( const css::uno::Reference< css::task::XInteractionRequest >& xRequest ) throw( css::uno::RuntimeException )
{
- // safe the request for outside analyzing everytime!
+ // safe the request for outside analyzing every time!
css::uno::Any aRequest = xRequest->getRequest();
/* SAFE { */
WriteGuard aWriteLock(m_aLock);
@@ -138,7 +138,7 @@ void SAL_CALL QuietInteraction::handle( const css::uno::Reference< css::task::XI
{
if (xFilter.is())
{
- // user selected filter wins everytime!
+ // user selected filter wins every time!
xFilter->setFilter( aAmbigousFilterRequest.SelectedFilter );
xFilter->select();
}
diff --git a/framework/source/jobs/helponstartup.cxx b/framework/source/jobs/helponstartup.cxx
index a6d6ad282d91..5c8799b336ce 100644
--- a/framework/source/jobs/helponstartup.cxx
+++ b/framework/source/jobs/helponstartup.cxx
@@ -166,7 +166,7 @@ css::uno::Any SAL_CALL HelpOnStartup::execute(const css::uno::Sequence< css::bea
return css::uno::Any();
// check current state of the help module
- // a) help isnt open => show default page for the detected module
+ // a) help isn't open => show default page for the detected module
// b) help shows any other default page(!) => show default page for the detected module
// c) help shows any other content => do nothing (user travelled to any other content and leaved the set of default pages)
::rtl::OUString sCurrentHelpURL = its_getCurrentHelpURL();
@@ -227,7 +227,7 @@ void SAL_CALL HelpOnStartup::disposing(const css::lang::EventObject& aEvent)
// check for right environment.
// If its not a DocumentEvent, which triggered this job,
- // we cant work correctly! => return immediatly and do nothing
+ // we can't work correctly! => return immediately and do nothing
::rtl::OUString sEnvType = lEnvironment.getUnpackedValueOrDefault(PROP_ENVTYPE, ::rtl::OUString());
if (!sEnvType.equals(ENVTYPE_DOCUMENTEVENT))
return ::rtl::OUString();
diff --git a/framework/source/jobs/job.cxx b/framework/source/jobs/job.cxx
index b9f7d483dfba..bbe212da67d0 100644
--- a/framework/source/jobs/job.cxx
+++ b/framework/source/jobs/job.cxx
@@ -226,7 +226,7 @@ void Job::execute( /*IN*/ const css::uno::Sequence< css::beans::NamedValue >& lD
css::uno::Reference< css::task::XJob > xSJob;
css::uno::Sequence< css::beans::NamedValue > lJobArgs = impl_generateJobArgs(lDynamicArgs);
- // It's neccessary to hold us self alive!
+ // It's necessary to hold us self alive!
// Otherwhise we might die by ref count ...
css::uno::Reference< css::task::XJobListener > xThis(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY);
@@ -426,7 +426,7 @@ css::uno::Sequence< css::beans::NamedValue > Job::impl_generateJobArgs( /*IN*/ c
}
// get the configuration data from the job data container ... if possible
- // Means: if this job has any configuration data. Note: only realy
+ // Means: if this job has any configuration data. Note: only really
// filled lists will be set to the return structure at the end of this method.
css::uno::Sequence< css::beans::NamedValue > lConfigArgs ;
css::uno::Sequence< css::beans::NamedValue > lJobConfigArgs;
@@ -477,8 +477,8 @@ css::uno::Sequence< css::beans::NamedValue > Job::impl_generateJobArgs( /*IN*/ c
@short analyze the given job result and change the job configuration
@descr Note: Some results can be handled only, if this job has a valid configuration!
For "not configured jobs" (means pure services) they can be ignored.
- But these cases are handled by our JobData member. We can call it everytime.
- It does the right things automaticly. E.g. if the job has no configuration ...
+ But these cases are handled by our JobData member. We can call it every time.
+ It does the right things automatically. E.g. if the job has no configuration ...
it does nothing during setJobConfig()!
@param aResult
@@ -546,7 +546,7 @@ void Job::impl_reactForJobResult( /*IN*/ const css::uno::Any& aResult )
at the global desktop instance. That will hold us
alive and additional we get the information, if the
office whish to shutdown. If then an internal job
- is running we will have the chance to supress that
+ is running we will have the chance to suppress that
by throwing a veto exception. If our internal wrapped
job finished his work, we can release this listener
connection.
@@ -707,7 +707,7 @@ void SAL_CALL Job::jobFinished( /*IN*/ const css::uno::Reference< css::task::XAs
/* SAFE { */
WriteGuard aWriteLock(m_aLock);
- // It's neccessary to check this.
+ // It's necessary to check this.
// May this job was cancelled by any other reason
// some milliseconds before. :-)
if (m_xJob.is() && m_xJob==xJob)
@@ -722,7 +722,7 @@ void SAL_CALL Job::jobFinished( /*IN*/ const css::uno::Reference< css::task::XAs
}
// And let the start method "execute()" finishing it's job.
- // But do it everytime. So any outside blocking code can finish
+ // But do it every time. So any outside blocking code can finish
// his work too.
m_aAsyncWait.set();
@@ -787,7 +787,7 @@ void SAL_CALL Job::queryTermination( /*IN*/ const css::lang::EventObject& ) thro
Then we had not throwed a veto exception. But now we must agree with this situation and break
all our internal processes. Its not a good idea to mark this instance as non startable any longer
inside queryTermination() if no job was unning too. Because that would disable this job and may
- the office does not realy shutdownm, because another listener has thrown the suitable exception.
+ the office does not really shutdownm, because another listener has thrown the suitable exception.
@param aEvent
describes the broadcaster and must be the desktop instance
diff --git a/framework/source/jobs/jobdata.cxx b/framework/source/jobs/jobdata.cxx
index defdf4fff0a6..85d422a36f0f 100644
--- a/framework/source/jobs/jobdata.cxx
+++ b/framework/source/jobs/jobdata.cxx
@@ -88,7 +88,7 @@ const sal_Char* JobData::PROP_CONTEXT = "Context"
/**
@short standard ctor
@descr It initialize this new instance.
- But for real working it's neccessary to call setAlias() or setService() later.
+ But for real working it's necessary to call setAlias() or setService() later.
Because we need the job data ...
@param xSMGR
@@ -159,7 +159,7 @@ JobData::~JobData()
//________________________________
/**
@short initalize this instance as a job with configuration
- @descr They given alias can be used to adress some configuraton data.
+ @descr They given alias can be used to address some configuraton data.
We read it and fill our internal structures. Of course old informations
will be lost doing so.
@@ -255,7 +255,7 @@ void JobData::setService( const ::rtl::OUString& sService )
//________________________________
/**
@short initialize this instance with new job values.
- @descr It reads automaticly all properties of the specified
+ @descr It reads automatically all properties of the specified
job (using it's alias name) and "register it" for the
given event. This registration will not be validated against
the underlying configuration! (That must be done from outside.
@@ -312,7 +312,7 @@ void JobData::setJobConfig( const css::uno::Sequence< css::beans::NamedValue >&
if (m_eMode==E_ALIAS)
{
// It doesn't matter if this config object was already opened before.
- // It doesn nothing here then ... or it change the mode automaticly, if
+ // It doesn nothing here then ... or it change the mode automatically, if
// it was opened using another one before.
::rtl::OUString sKey;
sKey = ::rtl::OUString::createFromAscii(JOBCFG_ROOT);
@@ -377,7 +377,7 @@ void JobData::setResult( const JobResult& aResult )
//________________________________
/**
@short set a new environment descriptor for this job
- @descr It must(!) be done everytime this container is initialized
+ @descr It must(!) be done every time this container is initialized
with new job datas e.g.: setAlias()/setEvent()/setService() ...
Otherwhise the environment will be unknown!
*/
@@ -505,7 +505,7 @@ css::uno::Sequence< css::beans::NamedValue > JobData::getConfig() const
@short return information, if this job is part of the global configuration package
org.openoffice.Office.Jobs
@descr Because jobs can be executed by the dispatch framework using an uno service name
- directly - an executed job must not have any configuration realy. Such jobs
+ directly - an executed job must not have any configuration really. Such jobs
must provide the right interfaces only! But after finishing jobs can return
some informations (e.g. for updating her configuration ...). We must know
if such request is valid or not then.
@@ -527,9 +527,9 @@ sal_Bool JobData::hasConfig() const
And there exist two of them: one for an administrator ... and one for the
current user. We change it for the user layer only. So this JobDispatch can't be
started any more ... till the administrator change his timestamp.
- That can be usefull for post setup scenarios, which must run one time only.
+ That can be useful for post setup scenarios, which must run one time only.
- Note: This method don't do anything, if ths represented job doesn't have a configuration!
+ Note: This method don't do anything, if this represented job doesn't have a configuration!
*/
void JobData::disableJob()
{
@@ -542,7 +542,7 @@ void JobData::disableJob()
// update the configuration
// It doesn't matter if this config object was already opened before.
- // It doesn nothing here then ... or it change the mode automaticly, if
+ // It doesn nothing here then ... or it change the mode automatically, if
// it was opened using another one before.
::rtl::OUStringBuffer sKey(256);
sKey.appendAscii(JobData::EVENTCFG_ROOT );
@@ -675,7 +675,7 @@ css::uno::Sequence< ::rtl::OUString > JobData::getEnabledJobsForEvent( const css
// get all alias names of jobs, which are part of this job list
// But Some of them can be disabled by it's time stamp values.
- // We create an additional job name list iwth the same size, then the original list ...
+ // We create an additional job name list with the same size, then the original list ...
// step over all job entries ... check her time stamps ... and put only job names to the
// destination list, which represent an enabled job.
css::uno::Sequence< ::rtl::OUString > lAllJobs = xJobList->getElementNames();
@@ -726,7 +726,7 @@ css::uno::Sequence< ::rtl::OUString > JobData::getEnabledJobsForEvent( const css
But note: that does not set defaults for internal used members, which
does not relate to any job property! e.g. the reference to the global
uno service manager. Such informations are used for internal processes only
- and are neccessary for our work.
+ and are necessary for our work.
*/
void JobData::impl_reset()
{
diff --git a/framework/source/jobs/jobdispatch.cxx b/framework/source/jobs/jobdispatch.cxx
index c9be11d13356..28d76978a6f3 100644
--- a/framework/source/jobs/jobdispatch.cxx
+++ b/framework/source/jobs/jobdispatch.cxx
@@ -230,9 +230,9 @@ css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL JobD
If a job is already running, (it can only occure for asynchronous jobs)
don't start the same job a second time. Queue in the given dispatch parameter
- and return immediatly. If the current running job call us back, we will start this
+ and return immediately. If the current running job call us back, we will start this
new dispatch request.
- If no job is running - queue the parameter too! But then start the new job immediatly.
+ If no job is running - queue the parameter too! But then start the new job immediately.
We have to queue it every time - because it hold us alive by ref count!
@param aURL
@@ -298,7 +298,7 @@ void JobDispatch::impl_dispatchEvent( /*IN*/ const ::rtl::OUString&
// no jobs ... no execution
// But a may given listener will know something ...
// I think this operaton was finished successfully.
- // It's not realy an error, if no registered jobs could be located.
+ // It's not really an error, if no registered jobs could be located.
// Step over all found jobs and execute it
int nExecutedJobs=0;
for (int j=0; j<lJobs.getLength(); ++j)
@@ -329,7 +329,7 @@ void JobDispatch::impl_dispatchEvent( /*IN*/ const ::rtl::OUString&
// Special mode for listener.
// We dont notify it directly here. We delegate that
// to the job implementation. But we must set ourself there too.
- // Because this job must fake the source adress of the event.
+ // Because this job must fake the source address of the event.
// Otherwhise the listener may will ignore it.
if (xListener.is())
pJob->setDispatchResultFake(xListener, xThis);
@@ -391,7 +391,7 @@ void JobDispatch::impl_dispatchService( /*IN*/ const ::rtl::OUString&
// Special mode for listener.
// We dont notify it directly here. We delegate that
// to the job implementation. But we must set ourself there too.
- // Because this job must fake the source adress of the event.
+ // Because this job must fake the source address of the event.
// Otherwhise the listener may will ignore it.
if (xListener.is())
pJob->setDispatchResultFake(xListener, xThis);
@@ -442,7 +442,7 @@ void JobDispatch::impl_dispatchAlias( /*IN*/ const ::rtl::OUString&
// Special mode for listener.
// We dont notify it directly here. We delegate that
// to the job implementation. But we must set ourself there too.
- // Because this job must fake the source adress of the event.
+ // Because this job must fake the source address of the event.
// Otherwhise the listener may will ignore it.
if (xListener.is())
pJob->setDispatchResultFake(xListener, xThis);
diff --git a/framework/source/jobs/jobexecutor.cxx b/framework/source/jobs/jobexecutor.cxx
index 6d3b66e5bb9b..21c6245b009d 100644
--- a/framework/source/jobs/jobexecutor.cxx
+++ b/framework/source/jobs/jobexecutor.cxx
@@ -160,7 +160,7 @@ JobExecutor::~JobExecutor()
/**
@short implementation of XJobExecutor interface
@descr We use the given event to locate any registered job inside our configuration
- and execute it. Further we control the lifetime of it and supress
+ and execute it. Further we control the lifetime of it and suppress
shutdown of the office till all jobs was finished.
@param sEvent
@@ -175,7 +175,7 @@ void SAL_CALL JobExecutor::trigger( const ::rtl::OUString& sEvent ) throw(css::u
// Optimization!
// Check if the given event name exist inside configuration and reject wrong requests.
- // This optimization supress using of the cfg api for getting event and job descriptions ...
+ // This optimization suppress using of the cfg api for getting event and job descriptions ...
if (m_lEvents.find(sEvent) == m_lEvents.end())
return;
@@ -232,7 +232,7 @@ void SAL_CALL JobExecutor::notifyEvent( const css::document::EventObject& aEvent
// Optimization!
// Check if the given event name exist inside configuration and reject wrong requests.
- // This optimization supress using of the cfg api for getting event and job descriptions.
+ // This optimization suppress using of the cfg api for getting event and job descriptions.
// see using of m_lEvents.find() below ...
// retrieve event context from event source
diff --git a/framework/source/jobs/jobresult.cxx b/framework/source/jobs/jobresult.cxx
index 33e2785abdc2..fdf04a39c50d 100644
--- a/framework/source/jobs/jobresult.cxx
+++ b/framework/source/jobs/jobresult.cxx
@@ -69,7 +69,7 @@ JobResult::JobResult()
{
// reset the flag mask!
// It will reset the accessible state of this object.
- // That can be usefull if something will fail here ...
+ // That can be useful if something will fail here ...
m_eParts = E_NOPART;
}
@@ -126,7 +126,7 @@ JobResult::JobResult( /*IN*/ const css::uno::Any& aResult )
// reset the flag mask!
// It will reset the accessible state of this object.
- // That can be usefull if something will fail here ...
+ // That can be useful if something will fail here ...
m_eParts = E_NOPART;
// analyze the result and update our other members
@@ -182,7 +182,7 @@ JobResult::JobResult( const JobResult& rCopy )
*/
JobResult::~JobResult()
{
- // Nothing realy to do here.
+ // Nothing really to do here.
}
//________________________________
@@ -210,7 +210,7 @@ void JobResult::operator=( const JobResult& rCopy )
/**
@short checks for existing parts of the analyzed result
@descr The internal flag mask was set after analyzing of the pure result.
- An user of us can check here, if the required part was realy part
+ An user of us can check here, if the required part was really part
of this result. Otherwhise it would use invalid informations ...
by using our other members!
diff --git a/framework/source/jobs/joburl.cxx b/framework/source/jobs/joburl.cxx
index 360bb8419a70..0cafa64beee4 100644
--- a/framework/source/jobs/joburl.cxx
+++ b/framework/source/jobs/joburl.cxx
@@ -82,7 +82,7 @@ JobURL::JobURL( /*IN*/ const ::rtl::OUString& sURL )
sal_Int32 t = JOBURL_PROTOCOL_LEN;
do
{
- // seperate all token of "{[event=<name>],[alias=<name>],[service=<name>]}"
+ // separate all token of "{[event=<name>],[alias=<name>],[service=<name>]}"
::rtl::OUString sToken = sURL.getToken(0, JOBURL_PART_SEPERATOR, t);
::rtl::OUString sPartValue ;
::rtl::OUString sPartArguments;
@@ -155,7 +155,7 @@ sal_Bool JobURL::isValid() const
@return <TRUE/> if an event part of the job URL exist and the out parameter
sEvent was filled.
- @attention The out parameter will be reseted everytime. Don't use it if method returns <FALSE/>!
+ @attention The out parameter will be reseted every time. Don't use it if method returns <FALSE/>!
*/
sal_Bool JobURL::getEvent( /*OUT*/ ::rtl::OUString& sEvent ) const
{
@@ -188,7 +188,7 @@ sal_Bool JobURL::getEvent( /*OUT*/ ::rtl::OUString& sEvent ) const
@return <TRUE/> if an alias part of the job URL exist and the out parameter
sAlias was filled.
- @attention The out parameter will be reseted everytime. Don't use it if method returns <FALSE/>!
+ @attention The out parameter will be reseted every time. Don't use it if method returns <FALSE/>!
*/
sal_Bool JobURL::getAlias( /*OUT*/ ::rtl::OUString& sAlias ) const
{
@@ -221,7 +221,7 @@ sal_Bool JobURL::getAlias( /*OUT*/ ::rtl::OUString& sAlias ) const
@return <TRUE/> if an service part of the job URL exist and the out parameter
sService was filled.
- @attention The out parameter will be reseted everytime. Don't use it if method returns <FALSE/>!
+ @attention The out parameter will be reseted every time. Don't use it if method returns <FALSE/>!
*/
sal_Bool JobURL::getService( /*OUT*/ ::rtl::OUString& sService ) const
{
@@ -278,7 +278,7 @@ sal_Bool JobURL::implst_split( /*IN*/ const ::rtl::OUString& sPart ,
// Otherwhise we do nothing and return sal_False.
if (bPartFound)
{
- // But may the part has optional arguments - seperated by a "?".
+ // But may the part has optional arguments - separated by a "?".
// Do so - we set the return value with the whole part string.
// Arguments will be set to an empty string as default.
// If we detect the right sign - we split the arguments and overwrite the default.
@@ -321,7 +321,7 @@ void JobURL::impldbg_checkIt()
JobURL::impldbg_checkURL("vnd.sun.star.job:service=;" , E_UNKNOWN, "" , "" , "" , NULL, NULL, NULL);
// check combinations
- // Note: No additional spaces or tabs are allowed after a seperator occured.
+ // Note: No additional spaces or tabs are allowed after a seperator occurred.
// Tab and spaces before a seperator will be used as value!
JobURL::impldbg_checkURL("vnd.sun.star.job:event=onMyEvent;alias=myAlias;service=css.Service" , E_EVENT | E_ALIAS | E_SERVICE , "onMyEvent", "myAlias", "css.Service" , NULL, NULL, NULL);
JobURL::impldbg_checkURL("vnd.sun.star.job:service=css.Service;alias=myAlias" , E_ALIAS | E_SERVICE , "" , "myAlias", "css.Service" , NULL, NULL, NULL);
diff --git a/framework/source/jobs/shelljob.cxx b/framework/source/jobs/shelljob.cxx
index fdbe5850004b..9dbb5eab8694 100644
--- a/framework/source/jobs/shelljob.cxx
+++ b/framework/source/jobs/shelljob.cxx
@@ -54,19 +54,19 @@ namespace framework{
//_______________________________________________
// definitions
-/** adress job configuration inside argument set provided on method execute(). */
+/** address job configuration inside argument set provided on method execute(). */
static const ::rtl::OUString PROP_JOBCONFIG = ::rtl::OUString::createFromAscii("JobConfig");
-/** adress job configuration property "Command". */
+/** address job configuration property "Command". */
static const ::rtl::OUString PROP_COMMAND = ::rtl::OUString::createFromAscii("Command");
-/** adress job configuration property "Arguments". */
+/** address job configuration property "Arguments". */
static const ::rtl::OUString PROP_ARGUMENTS = ::rtl::OUString::createFromAscii("Arguments");
-/** adress job configuration property "DeactivateJobIfDone". */
+/** address job configuration property "DeactivateJobIfDone". */
static const ::rtl::OUString PROP_DEACTIVATEJOBIFDONE = ::rtl::OUString::createFromAscii("DeactivateJobIfDone");
-/** adress job configuration property "CheckExitCode". */
+/** address job configuration property "CheckExitCode". */
static const ::rtl::OUString PROP_CHECKEXITCODE = ::rtl::OUString::createFromAscii("CheckExitCode");
//-----------------------------------------------
@@ -116,7 +116,7 @@ css::uno::Any SAL_CALL ShellJob::execute(const css::uno::Sequence< css::beans::N
::rtl::OUString sRealCommand = impl_substituteCommandVariables(sCommand);
// Command is required as minimum.
- // If it does not exists ... we cant do our job.
+ // If it does not exists ... we can't do our job.
// Deactivate such miss configured job silently .-)
if (sRealCommand.getLength() < 1)
return ShellJob::impl_generateAnswer4Deactivation();
diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx
index 7d8b77cf850a..f80d1a6ac598 100644
--- a/framework/source/layoutmanager/layoutmanager.cxx
+++ b/framework/source/layoutmanager/layoutmanager.cxx
@@ -940,7 +940,7 @@ void LayoutManager::implts_backupProgressBarWrapper()
return;
// safe a backup copy of the current progress!
- // This copy will be used automaticly inside createProgressBar() which is called
+ // This copy will be used automatically inside createProgressBar() which is called
// implictly from implts_doLayout() .-)
m_xProgressBarBackup = m_aProgressBarElement.m_xUIElement;
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
index 9c94679f390e..5cd5bc75848a 100644
--- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx
+++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
@@ -1225,7 +1225,7 @@ void ToolbarLayoutManager::implts_reparentToolbars()
uno::Reference< awt::XWindow > xWindow;
try
{
- // We have to retreive the window reference with try/catch as it is
+ // We have to retrieve the window reference with try/catch as it is
// possible that all elements have been disposed!
xWindow = uno::Reference< awt::XWindow >( xUIElement->getRealInterface(), uno::UNO_QUERY );
}
@@ -1235,7 +1235,7 @@ void ToolbarLayoutManager::implts_reparentToolbars()
Window* pWindow = VCLUnoHelper::GetWindow( xWindow );
if ( pWindow )
{
- // Reparent our child windows acording to their current state.
+ // Reparent our child windows according to their current state.
if ( pIter->m_bFloating )
pWindow->SetParent( pContainerWindow );
else
diff --git a/framework/source/loadenv/loadenv.cxx b/framework/source/loadenv/loadenv.cxx
index a7bf1e5605da..530621d90310 100644
--- a/framework/source/loadenv/loadenv.cxx
+++ b/framework/source/loadenv/loadenv.cxx
@@ -280,9 +280,9 @@ void LoadEnv::initializeLoading(const ::rtl::OUString&
m_bReactivateControllerOnError = sal_False ;
m_bLoaded = sal_False ;
- // try to find out, if its realy a content, which can be loaded or must be "handled"
+ // try to find out, if its really a content, which can be loaded or must be "handled"
// We use a default value for this in-parameter. Then we have to start a complex check method
- // internaly. But if this check was already done outside it can be supressed to perform
+ // internaly. But if this check was already done outside it can be suppressed to perform
// the load request. We take over the result then!
if (m_eContentType == E_UNSUPPORTED_CONTENT)
{
@@ -292,7 +292,7 @@ void LoadEnv::initializeLoading(const ::rtl::OUString&
}
// make URL part of the MediaDescriptor
- // It doesnt mater, if its already an item of it.
+ // It doesn't mater, if its already an item of it.
// It must be the same value ... so we can overwrite it :-)
m_lMediaDescriptor[::comphelper::MediaDescriptor::PROP_URL()] <<= sURL;
@@ -311,8 +311,8 @@ void LoadEnv::initializeLoading(const ::rtl::OUString&
if (pIt != m_lMediaDescriptor.end())
m_lMediaDescriptor.erase(pIt);
- // patch the MediaDescriptor, so it fullfill the outside requirements
- // Means especialy items like e.g. UI InteractionHandler, Status Indicator,
+ // patch the MediaDescriptor, so it fulfill the outside requirements
+ // Means especially items like e.g. UI InteractionHandler, Status Indicator,
// MacroExecutionMode etcpp.
/*TODO progress is bound to a frame ... How can we set it here? */
@@ -432,7 +432,7 @@ void LoadEnv::startLoading()
bStarted = impl_loadContent();
// not started => general error
- // We cant say - what was the reason for.
+ // We can't say - what was the reason for.
if (!bStarted)
throw LoadEnvException(LoadEnvException::ID_GENERAL_ERROR);
}
@@ -447,8 +447,8 @@ sal_Bool LoadEnv::waitWhileLoading(sal_uInt32 nTimeout)
throw(LoadEnvException, css::uno::RuntimeException)
{
// Because its not a good idea to block the main thread
- // (and we cant be shure that we are currently not used inside the
- // main thread!), we cant use conditions here realy. We must yield
+ // (and we can't be sure that we are currently not used inside the
+ // main thread!), we can't use conditions here really. We must yield
// in an intellegent manner :-)
sal_Int32 nTime = nTimeout;
@@ -504,14 +504,14 @@ void LoadEnv::cancelLoading()
/* Attention:
After returning from any cancel/dispose call, neither the frame nor weself
may be called back. Because only we can cancel this job, we already know
- the result! => Thats why its not usefull nor neccessary to wait for any
+ the result! => Thats why its not useful nor necessary to wait for any
asynchronous listener notification.
*/
m_bLoaded = sal_False;
m_xAsynchronousJob.clear();
}
- // or may be its a content handler? Such handler cant be cancelled in its running
- // operation :-( And we cant deregister us there again :-(
+ // or may be its a content handler? Such handler can't be cancelled in its running
+ // operation :-( And we can't deregister us there again :-(
// => The only chance is an exception :-)
else
throw LoadEnvException(LoadEnvException::ID_STILL_RUNNING);
@@ -653,7 +653,7 @@ void LoadEnv::impl_setResult(sal_Bool bResult)
impl_reactForLoadingState();
// clearing of this reference will unblock waitWhileLoading()!
- // So we must be shure, that loading process was realy finished.
+ // So we must be sure, that loading process was really finished.
// => do it as last operation of this method ...
m_xAsynchronousJob.clear();
@@ -701,7 +701,7 @@ LoadEnv::EContentType LoadEnv::classifyContent(const ::rtl::OUString&
// all needed resources. If they are missing - the following
// load request will fail.
- /* Attention: The following code cant work on such special URLs!
+ /* Attention: The following code can't work on such special URLs!
It should not break the office .. but it make no sense
to start expensive object creations and complex search
algorithm if its clear, that such URLs must be handled
@@ -832,7 +832,7 @@ void LoadEnv::impl_detectTypeAndFilter()
ReadGuard aReadLock(m_aLock);
// Attention: Because our stl media descriptor is a copy of an uno sequence
- // we cant use as an in/out parameter here. Copy it before and dont forget to
+ // we can't use as an in/out parameter here. Copy it before and dont forget to
// update structure afterwards again!
css::uno::Sequence< css::beans::PropertyValue > lDescriptor = m_lMediaDescriptor.getAsConstPropertyValueList();
css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR = m_xSMGR;
@@ -862,7 +862,7 @@ void LoadEnv::impl_detectTypeAndFilter()
aWriteLock.unlock();
// <- SAFE
- // But the type isnt enough. For loading sometimes we need more informations.
+ // But the type isn't enough. For loading sometimes we need more informations.
// E.g. for our "_default" feature, where we recylce any frame which contains
// and "Untitled" document, we must know if the new document is based on a template!
// But this information is available as a filter property only.
@@ -895,7 +895,7 @@ void LoadEnv::impl_detectTypeAndFilter()
// Then we have to add the property "AsTemplate".
// We need this information to decide afterwards if we can use a "recycle frame"
// for target "_default" or has to create a new one everytimes.
- // On the other side we have to supress that, if this property already exists
+ // On the other side we have to suppress that, if this property already exists
// and should trigger a special handling. Then the outside calli of this method here,
// has to know, what he is doing .-)
@@ -944,7 +944,7 @@ sal_Bool LoadEnv::impl_handleContent()
m_lMediaDescriptor >> lDescriptor;
css::util::URL aURL = m_aURL;
- // get neccessary container to query for a handler object
+ // get necessary container to query for a handler object
css::uno::Reference< css::lang::XMultiServiceFactory > xFactory(m_xSMGR->createInstance(SERVICENAME_CONTENTHANDLERFACTORY), css::uno::UNO_QUERY);
css::uno::Reference< css::container::XContainerQuery > xQuery (xFactory , css::uno::UNO_QUERY);
@@ -1146,7 +1146,7 @@ sal_Bool LoadEnv::impl_loadContent()
// if it will be run out of scope.
// Note further: ignore if this internal guard already contains a resource.
- // Might impl_searchRecylcTarget() set it before. But incase this impl-method wasnt used
+ // Might impl_searchRecylcTarget() set it before. But incase this impl-method wasn't used
// and the target frame was new created ... this lock here must be set!
css::uno::Reference< css::document::XActionLockable > xTargetLock(xTargetFrame, css::uno::UNO_QUERY);
m_aTargetLock.setResource(xTargetLock);
@@ -1242,7 +1242,7 @@ css::uno::Reference< css::uno::XInterface > LoadEnv::impl_searchLoader()
// Otherwhise ...
// We need this type information to locate an registered frame loader
- // Without such information we cant work!
+ // Without such information we can't work!
::rtl::OUString sType = m_lMediaDescriptor.getUnpackedValueOrDefault(::comphelper::MediaDescriptor::PROP_TYPENAME(), ::rtl::OUString());
if (!sType.getLength())
throw LoadEnvException(LoadEnvException::ID_INVALID_MEDIADESCRIPTOR);
@@ -1340,7 +1340,7 @@ css::uno::Reference< css::frame::XFrame > LoadEnv::impl_searchAlreadyLoaded()
}
// check URL
- // May its not usefull to start expensive document search, if it
+ // May its not useful to start expensive document search, if it
// can fail only .. because we load from a stream or model directly!
if (
(ProtocolCheck::isProtocol(m_aURL.Complete, ProtocolCheck::E_PRIVATE_STREAM )) ||
@@ -1360,7 +1360,7 @@ css::uno::Reference< css::frame::XFrame > LoadEnv::impl_searchAlreadyLoaded()
return css::uno::Reference< css::frame::XFrame >(); // task list can be empty!
// Note: To detect if a document was alrady loaded before
- // we check URLs here only. But might the existing and the requred
+ // we check URLs here only. But might the existing and the required
// document has different versions! Then its URLs are the same ...
sal_Int16 nNewVersion = m_lMediaDescriptor.getUnpackedValueOrDefault(::comphelper::MediaDescriptor::PROP_VERSION(), (sal_Int16)(-1));
@@ -1406,7 +1406,7 @@ css::uno::Reference< css::frame::XFrame > LoadEnv::impl_searchAlreadyLoaded()
}
// get the original load arguments from the current document
- // and decide if its realy the same then the one will be.
+ // and decide if its really the same then the one will be.
// It must be visible and must use the same file revision ...
// or must not have any file revision set (-1 == -1!)
::comphelper::MediaDescriptor lOldDocDescriptor(xModel->getArgs());
@@ -1641,7 +1641,7 @@ void LoadEnv::impl_reactForLoadingState()
{
::vos::OClearableGuard aSolarGuard(Application::GetSolarMutex());
Window* pWindow = VCLUnoHelper::GetWindow(xWindow);
- // check for system window is neccessary to guarantee correct pointer cast!
+ // check for system window is necessary to guarantee correct pointer cast!
if (pWindow && pWindow->IsSystemWindow())
((WorkWindow*)pWindow)->Minimize();
}
@@ -1661,7 +1661,7 @@ void LoadEnv::impl_reactForLoadingState()
{
::rtl::OUString sFrameName;
pFrameName->second >>= sFrameName;
- // Check the name again. e.g. "_default" isnt allowed.
+ // Check the name again. e.g. "_default" isn't allowed.
// On the other side "_beamer" is a valid name :-)
if (TargetHelper::isValidNameForFrame(sFrameName))
m_xTargetFrame->setName(sFrameName);
diff --git a/framework/source/loadenv/targethelper.cxx b/framework/source/loadenv/targethelper.cxx
index 42e9fa335d20..6a2d889cd1a7 100644
--- a/framework/source/loadenv/targethelper.cxx
+++ b/framework/source/loadenv/targethelper.cxx
@@ -88,8 +88,8 @@ sal_Bool TargetHelper::matchSpecialTarget(const ::rtl::OUString& sCheckTarget ,
-----------------------------------------------*/
sal_Bool TargetHelper::isValidNameForFrame(const ::rtl::OUString& sName)
{
- // some special targets are realy special ones :-)
- // E.g. the are realy used to locate one frame inside the frame tree.
+ // some special targets are really special ones :-)
+ // E.g. the are really used to locate one frame inside the frame tree.
if (
(!sName.getLength() ) ||
(TargetHelper::matchSpecialTarget(sName, E_HELPTASK)) ||
diff --git a/framework/source/recording/dispatchrecordersupplier.cxx b/framework/source/recording/dispatchrecordersupplier.cxx
index 7ec1ac1e0178..43663ba459a6 100644
--- a/framework/source/recording/dispatchrecordersupplier.cxx
+++ b/framework/source/recording/dispatchrecordersupplier.cxx
@@ -90,7 +90,7 @@ DEFINE_INIT_SERVICE(
/**
@short standard constructor to create instance
@descr Because an instance will be initialized by her interface methods
- it's not neccessary to do anything here.
+ it's not necessary to do anything here.
*/
DispatchRecorderSupplier::DispatchRecorderSupplier( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory )
// init baseclasses first!
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 15896d076d61..287af8706bbf 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -225,7 +225,7 @@ static const sal_Int32 GIVE_UP_RETRY = 1; // in
// enable the following defines in case you whish to simulate a full disc for debug purposes .-)
-// this define throws everytime a document is stored or a configuration change
+// this define throws every time a document is stored or a configuration change
// should be flushed an exception ... so the special error handler for this scenario is triggered
// #define TRIGGER_FULL_DISC_CHECK
@@ -624,10 +624,10 @@ void SAL_CALL AutoRecovery::dispatch(const css::util::URL&
::comphelper::SequenceAsHashMap lArgs(lArguments);
// check if somewhere wish to disable recovery temp. for this office session
- // This can be done immediatly ... must not been done asynchronous.
+ // This can be done immediately ... must not been done asynchronous.
if ((eNewJob & AutoRecovery::E_DISABLE_AUTORECOVERY) == AutoRecovery::E_DISABLE_AUTORECOVERY)
{
- // it's important to set a flag internaly, so AutoRecovery will be supressed - even if it's requested.
+ // it's important to set a flag internaly, so AutoRecovery will be suppressed - even if it's requested.
m_eJob |= eNewJob;
implts_stopTimer();
implts_stopListening();
@@ -873,8 +873,8 @@ void SAL_CALL AutoRecovery::notifyEvent(const css::document::EventObject& aEvent
implts_updateModifiedState(xDocument);
}
/* at least one document starts saving process =>
- Our application code isnt ready for multiple save requests
- at the same time. So we have to supress our AutoSave feature
+ Our application code isn't ready for multiple save requests
+ at the same time. So we have to suppress our AutoSave feature
for the moment, till this other save requests will be finished.
*/
else
@@ -899,7 +899,7 @@ void SAL_CALL AutoRecovery::notifyEvent(const css::document::EventObject& aEvent
/* document saved as copy => mark it as "non used by concurrent save operation".
so we can try to create a backup copy if next time AutoSave is started too.
Dont remove temp. files or change the modified state of the document!
- It was not realy saved to the original file ...
+ It was not really saved to the original file ...
*/
else
if (aEvent.EventName.equals(EVENT_ON_SAVETODONE))
@@ -978,7 +978,7 @@ void SAL_CALL AutoRecovery::changesOccurred(const css::util::ChangesEvent& aEven
// Note: This call stops the timer and starts it again.
// But it checks the different timer states internaly and
- // may be supress the restart!
+ // may be suppress the restart!
implts_updateTimer();
}
@@ -1063,7 +1063,7 @@ css::uno::Reference< css::container::XNameAccess > AutoRecovery::implts_openConf
catch(const css::uno::Exception&)
{
// These config keys are not sooooo important, that
- // we are interested on errors here realy .-)
+ // we are interested on errors here really .-)
nMinSpaceDocSave = MIN_DISCSPACE_DOCSAVE;
nMinSpaceConfigSave = MIN_DISCSPACE_CONFIGSAVE;
}
@@ -1211,7 +1211,7 @@ void AutoRecovery::implts_specifyDefaultFilterAndExtension(AutoRecovery::TDocume
if (!rInfo.AppModule.getLength())
{
throw css::uno::RuntimeException(
- ::rtl::OUString::createFromAscii("Cant find out the default filter and its extension, if no application module is known!"),
+ ::rtl::OUString::createFromAscii("Can't find out the default filter and its extension, if no application module is known!"),
static_cast< css::frame::XDispatch* >(this));
}
@@ -1271,7 +1271,7 @@ void AutoRecovery::implts_specifyAppModuleAndFactory(AutoRecovery::TDocumentInfo
{
ENSURE_OR_THROW2(
rInfo.AppModule.getLength() || rInfo.Document.is(),
- "Cant find out the application module nor its factory URL, if no application module (or a suitable) document is known!",
+ "Can't find out the application module nor its factory URL, if no application module (or a suitable) document is known!",
*this );
// SAFE -> ----------------------------------
@@ -1427,7 +1427,7 @@ void AutoRecovery::implts_flushConfigItem(const AutoRecovery::TDocumentInfo& rIn
catch(const css::uno::Exception& ex)
{
// a) FULL DISC seams to be the problem behind => show error and retry it forever (e.g. retry=300)
- // b) unknown problem (may be locking problem) => reset RETRY value to more usefull value(!) (e.g. retry=3)
+ // b) unknown problem (may be locking problem) => reset RETRY value to more useful value(!) (e.g. retry=3)
// c) unknown problem (may be locking problem) + 1..2 repeating operations => throw the original exception to force generation of a stacktrace !
// SAFE ->
@@ -1682,7 +1682,7 @@ IMPL_LINK(AutoRecovery, implts_timerExpired, void*, EMPTYARG)
sal_Bool bAllowUserIdleLoop = sal_True;
AutoRecovery::ETimerType eSuggestedTimer = implts_saveDocs(bAllowUserIdleLoop, sal_False);
- // If timer isnt used for "short callbacks" (means polling
+ // If timer isn't used for "short callbacks" (means polling
// for special states) ... reset the handle state of all
// cache items. Such handle state indicates, that a document
// was already saved during the THIS(!) AutoSave session.
@@ -1803,7 +1803,7 @@ void AutoRecovery::implts_registerDocument(const css::uno::Reference< css::frame
implts_specifyAppModuleAndFactory(aNew);
// Hack! Check for "illegal office documents" ... as e.g. the Basic IDE
- // Its not realy a full featured office document. It doesnt provide an URL, any filter, a factory URL etcpp.
+ // Its not really a full featured office document. It doesn't provide an URL, any filter, a factory URL etcpp.
// TODO file bug to Basci IDE developers. They must remove the office document API from its service.
if (
(!aNew.OrgURL.getLength() ) &&
@@ -1881,7 +1881,7 @@ void AutoRecovery::implts_deregisterDocument(const css::uno::Reference< css::fra
aCacheLock.unlock();
// Sometimes we close documents by ourself.
- // And these documents cant be deregistered.
+ // And these documents can't be deregistered.
// Otherwhise we loos our configuration data ... but need it !
// see SessionSave !
if (aInfo.IgnoreClosing)
@@ -1899,7 +1899,7 @@ void AutoRecovery::implts_deregisterDocument(const css::uno::Reference< css::fra
/* This method is called within disposing() of the document too. But there it's not a good idea to
deregister us as listener. Furter it make no sense - because the broadcaster dies.
- So we supress deregistration in such case ...
+ So we suppress deregistration in such case ...
*/
if (bStopListening)
implts_stopModifyListeningOnDoc(aInfo);
@@ -2200,7 +2200,7 @@ void AutoRecovery::implts_prepareSessionShutdown()
So we have to check a second time, if this property is set ....
Best place doing so is to check it immeditaly before saving
and supressingd saving the document then.
- Of course removing the corresponding cache entry isnt an option.
+ Of course removing the corresponding cache entry isn't an option.
Because it would disturb iteration over the cache !
So we ignore such documents only ...
Hopefully next time they are not inserted in our cache.
@@ -2304,11 +2304,11 @@ AutoRecovery::ETimerType AutoRecovery::implts_saveDocs( sal_Bool bAl
// ii) For a CrashSave ... add it to the list of dangerous documents and
// save it after all other documents was saved successfully. That decrease
// the chance for a crash inside a crash.
- // On the other side it's not neccessary for documents, which are not modified.
+ // On the other side it's not necessary for documents, which are not modified.
// They can be handled normaly - means we patch the corresponding configuration entry only.
// iii) For a SessionSave ... ignore it! There is no time to wait for this save operation.
- // Because the WindowManager will kill the process if it doesnt react immediatly.
- // On the other side we cant risk a concurrent save request ... because we know
+ // Because the WindowManager will kill the process if it doesn't react immediately.
+ // On the other side we can't risk a concurrent save request ... because we know
// that it will produce a crash.
// Attention: Because eJob is used as a flag field, you have to check for the worst case first.
@@ -2460,7 +2460,7 @@ void AutoRecovery::implts_saveOneDoc(const ::rtl::OUString&
bError = sal_True;
// a) FULL DISC seams to be the problem behind => show error and retry it forever (e.g. retry=300)
- // b) unknown problem (may be locking problem) => reset RETRY value to more usefull value(!) (e.g. retry=3)
+ // b) unknown problem (may be locking problem) => reset RETRY value to more useful value(!) (e.g. retry=3)
// c) unknown problem (may be locking problem) + 1..2 repeating operations => throw the original exception to force generation of a stacktrace !
// SAFE ->
@@ -2500,12 +2500,12 @@ void AutoRecovery::implts_saveOneDoc(const ::rtl::OUString&
rInfo.DocumentState |= AutoRecovery::E_INCOMPLETE;
}
- // make sure the progress isnt referred any longer
+ // make sure the progress isn't referred any longer
impl_forgetProgress(rInfo, lNewArgs, css::uno::Reference< css::frame::XFrame >());
// try to remove the old temp file.
// Ignore any error here. We have a new temp file, which is up to date.
- // The only thing is: we fill the disk with temp files, if we cant remove old ones :-)
+ // The only thing is: we fill the disk with temp files, if we can't remove old ones :-)
::rtl::OUString sRemoveFile = rInfo.OldTempURL;
rInfo.OldTempURL = rInfo.NewTempURL;
rInfo.NewTempURL = ::rtl::OUString();
@@ -2700,7 +2700,7 @@ AutoRecovery::ETimerType AutoRecovery::implts_openDocs(const DispatchParams& aPa
/* Normaly we listen as XModifyListener on a document to know if a document was changed
since our last AutoSave. And we deregister us in case we know this state.
But directly after one document as recovered ... we must start listening.
- Otherwhise the first "modify" doesnt reach us. Because we ourself called setModified()
+ Otherwise the first "modify" doesn't reach us. Because we ourselves called setModified()
on the document via API. And currently we dont listen for any events (not at the GlobalEventBroadcaster
nor at any document!).
*/
@@ -2853,7 +2853,7 @@ void AutoRecovery::implts_generateNewTempURL(const ::rtl::OUString&
// This unique name must solve an optimization problem too!
// In case we are asked to save unmodified documents too - and one of them
// is an empty one (because it was new created using e.g. an URL private:factory/...)
- // we should not save it realy. Then we put the information about such "empty document"
+ // we should not save it really. Then we put the information about such "empty document"
// into the configuration and dont create any recovery file on disk.
// We use the title of the document to make it unique.
::rtl::OUStringBuffer sUniqueName;
@@ -3053,10 +3053,10 @@ void AutoRecovery::implts_resetHandleStates(sal_Bool /*bLoadCache*/)
//-----------------------------------------------
void AutoRecovery::implts_prepareEmergencySave()
{
- // Be sure to know all open documents realy .-)
+ // Be sure to know all open documents really .-)
implts_verifyCacheAgainstDesktopDocumentList();
- // hide all docs, so the user cant disturb our emergency save .-)
+ // hide all docs, so the user can't disturb our emergency save .-)
implts_changeAllDocVisibility(sal_False);
}
@@ -3081,7 +3081,7 @@ void AutoRecovery::implts_doEmergencySave(const DispatchParams& aParams)
// during normal AutoSave more then once. Because
// it postpone active documents and save it later.
// That is normaly done by recalling it from a timer.
- // Here we must do it immediatly!
+ // Here we must do it immediately!
// Of course this method returns the right state -
// because it knows, that we are running in ERMERGENCY SAVE mode .-)
@@ -3141,7 +3141,7 @@ void AutoRecovery::implts_doSessionSave(const DispatchParams& aParams)
{
LOG_RECOVERY("AutoRecovery::implts_doSessionSave()")
- // Be sure to know all open documents realy .-)
+ // Be sure to know all open documents really .-)
implts_verifyCacheAgainstDesktopDocumentList();
// for all docs, store their current view/names in the configurtion
@@ -3151,7 +3151,7 @@ void AutoRecovery::implts_doSessionSave(const DispatchParams& aParams)
// during normal AutoSave more then once. Because
// it postpone active documents and save it later.
// That is normaly done by recalling it from a timer.
- // Here we must do it immediatly!
+ // Here we must do it immediately!
// Of course this method returns the right state -
// because it knows, that we are running in SESSION SAVE mode .-)
@@ -3377,7 +3377,7 @@ void SAL_CALL AutoRecovery::getFastPropertyValue(css::uno::Any& aValue ,
sal_Bool bRecoveryData = ((sal_Bool)(m_lDocCache.size()>0));
- // exists session data ... => then we cant say, that these
+ // exists session data ... => then we can't say, that these
// data are valid for recovery. So we have to return sal_False then!
if (bSessionData)
bRecoveryData = sal_False;
@@ -3590,7 +3590,7 @@ void AutoRecovery::impl_establishProgress(const AutoRecovery::TDocumentInfo&
// for loading documents into this frame)!
// But if no frame exists ... we can try to locate it using any frame bound to the provided
// document. Of course we must live without any frame in case the document does not exists at this
- // point. But this state shouldnt occure. In such case xNewFrame should be valid ... hopefully .-)
+ // point. But this state shouldn't occure. In such case xNewFrame should be valid ... hopefully .-)
css::uno::Reference< css::frame::XFrame > xFrame = xNewFrame;
if (
(!xFrame.is() ) &&
@@ -3629,7 +3629,7 @@ void AutoRecovery::impl_establishProgress(const AutoRecovery::TDocumentInfo&
// So we use a two step mechanism:
// 1) we set the progress inside the MediaDescriptor, which will be provided to the filter
// 2) and we set a special Frame property, which overwrites the normal behaviour of Frame::createStatusIndicator .-)
- // But we supress 2) in case we uses an internal progress. Because then it doesnt matter
+ // But we suppress 2) in case we uses an internal progress. Because then it doesn't matter
// if our applications make it wrong. In such case the internal progress resists at the same frame
// and there is no need to forward progress activities to e.g. an outside dialog .-)
if (
@@ -3656,7 +3656,7 @@ void AutoRecovery::impl_forgetProgress(const AutoRecovery::TDocumentInfo&
// for loading documents into this frame)!
// But if no frame exists ... we can try to locate it using any frame bound to the provided
// document. Of course we must live without any frame in case the document does not exists at this
- // point. But this state shouldnt occure. In such case xNewFrame should be valid ... hopefully .-)
+ // point. But this state shouldn't occure. In such case xNewFrame should be valid ... hopefully .-)
css::uno::Reference< css::frame::XFrame > xFrame = xNewFrame;
if (
(!xFrame.is() ) &&
diff --git a/framework/source/services/backingcomp.cxx b/framework/source/services/backingcomp.cxx
index d9b3bc144034..e1952e4f3e3d 100644
--- a/framework/source/services/backingcomp.cxx
+++ b/framework/source/services/backingcomp.cxx
@@ -376,7 +376,7 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL BackingComp::impl_createIns
/** returns a new factory instance for instances of this class.
It uses a helper class of the cppuhelper project as factory.
- It will be initialized with all neccessary informations and
+ It will be initialized with all necessary informations and
will be able afterwards to create instance of this class.
This factory call us back inside our method impl_createInstance().
So we can create and initialize ourself. Only filtering of creation
@@ -405,7 +405,7 @@ css::uno::Reference< css::lang::XSingleServiceFactory > BackingComp::impl_create
attach this component to a target frame.
We has to use the container window of this frame as parent window of our own component window.
- But it's not allowed to work with it realy. May another component used it too.
+ But it's not allowed to work with it really. May another component used it too.
Currently we need it only to create our child component window and support it's
interfaces inside our queryInterface() method. The user of us must have e.g. the
XWindow interface of it to be able to call setComponent(xWindow,xController) at the
@@ -542,7 +542,7 @@ void SAL_CALL BackingComp::attachFrame( /*IN*/ const css::uno::Reference< css::f
This component does not know any model. It will be represented by a window and
it's controller only.
- return <FALSE/> everytime.
+ return <FALSE/> every time.
*/
sal_Bool SAL_CALL BackingComp::attachModel( /*IN*/ const css::uno::Reference< css::frame::XModel >& )
@@ -642,7 +642,7 @@ sal_Bool SAL_CALL BackingComp::suspend( /*IN*/ sal_Bool )
and inform us. We must release its reference only here. Of course we check the given reference
here and reject callback from unknown sources.
- Note: deregistration as listener isnt neccessary here. The broadcaster do it automaticly.
+ Note: deregistration as listener isn't necessary here. The broadcaster do it automatically.
@param aEvent
describe the broadcaster of this callback
@@ -764,7 +764,7 @@ void SAL_CALL BackingComp::addEventListener( /*IN*/ const css::uno::Reference< c
/** not supported.
- Because registration is not supported too, we must do nothing here. Nobody can call this method realy.
+ Because registration is not supported too, we must do nothing here. Nobody can call this method really.
@param xListener
not used.
@@ -783,7 +783,7 @@ void SAL_CALL BackingComp::removeEventListener( /*IN*/ const css::uno::Reference
Inside attachFrame() we created our component window. But it was not allowed there, to
initialitze it. E.g. the menu must be set at the container window of the frame, which
is our parent window. But may at that time another component used it.
- That's why our creator has to inform us, when it's time to initialize us realy.
+ That's why our creator has to inform us, when it's time to initialize us really.
Currently only calling of this method must be done. But further implementatoins
can use special in parameter to configure this initialization ...
diff --git a/framework/source/services/backingwindow.cxx b/framework/source/services/backingwindow.cxx
index b7cb95a47cce..df5f01926d0f 100644
--- a/framework/source/services/backingwindow.cxx
+++ b/framework/source/services/backingwindow.cxx
@@ -482,7 +482,7 @@ void BackingWindow::initControls()
nYPos += (maProductSize.Height()*3)/2;
- // set a slighly larger font than normal labels on the texts
+ // set a slightly larger font than normal labels on the texts
maTextFont.SetSize( Size( 0, 11 ) );
maTextFont.SetWeight( WEIGHT_NORMAL );
diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx
index 6b3271349cc7..006389388b0a 100644
--- a/framework/source/services/desktop.cxx
+++ b/framework/source/services/desktop.cxx
@@ -221,7 +221,7 @@ DEFINE_INIT_SERVICE ( Desktop,
@attention a) Don't use your own reference during an UNO-Service-ctor! There is no guarantee, that you
will get over this. (e.g. using of your reference as parameter to initialize some member)
- Do such things in DEFINE_INIT_SERVICE() method, which is called automaticly after your ctor!!!
+ Do such things in DEFINE_INIT_SERVICE() method, which is called automatically after your ctor!!!
b) Baseclass OBroadcastHelper is a typedef in namespace cppu!
The microsoft compiler has some problems to handle it right BY using namespace explicitly ::cppu::OBroadcastHelper.
If we write it without a namespace or expand the typedef to OBrodcastHelperVar<...> -> it will be OK!?
@@ -416,7 +416,7 @@ sal_Bool SAL_CALL Desktop::terminate()
if ( xPipeTerminator.is() )
xPipeTerminator->notifyTermination( aEvent );
- // Must be realy the last listener to be called.
+ // Must be really the last listener to be called.
// Because it shutdown the whole process asynchronous !
if ( xSfxTerminator.is() )
xSfxTerminator->notifyTermination( aEvent );
@@ -579,7 +579,7 @@ css::uno::Reference< css::lang::XComponent > SAL_CALL Desktop::getCurrentCompone
/*-************************************************************************************************************//**
@interface XDesktop
@short return the current active frame in hierarchy
- @descr There can be more then one different active pathes in our frame hierarchy. But only one of them
+ @descr There can be more then one different active paths in our frame hierarchy. But only one of them
could be the most active frame (normal he has the focus).
Don't mix it with getActiveFrame()! That will return our current active frame, which must be
a direct child of us and should be a part(!) of an active path.
@@ -658,7 +658,7 @@ css::uno::Reference< css::lang::XComponent > SAL_CALL Desktop::loadComponentFrom
/*-************************************************************************************************************//**
@interface XTasksSupplier
@short get access to create enumerations of ouer taskchilds
- @descr Direct childs of desktop are tasks everytime.
+ @descr Direct childs of desktop are tasks every time.
Call these method to could create enumerations of it.
But; Don't forget - you will be the owner of returned object and must release it!
@@ -779,7 +779,7 @@ css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL Desk
@short supports registration/deregistration of interception objects, which
are interested on special dispatches.
- @descr Its realy provided by an internal helper, which is used inside the dispatch api too.
+ @descr Its really provided by an internal helper, which is used inside the dispatch api too.
@param xInterceptor
the interceptor object, which wish to be (de)registered.
@@ -857,7 +857,7 @@ void SAL_CALL Desktop::setActiveFrame( const css::uno::Reference< css::frame::XF
// If nothing will change - do nothing!
// Otherwise set new active frame ...
// and deactivate last frame.
- // It's neccessary for our FrameActionEvent listener on a frame!
+ // It's necessary for our FrameActionEvent listener on a frame!
css::uno::Reference< css::frame::XFrame > xLastActiveChild = m_aChildTaskContainer.getActive();
if( xLastActiveChild != xFrame )
{
@@ -1053,7 +1053,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Desktop::findFrame( const ::r
// force using of "if() else if() ..."
//-----------------------------------------------------------------------------------------------------
- // get threadsafe some neccessary member which are neccessary for following functionality
+ // get threadsafe some necessary member which are necessary for following functionality
/* SAFE { */
ReadGuard aReadLock( m_aLock );
css::uno::Reference< css::lang::XMultiServiceFactory > xFactory = m_xFactory;
@@ -1063,7 +1063,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Desktop::findFrame( const ::r
//-----------------------------------------------------------------------------------------------------
// I.I) "_blank"
// create a new task as child of this desktop instance
- // Note: Used helper TaskCreator use us automaticly ...
+ // Note: Used helper TaskCreator use us automatically ...
//-----------------------------------------------------------------------------------------------------
if ( sTargetFrameName==SPECIALTARGET_BLANK )
{
@@ -1102,10 +1102,10 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Desktop::findFrame( const ::r
// But we ust break further searches if target was already found.
// Order of using flags is fix: SELF - CHILDREN - SIBLINGS - PARENT
// TASK and CREATE are handled special.
- // But note: Such flags are not valid for the desktop - especialy SIBLINGS or PARENT.
+ // But note: Such flags are not valid for the desktop - especially SIBLINGS or PARENT.
//-------------------------------------------------------------------------------------------------
- // get threadsafe some neccessary member which are neccessary for following functionality
+ // get threadsafe some necessary member which are necessary for following functionality
/* SAFE { */
aReadLock.lock();
::rtl::OUString sOwnName = m_sName;
@@ -1129,9 +1129,9 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Desktop::findFrame( const ::r
// II.II) TASKS
// This is a special flag. Normaly it regulate search inside tasks and forbid access to parent trees.
// But the desktop exists outside such task trees. They are our sub trees. So the desktop implement
- // a special feature: We use it to start search on our direct childrens only. That means we supress
- // search on ALL child frames. May that can be usefull to get access on opened document tasks
- // only without filter out all non realy required sub frames ...
+ // a special feature: We use it to start search on our direct childrens only. That means we suppress
+ // search on ALL child frames. May that can be useful to get access on opened document tasks
+ // only without filter out all non really required sub frames ...
// Used helper method on our container doesn't create any frame - its a search only.
//-------------------------------------------------------------------------------------------------
if (
@@ -1160,7 +1160,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Desktop::findFrame( const ::r
//-------------------------------------------------------------------------------------------------
// II.IV) CREATE
// If we haven't found any valid target frame by using normal flags - but user allowed us to create
- // a new one ... we should do that. Used TaskCreator use us automaticly as parent!
+ // a new one ... we should do that. Used TaskCreator use us automatically as parent!
//-------------------------------------------------------------------------------------------------
if (
( ! xTarget.is() ) &&
@@ -1187,12 +1187,12 @@ void SAL_CALL Desktop::dispose()
WriteGuard aWriteLock( m_aLock );
// Look for multiple calls of this method!
- // If somewhere call dispose() twice - he will be stopped here realy!!!
+ // If somewhere call dispose() twice - he will be stopped here really!!!
TransactionGuard aTransaction( m_aTransactionManager, E_HARDEXCEPTIONS );
// Now - we are alone and its the first call of this method ...
// otherwise call before had thrown a DisposedException / hopefully .-)
- // But we dont use the transaction object created before ... we reset it immediatly ...
+ // But we dont use the transaction object created before ... we reset it immediately ...
// two lines of code ... for what ?
// The answer: We wished to synchronize concurrent dispose() calls -> OK
// But next line will wait for all currently running transaction (even if they
@@ -1211,7 +1211,7 @@ void SAL_CALL Desktop::dispose()
// Following lines of code can be called outside a synchronized block ...
// Because our transaction manager will block all new requests to this object.
// So nobody can use us any longer.
- // Exception: Only removing of listener will work ... and this code cant be dangerous.
+ // Exception: Only removing of listener will work ... and this code can't be dangerous.
// First we has to kill all listener connections.
// They might rely on our member and can hinder us on releasing them.
@@ -1328,7 +1328,7 @@ void SAL_CALL Desktop::dispatchFinished( const css::frame::DispatchResultEvent&
/*-************************************************************************************************************//**
@interface XEventListener
@short not implemented!
- @descr We are a status listener ... and so we must be an event listener too ... But we doesn't need it realy!
+ @descr We are a status listener ... and so we must be an event listener too ... But we doesn't need it really!
We are a temp. listener only and our lifetime isn't smaller then of our temp. used dispatcher.
@seealso method loadComponentFromURL()
@@ -1346,7 +1346,7 @@ void SAL_CALL Desktop::disposing( const css::lang::EventObject& ) throw( css::un
/*-************************************************************************************************************//**
@interface XInteractionHandler
- @short callback for loadComponentFromURL for detected exceptions during load proccess
+ @short callback for loadComponentFromURL for detected exceptions during load process
@descr In this case we must cancel loading and throw these detected exception again as result
of our own called method.
@@ -1437,7 +1437,7 @@ void SAL_CALL Desktop::handle( const css::uno::Reference< css::task::XInteractio
/* SAFE AREA ------------------------------------------------------------------------------------------- */
// Ok now it's time to break yield loop of loadComponentFromURL().
- // But only for realy aborted requests!
+ // But only for really aborted requests!
// For example warnings will be approved and we wait for any success story ...
if (bAbort)
{
@@ -1490,7 +1490,7 @@ void SAL_CALL Desktop::releaseNumberForComponent( const css::uno::Reference< css
Don't use this directly!
You must try to convert the value of given DESKTOP_PROPHANDLE and
return results of this operation. This will be used to ask vetoable
- listener. If no listener has a veto, we will change value realy!
+ listener. If no listener has a veto, we will change value really!
( in method setFastPropertyValue_NoBroadcast(...) )
@attention Methods of OPropertySethelper are safed by using our shared osl mutex! (see ctor!)
@@ -1555,7 +1555,7 @@ sal_Bool SAL_CALL Desktop::convertFastPropertyValue( css::uno::Any& aCon
@descr This method is calling from helperclass "OPropertySetHelper".
Don't use this directly!
Handle and value are valid everyway! You must set the new value only.
- After this, baseclass send messages to all listener automaticly.
+ After this, baseclass send messages to all listener automatically.
@seealso class OPropertySetHelper
@@ -1658,7 +1658,7 @@ void SAL_CALL Desktop::getFastPropertyValue( css::uno::Any& aValue ,
if( pInfoHelper == NULL )
{
// Define static member to give structure of properties to baseclass "OPropertySetHelper".
- // "impl_getStaticPropertyDescriptor" is a non exported and static funtion, who will define a static propertytable.
+ // "impl_getStaticPropertyDescriptor" is a non exported and static function, who will define a static propertytable.
// "sal_True" say: Table is sorted by name.
static ::cppu::OPropertyArrayHelper aInfoHelper( impl_getStaticPropertyDescriptor(), sal_True );
pInfoHelper = &aInfoHelper;
@@ -1956,7 +1956,7 @@ void Desktop::impl_sendNotifyTerminationEvent()
// Reactivate controller.
// It can happen that XController.suspend() returned true ... but a registered close listener
// throwed these veto exception. Then the controller has to be reactivated. Otherwise
- // these document doesnt work any more.
+ // these document doesn't work any more.
if (
(bSuspended ) &&
(xController.is())
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index 92800cc61ff4..e48fbbc84f64 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -257,7 +257,7 @@ DEFINE_INIT_SERVICE ( Frame,
@attention a) Don't use your own reference during an UNO-Service-ctor! There is no guarantee, that you
will get over this. (e.g. using of your reference as parameter to initialize some member)
- Do such things in DEFINE_INIT_SERVICE() method, which is called automaticly after your ctor!!!
+ Do such things in DEFINE_INIT_SERVICE() method, which is called automatically after your ctor!!!
b) Baseclass OBroadcastHelper is a typedef in namespace cppu!
The microsoft compiler has some problems to handle it right BY using namespace explicitly ::cppu::OBroadcastHelper.
If we write it without a namespace or expand the typedef to OBrodcastHelperVar<...> -> it will be OK!?
@@ -426,7 +426,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Frame::getActiveFrame() throw
ReadGuard aReadLock( m_aLock );
// Return current active frame.
- // This information is avaliable on the container.
+ // This information is available on the container.
return m_aChildFrameContainer.getActive();
}
@@ -455,7 +455,7 @@ void SAL_CALL Frame::setActiveFrame( const css::uno::Reference< css::frame::XFra
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
WriteGuard aWriteLock( m_aLock );
- // Copy neccessary member for threadsafe access!
+ // Copy necessary member for threadsafe access!
// m_aChildFrameContainer is threadsafe himself and he live if we live!!!
// ...and our transaction is non breakable too ...
css::uno::Reference< css::frame::XFrame > xActiveChild = m_aChildFrameContainer.getActive();
@@ -572,7 +572,7 @@ void SAL_CALL Frame::initialize( const css::uno::Reference< css::awt::XWindow >&
if ( m_xContainerWindow.is() )
throw css::uno::RuntimeException(
- ::rtl::OUString::createFromAscii("Frame::initialized() is called more then once, which isnt usefull nor allowed."),
+ ::rtl::OUString::createFromAscii("Frame::initialized() is called more then once, which isn't useful nor allowed."),
static_cast< css::frame::XFrame* >(this));
// Look for rejected calls first!
@@ -816,7 +816,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Frame::findFrame( const ::rtl
// force using of "if() else if() ..."
//-----------------------------------------------------------------------------------------------------
- // get threadsafe some neccessary member which are neccessary for following functionality
+ // get threadsafe some necessary member which are necessary for following functionality
/* SAFE { */
ReadGuard aReadLock( m_aLock );
css::uno::Reference< css::frame::XFrame > xParent ( m_xParent, css::uno::UNO_QUERY );
@@ -829,7 +829,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Frame::findFrame( const ::rtl
//-----------------------------------------------------------------------------------------------------
// I.I) "_blank"
// Not allowed for a normal frame - but for the desktop.
- // Use helper class to do so. It use the desktop automaticly.
+ // Use helper class to do so. It use the desktop automatically.
//-----------------------------------------------------------------------------------------------------
if ( sTargetFrameName==SPECIALTARGET_BLANK )
{
@@ -914,7 +914,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Frame::findFrame( const ::rtl
// TASK and CREATE are handled special.
//-------------------------------------------------------------------------------------------------
- // get threadsafe some neccessary member which are neccessary for following functionality
+ // get threadsafe some necessary member which are necessary for following functionality
/* SAFE { */
aReadLock.lock();
::rtl::OUString sOwnName = m_sName;
@@ -964,7 +964,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Frame::findFrame( const ::rtl
//-------------------------------------------------------------------------------------------------
// II.III.I) SIBLINGS
// Search on all our direct siblings - means all childrens of our parent.
- // Use this flag in combination with TASK. We must supress such upper search if
+ // Use this flag in combination with TASK. We must suppress such upper search if
// user has not set it and if we are a top frame.
//
// Attention: Don't forward this request to our parent as a findFrame() call.
@@ -1040,7 +1040,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Frame::findFrame( const ::rtl
//-------------------------------------------------------------------------------------------------
// II.IV) CREATE
// If we haven't found any valid target frame by using normal flags - but user allowed us to create
- // a new one ... we should do that. Used TaskCreator use Desktop instance automaticly as parent!
+ // a new one ... we should do that. Used TaskCreator use Desktop instance automatically as parent!
//-------------------------------------------------------------------------------------------------
if (
( ! xTarget.is() ) &&
@@ -1088,7 +1088,7 @@ sal_Bool SAL_CALL Frame::isTop() throw( css::uno::RuntimeException )
/*-****************************************************************************************************//**
@short activate frame in hierarchy
- @descr This feature is used to mark active pathes in our frame hierarchy.
+ @descr This feature is used to mark active paths in our frame hierarchy.
You can be a listener for this event to react for it ... change some internal states or something else.
@seealso method deactivate()
@@ -1110,8 +1110,8 @@ void SAL_CALL Frame::activate() throw( css::uno::RuntimeException )
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
WriteGuard aWriteLock( m_aLock );
- // Copy neccessary member and free the lock.
- // It's not neccessary for m_aChildFrameContainer ... because
+ // Copy necessary member and free the lock.
+ // It's not necessary for m_aChildFrameContainer ... because
// he is threadsafe himself and live if we live.
// We use a registered transaction to prevent us against
// breaks during this operation!
@@ -1136,7 +1136,7 @@ void SAL_CALL Frame::activate() throw( css::uno::RuntimeException )
// Deactivate sibling path and forward activation to parent ... if any parent exist!
if( xParent.is() == sal_True )
{
- // Everytime set THIS frame as active child of parent and activate it.
+ // Every time set THIS frame as active child of parent and activate it.
// We MUST have a valid path from bottom to top as active path!
// But we must deactivate the old active sibling path first.
@@ -1151,7 +1151,7 @@ void SAL_CALL Frame::activate() throw( css::uno::RuntimeException )
// But we do nothing then! We are already activated.
xParent->activate();
}
- // Its neccessary to send event NOW - not before.
+ // Its necessary to send event NOW - not before.
// Activation goes from bottom to top!
// Thats the reason to activate parent first and send event now.
implts_sendFrameActionEvent( css::frame::FrameAction_FRAME_ACTIVATED );
@@ -1188,7 +1188,7 @@ void SAL_CALL Frame::activate() throw( css::uno::RuntimeException )
/*-****************************************************************************************************//**
@short deactivate frame in hierarchy
- @descr This feature is used to deactive pathes in our frame hierarchy.
+ @descr This feature is used to deactive paths in our frame hierarchy.
You can be a listener for this event to react for it ... change some internal states or something else.
@seealso method activate()
@@ -1210,7 +1210,7 @@ void SAL_CALL Frame::deactivate() throw( css::uno::RuntimeException )
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
WriteGuard aWriteLock( m_aLock );
- // Copy neccessary member and free the lock.
+ // Copy necessary member and free the lock.
css::uno::Reference< css::frame::XFrame > xActiveChild = m_aChildFrameContainer.getActive() ;
css::uno::Reference< css::frame::XFramesSupplier > xParent ( m_xParent, css::uno::UNO_QUERY ) ;
css::uno::Reference< css::frame::XFrame > xThis ( static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY );
@@ -1893,7 +1893,7 @@ void SAL_CALL Frame::dispose() throw( css::uno::RuntimeException )
// should exist. Otherwhise it's the problem of the outside caller.
// Note:
// (a) Do it after stopWindowListening(). May that force some active/deactive
- // notifications which we doesn't need here realy.
+ // notifications which we doesn't need here really.
// (b) Don't forget to save the old value of IsDialogCancelEnabled() to
// restore it afterwards. We cannot call EnableDialogCancel( sal_False )
// as we would kill the headless mode!
@@ -1972,7 +1972,7 @@ void SAL_CALL Frame::dispose() throw( css::uno::RuntimeException )
m_bSelfClose = sal_False;
m_bIsHidden = sal_True;
- // Disable this instance for further working realy!
+ // Disable this instance for further working really!
m_aTransactionManager.setWorkingMode( E_CLOSE );
// Don't forget it restore old value -
@@ -2042,7 +2042,7 @@ css::uno::Reference< css::task::XStatusIndicator > SAL_CALL Frame::createStatusI
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
ReadGuard aReadLock( m_aLock );
- // Make snapshot of neccessary member and define default return value.
+ // Make snapshot of necessary member and define default return value.
css::uno::Reference< css::task::XStatusIndicator > xExternal(m_xIndicatorInterception.get(), css::uno::UNO_QUERY);
css::uno::Reference< css::task::XStatusIndicatorFactory > xFactory = m_xIndicatorFactoryHelper;
@@ -2388,7 +2388,7 @@ void SAL_CALL Frame::windowClosing( const css::lang::EventObject& ) throw( css::
/*-****************************************************************************************************//**
@short react for a show event for the internal container window
- @descr Normaly we doesn't need this information realy. But we can use it to
+ @descr Normaly we doesn't need this information really. But we can use it to
implement the special feature "trigger first visible task".
Algorithm: - first we have to check if we are a top (task) frame
@@ -2483,7 +2483,7 @@ void SAL_CALL Frame::disposing( const css::lang::EventObject& aEvent ) throw( cs
if( aEvent.Source == m_xContainerWindow )
{
- // NECCESSARY: Impl-method is threadsafe by himself!
+ // NECESSARY: Impl-method is threadsafe by himself!
aWriteLock.unlock();
implts_stopWindowListening();
aWriteLock.lock();
@@ -2858,7 +2858,7 @@ void Frame::implts_setIconOnWindow()
TransactionGuard aTransaction( m_aTransactionManager, E_HARDEXCEPTIONS );
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
- // Make snapshot of neccessary members and release lock.
+ // Make snapshot of necessary members and release lock.
ReadGuard aReadLock( m_aLock );
css::uno::Reference< css::awt::XWindow > xContainerWindow( m_xContainerWindow, css::uno::UNO_QUERY );
css::uno::Reference< css::frame::XController > xController ( m_xController , css::uno::UNO_QUERY );
@@ -2937,9 +2937,9 @@ void Frame::implts_setIconOnWindow()
/*-************************************************************************************************************//**
@short helper to start/stop listeneing for window events on container window
- @descr If we get a new container window, we must set it on internal memeber ...
+ @descr If we get a new container window, we must set it on internal member ...
and stop listening at old one ... and start listening on new one!
- But sometimes (in dispose() call!) it's neccessary to stop listeneing without starting
+ But sometimes (in dispose() call!) it's necessary to stop listeneing without starting
on new connections. So we split this functionality to make it easier at use.
@seealso method initialize()
@@ -2957,7 +2957,7 @@ void Frame::implts_startWindowListening()
TransactionGuard aTransaction( m_aTransactionManager, E_HARDEXCEPTIONS );
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
- // Make snapshot of neccessary member!
+ // Make snapshot of necessary member!
ReadGuard aReadLock( m_aLock );
css::uno::Reference< css::awt::XWindow > xContainerWindow = m_xContainerWindow ;
css::uno::Reference< css::lang::XMultiServiceFactory > xFactory = m_xFactory ;
@@ -3000,7 +3000,7 @@ void Frame::implts_stopWindowListening()
TransactionGuard aTransaction( m_aTransactionManager, E_SOFTEXCEPTIONS );
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
- // Make snapshot of neccessary member!
+ // Make snapshot of necessary member!
ReadGuard aReadLock( m_aLock );
css::uno::Reference< css::awt::XWindow > xContainerWindow = m_xContainerWindow ;
css::uno::Reference< css::lang::XMultiServiceFactory > xFactory = m_xFactory ;
@@ -3061,7 +3061,7 @@ void Frame::implts_checkSuicide()
aReadLock.unlock();
/* } SAFE */
// force close and deliver owner ship to source of possible throwed veto exception
- // Attention: Because this method isn't designed to throw such exception we must supress
+ // Attention: Because this method isn't designed to throw such exception we must suppress
// it for outside code!
try
{
@@ -3089,7 +3089,7 @@ void Frame::implts_checkSuicide()
void Frame::impl_setCloser( /*IN*/ const css::uno::Reference< css::frame::XFrame >& xFrame ,
/*IN*/ sal_Bool bState )
{
- // Note: If start module isnt installed - no closer has to be shown!
+ // Note: If start module isn't installed - no closer has to be shown!
if (!SvtModuleOptions().IsModuleInstalled(SvtModuleOptions::E_SSTARTMODULE))
return;
@@ -3124,7 +3124,7 @@ void Frame::impl_checkMenuCloser()
ReadGuard aReadLock(m_aLock);
// only top frames, which are part of our desktop hierarchy, can
- // do so! By the way - we need the desktop instance to have acess
+ // do so! By the way - we need the desktop instance to have access
// to all other top level frames too.
css::uno::Reference< css::frame::XDesktop > xDesktop (m_xParent, css::uno::UNO_QUERY);
css::uno::Reference< css::frame::XFramesSupplier > xTaskSupplier(xDesktop , css::uno::UNO_QUERY);
@@ -3150,7 +3150,7 @@ void Frame::impl_checkMenuCloser()
// If there exist ate least one other frame - there are two frames currently open.
// But we can enable this closer only, if one of these two tasks includes the help module.
// The "other frame" couldn't be the help. Because then it wouldn't be part of this "other list".
- // In such case it will be seperated to the reference aAnalyzer.m_xHelp!
+ // In such case it will be separated to the reference aAnalyzer.m_xHelp!
// But we must check, if weself includes the help ...
// Check aAnalyzer.m_bReferenceIsHelp!
if (
@@ -3180,7 +3180,7 @@ void Frame::impl_checkMenuCloser()
xNewCloserFrame = this;
}
- // Look for neccessary actions ...
+ // Look for necessary actions ...
// Only if the closer state must be moved from one frame to another one
// or must be enabled/disabled at all.
/* STATIC SAFE { */
diff --git a/framework/source/services/modulemanager.cxx b/framework/source/services/modulemanager.cxx
index 294c299b622a..9a34e17a6b7b 100644
--- a/framework/source/services/modulemanager.cxx
+++ b/framework/source/services/modulemanager.cxx
@@ -171,7 +171,7 @@ ModuleManager::~ModuleManager()
if (sModule.getLength() < 1)
throw css::frame::UnknownModuleException(
- ::rtl::OUString::createFromAscii("Cant find suitable module for the given component."),
+ ::rtl::OUString::createFromAscii("Can't find suitable module for the given component."),
static_cast< ::cppu::OWeakObject* >(this));
return sModule;
@@ -205,7 +205,7 @@ void SAL_CALL ModuleManager::replaceByName(const ::rtl::OUString& sName ,
// get access to the element
// Note: Dont use impl_getConfig() method here. Because it creates a readonly access only, further
// it cache it as a member of this module manager instance. If we change some props there ... but dont
- // flush changes (because an error occured) we will read them later. If we use a different config access
+ // flush changes (because an error occurred) we will read them later. If we use a different config access
// we can close it without a flush ... and our read data wont be affected .-)
css::uno::Reference< css::uno::XInterface > xCfg = ::comphelper::ConfigurationHelper::openConfig(
xSMGR,
diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx
index 532a916cbc7a..f6f8cb959890 100644
--- a/framework/source/services/pathsettings.cxx
+++ b/framework/source/services/pathsettings.cxx
@@ -300,7 +300,7 @@ PathSettings::PathInfo PathSettings::impl_readNewFormat(const ::rtl::OUString& s
//sal_Bool bMandatory = ((aInfo.Attributes & css::beans::PropertyAttribute::REMOVEABLE) != css::beans::PropertyAttribute::REMOVEABLE);
// Note: Till we support finalized / mandatory on our API more in detail we handle
- // all states simple as READONLY ! But because all realy needed pathes are "mandatory" by default
+ // all states simple as READONLY ! But because all really needed paths are "mandatory" by default
// we have to handle "finalized" as the real "readonly" indicator .
aPathVal.bIsReadonly = bFinalized;
}
@@ -318,8 +318,8 @@ void PathSettings::impl_storePath(const PathSettings::PathInfo& aPath)
css::uno::Reference< css::container::XNameAccess > xCfgOld = fa_getCfgOld();
// try to replace path-parts with well known and uspported variables.
- // So an office can be moved easialy to another location without loosing
- // it's related pathes.
+ // So an office can be moved easialy to another location without losing
+ // it's related paths.
PathInfo aResubstPath(aPath);
impl_subst(aResubstPath, sal_True);
@@ -340,11 +340,11 @@ void PathSettings::impl_storePath(const PathSettings::PathInfo& aPath)
::comphelper::ConfigurationHelper::flush(xCfgNew);
// remove the whole path from the old configuration !
- // Otherwise we cant make sure that the diff between new and old configuration
- // on loading time realy represent an user setting !!!
+ // Otherwise we can't make sure that the diff between new and old configuration
+ // on loading time really represent an user setting !!!
// Check if the given path exists inside the old configuration.
- // Because our new configuration knows more then the list of old pathes ... !
+ // Because our new configuration knows more then the list of old paths ... !
if (xCfgOld->hasByName(aResubstPath.sPathName))
{
css::uno::Reference< css::beans::XPropertySet > xProps(xCfgOld, css::uno::UNO_QUERY_THROW);
@@ -404,7 +404,7 @@ PathSettings::EChangeOp PathSettings::impl_updatePath(const ::rtl::OUString& sPa
aPath = impl_readNewFormat(sPath);
aPath.sPathName = sPath;
// replace all might existing variables with real values
- // Do it before these old pathes will be compared against the
+ // Do it before these old paths will be compared against the
// new path configuration. Otherwise some striungs uses different variables ... but substitution
// will produce strings with same content (because some variables are redundant!)
impl_subst(aPath, sal_False);
@@ -423,7 +423,7 @@ PathSettings::EChangeOp PathSettings::impl_updatePath(const ::rtl::OUString& sPa
// can be disabled for a new major
OUStringList lOldVals = impl_readOldFormat(sPath);
// replace all might existing variables with real values
- // Do it before these old pathes will be compared against the
+ // Do it before these old paths will be compared against the
// new path configuration. Otherwise some striungs uses different variables ... but substitution
// will produce strings with same content (because some variables are redundant!)
impl_subst(lOldVals, fa_getSubstitution(), sal_False);
@@ -433,7 +433,7 @@ PathSettings::EChangeOp PathSettings::impl_updatePath(const ::rtl::OUString& sPa
{ throw exRun; }
// Normal(!) exceptions can be ignored!
// E.g. in case an addon installs a new path, which was not well known for an OOo 1.x installation
- // we cant find a value for it inside the "old" configuration. So a NoSuchElementException
+ // we can't find a value for it inside the "old" configuration. So a NoSuchElementException
// will be normal .-)
catch(const css::uno::Exception&)
{}
@@ -509,8 +509,8 @@ css::uno::Sequence< sal_Int32 > PathSettings::impl_mapPathName2IDList(const ::rt
// Why ?
// The outside code must fire N events for every changed property.
// And the knowing about packaging of variables of the structure PathInfo
- // follow these group IDs ! But if such ID isnt in the range of [0..IDGROUP_COUNT]
- // the outside cant determine the right group ... and cant fire the right events .-)
+ // follow these group IDs ! But if such ID isn't in the range of [0..IDGROUP_COUNT]
+ // the outside can't determine the right group ... and can't fire the right events .-)
css::uno::Sequence< sal_Int32 > lIDs(IDGROUP_COUNT);
lIDs[0] = IDGROUP_OLDSTYLE ;
@@ -889,7 +889,7 @@ void PathSettings::impl_setPathValue( sal_Int32 nID ,
::rtl::OUStringBuffer sMsg(256);
sMsg.appendAscii("The path '" );
sMsg.append (aChangePath.sPathName);
- sMsg.appendAscii("' is defined as SINGLE_PATH. It's sub set of internal pathes cant be set.");
+ sMsg.appendAscii("' is defined as SINGLE_PATH. It's sub set of internal paths can't be set.");
throw css::uno::Exception(sMsg.makeStringAndClear(),
static_cast< ::cppu::OWeakObject* >(this));
}
@@ -909,7 +909,7 @@ void PathSettings::impl_setPathValue( sal_Int32 nID ,
::rtl::OUStringBuffer sMsg(256);
sMsg.appendAscii("The path '" );
sMsg.append (aChangePath.sPathName);
- sMsg.appendAscii("' is defined as SINGLE_PATH. It's sub set of internal pathes cant be set.");
+ sMsg.appendAscii("' is defined as SINGLE_PATH. It's sub set of internal paths can't be set.");
throw css::uno::Exception(sMsg.makeStringAndClear(),
static_cast< ::cppu::OWeakObject* >(this));
}
@@ -975,7 +975,7 @@ sal_Bool PathSettings::impl_isValidPath(const OUStringList& lPath) const
sal_Bool PathSettings::impl_isValidPath(const ::rtl::OUString& sPath) const
{
// allow empty path to reset a path.
-// idea by LLA to support empty pathes
+// idea by LLA to support empty paths
// if (sPath.getLength() == 0)
// {
// return sal_True;
@@ -1102,7 +1102,7 @@ css::uno::Reference< css::util::XStringSubstitution > PathSettings::fa_getSubsti
{
// create the needed substitution service.
// We must replace all used variables inside readed path values.
- // In case we can't do so ... the whole office can't work realy.
+ // In case we can't do so ... the whole office can't work really.
// That's why it seams to be OK to throw a RuntimeException then.
xSubst = css::uno::Reference< css::util::XStringSubstitution >(
xSMGR->createInstance(SERVICENAME_SUBSTITUTEPATHVARIABLES),
@@ -1135,7 +1135,7 @@ css::uno::Reference< css::container::XNameAccess > PathSettings::fa_getCfgOld()
::comphelper::ConfigurationHelper::openConfig(
xSMGR,
CFG_NODE_OLD,
- ::comphelper::ConfigurationHelper::E_STANDARD), // not readonly! Somtimes we need write access there !!!
+ ::comphelper::ConfigurationHelper::E_STANDARD), // not readonly! Sometimes we need write access there !!!
css::uno::UNO_QUERY_THROW);
// SAFE ->
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx
index c4debde83410..345f3df47ad3 100644
--- a/framework/source/services/substitutepathvars.cxx
+++ b/framework/source/services/substitutepathvars.cxx
@@ -98,7 +98,7 @@
#define REPLACELENGTH_LANGID 9
#define REPLACELENGTH_VLANG 8
#define REPLACELENGTH_WORKDIRURL 13
-// --> PB 2004-10-27 #i32656# - new variable of hierachy service
+// --> PB 2004-10-27 #i32656# - new variable of hierarchy service
#define REPLACELENGTH_BASEINSTURL 14
#define REPLACELENGTH_USERDATAURL 14
// <--
@@ -121,7 +121,7 @@
#define VARIABLE_PROGURL "$(progurl)"
#define VARIABLE_USERURL "$(userurl)"
#define VARIABLE_WORKDIRURL "$(workdirurl)"
-// --> PB 2004-10-27 #i32656# - new variable of hierachy service
+// --> PB 2004-10-27 #i32656# - new variable of hierarchy service
#define VARIABLE_BASEINSTURL "$(baseinsturl)"
#define VARIABLE_USERDATAURL "$(userdataurl)"
// <--
@@ -213,7 +213,7 @@ static FixedVariable aFixedVarTable[] =
{ VARIABLE_PROGURL, PREDEFVAR_PROGURL, REPLACELENGTH_PROGURL, true },
{ VARIABLE_USERURL, PREDEFVAR_USERURL, REPLACELENGTH_USERURL, true },
{ VARIABLE_WORKDIRURL, PREDEFVAR_WORKDIRURL, REPLACELENGTH_WORKDIRURL,true }, // Special variable (transient) and don't use for resubstitution!
- // --> PB 2004-10-27 #i32656# - new variable of hierachy service
+ // --> PB 2004-10-27 #i32656# - new variable of hierarchy service
{ VARIABLE_BASEINSTURL, PREDEFVAR_BASEINSTURL, REPLACELENGTH_BASEINSTURL,true },
{ VARIABLE_USERDATAURL, PREDEFVAR_USERDATAURL, REPLACELENGTH_USERDATAURL,true },
// <--
@@ -957,12 +957,12 @@ throw ( NoSuchElementException, RuntimeException )
// Fill return value with result
if ( bSubstitutionCompleted )
{
- // Substitution successfull!
+ // Substitution successful!
aResult = aWorkText;
}
else
{
- // Substitution not successfull!
+ // Substitution not successful!
if ( nDepth == nMaxRecursiveDepth )
{
// recursion depth reached!
@@ -1182,14 +1182,14 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable
// Set $(inst), $(instpath), $(insturl)
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTURL ] = aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTPATH ];
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INST ] = aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTPATH ];
- // --> PB 2004-10-27 #i32656# - new variable of hierachy service
+ // --> PB 2004-10-27 #i32656# - new variable of hierarchy service
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_BASEINSTURL ]= aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTPATH ];
// <--
// Set $(user), $(userpath), $(userurl)
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_USERURL ] = aPreDefPathVariables.m_FixedVar[ PREDEFVAR_USERPATH ];
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_USER ] = aPreDefPathVariables.m_FixedVar[ PREDEFVAR_USERPATH ];
- // --> PB 2004-11-11 #i32656# - new variable of hierachy service
+ // --> PB 2004-11-11 #i32656# - new variable of hierarchy service
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_USERDATAURL ]= aPreDefPathVariables.m_FixedVar[ PREDEFVAR_USERPATH ];
// <--
diff --git a/framework/source/services/taskcreatorsrv.cxx b/framework/source/services/taskcreatorsrv.cxx
index 1cf8a597fd6c..1dbd0c554d6a 100644
--- a/framework/source/services/taskcreatorsrv.cxx
+++ b/framework/source/services/taskcreatorsrv.cxx
@@ -175,7 +175,7 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL TaskCreatorService::createI
//------------------->
// HACK #125187# + #i53630#
// Mark all document windows as "special ones", so VCL can bind
- // special features to it. Because VCL doesnt know anything about documents ...
+ // special features to it. Because VCL doesn't know anything about documents ...
// Note: Doing so it's no longer supported, that e.g. our wizards can use findFrame(_blank)
// to create it's previes frames. They must do it manually by using WindowDescriptor+Toolkit!
css::uno::Reference< css::frame::XDesktop > xDesktop(xParentFrame, css::uno::UNO_QUERY);
@@ -246,7 +246,7 @@ css::uno::Reference< css::awt::XWindow > TaskCreatorService::implts_createContai
// get toolkit to create task container window
css::uno::Reference< css::awt::XToolkit > xToolkit( xSMGR->createInstance( SERVICENAME_VCLTOOLKIT ), css::uno::UNO_QUERY_THROW);
- // Check if child frames can be created realy. We need at least a valid window at the parent frame ...
+ // Check if child frames can be created really. We need at least a valid window at the parent frame ...
css::uno::Reference< css::awt::XWindowPeer > xParentWindowPeer;
if ( ! bTopWindow)
{
@@ -315,7 +315,7 @@ css::uno::Reference< css::frame::XFrame > TaskCreatorService::implts_createFrame
xNewFrame->initialize( xContainerWindow );
// Put frame to the frame tree.
- // Note: The property creator/parent will be set on the new putted frame automaticly ... by the parent container.
+ // Note: The property creator/parent will be set on the new putted frame automatically ... by the parent container.
if (xParentFrame.is())
{
css::uno::Reference< css::frame::XFramesSupplier > xSupplier (xParentFrame, css::uno::UNO_QUERY_THROW);
diff --git a/framework/source/tabwin/tabwindow.cxx b/framework/source/tabwin/tabwindow.cxx
index 45a47aaefd52..8741ff8ca046 100644
--- a/framework/source/tabwin/tabwindow.cxx
+++ b/framework/source/tabwin/tabwindow.cxx
@@ -908,7 +908,7 @@ void SAL_CALL TabWindow::getFastPropertyValue( css::uno::Any& aValue ,
if( pInfoHelper == NULL )
{
// Define static member to give structure of properties to baseclass "OPropertySetHelper".
- // "impl_getStaticPropertyDescriptor" is a non exported and static funtion, who will define a static propertytable.
+ // "impl_getStaticPropertyDescriptor" is a non exported and static function, who will define a static propertytable.
// "sal_True" say: Table is sorted by name.
static ::cppu::OPropertyArrayHelper aInfoHelper( impl_getStaticPropertyDescriptor(), sal_True );
pInfoHelper = &aInfoHelper;
diff --git a/framework/source/uiconfiguration/moduleuicfgsupplier.cxx b/framework/source/uiconfiguration/moduleuicfgsupplier.cxx
index 8573e98650b1..56b1be090622 100644
--- a/framework/source/uiconfiguration/moduleuicfgsupplier.cxx
+++ b/framework/source/uiconfiguration/moduleuicfgsupplier.cxx
@@ -192,7 +192,7 @@ RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "framework", "Ocke.Janssen@sun.com", "Modul
m_xUserCfgRootStorage = Reference< XStorage >( xStorageFactory->createInstanceWithArguments( aArgs ), UNO_QUERY );
// Create wrapper object for module user interface configuration managers, so they are able to call commit/revert on
- // root storage and nothing more (saftey)!
+ // root storage and nothing more (safety)!
RootStorageWrapper* pUserRootStorageWrapper = new RootStorageWrapper( Reference< XTransactedObject >( m_xUserCfgRootStorage, UNO_QUERY ));
m_xUserRootCommit = Reference< XTransactedObject>( static_cast< OWeakObject *>( pUserRootStorageWrapper ), UNO_QUERY );
}
diff --git a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
index f749c1df863c..b2fd4dae036a 100644
--- a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
+++ b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
@@ -419,7 +419,7 @@ ModuleUIConfigurationManager::UIElementData* ModuleUIConfigurationManager::impl
}
}
- // Not successfull, we have to look into our default vector/hash_map combination
+ // Not successful, we have to look into our default vector/hash_map combination
UIElementDataHashMap& rDefaultHashMap = m_aUIElements[LAYER_DEFAULT][nElementType].aElementsHashMap;
pIter = rDefaultHashMap.find( aResourceURL );
if ( pIter != rDefaultHashMap.end() )
diff --git a/framework/source/uiconfiguration/uicategorydescription.cxx b/framework/source/uiconfiguration/uicategorydescription.cxx
index 5a0ee8726e21..afeda03427b5 100644
--- a/framework/source/uiconfiguration/uicategorydescription.cxx
+++ b/framework/source/uiconfiguration/uicategorydescription.cxx
@@ -94,7 +94,7 @@ namespace framework
// Configuration access class for PopupMenuControllerFactory implementation
//*****************************************************************************************************************
-class ConfigurationAccess_UICategory : // Order is neccessary for right initialization!
+class ConfigurationAccess_UICategory : // Order is necessary for right initialization!
private ThreadHelpBase ,
public ::cppu::WeakImplHelper2<XNameAccess,XContainerListener>
{
@@ -166,7 +166,7 @@ ConfigurationAccess_UICategory::ConfigurationAccess_UICategory( const rtl::OUStr
m_bCacheFilled( sal_False )
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "framework", "Ocke.Janssen@sun.com", "ConfigurationAccess_UICategory::ConfigurationAccess_UICategory" );
- // Create configuration hierachical access name
+ // Create configuration hierarchical access name
m_aConfigCategoryAccess += aModuleName;
m_aConfigCategoryAccess += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( CONFIGURATION_CATEGORY_ELEMENT_ACCESS ));
diff --git a/framework/source/uiconfiguration/uiconfigurationmanagerimpl.cxx b/framework/source/uiconfiguration/uiconfigurationmanagerimpl.cxx
index 66f4062f71aa..ce079b6c6040 100644
--- a/framework/source/uiconfiguration/uiconfigurationmanagerimpl.cxx
+++ b/framework/source/uiconfiguration/uiconfigurationmanagerimpl.cxx
@@ -391,7 +391,7 @@ UIConfigurationManagerImpl::UIElementData* UIConfigurationManagerImpl::impl_fin
if ( m_bUseDefault )
{
- // Not successfull, we have to look into our default vector/hash_map combination
+ // Not successful, we have to look into our default vector/hash_map combination
UIElementDataHashMap& rDefaultHashMap = m_aUIElements[LAYER_DEFAULT][nElementType].aElementsHashMap;
pIter = rDefaultHashMap.find( aResourceURL );
if ( pIter != rDefaultHashMap.end() )
diff --git a/framework/source/uiconfiguration/windowstateconfiguration.cxx b/framework/source/uiconfiguration/windowstateconfiguration.cxx
index 41ef92f882fd..294ede963817 100644
--- a/framework/source/uiconfiguration/windowstateconfiguration.cxx
+++ b/framework/source/uiconfiguration/windowstateconfiguration.cxx
@@ -141,7 +141,7 @@ class ConfigurationAccess_WindowState : // interfaces
public XNameContainer ,
public XContainerListener ,
// baseclasses
- // Order is neccessary for right initialization!
+ // Order is necessary for right initialization!
private ThreadHelpBase ,
public ::cppu::OWeakObject
{
@@ -210,7 +210,7 @@ class ConfigurationAccess_WindowState : // interfaces
WINDOWSTATE_MASK_DOCKSIZE = 32768
};
- // Cache structure. Valid values are described by tje eMask member. All other values should not be
+ // Cache structure. Valid values are described by the eMask member. All other values should not be
// provided to outside code!
struct WindowStateInfo
{
@@ -296,7 +296,7 @@ ConfigurationAccess_WindowState::ConfigurationAccess_WindowState( const rtl::OUS
m_bConfigAccessInitialized( sal_False ),
m_bModified( sal_False )
{
- // Create configuration hierachical access name
+ // Create configuration hierarchical access name
m_aConfigWindowAccess += aModuleName;
m_aConfigWindowAccess += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( CONFIGURATION_WINDOWSTATE_ACCESS ));
m_xConfigProvider = Reference< XMultiServiceFactory >( rServiceManager->createInstance( SERVICENAME_CFGPROVIDER ), UNO_QUERY );
diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx
index f269d814ea8a..81a7546da187 100644
--- a/framework/source/uielement/popuptoolbarcontroller.cxx
+++ b/framework/source/uielement/popuptoolbarcontroller.cxx
@@ -339,7 +339,7 @@ void NewToolbarController::functionExecuted( const OUString &rCommand )
If the given URL can be located as an action command of one menu item of the
popup menu of this control, we return sal_True. Otherwhise we return sal_False.
Further we return a fallback URL, in case we have to return sal_False. Because
- the outside code must select a valid item of the popup menu everytime ...
+ the outside code must select a valid item of the popup menu every time ...
and we define it here. By the way this m ethod was written to handle
error situations gracefully. E.g. it can be called during creation time
but then we have no valid menu. For this case we know another fallback URL.
@@ -347,7 +347,7 @@ void NewToolbarController::functionExecuted( const OUString &rCommand )
@param rPopupMenu
pounts to the popup menu, on which item we try to locate the given URL
- Can be NULL! Search will be supressed then.
+ Can be NULL! Search will be suppressed then.
@param sURL
the URL for searching
diff --git a/framework/source/uielement/uicommanddescription.cxx b/framework/source/uielement/uicommanddescription.cxx
index dbd9b8e5b569..8fcea001b04f 100644
--- a/framework/source/uielement/uicommanddescription.cxx
+++ b/framework/source/uielement/uicommanddescription.cxx
@@ -106,7 +106,7 @@ namespace framework
// Configuration access class for PopupMenuControllerFactory implementation
//*****************************************************************************************************************
-class ConfigurationAccess_UICommand : // Order is neccessary for right initialization!
+class ConfigurationAccess_UICommand : // Order is necessary for right initialization!
private ThreadHelpBase ,
public ::cppu::WeakImplHelper2<XNameAccess,XContainerListener>
{
@@ -224,7 +224,7 @@ ConfigurationAccess_UICommand::ConfigurationAccess_UICommand( const rtl::OUStrin
m_bCacheFilled( sal_False ),
m_bGenericDataRetrieved( sal_False )
{
- // Create configuration hierachical access name
+ // Create configuration hierarchical access name
m_aConfigCmdAccess += aModuleName;
m_aConfigCmdAccess += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( CONFIGURATION_CMD_ELEMENT_ACCESS ));
diff --git a/framework/source/unotypes/fwk.xml b/framework/source/unotypes/fwk.xml
index 7305212ab7f6..8d8dc1d7a6f7 100644
--- a/framework/source/unotypes/fwk.xml
+++ b/framework/source/unotypes/fwk.xml
@@ -113,7 +113,7 @@
<description>
It's a dispatch object which can handle "mailto:" URLs.
This service is registered in configuration for this protocol
- and wil be used automaticly by the generic dispatch implementation
+ and wil be used automatically by the generic dispatch implementation
of a Frame. It should start an external mail application and forward
this request to it.
</description>
@@ -128,10 +128,10 @@
<name> com.sun.star.comp.framework.ServiceHandler </name>
<description>
It's a special dispatch object which is registered for "service:*" URL pattern
- and will be automaticly used by the framework dispatch mechanism if such URL occured.
+ and will be automatically used by the framework dispatch mechanism if such URL occurred.
His job is to create any registered uno components which must be coded inside
dispatched URL (may with some optional given parameters). After that such created
- service must be hold his self alive. Such mechanism can be usefull for UI components
+ service must be hold his self alive. Such mechanism can be useful for UI components
(e.g. Dialogs, Wizards) only.
</description>
<loader-name> com.sun.star.loader.SharedLibrary </loader-name>
@@ -145,7 +145,7 @@
<name> com.sun.star.comp.framework.JobHandler </name>
<description>
It's a special dispatch object which is registered for "vnd.sun.star.job:*" URL pattern
- and will be automaticly used by the framework dispatch mechanism if such URL occured.
+ and will be automatically used by the framework dispatch mechanism if such URL occurred.
It binds the dispatch mechanism to the generic job execution of this framework module.
That can be used for e.g. addon purposes.
</description>
diff --git a/framework/source/xml/acceleratorconfigurationreader.cxx b/framework/source/xml/acceleratorconfigurationreader.cxx
index a1fd88231847..b9770112f4c0 100644
--- a/framework/source/xml/acceleratorconfigurationreader.cxx
+++ b/framework/source/xml/acceleratorconfigurationreader.cxx
@@ -55,7 +55,7 @@ namespace framework{
structure was detected.
This macro combined the given comment with a generic
- way to find out the XML line (where the error occured)
+ way to find out the XML line (where the error occurred)
to format a suitable message.
@param COMMENT
@@ -131,7 +131,7 @@ void SAL_CALL AcceleratorConfigurationReader::startElement(const ::rtl::OUString
if (eElement == E_ELEMENT_ITEM)
{
if (!m_bInsideAcceleratorList)
- THROW_PARSEEXCEPTION("An element \"accel:item\" must be embeded into 'accel:acceleratorlist'.")
+ THROW_PARSEEXCEPTION("An element \"accel:item\" must be embedded into 'accel:acceleratorlist'.")
if (m_bInsideAcceleratorItem)
THROW_PARSEEXCEPTION("An element \"accel:item\" is not a container.")
m_bInsideAcceleratorItem = sal_True;
@@ -189,7 +189,7 @@ void SAL_CALL AcceleratorConfigurationReader::startElement(const ::rtl::OUString
#ifdef ENABLE_WARNINGS
else
{
- // Attention: Its not realy a reason to throw an exception and kill the office, if the configuration contains
+ // Attention: Its not really a reason to throw an exception and kill the office, if the configuration contains
// multiple registrations for the same key :-) Show a warning ... and ignore the second item.
// THROW_PARSEEXCEPTION("Command is registered for the same key more then once.")
::rtl::OUStringBuffer sMsg(256);
diff --git a/framework/source/xml/imagesdocumenthandler.cxx b/framework/source/xml/imagesdocumenthandler.cxx
index 54d2e46bca08..dce66e5b8c88 100644
--- a/framework/source/xml/imagesdocumenthandler.cxx
+++ b/framework/source/xml/imagesdocumenthandler.cxx
@@ -204,7 +204,7 @@ throw( SAXException, RuntimeException )
if ( m_bImageContainerStartFound )
{
::rtl::OUString aErrorMessage = getErrorLineString();
- aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'image:imagecontainer' cannot be embeded into 'image:imagecontainer'!" ));
+ aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'image:imagecontainer' cannot be embedded into 'image:imagecontainer'!" ));
throw SAXException( aErrorMessage, Reference< XInterface >(), Any() );
}
@@ -217,14 +217,14 @@ throw( SAXException, RuntimeException )
if ( !m_bImageContainerStartFound )
{
::rtl::OUString aErrorMessage = getErrorLineString();
- aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'image:images' must be embeded into element 'image:imagecontainer'!" ));
+ aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'image:images' must be embedded into element 'image:imagecontainer'!" ));
throw SAXException( aErrorMessage, Reference< XInterface >(), Any() );
}
if ( m_bImagesStartFound )
{
::rtl::OUString aErrorMessage = getErrorLineString();
- aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'image:images' cannot be embeded into 'image:images'!" ));
+ aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'image:images' cannot be embedded into 'image:images'!" ));
throw SAXException( aErrorMessage, Reference< XInterface >(), Any() );
}
@@ -321,14 +321,14 @@ throw( SAXException, RuntimeException )
case IMG_ELEMENT_ENTRY:
{
- // Check that image:entry is embeded into image:images!
+ // Check that image:entry is embedded into image:images!
if ( !m_bImagesStartFound )
{
delete m_pImages;
m_pImages = NULL;
::rtl::OUString aErrorMessage = getErrorLineString();
- aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'image:entry' must be embeded into element 'image:images'!" ));
+ aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'image:entry' must be embedded into element 'image:images'!" ));
throw SAXException( aErrorMessage, Reference< XInterface >(), Any() );
}
@@ -398,25 +398,25 @@ throw( SAXException, RuntimeException )
case IMG_ELEMENT_EXTERNALIMAGES:
{
- // Check that image:externalimages is embeded into image:imagecontainer
+ // Check that image:externalimages is embedded into image:imagecontainer
if ( !m_bImageContainerStartFound )
{
delete m_pImages;
m_pImages = NULL;
::rtl::OUString aErrorMessage = getErrorLineString();
- aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'image:externalimages' must be embeded into element 'image:imagecontainer'!" ));
+ aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'image:externalimages' must be embedded into element 'image:imagecontainer'!" ));
throw SAXException( aErrorMessage, Reference< XInterface >(), Any() );
}
- // Check that image:externalentry is NOT embeded into image:externalentry
+ // Check that image:externalentry is NOT embedded into image:externalentry
if ( m_bExternalImagesStartFound )
{
delete m_pImages;
m_pImages = NULL;
::rtl::OUString aErrorMessage = getErrorLineString();
- aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'image:externalimages' cannot be embeded into 'image:externalimages'!" ));
+ aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'image:externalimages' cannot be embedded into 'image:externalimages'!" ));
throw SAXException( aErrorMessage, Reference< XInterface >(), Any() );
}
@@ -436,7 +436,7 @@ throw( SAXException, RuntimeException )
m_pExternalImages = NULL;
::rtl::OUString aErrorMessage = getErrorLineString();
- aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'image:externalentry' must be embeded into 'image:externalimages'!" ));
+ aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'image:externalentry' must be embedded into 'image:externalimages'!" ));
throw SAXException( aErrorMessage, Reference< XInterface >(), Any() );
}
@@ -448,7 +448,7 @@ throw( SAXException, RuntimeException )
m_pExternalImages = NULL;
::rtl::OUString aErrorMessage = getErrorLineString();
- aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'image:externalentry' cannot be embeded into 'image:externalentry'!" ));
+ aErrorMessage += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Element 'image:externalentry' cannot be embedded into 'image:externalentry'!" ));
throw SAXException( aErrorMessage, Reference< XInterface >(), Any() );
}
diff --git a/framework/test/test.cxx b/framework/test/test.cxx
index aef8153152bc..59c8053ff0ee 100644
--- a/framework/test/test.cxx
+++ b/framework/test/test.cxx
@@ -186,7 +186,7 @@ void TestApplication::Main()
m_xFactory = aManager.getGlobalUNOServiceManager();
setProcessServiceFactory( m_xFactory );
- // Control sucess of operation.
+ // Control success of operation.
LOG_ASSERT( !(m_xFactory.is() ==sal_False ), "TestApplication::Main()\nCan't create global service manager.\n\n" )
LOG_ASSERT( !(getProcessServiceFactory()!=m_xFactory), "TestApplication::Main()\nGlobal servicemanager not set in UNOTOOLS.\n\n" )
@@ -616,7 +616,7 @@ void TestApplication::impl_testDesktop( const Reference< XDesktop >& xDesktop )
LOG_ASSERT( !(xDesktopFrame->getName()!=sName), "TestApplication::impl_testDesktop()\nSetting of name works not correct on desktop.\n\n" )
// Reset name do default!
- // Its neccessary for follow operations.
+ // Its necessary for follow operations.
sName = OUString( RTL_CONSTASCII_USTRINGPARAM("Desktop") );
xDesktopFrame->setName( sName );
@@ -1304,7 +1304,7 @@ sal_Bool TestApplication::impl_testTreeSearch()
}
// Test inside/outside tasks search
- // No frames outside current task should be found if TASKS flag isnt set.
+ // No frames outside current task should be found if TASKS flag isn't set.
// Otherwise he must be found!
if (
( xF21211->findFrame( DECLARE_ASCII("F12" ), FrameSearchFlag::ALL ) == xF12 ) ||
diff --git a/framework/test/test_componentenumeration.bas b/framework/test/test_componentenumeration.bas
index c837bea2fb73..ec52ce6d5cef 100644
--- a/framework/test/test_componentenumeration.bas
+++ b/framework/test/test_componentenumeration.bas
@@ -37,7 +37,7 @@ Sub Main
rem ___________________________________________________________________________________________________________________________________
rem Control service specification of helper class "framework/helper/OComponentAccess".
- rem The follow output must occure: com.sun.star.lang.XTypeProvider
+ rem The follow output must occur: com.sun.star.lang.XTypeProvider
rem com.sun.star.container.XEnumerationAccess -> com.sun.star.container.XElementAccess
msgbox xComponentAccess.dbg_supportedInterfaces
@@ -70,7 +70,7 @@ Sub Main
rem ___________________________________________________________________________________________________________________________________
rem Control service specification of helper class "framework/helper/OComponentEnumeration".
- rem The follow output must occure: com.sun.star.lang.XTypeProvider
+ rem The follow output must occur: com.sun.star.lang.XTypeProvider
rem com.sun.star.lang.XEventListener
rem com.sun.star.container.XEnumeration
msgbox xComponentEnumeration.dbg_supportedInterfaces
diff --git a/framework/test/test_statusindicatorfactory.bas b/framework/test/test_statusindicatorfactory.bas
index 9cd80a6d2605..6c7103c2b770 100644
--- a/framework/test/test_statusindicatorfactory.bas
+++ b/framework/test/test_statusindicatorfactory.bas
@@ -52,7 +52,7 @@ Sub Main
xIndicator2.setValue( 50 )
rem Work with indicator 3.
- rem If working finished automaticly indicator 2 is reactivated.
+ rem If working finished automatically indicator 2 is reactivated.
i = 0
while i<300
xIndicator3.setText( "Indicator 3: Range=300 Value=" + i )
@@ -62,13 +62,13 @@ Sub Main
wend
rem Delete indicator 2 before you deactivate number 3!
- rem The next automaticly activated indicator will be the number 1.
+ rem The next automatically activated indicator will be the number 1.
xIndicator2.end
- msgbox "Indicator 3 will be destroyed. Indicator 2 was deleted ... number 1 must reactivated automaticly!"
+ msgbox "Indicator 3 will be destroyed. Indicator 2 was deleted ... number 1 must reactivated automatically!"
xIndicator3.end
rem Work with indicator 1.
- rem If working finished automaticly the window will be destroyed.
+ rem If working finished automatically the window will be destroyed.
i = 25
while i<100
xIndicator1.setText( "Indicator 1: Range=100 Value=" + i )
@@ -82,7 +82,7 @@ Sub Main
xIndicator1.setText( "Indicator 1: ... set 50 % for progress" )
wait( 1000 )
xIndicator1.setValue( 50 )
- msgbox "Indicator 1 will be destroyed. Indicator window must destroyed automaticly!"
+ msgbox "Indicator 1 will be destroyed. Indicator window must destroyed automatically!"
xIndicator1.end
msgbox "Test for status indicator finished successful!"
diff --git a/framework/test/threadtest.cxx b/framework/test/threadtest.cxx
index ec4285b710fe..a0e7e52608d8 100644
--- a/framework/test/threadtest.cxx
+++ b/framework/test/threadtest.cxx
@@ -290,7 +290,7 @@ class ThreadSafeClass : private TransactionBase
ThreadSafeClass ();
~ThreadSafeClass();
- // This methods are used from differnt threads
+ // This methods are used from different threads
// to test this class.
void init ( sal_Int32 nA ,
sal_Int32 nThreadID );
@@ -348,7 +348,7 @@ void ThreadSafeClass::init( sal_Int32 nA, sal_Int32 nThreadID )
LOG_INIT( nA, nThreadID )
// Look for multiple calls of this method first!
- // Use E_SOFTEXCEPTIONS to disable automaticly throwing of exceptions for some working modes.
+ // Use E_SOFTEXCEPTIONS to disable automatically throwing of exceptions for some working modes.
ERejectReason eReason;
TransactionGuard aTransaction( m_aTransactionManager, E_NOEXCEPTIONS, eReason );
if( eReason == E_UNINITIALIZED )
diff --git a/framework/test/threadtest/threadtest.cxx b/framework/test/threadtest/threadtest.cxx
index 7f79e25d0a98..4776fef75536 100644
--- a/framework/test/threadtest/threadtest.cxx
+++ b/framework/test/threadtest/threadtest.cxx
@@ -288,7 +288,7 @@ class ThreadSafeClass : private ThreadHelpBase
ThreadSafeClass ();
~ThreadSafeClass();
- // This methods are used from differnt threads
+ // This methods are used from different threads
// to test this class.
void init ( sal_Int32 nA ,
sal_Int32 nThreadID );
@@ -340,7 +340,7 @@ ThreadSafeClass::~ThreadSafeClass()
void ThreadSafeClass::init( sal_Int32 nA, sal_Int32 nThreadID )
{
// Look for multiple calls of this method first!
- // Use E_SOFTEXCEPTIONS to disable automaticly throwing of exceptions for some working modes.
+ // Use E_SOFTEXCEPTIONS to disable automatically throwing of exceptions for some working modes.
TransactionGuard aTransaction( m_aTransactionManager, E_SOFTEXCEPTIONS );
// Set write lock for setting internal member AND
diff --git a/framework/test/typecfg/cfgview.cxx b/framework/test/typecfg/cfgview.cxx
index 8dbfb5ec27bb..eddb6d1245c9 100644
--- a/framework/test/typecfg/cfgview.cxx
+++ b/framework/test/typecfg/cfgview.cxx
@@ -183,7 +183,7 @@ CFGView gApplication;
void CFGView::Main()
{
// Init global servicemanager and set it.
- // It's neccessary for other services ... e.g. configuration.
+ // It's necessary for other services ... e.g. configuration.
ServiceManager aManager;
::comphelper::setProcessServiceFactory( aManager.getGlobalUNOServiceManager() );
@@ -240,7 +240,7 @@ void CFGView::impl_printSyntax()
@seealso -
@param "rMember", reference to struct of global application member to fill arguments in it
- @return right filled member struct or unchanged struct if an error occure!
+ @return right filled member struct or unchanged struct if an error occur!
@onerror We do nothing - or warn programmer!
*//*-*************************************************************************************************************/
diff --git a/framework/test/typecfg/xml2xcd.cxx b/framework/test/typecfg/xml2xcd.cxx
index 9922f2c7eeb3..a9409fbfe1b3 100644
--- a/framework/test/typecfg/xml2xcd.cxx
+++ b/framework/test/typecfg/xml2xcd.cxx
@@ -81,7 +81,7 @@ using namespace ::framework ;
3) decrease size of xml file
- don't write full localized values
- use own formated string for all non localized values
- - seperate "Installed" flag for filters
+ - separate "Installed" flag for filters
4) set right values for "Order" property of filters
5) support for ContentHandler
draft 6) reactivate old filter names
@@ -95,7 +95,7 @@ using namespace ::framework ;
#define ARGUMENT_VERSION_INPUT DECLARE_ASCII("-vin=") // argument for file version to read [1|2|3]
#define ARGUMENT_VERSION_OUTPUT DECLARE_ASCII("-vou=") // argument for file version to write [1|2|3]
-#define ARGUMENTLENGTH 5 // All arguments should have the same lenght ... it's better to detect it!
+#define ARGUMENTLENGTH 5 // All arguments should have the same length ... it's better to detect it!
#define ARGUMENTFOUND 0 // OUString::compareTo returns 0 if searched string match given one
#define WRITEABLE_ON DECLARE_ASCII("true" )
@@ -205,7 +205,7 @@ class XCDGenerator : public Application
static ::rtl::OUString impl_encodeSpecialSigns ( const ::rtl::OUString& sValue ); // encode strings for xml
static sal_Unicode impl_defineSeperator ( const ::framework::StringList& lList ); // search seperator for lists
static void impl_initFilterHashNew2Old ( StringHash& aHash ); // initialize converter table to restaurate old filter names
- static void impl_orderAlphabetical ( css::uno::Sequence< ::rtl::OUString >& lList ); // sort stringlist of internal type-, filter- ... names in alphabetical order to generate xcd files everytime in the same way
+ static void impl_orderAlphabetical ( css::uno::Sequence< ::rtl::OUString >& lList ); // sort stringlist of internal type-, filter- ... names in alphabetical order to generate xcd files every time in the same way
static sal_Bool impl_isUsAsciiAlphaDigit ( sal_Unicode c ,
sal_Bool bDigitAllowed = sal_True );
static ::rtl::OUString impl_encodeSetName ( const ::rtl::OUString& rSource );
@@ -229,7 +229,7 @@ void XCDGenerator::Main()
// impl_printCopyright();
// Init global servicemanager and set it.
- // It's neccessary for other services ... e.g. configuration.
+ // It's necessary for other services ... e.g. configuration.
ServiceManager aManager;
::comphelper::setProcessServiceFactory( aManager.getGlobalUNOServiceManager() );
::utl::setProcessServiceFactory ( aManager.getGlobalUNOServiceManager() );
@@ -251,7 +251,7 @@ void XCDGenerator::Main()
// Get some statistic informations of current filled filter cache ... (e.g. count of current activae filters)
// because we need it to check if all filters are converted and written to disk.
- // May be it's possible to lose some of them during convertion!!!
+ // May be it's possible to lose some of them during conversion!!!
m_aData.nOriginalTypes = m_aData.pFilterCache->getAllTypeNames().getLength() ;
m_aData.nOriginalFilters = m_aData.pFilterCache->getAllFilterNames().getLength() ;
m_aData.nOriginalDetectors = m_aData.pFilterCache->getAllDetectorNames().getLength() ;
@@ -324,7 +324,7 @@ void XCDGenerator::impl_printSyntax()
@seealso -
@param "rMember", reference to struct of global application member to fill arguments in it
- @return right filled member struct or unchanged struct if an error occure!
+ @return right filled member struct or unchanged struct if an error occur!
@onerror We do nothing - or warn programmer!
*//*-*************************************************************************************************************/
@@ -638,7 +638,7 @@ void XCDGenerator::impl_generateTypeTemplate()
m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"Data\" cfg:type=\"string\" cfg:writable=\"" );
m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" );
m_aData.sBufferStandard.appendAscii("\t\t\t\t<schema:documentation>\n" );
- m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Containes all data of a type as an own formated string.{Preferred, MediaType, ClipboardFormat, URLPattern, Extensions, DocumentIconID}</schema:description>\n" );
+ m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Contains all data of a type as an own formated string.{Preferred, MediaType, ClipboardFormat, URLPattern, Extensions, DocumentIconID}</schema:description>\n" );
m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" );
m_aData.sBufferStandard.appendAscii( "\t\t\t\t<default:data>false</default:data>\n" );
m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" );
@@ -1525,7 +1525,7 @@ void XCDGenerator::impl_generateUINamesProperty( ::rtl::OUStringBuffer&
++pUIName;
}
- // Generate full localized set, if some values are realy loclaized.
+ // Generate full localized set, if some values are really loclaized.
if( bDifferent == sal_True )
{
for( ConstStringHashIterator pUIName=lUINames.begin(); pUIName!=lUINames.end(); ++pUIName )
@@ -1603,7 +1603,7 @@ sal_Unicode XCDGenerator::impl_defineSeperator( const ::framework::StringList& l
// Start with first seperator.
// Step over all list items.
// If one item contains this seperator - try next one!
- // If no new one avaliable (5 tests failed!) - show an error message for user.
+ // If no new one available (5 tests failed!) - show an error message for user.
// => File will be wrong then!
// If seperator was changed start search during list again ... because
// new seperator could exist at already compared elements!