ICU-2085 Don't use deprecated code anymore

X-SVN-Rev: 9759
This commit is contained in:
George Rhoten 2002-08-21 21:05:52 +00:00
parent d7e0797b2c
commit 9dc2dbcab8
2 changed files with 4 additions and 0 deletions

View file

@ -262,6 +262,7 @@ ResourceBundleTest::TestConstruction()
delete[] versionID1;
delete[] versionID2;
}
#ifdef ICU_RESOURCEBUNDLE_USE_DEPRECATES
{
UErrorCode err = U_ZERO_ERROR;
const char* testdatapath;
@ -295,6 +296,7 @@ ResourceBundleTest::TestConstruction()
delete[] wideDirectory;
}
#endif /* ICU_RESOURCEBUNDLE_USE_DEPRECATES */
}
//***************************************************************************************

View file

@ -262,6 +262,7 @@ NewResourceBundleTest::TestConstruction()
delete[] versionID1;
delete[] versionID2;
}
#ifdef ICU_RESOURCEBUNDLE_USE_DEPRECATES
{
UErrorCode err = U_ZERO_ERROR;
const char* testdatapath;
@ -295,6 +296,7 @@ NewResourceBundleTest::TestConstruction()
delete[] wideDirectory;
}
#endif /* ICU_RESOURCEBUNDLE_USE_DEPRECATES */
}
void
NewResourceBundleTest::TestIteration()