summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/editeng/editdbg.cxx23
-rw-r--r--editeng/source/editeng/editdbg.hxx3
-rw-r--r--editeng/source/editeng/editeng.cxx21
-rw-r--r--editeng/source/outliner/outlvw.cxx10
4 files changed, 0 insertions, 57 deletions
diff --git a/editeng/source/editeng/editdbg.cxx b/editeng/source/editeng/editdbg.cxx
index 1f00e90799c2..8ad732bcd06f 100644
--- a/editeng/source/editeng/editdbg.cxx
+++ b/editeng/source/editeng/editdbg.cxx
@@ -533,29 +533,6 @@ rtl::OString EditDbg::GetPortionInfo( ParaPortion* pPPortion )
return aDebStr.makeStringAndClear();
}
-rtl::OString EditDbg::GetTextPortionInfo(TextPortionList& rPortions)
-{
- rtl::OStringBuffer aDebStr;
- for (sal_uInt16 z = 0; z < rPortions.Count(); ++z)
- {
- TextPortion* pPortion = rPortions.GetObject( z );
- aDebStr.append(' ');
- aDebStr.append(static_cast<sal_Int32>(pPortion->GetLen()));
- aDebStr.append('(');
- aDebStr.append(static_cast<sal_Int32>(pPortion->GetSize().Width()));
- aDebStr.append(')');
- aDebStr.append(';');
- }
- return aDebStr.makeStringAndClear();
-}
-
-void EditDbg::ShowPortionData( ParaPortion* pPortion )
-{
- ByteString aDebStr( GetPortionInfo( pPortion ) );
- InfoBox( 0, String( aDebStr, RTL_TEXTENCODING_ASCII_US ) ).Execute();
-}
-
-
sal_Bool ParaPortion::DbgCheckTextPortions()
{
// check, if Portion length ok:
diff --git a/editeng/source/editeng/editdbg.hxx b/editeng/source/editeng/editdbg.hxx
index 79c1f6634888..7154dfdb06e5 100644
--- a/editeng/source/editeng/editdbg.hxx
+++ b/editeng/source/editeng/editdbg.hxx
@@ -48,13 +48,10 @@ class EditDbg
{
public:
static void ShowEditEngineData( EditEngine* pEditEngine, sal_Bool bInfoBox = sal_True );
- static void ShowPortionData( ParaPortion* pPortion );
static rtl::OString GetPortionInfo( ParaPortion* pPPortion );
- static rtl::OString GetTextPortionInfo(TextPortionList& rPortions);
static ByteString GetUndoDebStr( EditUndoList* pUndoList );
};
-
#endif // _EDITDBG_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index c28248ad078a..64547e6c5cc3 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -2081,21 +2081,6 @@ sal_Bool EditEngine::IsPasteSpecialEnabled() const
return pImpEditEngine->GetStatus().AllowPasteSpecial();
}
-void EditEngine::EnableIdleFormatter( sal_Bool bEnable )
-{
- DBG_CHKTHIS( EditEngine, 0 );
- if ( bEnable )
- pImpEditEngine->GetStatus().TurnOnFlags( EE_CNTRL_DOIDLEFORMAT );
- else
- pImpEditEngine->GetStatus().TurnOffFlags( EE_CNTRL_DOIDLEFORMAT);
-}
-
-sal_Bool EditEngine::IsIdleFormatterEnabled() const
-{
- DBG_CHKTHIS( EditEngine, 0 );
- return pImpEditEngine->GetStatus().UseIdleFormatter();
-}
-
void EditEngine::EraseVirtualDevice()
{
DBG_CHKTHIS( EditEngine, 0 );
@@ -2666,12 +2651,6 @@ Font EditEngine::CreateFontFromItemSet( const SfxItemSet& rItemSet, sal_uInt16 n
return aFont;
}
-// Maybe we can remove the next two methods, check after 6.x
-Font EditEngine::CreateFontFromItemSet( const SfxItemSet& rItemSet )
-{
- return CreateSvxFontFromItemSet( rItemSet );
-}
-
SvxFont EditEngine::CreateSvxFontFromItemSet( const SfxItemSet& rItemSet )
{
SvxFont aFont;
diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx
index 1bf148648f33..f8fe488adb9d 100644
--- a/editeng/source/outliner/outlvw.cxx
+++ b/editeng/source/outliner/outlvw.cxx
@@ -412,16 +412,6 @@ void OutlinerView::ImpHideDDCursor()
}
}
-void OutlinerView::ImpShowDDCursor()
-{
- DBG_CHKTHIS(OutlinerView,0);
- if ( !bDDCursorVisible )
- {
- bDDCursorVisible = sal_True;
- ImpPaintDDCursor();
- }
-}
-
void OutlinerView::ImpPaintDDCursor()
{
DBG_CHKTHIS(OutlinerView,0);