summaryrefslogtreecommitdiff
path: root/editeng/source
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
parentc58882fda80b63baac3360001b0fdf251d96e0eb (diff)
Removed unused code
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/items/frmitems.cxx5
-rw-r--r--editeng/source/items/justifyitem.cxx6
-rw-r--r--editeng/source/uno/unoedhlp.cxx6
-rw-r--r--editeng/source/uno/unoedprx.cxx11
-rw-r--r--editeng/source/uno/unopracc.cxx7
5 files changed, 0 insertions, 35 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index 0cde9c437c46..26c273648c74 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -4126,11 +4126,6 @@ void SvxBrushItem::ApplyGraphicTransparency_Impl()
}
// class SvxFrameDirectionItem ----------------------------------------------
-SvxFrameDirectionItem::SvxFrameDirectionItem( sal_uInt16 _nWhich )
- : SfxUInt16Item( _nWhich, (sal_uInt16)FRMDIR_HORI_LEFT_TOP )
-{
-}
-
SvxFrameDirectionItem::SvxFrameDirectionItem( SvxFrameDirection nValue ,
sal_uInt16 _nWhich )
: SfxUInt16Item( _nWhich, (sal_uInt16)nValue )
diff --git a/editeng/source/items/justifyitem.cxx b/editeng/source/items/justifyitem.cxx
index f9123fb53992..0d3024df4d24 100644
--- a/editeng/source/items/justifyitem.cxx
+++ b/editeng/source/items/justifyitem.cxx
@@ -353,12 +353,6 @@ sal_uInt16 SvxVerJustifyItem::GetValueCount() const
}
-
-SvxJustifyMethodItem::SvxJustifyMethodItem( const sal_uInt16 nId ) :
- SfxEnumItem( nId, (sal_uInt16)SVX_JUSTIFY_METHOD_AUTO )
-{
-}
-
SvxJustifyMethodItem::SvxJustifyMethodItem( const SvxCellJustifyMethod eJustify,
const sal_uInt16 nId ) :
SfxEnumItem( nId, (sal_uInt16)eJustify )
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: */