diff options
author | Berk Gureken <berkgureken@gmail.com> | 2016-02-01 12:07:06 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-02-04 12:54:23 +0000 |
commit | 9108dc39525fb1d881d5b4a634039a25ef2d2d25 (patch) | |
tree | 8e77cba1ae24fa8fb2515b3f620da0e16cb91a02 /framework/source/uiconfiguration | |
parent | 1ee9765beffa7cebcc891227d741eeb0cc74eb55 (diff) |
tdf#43157 Cleanup DBG_ASSERT for fpicker and framework
Change-Id: I1b79a39a9d709184cc72a905647f73dbf85eef27
Signed-off-by: Berk Gureken <berkgureken@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/21991
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'framework/source/uiconfiguration')
-rw-r--r-- | framework/source/uiconfiguration/windowstateconfiguration.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/framework/source/uiconfiguration/windowstateconfiguration.cxx b/framework/source/uiconfiguration/windowstateconfiguration.cxx index 71ddcfa9d427..9412302e06bb 100644 --- a/framework/source/uiconfiguration/windowstateconfiguration.cxx +++ b/framework/source/uiconfiguration/windowstateconfiguration.cxx @@ -592,7 +592,7 @@ Any ConfigurationAccess_WindowState::impl_getSequenceFromStruct( const WindowSta case PROPERTY_DOCKSIZE: aPropSeq[nIndex].Value = makeAny( rWinStateInfo.aDockSize ); break; default: - DBG_ASSERT( false, "Wrong value for ConfigurationAccess_WindowState. Who has forgotten to add this new property!" ); + assert( false && "Wrong value for ConfigurationAccess_WindowState. Who has forgotten to add this new property!" ); } } } @@ -772,7 +772,7 @@ Any ConfigurationAccess_WindowState::impl_insertCacheAndReturnSequence( const OU break; default: - DBG_ASSERT( false, "Wrong value for ConfigurationAccess_WindowState. Who has forgotten to add this new property!" ); + assert( false && "Wrong value for ConfigurationAccess_WindowState. Who has forgotten to add this new property!" ); } if ( bAddToSeq ) @@ -844,7 +844,7 @@ ConfigurationAccess_WindowState::WindowStateInfo& ConfigurationAccess_WindowStat case PROPERTY_CONTEXTACTIVE: aWindowStateInfo.bContextActive = bValue; break; default: - DBG_ASSERT( false, "Unknown boolean property in WindowState found!" ); + SAL_WARN( "framework.uiconfiguration", "Unknown boolean property in WindowState found!" ); } } } @@ -956,7 +956,7 @@ ConfigurationAccess_WindowState::WindowStateInfo& ConfigurationAccess_WindowStat break; default: - DBG_ASSERT( false, "Wrong value for ConfigurationAccess_WindowState. Who has forgotten to add this new property!" ); + assert( false && "Wrong value for ConfigurationAccess_WindowState. Who has forgotten to add this new property!" ); } } catch( const css::container::NoSuchElementException& ) @@ -1145,7 +1145,7 @@ void ConfigurationAccess_WindowState::impl_fillStructFromSequence( WindowStateIn break; default: - DBG_ASSERT( false, "Wrong value for ConfigurationAccess_WindowState. Who has forgotten to add this new property!" ); + assert( false && "Wrong value for ConfigurationAccess_WindowState. Who has forgotten to add this new property!" ); } break; @@ -1226,7 +1226,7 @@ void ConfigurationAccess_WindowState::impl_putPropertiesFromStruct( const Window case PROPERTY_STYLE: xPropSet->setPropertyValue( m_aPropArray[i], makeAny( sal_Int32( rWinStateInfo.nStyle )) ); break; default: - DBG_ASSERT( false, "Wrong value for ConfigurationAccess_WindowState. Who has forgotten to add this new property!" ); + assert( false && "Wrong value for ConfigurationAccess_WindowState. Who has forgotten to add this new property!" ); } } catch( const Exception& ) |