WaE: various new gcc 4.6.0 warnings
This commit is contained in:
parent
e13627acb1
commit
0957067842
3 changed files with 0 additions and 9 deletions
|
@ -359,15 +359,10 @@ uno::Any SAL_CALL VbaApplicationBase::Run( const ::rtl::OUString& MacroName, con
|
|||
const uno::Any** pArg = aArgsPtrArray;
|
||||
const uno::Any** pArgEnd = ( aArgsPtrArray + nArg );
|
||||
|
||||
sal_Int32 nLastArgWithValue = 0;
|
||||
sal_Int32 nArgProcessed = 0;
|
||||
|
||||
for ( ; pArg != pArgEnd; ++pArg, ++nArgProcessed )
|
||||
{
|
||||
aArgs[ nArgProcessed ] = **pArg;
|
||||
if( (*pArg)->hasValue() )
|
||||
nLastArgWithValue = nArgProcessed;
|
||||
}
|
||||
|
||||
// resize array to position of last param with value
|
||||
aArgs.realloc( nArgProcessed + 1 );
|
||||
|
|
|
@ -1241,7 +1241,6 @@ void XMLSectionExport::ExportIndexTemplateElement(
|
|||
|
||||
// tab position
|
||||
sal_Bool bRightAligned = sal_False;
|
||||
sal_Bool bRightAlignedOK = sal_False;
|
||||
|
||||
// tab position
|
||||
sal_Int32 nTabPosition = 0;
|
||||
|
@ -1315,7 +1314,6 @@ void XMLSectionExport::ExportIndexTemplateElement(
|
|||
case TOK_TPARAM_TAB_RIGHT_ALIGNED:
|
||||
bRightAligned =
|
||||
*(sal_Bool *)rValues[i].Value.getValue();
|
||||
bRightAlignedOK = sal_True;
|
||||
break;
|
||||
|
||||
case TOK_TPARAM_TAB_POSITION:
|
||||
|
|
|
@ -86,7 +86,6 @@ XMLTextListBlockContext::XMLTextListBlockContext(
|
|||
// Inherit style name from parent list, as well as the flags whether
|
||||
// numbering must be restarted and formats have to be created.
|
||||
OUString sParentListStyleName;
|
||||
sal_Bool bParentRestartNumbering( sal_False );
|
||||
if( mxParentListBlock.Is() )
|
||||
{
|
||||
XMLTextListBlockContext *pParent =
|
||||
|
@ -97,7 +96,6 @@ XMLTextListBlockContext::XMLTextListBlockContext(
|
|||
mnLevel = pParent->GetLevel() + 1;
|
||||
mbRestartNumbering = pParent->IsRestartNumbering() ||
|
||||
bRestartNumberingAtSubList;
|
||||
bParentRestartNumbering = pParent->IsRestartNumbering();
|
||||
mbSetDefaults = pParent->mbSetDefaults;
|
||||
msListId = pParent->GetListId();
|
||||
msContinueListId = pParent->GetContinueListId();
|
||||
|
|
Loading…
Reference in a new issue