Kaydet (Commit) e8c0a9ab authored tarafından Matteo Casalin's avatar Matteo Casalin Kaydeden (comit) Caolán McNamara

Reduce scope of some local variables

Change-Id: I36cedb18a00dfdee1058823fd2461ad45bc886e3
Reviewed-on: https://gerrit.libreoffice.org/6026Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 1e3e64aa
......@@ -247,11 +247,12 @@ void SwCompatibilityOptPage::InitControls( const SfxItemSet& rSet )
bool bUseOurTextWrapping = false;
bool bConsiderWrappingStyle = false;
bool bExpandWordSpace = false;
int i, j, nCount = aList.getLength();
for ( i = 0; i < nCount; ++i )
const sal_Int32 nCount = aList.getLength();
for ( sal_Int32 i = 0; i < nCount; ++i )
{
const Sequence< PropertyValue >& rEntry = aList[i];
for ( j = 0; j < rEntry.getLength(); j++ )
const sal_Int32 nEntries = rEntry.getLength();
for ( sal_Int32 j = 0; j < nEntries; j++ )
{
PropertyValue aValue = rEntry[j];
if ( aValue.Name == COMPATIBILITY_PROPERTYNAME_NAME )
......
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