summaryrefslogtreecommitdiff
path: root/editeng/source/uno
diff options
context:
space:
mode:
authorSzabolcs Dezsi <dezsiszabi@hotmail.com>2012-02-27 11:23:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-27 11:23:51 +0000
commit2b179ca1744d12630488619f948e5eb860e1fb41 (patch)
treeea71499aee7ec222439a731578cd409c1efda571 /editeng/source/uno
parentc58882fda80b63baac3360001b0fdf251d96e0eb (diff)
Removed unused code
Diffstat (limited to 'editeng/source/uno')
-rw-r--r--editeng/source/uno/unoedhlp.cxx6
-rw-r--r--editeng/source/uno/unoedprx.cxx11
-rw-r--r--editeng/source/uno/unopracc.cxx7
3 files changed, 0 insertions, 24 deletions
diff --git a/editeng/source/uno/unoedhlp.cxx b/editeng/source/uno/unoedhlp.cxx
index fb1b03322350..a06baa39eb46 100644
--- a/editeng/source/uno/unoedhlp.cxx
+++ b/editeng/source/uno/unoedhlp.cxx
@@ -166,10 +166,4 @@ Rectangle SvxEditSourceHelper::EEToUserSpace( const Rectangle& rRect, const Size
EEToUserSpace(rRect.TopRight(), rEESize, bIsVertical) ) : rRect;
}
-Rectangle SvxEditSourceHelper::UserSpaceToEE( const Rectangle& rRect, const Size& rEESize, bool bIsVertical )
-{
- return bIsVertical ? Rectangle( UserSpaceToEE(rRect.TopRight(), rEESize, bIsVertical),
- UserSpaceToEE(rRect.BottomLeft(), rEESize, bIsVertical) ) : rRect;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/editeng/source/uno/unoedprx.cxx b/editeng/source/uno/unoedprx.cxx
index 0b96a9523ae0..dcce120e4fbc 100644
--- a/editeng/source/uno/unoedprx.cxx
+++ b/editeng/source/uno/unoedprx.cxx
@@ -120,9 +120,6 @@ public:
void AreInBullet( sal_Bool bInBullet = sal_True ) { mbInBullet = bInBullet; }
sal_Bool InBullet() const { return mbInBullet; }
- /// returns false if the current index contains non-editable text (e.g. bullets)
- sal_Bool IsEditable() const;
-
/// returns false if the given range is non-editable (e.g. contains bullets or _parts_ of fields)
sal_Bool IsEditableRange( const SvxAccessibleTextIndex& rEnd ) const;
@@ -295,14 +292,6 @@ void SvxAccessibleTextIndex::SetIndex( sal_Int32 nIndex, const SvxTextForwarder&
}
}
-sal_Bool SvxAccessibleTextIndex::IsEditable() const
-{
- if( InBullet() || InField() )
- return sal_False;
-
- return sal_True;
-}
-
sal_Bool SvxAccessibleTextIndex::IsEditableRange( const SvxAccessibleTextIndex& rEnd ) const
{
if( GetIndex() > rEnd.GetIndex() )
diff --git a/editeng/source/uno/unopracc.cxx b/editeng/source/uno/unopracc.cxx
index ee19d30064e8..ba8077a737c0 100644
--- a/editeng/source/uno/unopracc.cxx
+++ b/editeng/source/uno/unopracc.cxx
@@ -97,11 +97,4 @@ uno::Sequence< ::rtl::OUString> SAL_CALL SvxAccessibleTextPropertySet::getSuppor
return SvxUnoTextRangeBase::getSupportedServiceNames();
}
-// XServiceName
-::rtl::OUString SAL_CALL SvxAccessibleTextPropertySet::getServiceName() throw (uno::RuntimeException)
-{
- return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.PropertyValue"));
-}
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */