WaE: gcc 4.6.0 various warnings

This commit is contained in:
Caolán McNamara
2011-01-27 16:53:01 +00:00
parent 34b5dc33d4
commit 2158a2497c

View File

@@ -124,9 +124,6 @@ std::vector< SvtLinguConfigDictionaryEntry > GetOldStyleDics( const char *pDicTy
rtl::OUString aSystemPrefix; rtl::OUString aSystemPrefix;
rtl::OUString aSystemSuffix; rtl::OUString aSystemSuffix;
#endif #endif
bool bSpell = false;
bool bHyph = false;
bool bThes = false;
if (strcmp( pDicType, "DICT" ) == 0) if (strcmp( pDicType, "DICT" ) == 0)
{ {
aFormatName = A2OU("DICT_SPELL"); aFormatName = A2OU("DICT_SPELL");
@@ -135,7 +132,6 @@ std::vector< SvtLinguConfigDictionaryEntry > GetOldStyleDics( const char *pDicTy
aSystemDir = A2OU( DICT_SYSTEM_DIR ); aSystemDir = A2OU( DICT_SYSTEM_DIR );
aSystemSuffix = aDicExtension; aSystemSuffix = aDicExtension;
#endif #endif
bSpell = true;
} }
else if (strcmp( pDicType, "HYPH" ) == 0) else if (strcmp( pDicType, "HYPH" ) == 0)
{ {
@@ -146,7 +142,6 @@ std::vector< SvtLinguConfigDictionaryEntry > GetOldStyleDics( const char *pDicTy
aSystemPrefix = A2OU( "hyph_" ); aSystemPrefix = A2OU( "hyph_" );
aSystemSuffix = aDicExtension; aSystemSuffix = aDicExtension;
#endif #endif
bHyph = true;
} }
else if (strcmp( pDicType, "THES" ) == 0) else if (strcmp( pDicType, "THES" ) == 0)
{ {
@@ -157,7 +152,6 @@ std::vector< SvtLinguConfigDictionaryEntry > GetOldStyleDics( const char *pDicTy
aSystemPrefix = A2OU( "th_" ); aSystemPrefix = A2OU( "th_" );
aSystemSuffix = A2OU( "_v2.dat" ); aSystemSuffix = A2OU( "_v2.dat" );
#endif #endif
bThes = true;
} }