diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 10:02:47 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 10:02:47 +1000 |
commit | 74fa31e12355a45476458d0e6f907894bf4793cd (patch) | |
tree | 67cbaa54f680e500f60f0b6ab65f9491ebd68a97 /sfx2/source/dialog/mailmodel.cxx | |
parent | 6c9fb88fc097ff42cb6a0e26dad84f535ea69edf (diff) |
tdf#43157: convert sfx2 module away from OSL_ASSERT to assert
Change-Id: I3facbef60a0d629db8f3028dd1b9f38e8f17e83e
Diffstat (limited to 'sfx2/source/dialog/mailmodel.cxx')
-rw-r--r-- | sfx2/source/dialog/mailmodel.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/dialog/mailmodel.cxx b/sfx2/source/dialog/mailmodel.cxx index ac01c0fc6e6f..385a6552030b 100644 --- a/sfx2/source/dialog/mailmodel.cxx +++ b/sfx2/source/dialog/mailmodel.cxx @@ -305,7 +305,7 @@ SfxMailModel::SaveResult SfxMailModel::SaveDocumentAsFormat( bool bPrivateProtocol = ( aFileObj.GetProtocol() == INetProtocol::PrivSoffice ); bHasLocation = !aLocation.isEmpty() && !bPrivateProtocol; - OSL_ASSERT( !bPrivateProtocol ); + assert( !bPrivateProtocol ); } if ( !rType.isEmpty() ) bStoreTo = true; @@ -464,8 +464,8 @@ SfxMailModel::SaveResult SfxMailModel::SaveDocumentAsFormat( if ( aFileName.isEmpty() ) return eRet; - OSL_ASSERT( !aFilterName.isEmpty() ); - OSL_ASSERT( !aFileName.isEmpty() ); + assert( !aFilterName.isEmpty() ); + assert( !aFileName.isEmpty() ); // Creates a temporary directory to store a predefined file into it. // This makes it possible to store the file for "send document as e-mail" |