cppcheck: remove assigned but unused variable
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user