cui/source/options/treeopt.cxx |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 3b50600e8f817409f5a21249871d9f82728e4987
Author:     Gabor Kelemen <[email protected]>
AuthorDate: Fri Mar 29 22:20:08 2024 +0100
Commit:     Thorsten Behrens <[email protected]>
CommitDate: Tue Apr 9 07:45:39 2024 +0200

    Use some nicer assert string
    
    Change-Id: I49b5950a63b7c1decb07f3093e8962fc3eada0bc
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165569
    Tested-by: Jenkins
    Reviewed-by: Thorsten Behrens <[email protected]>

diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 5fe43e57f6ab..6ab767bb8044 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -1841,7 +1841,7 @@ void OfaTreeOptionsDialog::writerOptions(const 
std::vector<sal_uInt16>& vPageId)
     sal_uInt16 nPageId = 0;
 
     OUString aFactory = getCurrentFactory_Impl( m_xFrame );
-    DBG_ASSERT( GetModuleIdentifier( m_xFrame ) == aFactory, "S H I T!!!" );
+    DBG_ASSERT( GetModuleIdentifier( m_xFrame ) == aFactory, "This should not 
happen" );
 
     SvtModuleOptions aModuleOpt;
     if ( aModuleOpt.IsModuleInstalled( SvtModuleOptions::EModule::WRITER ) )
@@ -1901,7 +1901,7 @@ void OfaTreeOptionsDialog::writerWebOptions(const 
std::vector<sal_uInt16>& vPage
     sal_uInt16 nPageId = 0;
 
     OUString aFactory = getCurrentFactory_Impl( m_xFrame );
-    DBG_ASSERT( GetModuleIdentifier( m_xFrame ) == aFactory, "S H I T!!!" );
+    DBG_ASSERT( GetModuleIdentifier( m_xFrame ) == aFactory, "This should not 
happen" );
 
     SvtModuleOptions aModuleOpt;
     if ( aModuleOpt.IsModuleInstalled( SvtModuleOptions::EModule::WRITER ) )
@@ -1955,7 +1955,7 @@ void OfaTreeOptionsDialog::calcOptions(const 
std::vector<sal_uInt16>& vPageId)
     sal_uInt16 nPageId = 0;
 
     OUString aFactory = getCurrentFactory_Impl( m_xFrame );
-    DBG_ASSERT( GetModuleIdentifier( m_xFrame ) == aFactory, "S H I T!!!" );
+    DBG_ASSERT( GetModuleIdentifier( m_xFrame ) == aFactory, "This should not 
happen" );
 
     SvtModuleOptions aModuleOpt;
     // Calc options
@@ -1995,7 +1995,7 @@ void OfaTreeOptionsDialog::impressOptions(const 
std::vector<sal_uInt16>& vPageId
     sal_uInt16 nPageId = 0;
 
     OUString aFactory = getCurrentFactory_Impl( m_xFrame );
-    DBG_ASSERT( GetModuleIdentifier( m_xFrame ) == aFactory, "S H I T!!!" );
+    DBG_ASSERT( GetModuleIdentifier( m_xFrame ) == aFactory, "This should not 
happen" );
     SvtModuleOptions aModuleOpt;
 
     // Impress options
@@ -2035,7 +2035,7 @@ void OfaTreeOptionsDialog::drawOptions(const 
std::vector<sal_uInt16>& vPageId)
     sal_uInt16 nPageId = 0;
 
     OUString aFactory = getCurrentFactory_Impl( m_xFrame );
-    DBG_ASSERT( GetModuleIdentifier( m_xFrame ) == aFactory, "S H I T!!!" );
+    DBG_ASSERT( GetModuleIdentifier( m_xFrame ) == aFactory, "This should not 
happen" );
     SvtModuleOptions aModuleOpt;
 
     // Draw options
@@ -2076,7 +2076,7 @@ void OfaTreeOptionsDialog::mathOptions(const 
std::vector<sal_uInt16>& vPageId)
     sal_uInt16 nPageId = 0;
 
     OUString aFactory = getCurrentFactory_Impl( m_xFrame );
-    DBG_ASSERT( GetModuleIdentifier( m_xFrame ) == aFactory, "S H I T!!!" );
+    DBG_ASSERT( GetModuleIdentifier( m_xFrame ) == aFactory, "This should not 
happen" );
     SvtModuleOptions aModuleOpt;
 
     // Math options

Reply via email to