diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-27 02:57:35 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-03-27 03:14:45 +0100 |
commit | 646daee253b69404591c006ec6e717b6660af30b (patch) | |
tree | 6f844b932c6e10ffb054276138643c504208fa22 /sw | |
parent | Fix #119514#:Item lists are incorrectly imported (diff) | |
download | core-646daee253b69404591c006ec6e717b6660af30b.tar.gz core-646daee253b69404591c006ec6e717b6660af30b.zip |
kill some unused inlines
Change-Id: I17160b264b547067c694dd268eb0d3bd1086565d
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/number.cxx | 9 | ||||
-rw-r--r-- | sw/source/core/docnode/nodes.cxx | 5 | ||||
-rw-r--r-- | sw/source/ui/dialog/uiregionsw.cxx | 5 |
3 files changed, 0 insertions, 19 deletions
diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx index 7dd9b3d7a753..6efe572e9a96 100644 --- a/sw/source/core/doc/number.cxx +++ b/sw/source/core/doc/number.cxx @@ -1104,15 +1104,6 @@ namespace numfunc return *mpFont; } - inline short GetFontWeight() const - { - return static_cast<short>(meFontWeight); - } - - inline short GetFontItalic() const - { - return static_cast<short>(meFontItalic); - } inline sal_Unicode GetChar( sal_uInt8 p_nListLevel ) const { if (p_nListLevel >= MAXLEVEL) diff --git a/sw/source/core/docnode/nodes.cxx b/sw/source/core/docnode/nodes.cxx index 7ce9e621d1c3..543aa24d1f76 100644 --- a/sw/source/core/docnode/nodes.cxx +++ b/sw/source/core/docnode/nodes.cxx @@ -1836,11 +1836,6 @@ void SwNodes::MoveRange( SwPaM & rPam, SwPosition & rPos, SwNodes& rNodes ) |* *************************************************************************/ -inline sal_uInt8 MaxLvl( sal_uInt8 nMin, sal_uInt8 nMax, short nNew ) -{ - return (sal_uInt8)(nNew < nMin ? nMin : nNew > nMax ? nMax : nNew); -} - void SwNodes::_CopyNodes( const SwNodeRange& rRange, const SwNodeIndex& rIndex, sal_Bool bNewFrms, sal_Bool bTblInsDummyNode ) const { diff --git a/sw/source/ui/dialog/uiregionsw.cxx b/sw/source/ui/dialog/uiregionsw.cxx index e4a741b0367a..4e7f724b0e71 100644 --- a/sw/source/ui/dialog/uiregionsw.cxx +++ b/sw/source/ui/dialog/uiregionsw.cxx @@ -1900,11 +1900,6 @@ IMPL_LINK( SwInsertSectionTabPage, DlgClosedHdl, sfx2::FileDialogHelper *, _pFil // 5 - A, .., AA, .., - 9 // 6 - a, .., aa, .., - 10 -inline sal_uInt16 GetNumPos( sal_uInt16 n ) -{ - return SVX_NUM_ARABIC < n ? n - 4 : n; -} - inline SvxExtNumType GetNumType( sal_uInt16 n ) { return (SvxExtNumType)(4 < n ? n + 4 : n ); |