diff options
author | Marcel Metz <mmetz@adrian-broher.net> | 2012-01-11 10:11:50 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-01-16 12:51:30 +0100 |
commit | ae71f5b4115367b4cc649f3025c43eb733190732 (patch) | |
tree | 7baf61d72e867e2173152c15b87344d0f188d8d1 /svx/source/dialog | |
parent | 157d414977a6b80d2654767419fe2e406024ea04 (diff) |
Replaced DBG_ERRORFILE with SAL_INFO.
Diffstat (limited to 'svx/source/dialog')
-rw-r--r-- | svx/source/dialog/dlgutil.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/framelink.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/framelinkarray.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/frmsel.cxx | 6 | ||||
-rw-r--r-- | svx/source/dialog/txencbox.cxx | 8 |
5 files changed, 6 insertions, 14 deletions
diff --git a/svx/source/dialog/dlgutil.cxx b/svx/source/dialog/dlgutil.cxx index dcb2b930a9a7..8e14e6ecb214 100644 --- a/svx/source/dialog/dlgutil.cxx +++ b/svx/source/dialog/dlgutil.cxx @@ -79,7 +79,7 @@ bool GetApplyCharUnit( const SfxItemSet& rSet ) } else { - DBG_ERRORFILE( "GetApplyCharUnit(): no module found" ); + SAL_INFO( "svx", "GetApplyCharUnit(): no module found" ); } } } diff --git a/svx/source/dialog/framelink.cxx b/svx/source/dialog/framelink.cxx index cfe80fbdd4a7..6ef4903384d2 100644 --- a/svx/source/dialog/framelink.cxx +++ b/svx/source/dialog/framelink.cxx @@ -560,7 +560,7 @@ void lclLinkLeftEnd( } else { - DBG_ERRORFILE( "lclLinkLeftEnd - called for invisible frame style" ); + SAL_INFO( "svx", "lclLinkLeftEnd - called for invisible frame style" ); } } diff --git a/svx/source/dialog/framelinkarray.cxx b/svx/source/dialog/framelinkarray.cxx index 3f2db9302bac..e5767b589af5 100644 --- a/svx/source/dialog/framelinkarray.cxx +++ b/svx/source/dialog/framelinkarray.cxx @@ -310,7 +310,6 @@ MergedCellIterator& MergedCellIterator::operator++() // ============================================================================ -#define DBG_FRAME_ERROR( funcname, error ) DBG_ERRORFILE( "svx::frame::Array::" funcname " - " error ) #define DBG_FRAME_CHECK( cond, funcname, error ) DBG_ASSERT( cond, "svx::frame::Array::" funcname " - " error ) #define DBG_FRAME_CHECK_COL( col, funcname ) DBG_FRAME_CHECK( (col) < GetColCount(), funcname, "invalid column index" ) #define DBG_FRAME_CHECK_ROW( row, funcname ) DBG_FRAME_CHECK( (row) < GetRowCount(), funcname, "invalid row index" ) @@ -1284,7 +1283,6 @@ void Array::DrawArray( OutputDevice& rDev, const Color* pForceColor ) const #undef DBG_FRAME_CHECK_ROW #undef DBG_FRAME_CHECK_COL #undef DBG_FRAME_CHECK -#undef DBG_FRAME_ERROR // ============================================================================ diff --git a/svx/source/dialog/frmsel.cxx b/svx/source/dialog/frmsel.cxx index 37c66234849c..a2daa27e871c 100644 --- a/svx/source/dialog/frmsel.cxx +++ b/svx/source/dialog/frmsel.cxx @@ -164,7 +164,7 @@ void FrameBorder::SetState( FrameBorderState eState ) switch( meState ) { case FRAMESTATE_SHOW: - DBG_ERRORFILE( "svx::FrameBorder::SetState - use SetCoreStyle to make border visible" ); + SAL_INFO( "svx", "svx::FrameBorder::SetState - use SetCoreStyle to make border visible" ); break; case FRAMESTATE_HIDE: maCoreStyle = SvxBorderLine(); @@ -220,7 +220,7 @@ FrameBorderType FrameBorder::GetKeyboardNeighbor( sal_uInt16 nKeyCode ) const case KEY_RIGHT: eBorder = meKeyRight; break; case KEY_UP: eBorder = meKeyTop; break; case KEY_DOWN: eBorder = meKeyBottom; break; - default: DBG_ERRORFILE( "svx::FrameBorder::GetKeyboardNeighbor - unknown key code" ); + default: SAL_INFO( "svx", "svx::FrameBorder::GetKeyboardNeighbor - unknown key code" ); } return eBorder; } @@ -515,7 +515,7 @@ const FrameBorder& FrameSelectorImpl::GetBorder( FrameBorderType eBorder ) const size_t nIndex = GetIndexFromFrameBorderType( eBorder ); if( nIndex < maAllBorders.size() ) return *maAllBorders[ nIndex ]; - DBG_ERRORFILE( "svx::FrameSelectorImpl::GetBorder - unknown border type" ); + SAL_INFO( "svx", "svx::FrameSelectorImpl::GetBorder - unknown border type" ); return maTop; } diff --git a/svx/source/dialog/txencbox.cxx b/svx/source/dialog/txencbox.cxx index 9286b39bf6d0..4834c0806397 100644 --- a/svx/source/dialog/txencbox.cxx +++ b/svx/source/dialog/txencbox.cxx @@ -199,13 +199,7 @@ void SvxTextEncodingBox::InsertTextEncoding( const rtl_TextEncoding nEnc, sal_uI if ( rEntry.Len() ) InsertTextEncoding( nEnc, rEntry, nPos ); else - { -#ifdef DBG_UTIL - rtl::OStringBuffer aMsg(RTL_CONSTASCII_STRINGPARAM("SvxTextEncodingBox::InsertTextEncoding: no resource string for text encoding: ")); - aMsg.append(static_cast<sal_Int32>(nEnc)); - DBG_ERRORFILE(aMsg.getStr()); -#endif - } + SAL_INFO( "svx", "SvxTextEncodingBox::InsertTextEncoding: no resource string for text encoding: " << static_cast<sal_Int32>( nEnc ) ); } //------------------------------------------------------------------------ |