summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordilekuzulmez <dilekuzulmez@gmail.com>2017-02-03 15:36:42 +0300
committerStephan Bergmann <sbergman@redhat.com>2017-02-06 08:09:29 +0000
commit1cf15a4cdde09972e78baee704014099433ac43e (patch)
tree21c6791a44ddd4c70303e1ba1c545e99354363d8
parent7fb2b608047e613884d2ee1aab93795ce2f72243 (diff)
tdf#43157 Clean up OSL_ASSERT, DBG_ASSERT, etc.
Change-Id: I37b62b7cc4b26789e961148c0411615ef1c2ffa1 Reviewed-on: https://gerrit.libreoffice.org/33884 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx
index 0b7549a0ee55..3be630dd8611 100644
--- a/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx
+++ b/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx
@@ -66,7 +66,7 @@ void SAL_CALL SalGtkFolderPicker::setDisplayDirectory( const OUString& aDirector
{
SolarMutexGuard g;
- OSL_ASSERT( m_pDialog != nullptr );
+ assert( m_pDialog != nullptr );
OString aTxt = unicodetouri( aDirectory );
if( aTxt.isEmpty() ){
@@ -86,7 +86,7 @@ OUString SAL_CALL SalGtkFolderPicker::getDisplayDirectory()
{
SolarMutexGuard g;
- OSL_ASSERT( m_pDialog != nullptr );
+ assert( m_pDialog != nullptr );
gchar* pCurrentFolder =
gtk_file_chooser_get_current_folder_uri( GTK_FILE_CHOOSER( m_pDialog ) );
@@ -100,7 +100,7 @@ OUString SAL_CALL SalGtkFolderPicker::getDirectory()
{
SolarMutexGuard g;
- OSL_ASSERT( m_pDialog != nullptr );
+ assert( m_pDialog != nullptr );
gchar* pSelectedFolder =
gtk_file_chooser_get_uri( GTK_FILE_CHOOSER( m_pDialog ) );
@@ -120,7 +120,7 @@ void SAL_CALL SalGtkFolderPicker::setTitle( const OUString& aTitle )
{
SolarMutexGuard g;
- OSL_ASSERT( m_pDialog != nullptr );
+ assert( m_pDialog != nullptr );
OString aWindowTitle = OUStringToOString( aTitle, RTL_TEXTENCODING_UTF8 );
@@ -131,7 +131,7 @@ sal_Int16 SAL_CALL SalGtkFolderPicker::execute()
{
SolarMutexGuard g;
- OSL_ASSERT( m_pDialog != nullptr );
+ assert( m_pDialog != nullptr );
sal_Int16 retVal = 0;
@@ -170,7 +170,7 @@ void SAL_CALL SalGtkFolderPicker::cancel()
{
SolarMutexGuard g;
- OSL_ASSERT( m_pDialog != nullptr );
+ assert( m_pDialog != nullptr );
// TODO m_pImpl->cancel();
}