/* * Mutexes: blocking mutual exclusion locks * * started by Ingo Molnar: * * Copyright (C) 2004, 2005, 2006 Red Hat, Inc., Ingo Molnar * * This file contains the main data structure and API definitions. */ #ifndef __LINUX_MUTEX_H #define __LINUX_MUTEX_H #include #include #include #include #include #include #include #include /* * Simple, straightforward mutexes with strict semantics: * * - only one task can hold the mutex at a time * - only the owner can unlock the mutex * - multiple unlocks are not permitted * - recursive locking is not permitted * - a mutex object must be initialized via the API * - a mutex object must not be initialized via memset or copying * - task may not exit with mutex held * - memory areas where held locks reside must not be freed * - held mutexes must not be reinitialized * - mutexes may not be used in hardware or software interrupt * contexts such as tasklets and timers * * These semantics are fully enforced when DEBUG_MUTEXES is * enabled. Furthermore, besides enforcing the above rules, the mutex * debugging code also implements a number of additional features * that make lock debugging easier and faster: * * - uses symbolic names of mutexes, whenever they are printed in debug output * - point-of-acquire tracking, symbolic lookup of function names * - list of all locks held in the system, printout of them * - owner tracking * - detects self-recursing locks and prints out all relevant info * - detects multi-task circular deadlocks and prints out all affected * locks and tasks (and only those tasks) */ struct mutex { /* 1: unlocked, 0: locked, negative: locked, possible waiters */ atomic_t count; spinlock_t wait_lock; struct list_head wait_list; #if defined(CONFIG_DEBUG_MUTEXES) || defined(CONFIG_MUTEX_SPIN_ON_OWNER) struct task_struct *owner; #endif #ifdef CONFIG_MUTEX_SPIN_ON_OWNER struct optimistic_spin_queue osq; /* Spinner MCS lock */ #endif #ifdef CONFIG_DEBUG_MUTEXES void *magic; #endif #ifdef CONFIG_DEBUG_LOCK_ALLOC struct lockdep_map dep_map; #endif }; /* * This is the control structure for tasks blocked on mutex, * which resides on the blocked task's kernel stack: */ struct mutex_waiter { struct list_head list; struct task_struct *task; #ifdef CONFIG_DEBUG_MUTEXES void *magic; #endif }; #ifdef CONFIG_DEBUG_MUTEXES # include #else # define __DEBUG_MUTEX_INITIALIZER(lockname) /** * mutex_init - initialize the mutex * @mutex: the mutex to be initialized * * Initialize the mutex to unlocked state. * * It is not allowed to initialize an already locked mutex. */ # define mutex_init(mutex) \ do { \ static struct lock_class_key __key; \ \ __mutex_init((mutex), #mutex, &__key); \ } while (0) static inline void mutex_destroy(struct mutex *lock) {} #endif #ifdef CONFIG_DEBUG_LOCK_ALLOC # define __DEP_MAP_MUTEX_INITIALIZER(lockname) \ , .dep_map = { .name = #lockname } #else # define __DEP_MAP_MUTEX_INITIALIZER(lockname) #endif #define __MUTEX_INITIALIZER(lockname) \ { .count = ATOMIC_INIT(1) \ , .wait_lock = __SPIN_LOCK_UNLOCKED(lockname.wait_lock) \ , .wait_list = LIST_HEAD_INIT(lockname.wait_list) \ __DEBUG_MUTEX_INITIALIZER(lockname) \ __DEP_MAP_MUTEX_INITIALIZER(lockname) } #define DEFINE_MUTEX(mutexname) \ struct mutex mutexname = __MUTEX_INITIALIZER(mutexname) extern void __mutex_init(struct mutex *lock, const char *name, struct lock_class_key *key); /** * mutex_is_locked - is the mutex locked * @lock: the mutex to be queried * * Returns 1 if the mutex is locked, 0 if unlocked. */ static inline int mutex_is_locked(struct mutex *lock) { return atomic_read(&lock->count) != 1; } /* * See kernel/locking/mutex.c for detailed documentation of these APIs. * Also see Documentation/locking/mutex-design.txt. */ #ifdef CONFIG_DEBUG_LOCK_ALLOC extern void mutex_lock_nested(struct mutex *lock, unsigned int subclass); extern void _mutex_lock_nest_lock(struct mutex *lock, struct lockdep_map *nest_lock); extern int __must_check mutex_lock_interruptible_nested(struct mutex *lock, unsigned int subclass); extern int __must_check mutex_lock_killable_nested(struct mutex *lock, unsigned int subclass); #define mutex_lock(lock) mutex_lock_nested(lock, 0) #define mutex_lock_interruptible(lock) mutex_lock_interruptible_nested(lock, 0) #define mutex_lock_killable(lock) mutex_lock_killable_nested(lock, 0) #define mutex_lock_nest_lock(lock, nest_lock) \ do { \ typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \ _mutex_lock_nest_lock(lock, &(nest_lock)->dep_map); \ } while (0) #else extern void mutex_lock(struct mutex *lock); extern int __must_check mutex_lock_interruptible(struct mutex *lock); extern int __must_check mutex_lock_killable(struct mutex *lock); # define mutex_lock_nested(lock, subclass) mutex_lock(lock) # define mutex_lock_interruptible_nested(lock, subclass) mutex_lock_interruptible(lock) # define mutex_lock_killable_nested(lock, subclass) mutex_lock_killable(lock) # define mutex_lock_nest_lock(lock, nest_lock) mutex_lock(lock) #endif /* * NOTE: mutex_trylock() follows the spin_trylock() convention, * not the down_trylock() convention! * * Returns 1 if the mutex has been acquired successfully, and 0 on contention. */ extern int mutex_trylock(struct mutex *lock); extern void mutex_unlock(struct mutex *lock); extern int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock); #endif /* __LINUX_MUTEX_H */ a/lov-5.1 main, development code repositoryroot
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Giffuni <pfg@apache.org>2014-04-29 19:05:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-04-30 12:13:36 +0100
commit0a1d822372927e3252f40b7a16590716ccc2eedd (patch)
tree987b54bb43aa8f9575c8c9415cd45a9213d24c66
parent225cc70f398963f39dfe7d986d61462e07417a8a (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. (cherry picked from commit a6efc99d19d533fcf53106b6667bafba4d364370) Conflicts: accessibility/bridge/org/openoffice/java/accessibility/AccessibleTextImpl.java accessibility/bridge/org/openoffice/java/accessibility/Component.java accessibility/bridge/org/openoffice/java/accessibility/Container.java accessibility/bridge/org/openoffice/java/accessibility/DescendantManager.java accessibility/bridge/org/openoffice/java/accessibility/Dialog.java accessibility/bridge/org/openoffice/java/accessibility/Frame.java accessibility/bridge/org/openoffice/java/accessibility/List.java accessibility/bridge/org/openoffice/java/accessibility/Menu.java accessibility/bridge/org/openoffice/java/accessibility/Table.java accessibility/bridge/org/openoffice/java/accessibility/Tree.java accessibility/bridge/org/openoffice/java/accessibility/Window.java accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx accessibility/source/extended/accessibleiconchoicectrlentry.cxx accessibility/source/extended/accessiblelistboxentry.cxx accessibility/source/extended/accessibletablistbox.cxx accessibility/source/extended/accessibletablistboxtable.cxx accessibility/workben/org/openoffice/accessibility/awb/canvas/Canvas.java accessibility/workben/org/openoffice/accessibility/misc/OfficeConnection.java apple_remote/AppleRemote.m autodoc/inc/ary/cpp/c_gate.hxx autodoc/inc/ary/cpp/cp_ce.hxx autodoc/inc/ary/cpp/cp_def.hxx autodoc/inc/ary/cpp/cp_type.hxx autodoc/inc/ary/doc/d_parametrized.hxx autodoc/inc/ary/idl/i_type.hxx autodoc/source/ary/inc/cross_refs.hxx autodoc/source/ary/inc/sorted_idset.hxx autodoc/source/display/html/outfile.hxx autodoc/source/display/html/pagemake.cxx autodoc/source/display/idl/hi_env.hxx autodoc/source/parser/inc/tokens/tokproct.hxx autodoc/source/parser_i/inc/s2_luidl/tokproct.hxx autodoc/source/parser_i/inc/tokens/tkp2.hxx automation/inc/automation/commtypes.hxx automation/inc/automation/simplecm.hxx automation/source/server/recorder.cxx automation/source/server/recorder.hxx automation/source/server/statemnt.cxx automation/source/simplecm/packethandler.hxx automation/source/simplecm/simplecm.cxx avmedia/source/framework/soundhandler.cxx basegfx/inc/basegfx/range/rangeexpander.hxx basic/inc/basic/sbxdef.hxx basic/source/classes/sbunoobj.cxx basic/source/classes/sbxmod.cxx basic/source/comp/dim.cxx basic/source/comp/exprgen.cxx basic/source/runtime/step1.cxx basic/source/runtime/step2.cxx basic/source/sbx/sbxint.cxx basic/source/uno/namecont.cxx basic/workben/mgrtest.cxx bean/com/sun/star/beans/LocalOfficeConnection.java bean/com/sun/star/beans/LocalOfficeWindow.java bean/com/sun/star/comp/beans/LocalOfficeConnection.java bean/com/sun/star/comp/beans/LocalOfficeWindow.java bean/com/sun/star/comp/beans/OOoBean.java bridges/inc/bridges/cpp_uno/bridge.hxx bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno.cxx bridges/source/cpp_uno/cc50_solaris_intel/except.cxx bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp.cxx bridges/source/cpp_uno/cc50_solaris_sparc/cpp2uno.cxx bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp.cxx bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx bridges/source/cpp_uno/gcc3_macosx_powerpc/cpp2uno.cxx bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx bridges/source/cpp_uno/gcc3_netbsd_intel/cpp2uno.cxx bridges/source/cpp_uno/gcc3_netbsd_intel/except.cxx bridges/source/cpp_uno/gcc3_netbsd_intel/uno2cpp.cxx bridges/source/cpp_uno/gcc3_os2_intel/cpp2uno.cxx bridges/source/cpp_uno/gcc3_os2_intel/except.cxx bridges/source/cpp_uno/gcc3_os2_intel/uno2cpp.cxx bridges/source/cpp_uno/mingw_x86-64/uno2cpp.cxx bridges/source/cpp_uno/msvc_win32_intel/except.cxx bridges/source/cpp_uno/s5abi_macosx_x86-64/except.cxx bridges/source/cpp_uno/shared/component.cxx bridges/source/jni_uno/jni_base.h bridges/source/jni_uno/jni_bridge.cxx bridges/source/jni_uno/jni_java2uno.cxx bridges/source/jni_uno/jni_uno2java.cxx canvas/inc/canvas/base/doublebitmapbase.hxx canvas/inc/canvas/base/floatbitmapbase.hxx canvas/inc/canvas/base/integerbitmapbase.hxx canvas/source/cairo/cairo_canvasbitmap.cxx canvas/source/cairo/cairo_textlayout.cxx chart2/source/controller/dialogs/ObjectNameProvider.cxx chart2/source/view/diagram/VDiagram.cxx chart2/source/view/main/ChartView.cxx cli_ure/source/native/makefile.mk cli_ure/source/uno_bridge/cli_data.cxx codemaker/source/javamaker/javatype.cxx comphelper/inc/comphelper/componentcontext.hxx comphelper/inc/comphelper/interaction.hxx comphelper/inc/comphelper/locale.hxx comphelper/inc/comphelper/string.hxx comphelper/source/container/embeddedobjectcontainer.cxx comphelper/source/misc/accessiblecontexthelper.cxx comphelper/source/misc/asyncnotification.cxx comphelper/source/misc/locale.cxx comphelper/source/misc/mediadescriptor.cxx comphelper/source/misc/numberedcollection.cxx comphelper/source/misc/proxyaggregation.cxx comphelper/source/misc/scopeguard.cxx comphelper/source/misc/sequenceashashmap.cxx configure.in connectivity/source/commontools/parameters.cxx connectivity/source/drivers/dbase/DTable.cxx connectivity/source/drivers/evoab2/NStatement.cxx connectivity/source/drivers/file/FPreparedStatement.cxx connectivity/source/drivers/jdbc/DatabaseMetaData.cxx connectivity/source/inc/flat/ETable.hxx connectivity/source/parse/sqlnode.cxx cosv/inc/cosv/persist.hxx cosv/inc/cosv/ploc_dir.hxx cosv/inc/cosv/tpl/dyn.hxx cppu/source/LogBridge/LogBridge.cxx cppu/source/uno/data.cxx cppuhelper/source/bootstrap.cxx cppuhelper/source/component_context.cxx cppuhelper/source/propshlp.cxx cppuhelper/source/servicefactory.cxx cpputools/source/registercomponent/registercomponent.cxx cui/source/customize/acccfg.cxx cui/source/dialogs/about.cxx cui/source/dialogs/commonlingui.hxx cui/source/dialogs/showcols.cxx cui/source/inc/cuihyperdlg.hxx cui/source/inc/cuitabline.hxx cui/source/options/optsave.src cui/source/tabpages/tpline.cxx cui/source/tabpages/transfrm.cxx dbaccess/source/core/api/CacheSet.cxx dbaccess/source/core/api/KeySet.cxx dbaccess/source/core/api/RowSet.cxx dbaccess/source/core/api/RowSet.hxx dbaccess/source/core/api/RowSetBase.cxx dbaccess/source/core/api/RowSetBase.hxx dbaccess/source/core/api/RowSetCache.cxx dbaccess/source/core/api/querycomposer.cxx dbaccess/source/ext/adabas/Acomponentmodule.hxx dbaccess/source/ui/app/AppControllerDnD.cxx dbaccess/source/ui/app/AppDetailView.cxx dbaccess/source/ui/browser/brwctrlr.cxx dbaccess/source/ui/browser/sbagrid.cxx dbaccess/source/ui/browser/unodatbr.cxx dbaccess/source/ui/dlg/AdabasStat.hxx dbaccess/source/ui/dlg/UserAdmin.cxx dbaccess/source/ui/dlg/directsql.cxx dbaccess/source/ui/dlg/generalpage.hxx dbaccess/source/ui/dlg/tablespage.cxx dbaccess/source/ui/inc/JoinTableView.hxx dbaccess/source/ui/inc/TableController.hxx dbaccess/source/ui/inc/UITools.hxx dbaccess/source/ui/inc/brwctrlr.hxx dbaccess/source/ui/inc/datasourcemap.hxx dbaccess/source/ui/querydesign/JoinTableView.cxx dbaccess/source/ui/querydesign/QueryDesignView.cxx dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx dbaccess/source/ui/querydesign/TableWindow.cxx dbaccess/source/ui/querydesign/querycontroller.cxx dbaccess/source/ui/relationdesign/RelationTableView.cxx dbaccess/source/ui/tabledesign/TableController.cxx desktop/source/app/app.cxx desktop/source/app/appinit.cxx desktop/source/app/langselect.cxx desktop/source/app/officeipcthread.cxx desktop/source/deployment/manager/dp_extensionmanager.cxx desktop/source/deployment/misc/dp_misc.cxx desktop/source/deployment/misc/dp_resource.cxx desktop/source/deployment/registry/dp_backend.cxx desktop/source/deployment/registry/package/dp_package.cxx desktop/source/migration/cfgfilter.cxx desktop/source/migration/migration.cxx desktop/source/splash/splash.cxx desktop/win32/source/QuickStart/QuickStart.cpp desktop/win32/source/setup/setup.cpp drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx dtrans/source/win32/clipb/MtaOleClipb.hxx dtrans/source/win32/clipb/WinClipbImpl.cxx editeng/source/editeng/editview.cxx editeng/source/editeng/impedit2.cxx editeng/source/editeng/impedit3.cxx editeng/source/editeng/impedit4.cxx editeng/source/editeng/textconv.hxx editeng/source/misc/unolingu.cxx embeddedobj/source/commonembedding/persistence.cxx embeddedobj/source/general/dummyobject.cxx embeddedobj/source/msole/olecomponent.cxx embeddedobj/source/msole/olepersist.cxx embeddedobj/test/Container1/NativeView.java extensions/source/bibliography/framectr.cxx extensions/source/macosx/spotlight/OOoContentDataParser.m extensions/source/macosx/spotlight/unzip.h extensions/source/macosx/spotlight/unzip.m extensions/source/oooimprovement/myconfigurationhelper.hxx extensions/source/propctrlr/eventhandler.cxx extensions/source/propctrlr/formcomponenthandler.cxx extensions/source/propctrlr/pcrcomponentcontext.hxx extensions/source/scanner/twain.cxx extensions/source/update/check/updatecheckconfig.hxx external/mingwheaders/mingw_atl_headers.patch extras/source/misc_config/wizard/web/layouts/source.xml.xsl fileaccess/source/FileAccess.cxx filter/inc/filter/msfilter/msocximex.hxx filter/inc/filter/msfilter/svxmsbas.hxx filter/qa/complex/filter/detection/typeDetection/Helper.java filter/source/config/cache/basecontainer.cxx filter/source/config/cache/cacheitem.hxx filter/source/config/cache/contenthandlerfactory.cxx filter/source/config/cache/filtercache.cxx filter/source/config/cache/filtercache.hxx filter/source/config/cache/filterfactory.cxx filter/source/config/cache/frameloaderfactory.cxx filter/source/config/cache/querytokenizer.hxx filter/source/config/cache/typedetection.cxx filter/source/config/cache/typedetection.hxx filter/source/config/cache/versions.hxx filter/source/config/fragments/makefile.mk filter/source/config/tools/merge/pyAltFCFGMerge filter/source/flash/swfwriter.cxx filter/source/flash/swfwriter1.cxx filter/source/msfilter/msdffimp.cxx filter/source/msfilter/msocximex.cxx filter/source/msfilter/msvbahelper.cxx filter/source/msfilter/svxmsbas.cxx filter/source/xmlfilterdetect/filterdetect.cxx filter/source/xslt/import/uof2/uof2odf.xsl filter/source/xslt/odf2xhtml/export/xhtml/body.xsl filter/source/xsltfilter/com/sun/star/comp/xsltfilter/Base64.java forms/source/xforms/convert.hxx forms/source/xforms/model.cxx fpicker/source/aqua/SalAquaFilePicker.mm fpicker/source/office/fpinteraction.cxx fpicker/source/unx/gnome/SalGtkFolderPicker.cxx fpicker/source/unx/kde4/KDE4FilePicker.cxx fpicker/source/win32/filepicker/PreviewCtrl.cxx fpicker/source/win32/filepicker/PreviewCtrl.hxx fpicker/source/win32/filepicker/VistaFilePicker.cxx fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx fpicker/source/win32/filepicker/helppopupwindow.hxx fpicker/source/win32/folderpicker/MtaFop.hxx framework/inc/classes/droptargetlistener.hxx framework/inc/classes/filtercache.hxx framework/inc/classes/filtercachedata.hxx framework/inc/classes/protocolhandlercache.hxx framework/inc/classes/servicemanager.hxx framework/inc/commands.h framework/inc/dispatch/basedispatcher.hxx framework/inc/dispatch/blankdispatcher.hxx framework/inc/dispatch/closedispatcher.hxx framework/inc/dispatch/createdispatcher.hxx framework/inc/dispatch/dispatchprovider.hxx framework/inc/dispatch/helpagentdispatcher.hxx framework/inc/dispatch/mailtodispatcher.hxx framework/inc/dispatch/menudispatcher.hxx framework/inc/dispatch/oxt_handler.hxx framework/inc/dispatch/popupmenudispatcher.hxx framework/inc/dispatch/selfdispatcher.hxx framework/inc/dispatch/servicehandler.hxx framework/inc/dispatch/startmoduledispatcher.hxx framework/inc/dispatch/systemexec.hxx framework/inc/helper/fixeddocumentproperties.hxx framework/inc/helper/ocomponentaccess.hxx framework/inc/helper/oframes.hxx framework/inc/helper/otasksenumeration.hxx framework/inc/helper/persistentwindowstate.hxx framework/inc/helper/statusindicator.hxx framework/inc/helper/statusindicatorfactory.hxx framework/inc/helper/tagwindowasmodified.hxx framework/inc/helper/titlebarupdate.hxx framework/inc/helper/vclstatusindicator.hxx framework/inc/interaction/quietinteraction.hxx framework/inc/jobs/helponstartup.hxx framework/inc/jobs/job.hxx framework/inc/jobs/jobdata.hxx framework/inc/jobs/jobexecutor.hxx framework/inc/loadstate.h framework/inc/macros/debug/assertion.hxx framework/inc/macros/debug/event.hxx framework/inc/macros/debug/filterdbg.hxx framework/inc/macros/debug/memorymeasure.hxx framework/inc/macros/debug/timemeasure.hxx framework/inc/macros/xserviceinfo.hxx framework/inc/queries.h framework/inc/recording/dispatchrecordersupplier.hxx framework/inc/services/autorecovery.hxx framework/inc/services/backingcomp.hxx framework/inc/services/contenthandlerfactory.hxx framework/inc/services/desktop.hxx framework/inc/services/detectorfactory.hxx framework/inc/services/frame.hxx framework/inc/services/frameloaderfactory.hxx framework/inc/services/layoutmanager.hxx framework/inc/services/license.hxx framework/inc/services/logindialog.hxx framework/inc/services/modulemanager.hxx framework/inc/services/pathsettings.hxx framework/inc/services/pluginframe.hxx framework/inc/services/substitutepathvars.hxx framework/inc/services/task.hxx framework/inc/services/taskcreatorsrv.hxx framework/inc/stdtypes.h framework/inc/threadhelp/fairrwlock.hxx framework/inc/threadhelp/inoncopyable.h framework/inc/threadhelp/itransactionmanager.h framework/inc/threadhelp/lockhelper.hxx framework/inc/threadhelp/readguard.hxx framework/inc/threadhelp/resetableguard.hxx framework/inc/threadhelp/transactionguard.hxx framework/inc/threadhelp/writeguard.hxx framework/inc/uifactory/uielementfactorymanager.hxx framework/inc/xml/acceleratorconfigurationreader.hxx framework/qa/complex/dispatches/checkdispatchapi.java framework/qa/complex/framework/autosave/AutoSave.java framework/qa/complex/framework/autosave/Protocol.java framework/qa/complex/framework/recovery/RecoveryTest.java framework/qa/complex/loadAllDocuments/StreamSimulator.java framework/source/accelerators/acceleratorconfiguration.cxx framework/source/accelerators/acceleratorexecute.cxx framework/source/accelerators/acceleratorexecute.hxx framework/source/accelerators/keymapping.cxx framework/source/accelerators/presethandler.cxx framework/source/application/framework.cxx framework/source/application/login.cxx framework/source/classes/framecontainer.cxx framework/source/classes/menumanager.cxx framework/source/classes/taskcreator.cxx framework/source/dispatch/closedispatcher.cxx framework/source/dispatch/dispatchprovider.cxx framework/source/dispatch/helpagentdispatcher.cxx framework/source/dispatch/interceptionhelper.cxx framework/source/dispatch/mailtodispatcher.cxx framework/source/dispatch/menudispatcher.cxx framework/source/dispatch/oxt_handler.cxx framework/source/dispatch/servicehandler.cxx framework/source/fwe/classes/framelistanalyzer.cxx framework/source/fwe/dispatch/interaction.cxx framework/source/fwe/helper/titlehelper.cxx framework/source/fwe/helper/undomanagerhelper.cxx framework/source/fwe/xml/eventsdocumenthandler.cxx framework/source/fwe/xml/statusbardocumenthandler.cxx framework/source/fwe/xml/toolboxdocumenthandler.cxx framework/source/fwi/classes/protocolhandlercache.cxx framework/source/fwi/threadhelp/lockhelper.cxx framework/source/fwi/threadhelp/transactionmanager.cxx framework/source/helper/persistentwindowstate.cxx framework/source/helper/statusindicatorfactory.cxx framework/source/helper/vclstatusindicator.cxx framework/source/inc/accelerators/acceleratorcache.hxx framework/source/inc/accelerators/acceleratorconfiguration.hxx framework/source/inc/accelerators/presethandler.hxx framework/source/inc/accelerators/storageholder.hxx framework/source/inc/loadenv/actionlockguard.hxx framework/source/inc/loadenv/loadenv.hxx framework/source/inc/loadenv/loadenvexception.hxx framework/source/inc/pattern/frame.hxx framework/source/inc/pattern/storages.hxx framework/source/inc/pattern/window.hxx framework/source/jobs/helponstartup.cxx framework/source/jobs/job.cxx framework/source/jobs/jobdata.cxx framework/source/jobs/jobdispatch.cxx framework/source/jobs/jobresult.cxx framework/source/jobs/joburl.cxx framework/source/jobs/shelljob.cxx framework/source/loadenv/loadenv.cxx framework/source/services/autorecovery.cxx framework/source/services/backingwindow.cxx framework/source/services/desktop.cxx framework/source/services/frame.cxx framework/source/services/modulemanager.cxx framework/source/services/pathsettings.cxx framework/source/services/substitutepathvars.cxx framework/source/uiconfiguration/moduleuicfgsupplier.cxx framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx framework/source/uiconfiguration/uicategorydescription.cxx framework/source/uiconfiguration/uiconfigurationmanagerimpl.cxx framework/source/uiconfiguration/windowstateconfiguration.cxx framework/source/uielement/uicommanddescription.cxx framework/source/unotypes/fwk.xml framework/source/xml/imagesdocumenthandler.cxx framework/test/test.cxx framework/test/test_componentenumeration.bas framework/test/test_statusindicatorfactory.bas framework/test/threadtest.cxx framework/test/threadtest/threadtest.cxx framework/test/typecfg/cfgview.cxx framework/test/typecfg/xml2xcd.cxx include/basegfx/polygon/b2dpolygon.hxx include/canvas/base/graphicdevicebase.hxx include/canvas/canvastools.hxx include/comphelper/configurationhelper.hxx include/comphelper/embeddedobjectcontainer.hxx include/comphelper/propagg.hxx include/comphelper/sequenceashashmap.hxx include/connectivity/sqlerror.hxx include/connectivity/sqlnode.hxx include/cppuhelper/propshlp.hxx include/editeng/AccessibleContextBase.hxx include/framework/framelistanalyzer.hxx sfx2/source/dialog/backingcomp.cxx vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx Change-Id: I2618bf83c0e30f68f23ff25f6eb466df04d34c6d
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx2
-rw-r--r--accessibility/source/extended/textwindowaccessibility.cxx2
-rw-r--r--avmedia/source/framework/soundhandler.cxx2
-rw-r--r--basegfx/source/polygon/b2dpolygontools.cxx2
-rw-r--r--basegfx/source/polygon/b2dsvgpolypolygon.cxx8
-rw-r--r--basegfx/source/raster/rasterconvert3d.cxx2
-rw-r--r--basic/source/classes/sb.cxx2
-rw-r--r--basic/source/comp/exprgen.cxx2
-rw-r--r--bean/com/sun/star/beans/LocalOfficeConnection.java6
-rw-r--r--bean/com/sun/star/comp/beans/LocalOfficeConnection.java2
-rw-r--r--bean/com/sun/star/comp/beans/OOoBean.java2
-rw-r--r--bean/com/sun/star/comp/beans/SystemWindowException.java2
-rw-r--r--bean/qa/complex/bean/OOoBeanTest.java2
-rw-r--r--binaryurp/source/writer.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx2
-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.cxx2
-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
-rw-r--r--chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx2
-rw-r--r--chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx2
-rw-r--r--chart2/source/controller/dialogs/DataBrowserModel.cxx2
-rw-r--r--chart2/source/view/diagram/VDiagram.cxx4
-rw-r--r--chart2/source/view/main/ChartView.cxx1
-rw-r--r--comphelper/source/container/embeddedobjectcontainer.cxx4
-rw-r--r--connectivity/source/commontools/parameters.cxx2
-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/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/odbc/ODatabaseMetaDataResultSet.hxx2
-rw-r--r--connectivity/workben/skeleton/SResultSet.hxx2
-rw-r--r--cppu/source/LogBridge/LogBridge.cxx2
-rw-r--r--cppuhelper/source/bootstrap.cxx2
-rw-r--r--cppuhelper/source/component_context.cxx6
-rw-r--r--cui/source/dialogs/SpellDialog.cxx2
-rw-r--r--cui/source/inc/cuihyperdlg.hxx2
-rw-r--r--cui/source/inc/transfrm.hxx2
-rw-r--r--cui/source/tabpages/tpline.cxx1
-rw-r--r--dbaccess/source/core/api/RowSetBase.hxx2
-rw-r--r--dbaccess/source/core/api/definitioncolumn.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.cxx6
-rw-r--r--dbaccess/source/ui/app/AppController.hxx2
-rw-r--r--dbaccess/source/ui/app/AppControllerDnD.cxx2
-rw-r--r--dbaccess/source/ui/app/AppDetailView.cxx1
-rw-r--r--dbaccess/source/ui/browser/sbagrid.cxx2
-rw-r--r--dbaccess/source/ui/browser/unodatbr.cxx2
-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/generalpage.hxx2
-rw-r--r--dbaccess/source/ui/inc/UITools.hxx2
-rw-r--r--dbaccess/source/ui/misc/UITools.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/QueryTableView.cxx2
-rw-r--r--dbaccess/source/ui/uno/copytablewizard.cxx4
-rw-r--r--desktop/source/app/app.cxx4
-rw-r--r--desktop/source/deployment/inc/dp_descriptioninfoset.hxx2
-rw-r--r--desktop/source/deployment/manager/dp_extensionmanager.cxx4
-rw-r--r--desktop/source/deployment/misc/dp_misc.cxx2
-rw-r--r--desktop/source/deployment/misc/dp_resource.cxx1
-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/win32/source/applauncher/launcher.cxx2
-rw-r--r--drawinglayer/source/primitive2d/metafileprimitive2d.cxx2
-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.cxx2
-rw-r--r--drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx2
-rw-r--r--drawinglayer/source/processor2d/vclprocessor2d.cxx4
-rw-r--r--dtrans/source/win32/clipb/WinClipboard.cxx2
-rw-r--r--editeng/source/accessibility/AccessibleEditableTextPara.cxx2
-rw-r--r--editeng/source/editeng/editeng.cxx2
-rw-r--r--editeng/source/editeng/editview.cxx2
-rw-r--r--editeng/source/editeng/eehtml.cxx2
-rw-r--r--editeng/source/editeng/impedit2.cxx2
-rw-r--r--editeng/source/editeng/impedit3.cxx2
-rw-r--r--editeng/source/editeng/impedit4.cxx6
-rw-r--r--editeng/source/misc/hangulhanja.cxx2
-rw-r--r--embeddedobj/source/inc/commonembobj.hxx2
-rw-r--r--embeddedobj/source/msole/olecomponent.cxx1
-rw-r--r--embeddedobj/source/msole/oleembed.cxx2
-rw-r--r--embeddedobj/test/MainThreadExecutor/xexecutor.cxx2
-rw-r--r--extensions/source/ole/unoconversionutilities.hxx2
-rw-r--r--extensions/source/ole/unoobjw.cxx4
-rw-r--r--extensions/source/propctrlr/cellbindinghandler.hxx2
-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/update/check/download.cxx2
-rw-r--r--extensions/source/update/check/updatecheck.cxx2
-rw-r--r--extensions/source/update/check/updatecheckconfig.hxx2
-rw-r--r--extensions/test/ole/OleConverterVar1/convTest.cxx2
-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.xsl2
-rw-r--r--extras/source/misc_config/wizard/web/layouts/simple/index.html.xsl2
-rw-r--r--extras/source/misc_config/wizard/web/layouts/table_2/index.html.xsl2
-rw-r--r--extras/source/misc_config/wizard/web/layouts/table_3/index.html.xsl2
-rw-r--r--extras/source/misc_config/wizard/web/layouts/zigzag/index.html.xsl2
-rw-r--r--filter/qa/complex/filter/detection/typeDetection/Helper.java2
-rw-r--r--filter/source/config/cache/basecontainer.hxx2
-rw-r--r--filter/source/config/cache/contenthandlerfactory.cxx2
-rw-r--r--filter/source/config/cache/filtercache.cxx6
-rw-r--r--filter/source/config/cache/filtercache.hxx5
-rw-r--r--filter/source/config/cache/typedetection.cxx8
-rwxr-xr-xfilter/source/config/tools/merge/pyAltFCFGMerge2
-rw-r--r--filter/source/config/tools/split/FCFGSplit.java2
-rw-r--r--filter/source/flash/swfdialog.cxx2
-rw-r--r--filter/source/flash/swfwriter1.cxx3
-rw-r--r--filter/source/graphicfilter/ieps/ieps.cxx2
-rw-r--r--filter/source/msfilter/msdffimp.cxx4
-rw-r--r--filter/source/xslt/common/math.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/import/spreadsheetml/spreadsheetml2ooo.xsl2
-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.xsl2
-rw-r--r--filter/source/xsltdialog/xmlfiltertestdialog.cxx2
-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/RadioButton.hxx2
-rw-r--r--forms/source/component/propertybaghelper.cxx2
-rw-r--r--forms/source/inc/FormComponent.hxx2
-rw-r--r--forms/source/richtext/richtextcontrol.cxx4
-rw-r--r--forms/source/richtext/richtextcontrol.hxx2
-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/datatypes.hxx2
-rw-r--r--forms/source/xforms/model.cxx2
-rw-r--r--fpicker/source/office/fpinteraction.cxx2
-rw-r--r--fpicker/source/office/iodlg.cxx2
-rw-r--r--fpicker/source/win32/filepicker/PreviewCtrl.cxx2
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx1
-rw-r--r--fpicker/source/win32/filepicker/dialogcustomcontrols.cxx2
-rw-r--r--fpicker/source/win32/filepicker/helppopupwindow.hxx2
-rw-r--r--framework/inc/classes/filtercachedata.hxx2
-rw-r--r--framework/inc/dispatch/interceptionhelper.hxx2
-rw-r--r--framework/inc/general.h2
-rw-r--r--framework/inc/interaction/quietinteraction.hxx2
-rw-r--r--framework/inc/jobs/helponstartup.hxx4
-rw-r--r--framework/inc/jobs/job.hxx4
-rw-r--r--framework/inc/recording/dispatchrecordersupplier.hxx2
-rw-r--r--framework/inc/services/desktop.hxx2
-rw-r--r--framework/qa/complex/XUserInputInterception/EventTest.java2
-rw-r--r--framework/qa/complex/dispatches/checkdispatchapi.java2
-rw-r--r--framework/qa/complex/framework/autosave/Protocol.java2
-rw-r--r--framework/qa/complex/framework/recovery/RecoveryTest.java2
-rw-r--r--framework/qa/complex/path_settings/PathSettingsTest.java4
-rw-r--r--framework/source/accelerators/acceleratorconfiguration.cxx8
-rw-r--r--framework/source/accelerators/presethandler.cxx2
-rw-r--r--framework/source/accelerators/storageholder.cxx2
-rw-r--r--framework/source/classes/framecontainer.cxx2
-rw-r--r--framework/source/dispatch/closedispatcher.cxx8
-rw-r--r--framework/source/dispatch/interceptionhelper.cxx2
-rw-r--r--framework/source/dispatch/loaddispatcher.cxx2
-rw-r--r--framework/source/dispatch/mailtodispatcher.cxx2
-rw-r--r--framework/source/dispatch/oxt_handler.cxx2
-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.cxx4
-rw-r--r--framework/source/fwe/xml/saxnamespacefilter.cxx2
-rw-r--r--framework/source/fwi/uielement/constitemcontainer.cxx2
-rw-r--r--framework/source/fwi/uielement/rootitemcontainer.cxx2
-rw-r--r--framework/source/helper/ocomponentaccess.cxx2
-rw-r--r--framework/source/helper/ocomponentenumeration.cxx2
-rw-r--r--framework/source/helper/oframes.cxx2
-rw-r--r--framework/source/helper/statusindicatorfactory.cxx4
-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/presethandler.hxx4
-rw-r--r--framework/source/inc/accelerators/storageholder.hxx2
-rw-r--r--framework/source/inc/dispatch/loaddispatcher.hxx2
-rw-r--r--framework/source/inc/loadenv/loadenvexception.hxx2
-rw-r--r--framework/source/inc/pattern/frame.hxx4
-rw-r--r--framework/source/interaction/quietinteraction.cxx4
-rw-r--r--framework/source/jobs/helponstartup.cxx2
-rw-r--r--framework/source/jobs/job.cxx2
-rw-r--r--framework/source/jobs/jobdata.cxx4
-rw-r--r--framework/source/jobs/jobexecutor.cxx6
-rw-r--r--framework/source/jobs/jobresult.cxx2
-rw-r--r--framework/source/jobs/joburl.cxx6
-rw-r--r--framework/source/layoutmanager/toolbarlayoutmanager.cxx2
-rw-r--r--framework/source/services/autorecovery.cxx12
-rw-r--r--framework/source/services/desktop.cxx4
-rw-r--r--framework/source/services/frame.cxx6
-rw-r--r--framework/source/tabwin/tabwindow.cxx2
-rw-r--r--framework/source/uiconfiguration/windowstateconfiguration.cxx2
-rw-r--r--framework/source/uielement/popuptoolbarcontroller.cxx4
-rw-r--r--framework/source/uielement/uicommanddescription.cxx2
-rw-r--r--framework/source/xml/acceleratorconfigurationreader.cxx2
-rw-r--r--framework/source/xml/imagesdocumenthandler.cxx6
-rw-r--r--include/basegfx/polygon/b2dpolygontools.hxx2
-rw-r--r--include/basegfx/tools/keystoplerp.hxx4
-rw-r--r--include/canvas/base/bitmapcanvasbase.hxx2
-rw-r--r--include/canvas/base/bufferedgraphicdevicebase.hxx2
-rw-r--r--include/canvas/base/canvasbase.hxx4
-rw-r--r--include/canvas/base/canvascustomspritebase.hxx2
-rw-r--r--include/canvas/base/spritecanvasbase.hxx2
-rw-r--r--include/canvas/canvastools.hxx4
-rw-r--r--include/comphelper/configurationhelper.hxx2
-rw-r--r--include/comphelper/docpasswordhelper.hxx6
-rw-r--r--include/comphelper/implementationreference.hxx2
-rw-r--r--include/comphelper/numberedcollection.hxx4
-rw-r--r--include/comphelper/propagg.hxx4
-rw-r--r--include/comphelper/sequenceashashmap.hxx2
-rw-r--r--include/connectivity/FValue.hxx2
-rw-r--r--include/connectivity/dbtools.hxx4
-rw-r--r--include/connectivity/parameters.hxx2
-rw-r--r--include/connectivity/virtualdbtools.hxx2
-rw-r--r--include/drawinglayer/primitive2d/baseprimitive2d.hxx4
-rw-r--r--include/drawinglayer/primitive2d/metafileprimitive2d.hxx2
-rw-r--r--include/drawinglayer/primitive2d/modifiedcolorprimitive2d.hxx2
-rw-r--r--include/drawinglayer/primitive2d/pointarrayprimitive2d.hxx2
-rw-r--r--include/drawinglayer/primitive2d/polygonprimitive2d.hxx2
-rw-r--r--include/drawinglayer/primitive2d/polypolygonprimitive2d.hxx2
-rw-r--r--include/drawinglayer/primitive3d/polygonprimitive3d.hxx2
-rw-r--r--include/drawinglayer/primitive3d/polypolygonprimitive3d.hxx2
-rw-r--r--include/editeng/AccessibleStaticTextBase.hxx2
-rw-r--r--include/editeng/hangulhanja.hxx2
-rw-r--r--include/editeng/unoedsrc.hxx2
-rw-r--r--include/framework/framelistanalyzer.hxx4
-rw-r--r--include/uno/threadpool.h2
-rw-r--r--include/unotools/mediadescriptor.hxx4
-rw-r--r--sfx2/source/dialog/backingcomp.cxx5
250 files changed, 321 insertions, 332 deletions
diff --git a/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx b/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx
index 9869678409fd..5654a12f77e5 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx
@@ -102,7 +102,7 @@ public:
virtual sal_Bool SAL_CALL doAccessibleAction (sal_Int32 nIndex)
throw (::com::sun::star::lang::IndexOutOfBoundsException,
::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- /** The returned string is assoicated with resource
+ /** The returned string is associated with resource
<const>RID_STR_ACC_ACTION_TOGGLEPOPUP</const>.
*/
virtual OUString SAL_CALL getAccessibleActionDescription (sal_Int32 nIndex)
diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx
index c4334cda4486..caa9720142e3 100644
--- a/accessibility/source/extended/textwindowaccessibility.cxx
+++ b/accessibility/source/extended/textwindowaccessibility.cxx
@@ -1116,7 +1116,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/avmedia/source/framework/soundhandler.cxx b/avmedia/source/framework/soundhandler.cxx
index 541b21dc95b7..2201b7a367de 100644
--- a/avmedia/source/framework/soundhandler.cxx
+++ b/avmedia/source/framework/soundhandler.cxx
@@ -210,7 +210,7 @@ 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 immediately. But then our uno ref count
diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx
index 709a2f156626..3b4958014a38 100644
--- a/basegfx/source/polygon/b2dpolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolygontools.cxx
@@ -3037,7 +3037,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 8eec134c0ca1..c4cb856186f2 100644
--- a/basegfx/source/polygon/b2dsvgpolypolygon.cxx
+++ b/basegfx/source/polygon/b2dsvgpolypolygon.cxx
@@ -233,7 +233,7 @@ namespace basegfx
nY += nLastY;
}
- // ensure existance of start point
+ // ensure existence of start point
if(!aCurrPoly.count())
{
aCurrPoly.append(B2DPoint(nLastX, nLastY));
@@ -297,7 +297,7 @@ namespace basegfx
nY += nLastY;
}
- // ensure existance of start point
+ // ensure existence of start point
if(!aCurrPoly.count())
{
aCurrPoly.append(B2DPoint(nLastX, nLastY));
@@ -348,7 +348,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));
@@ -388,7 +388,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 5ea062a0e95b..5132ade1cc52 100644
--- a/basegfx/source/raster/rasterconvert3d.cxx
+++ b/basegfx/source/raster/rasterconvert3d.cxx
@@ -111,7 +111,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/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index 0acfc92a7c1d..902ad6a17155 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -1037,7 +1037,7 @@ void StarBASIC::implClearDependingVarsOnDelete( StarBASIC* pDeletedBasic )
/**************************************************************************
*
-* Creation/Managment of modules
+* Creation/Management of modules
*
**************************************************************************/
diff --git a/basic/source/comp/exprgen.cxx b/basic/source/comp/exprgen.cxx
index 93ca51ef9aaf..bba9e88a8b35 100644
--- a/basic/source/comp/exprgen.cxx
+++ b/basic/source/comp/exprgen.cxx
@@ -269,7 +269,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/bean/com/sun/star/beans/LocalOfficeConnection.java b/bean/com/sun/star/beans/LocalOfficeConnection.java
index 02a08d0b83b5..368a3b1d57ba 100644
--- a/bean/com/sun/star/beans/LocalOfficeConnection.java
+++ b/bean/com/sun/star/beans/LocalOfficeConnection.java
@@ -102,7 +102,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
@@ -604,9 +604,9 @@ public class LocalOfficeConnection
}
/**
- * Retrieves the ammount of time to wait for the startup.
+ * Retrieves 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/LocalOfficeConnection.java b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
index 3511161b2c2a..74a60e4d8e11 100644
--- a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
+++ b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
@@ -158,7 +158,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
diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java
index ff11b608b03a..1da6646d6daa 100644
--- a/bean/com/sun/star/comp/beans/OOoBean.java
+++ b/bean/com/sun/star/comp/beans/OOoBean.java
@@ -474,7 +474,7 @@ 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 its parent AWT/Swing component.
+ system window may be released by its 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
diff --git a/bean/com/sun/star/comp/beans/SystemWindowException.java b/bean/com/sun/star/comp/beans/SystemWindowException.java
index 9341b0545b34..ef8d8a8a4cb5 100644
--- a/bean/com/sun/star/comp/beans/SystemWindowException.java
+++ b/bean/com/sun/star/comp/beans/SystemWindowException.java
@@ -19,7 +19,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 fb0b5cc4b946..734923cff76f 100644
--- a/bean/qa/complex/bean/OOoBeanTest.java
+++ b/bean/qa/complex/bean/OOoBeanTest.java
@@ -454,7 +454,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/binaryurp/source/writer.cxx b/binaryurp/source/writer.cxx
index 46198b96a56a..5ecdaf95b329 100644
--- a/binaryurp/source/writer.cxx
+++ b/binaryurp/source/writer.cxx
@@ -117,7 +117,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/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx
index c0b01636b88f..7bea1874314e 100644
--- a/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx
@@ -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/canvas/source/cairo/cairo_canvasfont.cxx b/canvas/source/cairo/cairo_canvasfont.cxx
index b452343aeae7..fd488c82e27f 100644
--- a/canvas/source/cairo/cairo_canvasfont.cxx
+++ b/canvas/source/cairo/cairo_canvasfont.cxx
@@ -60,7 +60,7 @@ namespace cairocanvas
maFont->SetLanguage( LanguageTag::convertToLanguageType( rFontRequest.Locale, false));
- // 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 0612c235c943..f8b851df6652 100644
--- a/canvas/source/cairo/cairo_canvashelper.cxx
+++ b/canvas/source/cairo/cairo_canvashelper.cxx
@@ -623,7 +623,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 9c3d5a065a07..07951eeba94c 100644
--- a/canvas/source/cairo/cairo_quartz_cairo.cxx
+++ b/canvas/source/cairo/cairo_quartz_cairo.cxx
@@ -317,7 +317,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 48b0d522b0ef..33b687c2da35 100644
--- a/canvas/source/cairo/cairo_textlayout.cxx
+++ b/canvas/source/cairo/cairo_textlayout.cxx
@@ -305,7 +305,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
diff --git a/canvas/source/cairo/cairo_win32_cairo.cxx b/canvas/source/cairo/cairo_win32_cairo.cxx
index 89b786cbfb28..a70add9500a2 100644
--- a/canvas/source/cairo/cairo_win32_cairo.cxx
+++ b/canvas/source/cairo/cairo_win32_cairo.cxx
@@ -77,7 +77,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
@@ -247,7 +247,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 e5bb189e54f5..9b49c7e88cbc 100644
--- a/canvas/source/cairo/cairo_xlib_cairo.cxx
+++ b/canvas/source/cairo/cairo_xlib_cairo.cxx
@@ -171,7 +171,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 401c13fbab46..99432576fdd5 100644
--- a/canvas/source/directx/dx_vcltools.cxx
+++ b/canvas/source/directx/dx_vcltools.cxx
@@ -110,7 +110,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 d6ae95fc61a9..aacf8a471e33 100644
--- a/canvas/source/tools/pagemanager.cxx
+++ b/canvas/source/tools/pagemanager.cxx
@@ -165,7 +165,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 4b73eea6e252..2b61b5ae3742 100644
--- a/canvas/source/tools/surface.hxx
+++ b/canvas/source/tools/surface.hxx
@@ -39,7 +39,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 4ec88e89903d..4b5862bf0967 100644
--- a/canvas/source/tools/surfaceproxy.hxx
+++ b/canvas/source/tools/surfaceproxy.hxx
@@ -37,7 +37,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 ec4f670afbc0..98fe92d2a3fb 100644
--- a/canvas/source/vcl/canvasfont.cxx
+++ b/canvas/source/vcl/canvasfont.cxx
@@ -62,7 +62,7 @@ namespace vclcanvas
maFont->SetLanguage( LanguageTag::convertToLanguageType( rFontRequest.Locale, false));
- // 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 15acb1a17b10..2d5fa092c8c5 100644
--- a/canvas/workben/canvasdemo.cxx
+++ b/canvas/workben/canvasdemo.cxx
@@ -462,7 +462,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 675147362b8a..c2310d3372b2 100644
--- a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx
+++ b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx
@@ -87,7 +87,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 5e27717b8dc2..1f598f75fda4 100644
--- a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
@@ -997,7 +997,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 8ce7e2889535..724c078ae30a 100644
--- a/chart2/source/controller/dialogs/DataBrowserModel.cxx
+++ b/chart2/source/controller/dialogs/DataBrowserModel.cxx
@@ -404,7 +404,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( "NumberFormat" , uno::makeAny( nSeriesNumberFormat ) );
diff --git a/chart2/source/view/diagram/VDiagram.cxx b/chart2/source/view/diagram/VDiagram.cxx
index e04418c16092..d04d3b06215b 100644
--- a/chart2/source/view/diagram/VDiagram.cxx
+++ b/chart2/source/view/diagram/VDiagram.cxx
@@ -355,7 +355,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
{
@@ -399,7 +399,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/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index 77db5f99ade1..88c31039b7e6 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -883,7 +883,6 @@ void SeriesPlotterContainer::setScalesFromCooSysToPlotter()
void SeriesPlotterContainer::setNumberFormatsFromAxes()
{
//set numberformats to plotter to enable them to display the data labels in the numberformat of the axis
-
::std::vector< VSeriesPlotter* >::const_iterator aPlotterIter = m_aSeriesPlotterList.begin();
const ::std::vector< VSeriesPlotter* >::const_iterator aPlotterEnd = m_aSeriesPlotterList.end();
for( aPlotterIter = m_aSeriesPlotterList.begin(); aPlotterIter != aPlotterEnd; ++aPlotterIter )
diff --git a/comphelper/source/container/embeddedobjectcontainer.cxx b/comphelper/source/container/embeddedobjectcontainer.cxx
index 707cfc042702..35202af6cdf3 100644
--- a/comphelper/source/container/embeddedobjectcontainer.cxx
+++ b/comphelper/source/container/embeddedobjectcontainer.cxx
@@ -1548,10 +1548,10 @@ bool EmbeddedObjectContainer::StoreChildren(bool _bOasisFormat,bool _bObjectsOnl
}
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/connectivity/source/commontools/parameters.cxx b/connectivity/source/commontools/parameters.cxx
index 9771003366d5..13859f83b3b5 100644
--- a/connectivity/source/commontools/parameters.cxx
+++ b/connectivity/source/commontools/parameters.cxx
@@ -184,7 +184,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 )
diff --git a/connectivity/source/cpool/ZConnectionPool.hxx b/connectivity/source/cpool/ZConnectionPool.hxx
index 34418e05aadc..8f89338b8dc5 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 aa3e84fea447..2242941bdaab 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 36caa9a53f3e..de43945b8bfa 100644
--- a/connectivity/source/drivers/ado/ADatabaseMetaDataResultSet.cxx
+++ b/connectivity/source/drivers/ado/ADatabaseMetaDataResultSet.cxx
@@ -149,7 +149,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 44967fbd136b..11552cbf12aa 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/inc/TSkipDeletedSet.hxx b/connectivity/source/inc/TSkipDeletedSet.hxx
index 048936212473..4bc6e10564d7 100644
--- a/connectivity/source/inc/TSkipDeletedSet.hxx
+++ b/connectivity/source/inc/TSkipDeletedSet.hxx
@@ -52,7 +52,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 c4f51768a7a4..82d2c4544507 100644
--- a/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx
+++ b/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx
@@ -55,7 +55,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 6421f41a3b4e..8b80c6b858ac 100644
--- a/connectivity/source/inc/file/FNumericFunctions.hxx
+++ b/connectivity/source/inc/file/FNumericFunctions.hxx
@@ -169,7 +169,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 064531b3c1d5..74b046dae24c 100644
--- a/connectivity/source/inc/file/FResultSet.hxx
+++ b/connectivity/source/inc/file/FResultSet.hxx
@@ -70,7 +70,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 6cc8bf1482bb..1abb479b236c 100644
--- a/connectivity/source/inc/file/FStatement.hxx
+++ b/connectivity/source/inc/file/FStatement.hxx
@@ -62,7 +62,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/odbc/ODatabaseMetaDataResultSet.hxx b/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx
index 51f75a7b6a84..d8da9dd22841 100644
--- a/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx
+++ b/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx
@@ -58,7 +58,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/workben/skeleton/SResultSet.hxx b/connectivity/workben/skeleton/SResultSet.hxx
index 4b70366be345..f305393d188d 100644
--- a/connectivity/workben/skeleton/SResultSet.hxx
+++ b/connectivity/workben/skeleton/SResultSet.hxx
@@ -70,7 +70,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/cppu/source/LogBridge/LogBridge.cxx b/cppu/source/LogBridge/LogBridge.cxx
index 926146b9497d..a7d0de7688bc 100644
--- a/cppu/source/LogBridge/LogBridge.cxx
+++ b/cppu/source/LogBridge/LogBridge.cxx
@@ -232,7 +232,7 @@ void LogProbe(
SAL_INFO("cppu", "} LogBridge () " << sTemp.getStr());
if ( ppException && *ppException )
{
- SAL_INFO("cppu", " exception occurred : ");
+ SAL_INFO("cppu", " 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/cppuhelper/source/bootstrap.cxx b/cppuhelper/source/bootstrap.cxx
index 6c90e5516c13..ae2a9f00ba56 100644
--- a/cppuhelper/source/bootstrap.cxx
+++ b/cppuhelper/source/bootstrap.cxx
@@ -178,7 +178,7 @@ Reference< XComponentContext > SAL_CALL bootstrap()
case osl_Process_E_NotFound:
throw BootstrapException( "image not found!" );
case osl_Process_E_TimedOut:
- throw BootstrapException( "timout occurred!" );
+ throw BootstrapException( "timeout occurred!" );
case osl_Process_E_NoPermission:
throw BootstrapException( "permission denied!" );
case osl_Process_E_Unknown:
diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx
index 15bcc6f08c47..85f0316daf32 100644
--- a/cppuhelper/source/component_context.cxx
+++ b/cppuhelper/source/component_context.cxx
@@ -573,7 +573,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 )
@@ -594,11 +594,11 @@ Any ComponentContext::lookupMap( OUString const & rName )
}
}
}
- catch (RuntimeException &)
+ catch (const RuntimeException &)
{
throw;
}
- catch (Exception & exc)
+ catch (const Exception & exc)
{
SAL_WARN(
"cppuhelper",
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index 0bf1dfff78e6..68124b579af9 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -379,7 +379,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((!m_pSentenceED->IsUndoEditMode() && m_pSentenceED->MarkNextError( bIgnoreCurrentError, xSpell )) ||
true == ( bNextSentence = GetNextSentence_Impl(bUseSavedSentence, m_pSentenceED->IsUndoEditMode()) && m_pSentenceED->MarkNextError( false, xSpell )))
diff --git a/cui/source/inc/cuihyperdlg.hxx b/cui/source/inc/cuihyperdlg.hxx
index d6ca568ea174..f32bc7147959 100644
--- a/cui/source/inc/cuihyperdlg.hxx
+++ b/cui/source/inc/cuihyperdlg.hxx
@@ -60,7 +60,7 @@ public :
class SvxHpLinkDlg : public IconChoiceDialog
{
private:
- SvxHlinkCtrl maCtrl; ///< Controler
+ SvxHlinkCtrl maCtrl; ///< Controller
SfxBindings* mpBindings;
SfxItemSet* mpItemSet;
diff --git a/cui/source/inc/transfrm.hxx b/cui/source/inc/transfrm.hxx
index 161a675ce304..72a4e3dec2c9 100644
--- a/cui/source/inc/transfrm.hxx
+++ b/cui/source/inc/transfrm.hxx
@@ -124,7 +124,7 @@ private:
bool mbSizeDisabled;
bool mbAdjustDisabled;
- // frome size
+ // from size
// #i75273#
double mfOldWidth;
double mfOldHeight;
diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx
index b69560550ba6..452fa7a4c22b 100644
--- a/cui/source/tabpages/tpline.cxx
+++ b/cui/source/tabpages/tpline.cxx
@@ -1750,6 +1750,7 @@ IMPL_LINK( SvxLineTabPage, GraphicHdl_Impl, MenuButton *, pButton )
SymbolSelected(pButton);
return 0;
}
+
IMPL_LINK( SvxLineTabPage, SizeHdl_Impl, MetricField *, pField)
{
bNewSize = true;
diff --git a/dbaccess/source/core/api/RowSetBase.hxx b/dbaccess/source/core/api/RowSetBase.hxx
index 33ff986f73f8..520ddb0f7532 100644
--- a/dbaccess/source/core/api/RowSetBase.hxx
+++ b/dbaccess/source/core/api/RowSetBase.hxx
@@ -358,7 +358,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)
bool m_bWasNew;
bool m_bWasModified;
diff --git a/dbaccess/source/core/api/definitioncolumn.cxx b/dbaccess/source/core/api/definitioncolumn.cxx
index 5908d2c3a518..f6bdd98a1a59 100644
--- a/dbaccess/source/core/api/definitioncolumn.cxx
+++ b/dbaccess/source/core/api/definitioncolumn.cxx
@@ -319,7 +319,7 @@ OColumnWrapper::OColumnWrapper( const Reference< XPropertySet > & rCol, const bo
,m_nColTypeID(-1)
{
// 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/dataaccess/ComponentDefinition.cxx b/dbaccess/source/core/dataaccess/ComponentDefinition.cxx
index 88f21841b4bc..d96b6d8d867d 100644
--- a/dbaccess/source/core/dataaccess/ComponentDefinition.cxx
+++ b/dbaccess/source/core/dataaccess/ComponentDefinition.cxx
@@ -291,7 +291,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 e162cca1a611..ffb139d1db42 100644
--- a/dbaccess/source/core/dataaccess/ModelImpl.hxx
+++ b/dbaccess/source/core/dataaccess/ModelImpl.hxx
@@ -253,7 +253,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 1af1083f5504..0802c16344e0 100644
--- a/dbaccess/source/core/dataaccess/connection.cxx
+++ b/dbaccess/source/core/dataaccess/connection.cxx
@@ -286,7 +286,7 @@ OConnection::OConnection(ODatabaseSource& _rDB
, const Reference< XComponentContext >& _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 a55911465e8c..b448319fe53b 100644
--- a/dbaccess/source/core/dataaccess/databasedocument.cxx
+++ b/dbaccess/source/core/dataaccess/databasedocument.cxx
@@ -1023,7 +1023,7 @@ void ODatabaseDocument::impl_storeAs_throw( const OUString& _rURL, const ::comph
// 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 4dff3fcf911e..73096e5b1d5c 100644
--- a/dbaccess/source/core/dataaccess/databasedocument.hxx
+++ b/dbaccess/source/core/dataaccess/databasedocument.hxx
@@ -497,7 +497,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 cd27afa8e8c2..a533fa6c68cc 100644
--- a/dbaccess/source/core/dataaccess/datasource.cxx
+++ b/dbaccess/source/core/dataaccess/datasource.cxx
@@ -1161,7 +1161,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 = OUString();
@@ -1317,8 +1317,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/ui/app/AppController.hxx b/dbaccess/source/ui/app/AppController.hxx
index a8701814b32a..ad56c3a29206 100644
--- a/dbaccess/source/ui/app/AppController.hxx
+++ b/dbaccess/source/ui/app/AppController.hxx
@@ -329,7 +329,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
diff --git a/dbaccess/source/ui/app/AppControllerDnD.cxx b/dbaccess/source/ui/app/AppControllerDnD.cxx
index ec9edb0ffa14..a58b77b52e60 100644
--- a/dbaccess/source/ui/app/AppControllerDnD.cxx
+++ b/dbaccess/source/ui/app/AppControllerDnD.cxx
@@ -155,7 +155,7 @@ void OApplicationController::deleteTables(const ::std::vector< OUString>& _rList
if(e.TargetException >>= aSql)
aErrorInfo = aSql;
else
- OSL_FAIL("OApplicationController::implDropTable: something strange happended!");
+ OSL_FAIL("OApplicationController::implDropTable: something strange happened!");
}
catch( const Exception& )
{
diff --git a/dbaccess/source/ui/app/AppDetailView.cxx b/dbaccess/source/ui/app/AppDetailView.cxx
index 16ff6de6acd9..d4a971c48c2c 100644
--- a/dbaccess/source/ui/app/AppDetailView.cxx
+++ b/dbaccess/source/ui/app/AppDetailView.cxx
@@ -418,7 +418,6 @@ void OTasksWindow::setHelpText(sal_uInt16 _nId)
if ( _nId )
{
OUString sText = ModuleRes(_nId);
-
m_aHelpText.SetText(sText);
}
else
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx
index 1790b90779e4..1fd968578621 100644
--- a/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/dbaccess/source/ui/browser/sbagrid.cxx
@@ -971,7 +971,7 @@ Reference< XPropertySet > SbaGridControl::getField(sal_uInt16 nModelPos)
else
OSL_FAIL("SbaGridControl::getField getColumns returns NULL or ModelPos is > than count!");
}
- catch(Exception&)
+ catch (const Exception&)
{
OSL_FAIL("SbaGridControl::getField Exception occurred!");
}
diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx
index b076da07ff76..2a85ef3ddb16 100644
--- a/dbaccess/source/ui/browser/unodatbr.cxx
+++ b/dbaccess/source/ui/browser/unodatbr.cxx
@@ -1996,7 +1996,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!
}
diff --git a/dbaccess/source/ui/dlg/advancedsettings.cxx b/dbaccess/source/ui/dlg/advancedsettings.cxx
index 05e3cd7427ae..624c95180e59 100644
--- a/dbaccess/source/ui/dlg/advancedsettings.cxx
+++ b/dbaccess/source/ui/dlg/advancedsettings.cxx
@@ -141,7 +141,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, "usesql92", DSID_SQL92CHECK, false },
{ &m_pAppendTableAlias, "append", DSID_APPEND_TABLE_ALIAS, false },
diff --git a/dbaccess/source/ui/dlg/dbadmin.cxx b/dbaccess/source/ui/dlg/dbadmin.cxx
index 8a39db161eb5..4c38561879f6 100644
--- a/dbaccess/source/ui/dlg/dbadmin.cxx
+++ b/dbaccess/source/ui/dlg/dbadmin.cxx
@@ -444,7 +444,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/generalpage.hxx b/dbaccess/source/ui/dlg/generalpage.hxx
index 54ea0be095eb..dd54e145788d 100644
--- a/dbaccess/source/ui/dlg/generalpage.hxx
+++ b/dbaccess/source/ui/dlg/generalpage.hxx
@@ -51,7 +51,7 @@ namespace dbaui
SPECIAL_MESSAGE m_eLastMessage;
Link m_aTypeSelectHandler; /// to be called if a new type is selected
- bool m_bDisplayingInvalid : 1; // the currently displayed data source is deleted
+ bool m_bDisplayingInvalid : 1; /// the currently displayed data source is deleted
bool m_bInitTypeList : 1;
bool approveDatasourceType( const OUString& _sURLPrefix, OUString& _inout_rDisplayName );
void insertDatasourceTypeEntryData( const OUString& _sType, const OUString& sDisplayName );
diff --git a/dbaccess/source/ui/inc/UITools.hxx b/dbaccess/source/ui/inc/UITools.hxx
index db1112943b91..a0e20f7bb968 100644
--- a/dbaccess/source/ui/inc/UITools.hxx
+++ b/dbaccess/source/ui/inc/UITools.hxx
@@ -368,7 +368,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 _rxContext
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx
index b8bc4439641d..d0e69379d20e 100644
--- a/dbaccess/source/ui/misc/UITools.cxx
+++ b/dbaccess/source/ui/misc/UITools.cxx
@@ -1185,7 +1185,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/querydesign/QueryTableView.cxx b/dbaccess/source/ui/querydesign/QueryTableView.cxx
index 798937674198..68b05500691d 100644
--- a/dbaccess/source/ui/querydesign/QueryTableView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryTableView.cxx
@@ -542,7 +542,7 @@ void OQueryTableView::AddTabWin(const OUString& _rComposedName, const OUString&
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/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx
index 785d92abffa4..e11ba9580613 100644
--- a/dbaccess/source/ui/uno/copytablewizard.cxx
+++ b/dbaccess/source/ui/uno/copytablewizard.cxx
@@ -1118,11 +1118,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 03c436eb0138..377afc7f85c2 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1487,7 +1487,7 @@ int Desktop::Main()
pExecGlobals->xGlobalBroadcaster = Reference < css::document::XEventListener >
( css::frame::theGlobalEventBroadcaster::get(xContext), UNO_QUERY_THROW );
- /* 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.
@@ -1645,7 +1645,7 @@ int 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
diff --git a/desktop/source/deployment/inc/dp_descriptioninfoset.hxx b/desktop/source/deployment/inc/dp_descriptioninfoset.hxx
index f6718fee79df..8a25df838cd2 100644
--- a/desktop/source/deployment/inc/dp_descriptioninfoset.hxx
+++ b/desktop/source/deployment/inc/dp_descriptioninfoset.hxx
@@ -104,7 +104,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
diff --git a/desktop/source/deployment/manager/dp_extensionmanager.cxx b/desktop/source/deployment/manager/dp_extensionmanager.cxx
index 097ff34d451e..73c11f34075d 100644
--- a/desktop/source/deployment/manager/dp_extensionmanager.cxx
+++ b/desktop/source/deployment/manager/dp_extensionmanager.cxx
@@ -527,9 +527,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<css::deployment::XPackageManager> const & xPackageMgr,
diff --git a/desktop/source/deployment/misc/dp_misc.cxx b/desktop/source/deployment/misc/dp_misc.cxx
index 8bd756e9d0d7..14e2c4c52ddb 100644
--- a/desktop/source/deployment/misc/dp_misc.cxx
+++ b/desktop/source/deployment/misc/dp_misc.cxx
@@ -407,7 +407,7 @@ oslProcess raiseProcess(
case osl_Process_E_NotFound:
throw RuntimeException( "image not found!", 0 );
case osl_Process_E_TimedOut:
- throw RuntimeException( "timout occurred!", 0 );
+ throw RuntimeException( "timeout occurred!", 0 );
case osl_Process_E_NoPermission:
throw RuntimeException( "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 f88743abb222..4f4a30099d48 100644
--- a/desktop/source/deployment/misc/dp_resource.cxx
+++ b/desktop/source/deployment/misc/dp_resource.cxx
@@ -73,7 +73,6 @@ OUString getResourceString( sal_uInt16 id )
return ret.replaceAll("%PRODUCTNAME", utl::ConfigManager::getProductName());
}
-
const LanguageTag & getOfficeLanguageTag()
{
return OfficeLocale::get();
diff --git a/desktop/source/deployment/registry/help/dp_help.cxx b/desktop/source/deployment/registry/help/dp_help.cxx
index ca3585f67388..12cb3c22c4e0 100644
--- a/desktop/source/deployment/registry/help/dp_help.cxx
+++ b/desktop/source/deployment/registry/help/dp_help.cxx
@@ -281,7 +281,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 6c8091fc31dc..f740af3b9323 100644
--- a/desktop/source/deployment/registry/inc/dp_backenddb.hxx
+++ b/desktop/source/deployment/registry/inc/dp_backenddb.hxx
@@ -107,7 +107,7 @@ protected:
OUString const & sListTagName,
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< OUString> getOneChildFromAllEntries(
OUString const & sElementName);
diff --git a/desktop/win32/source/applauncher/launcher.cxx b/desktop/win32/source/applauncher/launcher.cxx
index b0f031a9068b..8c61a3ccfcee 100644
--- a/desktop/win32/source/applauncher/launcher.cxx
+++ b/desktop/win32/source/applauncher/launcher.cxx
@@ -40,7 +40,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/drawinglayer/source/primitive2d/metafileprimitive2d.cxx b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx