diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2014-11-10 15:05:25 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-11-12 11:04:11 +0000 |
commit | da40cac540e7d735edbe9069b3c8ec6af4530208 (patch) | |
tree | f2abda7281129e13f588c77b18780a7090c8405f /ucb | |
parent | java: convert fields to local variables where possible (diff) | |
download | core-da40cac540e7d735edbe9069b3c8ec6af4530208.tar.gz core-da40cac540e7d735edbe9069b3c8ec6af4530208.zip |
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/core/FileAccess.cxx | 2 | ||||
-rw-r--r-- | ucb/source/core/ucb.cxx | 2 | ||||
-rw-r--r-- | ucb/source/core/ucbcmds.cxx | 10 | ||||
-rw-r--r-- | ucb/source/ucp/gvfs/gvfs_content.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonSession.cxx | 2 |
5 files changed, 6 insertions, 12 deletions
diff --git a/ucb/source/core/FileAccess.cxx b/ucb/source/core/FileAccess.cxx index 0e860e6bad11..1a5d28938109 100644 --- a/ucb/source/core/FileAccess.cxx +++ b/ucb/source/core/FileAccess.cxx @@ -225,7 +225,7 @@ void OFileAccess::transferImpl( const OUString& rSource, } else { - // non-hierachical URL + // non-hierarchical URL // #i29648# diff --git a/ucb/source/core/ucb.cxx b/ucb/source/core/ucb.cxx index e6a3427325c9..82d36feb8335 100644 --- a/ucb/source/core/ucb.cxx +++ b/ucb/source/core/ucb.cxx @@ -676,7 +676,7 @@ Any SAL_CALL UniversalContentBroker::execute( // Unreachable } - // Copy infos into the new stucture + // Copy infos into the new structure aTransferArg.Operation = aArg.Operation; aTransferArg.SourceURL = aArg.SourceURL; aTransferArg.TargetURL = aArg.TargetURL; diff --git a/ucb/source/core/ucbcmds.cxx b/ucb/source/core/ucbcmds.cxx index 22c69608354c..3fcff9601205 100644 --- a/ucb/source/core/ucbcmds.cxx +++ b/ucb/source/core/ucbcmds.cxx @@ -17,12 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - -/************************************************************************** - TODO - ************************************************************************** - - *************************************************************************/ #include <osl/diagnose.h> #include <comphelper/processfactory.hxx> #include <cppuhelper/implbase1.hxx> @@ -1477,7 +1471,7 @@ void globalTransfer_( case UNKNOWN: // Handled, but not clear, how... - // fall-thru intended. + // fall through intended. case ABORT: throw ucb::CommandFailedException( @@ -1856,7 +1850,7 @@ void UniversalContentBroker::globalTransfer( case UNKNOWN: // Handled, but not clear, how... - // fall-thru intended. + // fall through intended. case ABORT: throw ucb::CommandFailedException( diff --git a/ucb/source/ucp/gvfs/gvfs_content.hxx b/ucb/source/ucp/gvfs/gvfs_content.hxx index 7f1b4561ef6f..bae3fca3b823 100644 --- a/ucb/source/ucp/gvfs/gvfs_content.hxx +++ b/ucb/source/ucp/gvfs/gvfs_content.hxx @@ -78,7 +78,7 @@ private: // Instance data ContentProvider *m_pProvider; // No need for a ref, base class holds object - sal_Bool m_bTransient; // A non-existant (as yet) item + sal_Bool m_bTransient; // A non-existent (as yet) item GnomeVFSFileInfo m_info; // cached status information // Internal helpers diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx index 937523918841..2b8fc5ddbb17 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.cxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx @@ -1892,7 +1892,7 @@ int NeonSession::POST( ne_session * sess, if ( !rContentType.isEmpty() || !rReferer.isEmpty() ) { // Remember contenttype and referer. Data will be added to HTTP request - // header in in 'PreSendRequest' callback. + // header in 'PreSendRequest' callback. pData = static_cast< RequestDataMap* >( m_pRequestData ); (*pData)[ req ] = RequestData( rContentType, rReferer ); } |