summaryrefslogtreecommitdiff
path: root/dtrans
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-05-14 21:25:38 +0000
committerJulien Nabet <serval2412@yahoo.fr>2019-05-19 21:46:32 +0200
commit6e7eb552d19675bb065754a3e1f0cdea137aedfb (patch)
tree00d48e733ee9fd1d74d3664e42dcc4f5f7643bee /dtrans
parent0f55127195a897ca7b13c25ded2208476dba3a08 (diff)
Fix typo
Change-Id: Ie0d2c0cde9c1fb58a63e8ef5331bdcb5126aaf28 Reviewed-on: https://gerrit.libreoffice.org/72577 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'dtrans')
-rw-r--r--dtrans/source/win32/dtobj/XTDataObject.cxx14
1 files changed, 7 insertions, 7 deletions
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( ) )
{