Kaydet (Commit) 0a478850 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:flatten (clang-cl, dtrans)

Change-Id: I773640d233d5a80cb31dad5a8acff4e04afeedbd
Reviewed-on: https://gerrit.libreoffice.org/42976Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 4c6f17f7
......@@ -299,18 +299,15 @@ STDMETHODIMP CXTDataObject::GetData( LPFORMATETC pFormatetc, LPSTGMEDIUM pmedium
void SAL_CALL CXTDataObject::renderLocaleAndSetupStgMedium(
FORMATETC const & fetc, STGMEDIUM& stgmedium )
{
if ( m_FormatRegistrar.hasSynthesizedLocale( ) )
{
LCID lcid = CFormatRegistrar::getSynthesizedLocale( );
renderDataAndSetupStgMedium(
reinterpret_cast< sal_Int8* >( &lcid ),
fetc,
0,
sizeof( LCID ),
stgmedium );
}
else
if ( !m_FormatRegistrar.hasSynthesizedLocale( ) )
throw CInvalidFormatEtcException( DV_E_FORMATETC );
LCID lcid = CFormatRegistrar::getSynthesizedLocale( );
renderDataAndSetupStgMedium(
reinterpret_cast< sal_Int8* >( &lcid ),
fetc,
0,
sizeof( LCID ),
stgmedium );
}
void SAL_CALL CXTDataObject::renderUnicodeAndSetupStgMedium(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment