summaryrefslogtreecommitdiff
path: root/xmlscript/test
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 08:59:32 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 08:59:32 +1000
commit34ca5a2fb5085bb38a9ab050f60ac0a2283acd03 (patch)
treefa895dc0ea90dad8506183d6c29753f72c7eb328 /xmlscript/test
parent367fa84af9783be40cc05adb154612e38c237172 (diff)
tdf#43157: convert xmlscript from OSL_ASSERT to assert
Change-Id: I8470851db8f70cbde96ca033ebd5aa515da84510
Diffstat (limited to 'xmlscript/test')
-rw-r--r--xmlscript/test/imexp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlscript/test/imexp.cxx b/xmlscript/test/imexp.cxx
index 6965d4126a51..580a22bd294a 100644
--- a/xmlscript/test/imexp.cxx
+++ b/xmlscript/test/imexp.cxx
@@ -63,7 +63,7 @@ Reference< XComponentContext > createInitialComponentContext(
OUString file_url;
oslFileError rc = osl_getFileURLFromSystemPath(
inst_dir.pData, &file_url.pData );
- OSL_ASSERT( osl_File_E_None == rc );
+ assert( osl_File_E_None == rc );
OUString unorc = file_url + ("/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE("louno") );
@@ -123,7 +123,7 @@ void exportToFile(
nRead = xStream->readBytes( readBytes, 1024 );
if (! nRead)
break;
- OSL_ASSERT( readBytes.getLength() >= nRead );
+ assert( readBytes.getLength() >= nRead );
sal_Int32 nPos = bytes.getLength();
bytes.realloc( nPos + nRead );
@@ -169,7 +169,7 @@ void MyApp::Main()
RTL_TEXTENCODING_ASCII_US ) );
Reference< container::XNameContainer > xModel(
importFile( aParam1.getStr(), xContext ) );
- OSL_ASSERT( xModel.is() );
+ assert( xModel.is() );
Reference< awt::XUnoControlDialog > xDlg = UnoControlDialog::create( xContext );
xDlg->setModel( xModel );