diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2015-01-02 15:51:30 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-01-02 20:23:51 +0000 |
commit | 3a2b1af87d629a780f0e98559fb8b409378a80c7 (patch) | |
tree | ecf27171a38a2d6d4b05b4acd42e8e98b7f7d70a /dtrans | |
parent | d7794d2584cd5d476b011b5344c77ad59c179c58 (diff) |
Fix simple typos.
Change-Id: I1fdbe47ed7a6e05d2cf20f4c296bffad4bbc6599
Reviewed-on: https://gerrit.libreoffice.org/13719
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/win32/dtobj/DOTransferable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dtrans/source/win32/dtobj/DOTransferable.cxx b/dtrans/source/win32/dtobj/DOTransferable.cxx index 6198d8d56e75..0b4f9856184b 100644 --- a/dtrans/source/win32/dtobj/DOTransferable.cxx +++ b/dtrans/source/win32/dtobj/DOTransferable.cxx @@ -437,7 +437,7 @@ OUString CDOTransferable::byteStreamToOUString( ByteSequence_t& aByteStream ) sal_Int32 nWChars; sal_Int32 nMemSize = aByteStream.getLength( ); - // if there is a trailing L"\0" substract 1 from length + // if there is a trailing L"\0" subtract 1 from length if ( 0 == aByteStream[ aByteStream.getLength( ) - 2 ] && 0 == aByteStream[ aByteStream.getLength( ) - 1 ] ) nWChars = static_cast< sal_Int32 >( nMemSize / sizeof( sal_Unicode ) ) - 1; |