diff options
Diffstat (limited to 'sc/source/ui')
-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 |
3 files changed, 0 insertions, 25 deletions
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, |