[Libreoffice-commits] core.git: dtrans/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sun May 19 19:47:23 UTC 2019


 dtrans/source/win32/dtobj/XTDataObject.cxx |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 6e7eb552d19675bb065754a3e1f0cdea137aedfb
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Tue May 14 21:25:38 2019 +0000
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun May 19 21:46:32 2019 +0200

    Fix typo
    
    Change-Id: Ie0d2c0cde9c1fb58a63e8ef5331bdcb5126aaf28
    Reviewed-on: https://gerrit.libreoffice.org/72577
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/dtrans/source/win32/dtobj/XTDataObject.cxx b/dtrans/source/win32/dtobj/XTDataObject.cxx
index d6291b526498..6df5c9d384c1 100644
--- a/dtrans/source/win32/dtobj/XTDataObject.cxx
+++ b/dtrans/source/win32/dtobj/XTDataObject.cxx
@@ -251,7 +251,7 @@ STDMETHODIMP CXTDataObject::GetData( FORMATETC * pFormatetc, STGMEDIUM * pmedium
         invalidateStgMedium( *pmedium );
         validateFormatEtc( pFormatetc );
 
-        // handle locale request, because locale is a artificial format for us
+        // handle locale request, because locale is an artificial format for us
         if ( CF_LOCALE == pFormatetc->cfFormat )
             renderLocaleAndSetupStgMedium( *pFormatetc, *pmedium );
         else if ( CF_UNICODETEXT == pFormatetc->cfFormat )
@@ -308,7 +308,7 @@ void CXTDataObject::renderUnicodeAndSetupStgMedium(
     Any aAny = m_XTransferable->getTransferData( aFlavor );
 
     // unfortunately not all transferables fulfill the
-    // spec. an do throw an UnsupportedFlavorException
+    // spec. and do throw an UnsupportedFlavorException
     // so we must check the any
     if ( !aAny.hasValue( ) )
     {
@@ -340,7 +340,7 @@ void CXTDataObject::renderAnyDataAndSetupStgMedium(
     Any aAny = m_XTransferable->getTransferData( aFlavor );
 
     // unfortunately not all transferables fulfill the
-    // spec. an do throw an UnsupportedFlavorException
+    // spec. and do throw an UnsupportedFlavorException
     // so we must check the any
     if ( !aAny.hasValue( ) )
     {
@@ -349,7 +349,7 @@ void CXTDataObject::renderAnyDataAndSetupStgMedium(
     }
 
     // unfortunately not all transferables fulfill the
-    // spec. an do throw an UnsupportedFlavorException
+    // spec. and do throw an UnsupportedFlavorException
     // so we must check the any
     if ( !aAny.hasValue( ) )
         throw UnsupportedFlavorException( );
@@ -446,7 +446,7 @@ void CXTDataObject::renderSynthesizedUnicodeAndSetupStgMedium( FORMATETC const &
     Any aAny = m_XTransferable->getTransferData( m_FormatRegistrar.getRegisteredTextFlavor( ) );
 
     // unfortunately not all transferables fulfill the
-    // spec. an do throw an UnsupportedFlavorException
+    // spec. and do throw an UnsupportedFlavorException
     // so we must check the any
     if ( !aAny.hasValue( ) )
     {
@@ -480,7 +480,7 @@ void CXTDataObject::renderSynthesizedTextAndSetupStgMedium( FORMATETC& fetc, STG
     Any aAny = m_XTransferable->getTransferData( aFlavor );
 
     // unfortunately not all transferables fulfill the
-    // spec. an do throw an UnsupportedFlavorException
+    // spec. and do throw an UnsupportedFlavorException
     // so we must check the any
     if ( !aAny.hasValue( ) )
     {
@@ -515,7 +515,7 @@ void CXTDataObject::renderSynthesizedHtmlAndSetupStgMedium( FORMATETC& fetc, STG
     Any aAny = m_XTransferable->getTransferData( aFlavor );
 
     // unfortunately not all transferables fulfill the
-    // spec. an do throw an UnsupportedFlavorException
+    // spec. and do throw an UnsupportedFlavorException
     // so we must check the any
     if ( !aAny.hasValue( ) )
     {


More information about the Libreoffice-commits mailing list