Kaydet (Commit) dca2588b authored tarafından Takeshi Abe's avatar Takeshi Abe

cppcheck: remove assigned but unused variable

üst c85c4bd7
......@@ -516,7 +516,6 @@ void unoInterfaceProxyDispatch(
// is my surrogate
bridges::cpp_uno::shared::UnoInterfaceProxy * pThis
= static_cast< bridges::cpp_uno::shared::UnoInterfaceProxy *> (pUnoI);
typelib_InterfaceTypeDescription * pTypeDescr = pThis->pTypeDescr;
switch (pMemberDescr->eTypeClass)
{
......
......@@ -171,8 +171,6 @@ sal_Bool processCntTypesAndWriteResultIntoFile( char* fname, vector< string >& v
fseek( fstream, 0L, SEEK_SET );
vector< string >::iterator iter_end = vecData.end( );
const char* pStr = NULL;
for ( vector< string >::iterator iter = vecData.begin( ); iter != iter_end; ++iter )
{
try
......
......@@ -677,8 +677,7 @@ SwTwips GetTableWidth( SwFrmFmt* pFmt, SwTabCols& rCols, sal_uInt16 *pPercent,
{
if(pSh)
{
const SwFrmFmt *pFlyFmt;
if ( 0 == (pFlyFmt = pSh->GetFlyFrmFmt()) )
if ( 0 == pSh->GetFlyFrmFmt() )
{
nWidth = pSh->GetAnyCurRect(RECT_PAGE_PRT).Width();
}
......
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