diff options
Diffstat (limited to 'jvmfwk/source/fwkbase.cxx')
-rw-r--r-- | jvmfwk/source/fwkbase.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jvmfwk/source/fwkbase.cxx b/jvmfwk/source/fwkbase.cxx index 226673356cd5..dbab7d4a9e7a 100644 --- a/jvmfwk/source/fwkbase.cxx +++ b/jvmfwk/source/fwkbase.cxx @@ -120,7 +120,7 @@ VendorSettings::VendorSettings(): VersionInfo VendorSettings::getVersionInformation(const OUString & sVendor) { - assert(!sVendor.isEmpty()); + OSL_ASSERT(!sVendor.isEmpty()); VersionInfo aVersionInfo; OString osVendor = OUStringToOString(sVendor, RTL_TEXTENCODING_UTF8); //Get minVersion @@ -436,7 +436,7 @@ JFW_MODE getMode() OUString getApplicationClassPath() { - assert(getMode() == JFW_MODE_APPLICATION); + OSL_ASSERT(getMode() == JFW_MODE_APPLICATION); OUString retVal; OUString sParams = BootParams::getClasspathUrls(); if (sParams.isEmpty()) @@ -453,7 +453,7 @@ OUString getApplicationClassPath() OUString systemPathElement; oslFileError rc = osl_getSystemPathFromFileURL( token.pData, &systemPathElement.pData ); - assert( rc == osl_File_E_None ); + OSL_ASSERT( rc == osl_File_E_None ); if (rc == osl_File_E_None && !systemPathElement.isEmpty()) { if (buf.getLength() > 0) |