cppcheck: remove assigned but unused variable
This commit is contained in:
@@ -516,7 +516,6 @@ void unoInterfaceProxyDispatch(
|
|||||||
// is my surrogate
|
// is my surrogate
|
||||||
bridges::cpp_uno::shared::UnoInterfaceProxy * pThis
|
bridges::cpp_uno::shared::UnoInterfaceProxy * pThis
|
||||||
= static_cast< bridges::cpp_uno::shared::UnoInterfaceProxy *> (pUnoI);
|
= static_cast< bridges::cpp_uno::shared::UnoInterfaceProxy *> (pUnoI);
|
||||||
typelib_InterfaceTypeDescription * pTypeDescr = pThis->pTypeDescr;
|
|
||||||
|
|
||||||
switch (pMemberDescr->eTypeClass)
|
switch (pMemberDescr->eTypeClass)
|
||||||
{
|
{
|
||||||
|
@@ -171,8 +171,6 @@ sal_Bool processCntTypesAndWriteResultIntoFile( char* fname, vector< string >& v
|
|||||||
fseek( fstream, 0L, SEEK_SET );
|
fseek( fstream, 0L, SEEK_SET );
|
||||||
|
|
||||||
vector< string >::iterator iter_end = vecData.end( );
|
vector< string >::iterator iter_end = vecData.end( );
|
||||||
const char* pStr = NULL;
|
|
||||||
|
|
||||||
for ( vector< string >::iterator iter = vecData.begin( ); iter != iter_end; ++iter )
|
for ( vector< string >::iterator iter = vecData.begin( ); iter != iter_end; ++iter )
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
@@ -677,8 +677,7 @@ SwTwips GetTableWidth( SwFrmFmt* pFmt, SwTabCols& rCols, sal_uInt16 *pPercent,
|
|||||||
{
|
{
|
||||||
if(pSh)
|
if(pSh)
|
||||||
{
|
{
|
||||||
const SwFrmFmt *pFlyFmt;
|
if ( 0 == pSh->GetFlyFrmFmt() )
|
||||||
if ( 0 == (pFlyFmt = pSh->GetFlyFrmFmt()) )
|
|
||||||
{
|
{
|
||||||
nWidth = pSh->GetAnyCurRect(RECT_PAGE_PRT).Width();
|
nWidth = pSh->GetAnyCurRect(RECT_PAGE_PRT).Width();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user