summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-04 09:25:28 +0200
committerNoel Grandin <noel@peralex.com>2014-03-05 09:17:47 +0200
commitfd6a568ada08d0be7ce3881beb9bd664f6843cd7 (patch)
treebeaad56ad631a567258be86b546aff236637671b
parente964e2c56b62eeef77b4287544dccab1c964070e (diff)
remove unused code SvxNumRule::Create(SvStream&)
Change-Id: I82205010e613a07df24f22071eec74f53578671d
-rw-r--r--editeng/source/items/numitem.cxx5
-rw-r--r--include/editeng/numitem.hxx1
-rw-r--r--unusedcode.easy1
3 files changed, 0 insertions, 7 deletions
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index b2580e6b832a..2a1a348189ca 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -699,11 +699,6 @@ SvxNumRule::SvxNumRule( SvStream &rStream )
rStream.ReadUInt16( nTmp16 ); nFeatureFlags = nTmp16;
}
-SvxNumRule* SvxNumRule::Create( SvStream & rStream )
-{
- return new SvxNumRule( rStream );
-}
-
SvStream& SvxNumRule::Store( SvStream &rStream )
{
rStream.WriteUInt16( (sal_uInt16)NUMITEM_VERSION_03 );
diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx
index 68dfbd378f00..a4709c3f07c1 100644
--- a/include/editeng/numitem.hxx
+++ b/include/editeng/numitem.hxx
@@ -262,7 +262,6 @@ public:
SvxNumRule& operator=( const SvxNumRule& );
SvStream& Store(SvStream &rStream);
- SvxNumRule* Create(SvStream &rStream);
const SvxNumberFormat* Get(sal_uInt16 nLevel)const;
const SvxNumberFormat& GetLevel(sal_uInt16 nLevel)const;
void SetLevel(sal_uInt16 nLevel, const SvxNumberFormat& rFmt, bool bIsValid = true);
diff --git a/unusedcode.easy b/unusedcode.easy
index 8ae7f834ec70..bd30d0e1e0dc 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -71,7 +71,6 @@ SvtAccessibilityOptions::SetPreviewUsesCheckeredBackground(unsigned char)
SvtIconChoiceCtrl::SetEntryTextMode(SvxIconChoiceCtrlTextMode, SvxIconChoiceCtrlEntry*)
SvtListener::IsListening(SvtBroadcaster&) const
SvxDistributePage::GetRanges()
-SvxNumRule::Create(SvStream&)
SvxNumberFormatShell::IsAdded_Impl(unsigned long)
SwAccessibleField::SwAccessibleField(SwField*, SwAccessibleParagraph*, short)
TextDoc::IsValidPaM(TextPaM const&)