Kaydet (Commit) 663376de authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:oncevar (clang-cl): dtrans

Change-Id: I2ec41f641f3784ef86322c25481e6794e29eb889
üst 97e23695
......@@ -427,8 +427,6 @@ bool CMtaOleClipboard::registerClipViewer( LPFNC_CLIPVIEWER_CALLBACK_t pfncClipV
return false;
}
bool bRet = false;
OSL_ENSURE( GetCurrentThreadId( ) != m_uOleThreadId, "registerClipViewer from within the OleThread called" );
MsgCtx aMsgCtx;
......@@ -439,7 +437,7 @@ bool CMtaOleClipboard::registerClipViewer( LPFNC_CLIPVIEWER_CALLBACK_t pfncClipV
aMsgCtx.aCondition.wait( /* infinite */ );
return bRet;
return false;
}
// register a clipboard viewer
......
......@@ -214,9 +214,8 @@ void SAL_CALL CFormatRegistrar::RegisterFormats(
aFormatEtcContainer.addFormatEtc( fetc );
// and HTML Format
OUString htmlFormat( "HTML Format" );
aFormatEtcContainer.addFormatEtc(
CDataFormatTranslator::getFormatEtcForClipformatName( htmlFormat ) );
CDataFormatTranslator::getFormatEtcForClipformatName( "HTML Format" ) );
}
}
}
......
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