summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-06 22:43:13 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-07 11:06:45 +0000
commitbbc6d8506d0bb1035c7c6d1755a0655612b54e69 (patch)
tree724a63f8622e5a69236400b0642d0423ca9b6f93 /editeng/source
parent04f067623f342be50c31db8aafb29f1bb8e3959f (diff)
remove various unused methods and source files
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/uno/unotext.cxx27
1 files changed, 0 insertions, 27 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index 947a93e9de99..469e2d70da4c 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -1581,14 +1581,6 @@ SvxUnoTextBase::SvxUnoTextBase( const SvxItemPropertySet* _pSet ) throw()
{
}
-SvxUnoTextBase::SvxUnoTextBase( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet ) throw()
-: SvxUnoTextBase_Base( pSource, _pSet )
-{
- ESelection aSelection;
- ::GetSelection( aSelection, GetEditSource()->GetTextForwarder() );
- SetSelection( aSelection );
-}
-
SvxUnoTextBase::SvxUnoTextBase( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, uno::Reference < text::XText > xParent ) throw()
: SvxUnoTextBase_Base( pSource, _pSet )
{
@@ -1608,25 +1600,6 @@ SvxUnoTextBase::~SvxUnoTextBase() throw()
{
}
-// Internal
-ESelection SvxUnoTextBase::InsertField( const SvxFieldItem& rField ) throw()
-{
- SvxTextForwarder* pForwarder = GetEditSource() ? GetEditSource()->GetTextForwarder() : NULL;
- if( pForwarder )
- {
- pForwarder->QuickInsertField( rField, GetSelection() );
- GetEditSource()->UpdateData();
-
- // Adapt selection
- //! It would be easier if the EditEngine would return the selection
- //! on QuickInsertText...
- CollapseToStart();
- GoRight( 1, sal_True ); // Field is always 1 character
- }
-
- return GetSelection(); // Selection with the field
-}
-
uno::Reference< text::XTextCursor > SvxUnoTextBase::createTextCursorBySelection( const ESelection& rSel )
{
SvxUnoTextCursor* pCursor = new SvxUnoTextCursor( *this );