diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-11-15 18:50:29 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-11-17 08:32:34 +0100 |
commit | 4e053538db0e701f444a4dd81bfc0de2ca053c18 (patch) | |
tree | 705545915b06721315eb513ac4d7d8daf8a9725f | |
parent | f10b43f9d1b4e14441a9204bc0c79003645f0f98 (diff) |
Fix typos
Change-Id: I9251205c47f26be7695496b5887b849fcf1335f1
Reviewed-on: https://gerrit.libreoffice.org/82814
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | compilerplugins/clang/consttobool.cxx | 2 | ||||
-rw-r--r-- | cui/source/customize/cfg.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/consttobool.cxx b/compilerplugins/clang/consttobool.cxx index a3c57d704b26..c7ebd6b2a162 100644 --- a/compilerplugins/clang/consttobool.cxx +++ b/compilerplugins/clang/consttobool.cxx @@ -153,7 +153,7 @@ public: { l1 = compiler.getSourceManager().getImmediateMacroCallerLoc(l1); } - // For exmaple, /usr/include/glib-2.0/glib/gmacros.h from + // For example, /usr/include/glib-2.0/glib/gmacros.h from // glib2-devel-2.62.1-1.fc31.x86_64 has // // #define TRUE (!FALSE) diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 0f0f6dc7b1f9..4e084ce21951 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -3180,7 +3180,7 @@ sal_Int8 SvxConfigPageFunctionDropTarget::AcceptDrop(const AcceptDropEvent& rEvt sal_Int8 SvxConfigPageFunctionDropTarget::ExecuteDrop( const ExecuteDropEvent& rEvt ) { weld::TreeView* pSource = m_rTreeView.get_drag_source(); - // only draging within the same widget allowed + // only dragging within the same widget allowed if (!pSource || pSource != &m_rTreeView) return DND_ACTION_NONE; |