diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/fillinfo.cxx | 17 | ||||
-rw-r--r-- | sc/source/core/data/olinetab.cxx | 7 | ||||
-rw-r--r-- | sc/source/filter/inc/xihelper.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/acredlin.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/highred.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/view/drawutil.cxx | 9 |
6 files changed, 0 insertions, 51 deletions
diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx index f7366cd99468..40ed6ba484c7 100644 --- a/sc/source/core/data/fillinfo.cxx +++ b/sc/source/core/data/fillinfo.cxx @@ -57,23 +57,6 @@ enum FillInfoLinePos }; -inline const ::editeng::SvxBorderLine* GetNullOrLine( const SvxBoxItem* pBox, FillInfoLinePos eWhich ) -{ - if (pBox) - { - if (eWhich==FILP_TOP) - return pBox->GetTop(); - else if (eWhich==FILP_BOTTOM) - return pBox->GetBottom(); - else if (eWhich==FILP_LEFT) - return pBox->GetLeft(); - else - return pBox->GetRight(); - } - else - return NULL; -} - // aehnlich wie in output.cxx static void lcl_GetMergeRange( SCsCOL nX, SCsROW nY, SCSIZE nArrY, diff --git a/sc/source/core/data/olinetab.cxx b/sc/source/core/data/olinetab.cxx index eb6461bb85bc..307aba11973a 100644 --- a/sc/source/core/data/olinetab.cxx +++ b/sc/source/core/data/olinetab.cxx @@ -108,13 +108,6 @@ void ScOutlineEntry::SetVisible( bool bNewVisible ) ScOutlineCollection::ScOutlineCollection() {} -inline short IntCompare( SCCOLROW nX, SCCOLROW nY ) -{ - if ( nX==nY ) return 0; - else if ( nX<nY ) return -1; - else return 1; -} - size_t ScOutlineCollection::size() const { return maEntries.size(); diff --git a/sc/source/filter/inc/xihelper.hxx b/sc/source/filter/inc/xihelper.hxx index 33f7cea4c656..8057fff9925f 100644 --- a/sc/source/filter/inc/xihelper.hxx +++ b/sc/source/filter/inc/xihelper.hxx @@ -310,8 +310,6 @@ public: inline sal_uInt8 GetXclError() const { return (mnType == EXC_CACHEDVAL_ERROR) ? mnBoolErr : EXC_ERR_NA; } /** Returns the cached Calc error code, if this value has Error type, else 0. */ sal_uInt16 GetScError() const; - /** Returns the token array if this is a Boolean value or error value, else 0. */ - inline const ScTokenArray* GetBoolErrFmla() const { return mxTokArr.get(); } protected: typedef ::std::auto_ptr< String > StringPtr; diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx index 004cf24b1108..84155409ec26 100644 --- a/sc/source/ui/miscdlgs/acredlin.cxx +++ b/sc/source/ui/miscdlgs/acredlin.cxx @@ -51,14 +51,6 @@ #define ERRORBOX(s) ErrorBox(this,WinBits(WB_OK|WB_DEF_OK),s).Execute(); -inline void EnableDisable( Window& rWin, bool bEnable ) -{ - if (bEnable) - rWin.Enable(); - else - rWin.Disable(); -} - #define RD_SPECIAL_NONE 0 #define RD_SPECIAL_CONTENT 1 #define RD_SPECIAL_VISCONTENT 2 diff --git a/sc/source/ui/miscdlgs/highred.cxx b/sc/source/ui/miscdlgs/highred.cxx index 6b0a227efe52..752bf7089a4e 100644 --- a/sc/source/ui/miscdlgs/highred.cxx +++ b/sc/source/ui/miscdlgs/highred.cxx @@ -42,14 +42,6 @@ #define ERRORBOX(s) ErrorBox(this,WinBits(WB_OK|WB_DEF_OK),s).Execute(); -inline void EnableDisable( Window& rWin, sal_Bool bEnable ) -{ - if (bEnable) - rWin.Enable(); - else - rWin.Disable(); -} - //============================================================================ // class ScHighlightChgDlg diff --git a/sc/source/ui/view/drawutil.cxx b/sc/source/ui/view/drawutil.cxx index dc1c5db5c7d5..7fbb4982e45f 100644 --- a/sc/source/ui/view/drawutil.cxx +++ b/sc/source/ui/view/drawutil.cxx @@ -24,15 +24,6 @@ #include "global.hxx" #include "viewdata.hxx" -// STATIC DATA ----------------------------------------------------------- - -// ----------------------------------------------------------------------- - - -inline Fraction MakeFraction( long nA, long nB ) -{ - return ( nA && nB ) ? Fraction(nA,nB) : Fraction(1,1); -} void ScDrawUtil::CalcScale( ScDocument* pDoc, SCTAB nTab, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, |