diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 20:57:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 20:55:50 +0000 |
commit | 6cb9e6dad798ec59f055aebe84a9c4a21e4be40d (patch) | |
tree | 21a7d6c0b165251ba8e0f36e73c851d41ac9dd04 /sc/source/ui/inc | |
parent | 7e8806cd728bf906e1a8f1d649bef7337f297b1c (diff) |
Remove redundant 'inline' keyword
...from function definitions occurring within class definitions. Done with
a rewriting Clang plugin (to be pushed later).
Change-Id: I9c6f2818a57ccdb361548895a7743107cbacdff8
Reviewed-on: https://gerrit.libreoffice.org/34874
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r-- | sc/source/ui/inc/AccessibleCsvControl.hxx | 10 | ||||
-rw-r--r-- | sc/source/ui/inc/anyrefdg.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/csvcontrol.hxx | 50 | ||||
-rw-r--r-- | sc/source/ui/inc/csvgrid.hxx | 12 | ||||
-rw-r--r-- | sc/source/ui/inc/csvruler.hxx | 12 | ||||
-rw-r--r-- | sc/source/ui/inc/csvtablebox.hxx | 10 | ||||
-rw-r--r-- | sc/source/ui/inc/drawview.hxx | 6 | ||||
-rw-r--r-- | sc/source/ui/inc/navipi.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/navsett.hxx | 12 | ||||
-rw-r--r-- | sc/source/ui/inc/olinewin.hxx | 6 | ||||
-rw-r--r-- | sc/source/ui/inc/selectionstate.hxx | 6 | ||||
-rw-r--r-- | sc/source/ui/inc/spelleng.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/spellparam.hxx | 12 |
13 files changed, 72 insertions, 72 deletions
diff --git a/sc/source/ui/inc/AccessibleCsvControl.hxx b/sc/source/ui/inc/AccessibleCsvControl.hxx index 836addd33957..234ca326f784 100644 --- a/sc/source/ui/inc/AccessibleCsvControl.hxx +++ b/sc/source/ui/inc/AccessibleCsvControl.hxx @@ -88,7 +88,7 @@ protected: virtual Rectangle GetBoundingBox() const override; /** Returns whether the object is alive. Must be called with locked mutex. */ - inline bool implIsAlive() const { return !rBHelper.bDisposed && !rBHelper.bInDispose && mpControl; } + bool implIsAlive() const { return !rBHelper.bDisposed && !rBHelper.bInDispose && mpControl; } /** @throws css::lang::DisposedException if the object is disposed/disposing or any pointer is missing. Should be used with locked mutex! */ void ensureAlive() const; @@ -444,16 +444,16 @@ private: /** Returns the count of selected columns in the table. */ sal_Int32 implGetSelColumnCount() const; /** Returns the total cell count in the table (including header). */ - inline sal_Int32 implGetCellCount() const { return implGetRowCount() * implGetColumnCount(); } + sal_Int32 implGetCellCount() const { return implGetRowCount() * implGetColumnCount(); } /** Returns the row index from cell index (including header). */ - inline sal_Int32 implGetRow( sal_Int32 nIndex ) const { return nIndex / implGetColumnCount(); } + sal_Int32 implGetRow( sal_Int32 nIndex ) const { return nIndex / implGetColumnCount(); } /** Returns the column index from cell index (including header). */ - inline sal_Int32 implGetColumn( sal_Int32 nIndex ) const { return nIndex % implGetColumnCount(); } + sal_Int32 implGetColumn( sal_Int32 nIndex ) const { return nIndex % implGetColumnCount(); } /** Returns the absolute column index of the nSelColumn-th selected column. */ sal_Int32 implGetSelColumn( sal_Int32 nSelColumn ) const; /** Returns the child index from cell position (including header). */ - inline sal_Int32 implGetIndex( sal_Int32 nRow, sal_Int32 nColumn ) const { return nRow * implGetColumnCount() + nColumn; } + sal_Int32 implGetIndex( sal_Int32 nRow, sal_Int32 nColumn ) const { return nRow * implGetColumnCount() + nColumn; } /** Returns the contents of the specified cell (including header). Indexes must be valid. */ OUString implGetCellText( sal_Int32 nRow, sal_Int32 nColumn ) const; diff --git a/sc/source/ui/inc/anyrefdg.hxx b/sc/source/ui/inc/anyrefdg.hxx index 03cbaeb182a8..215341a0fcef 100644 --- a/sc/source/ui/inc/anyrefdg.hxx +++ b/sc/source/ui/inc/anyrefdg.hxx @@ -88,7 +88,7 @@ public: void RefInputDone( bool bForced ); void ToggleCollapsed( formula::RefEdit* pEdit, formula::RefButton* pButton ); - inline void SetWindow(vcl::Window* _pWindow) { m_pWindow = _pWindow; } + void SetWindow(vcl::Window* _pWindow) { m_pWindow = _pWindow; } void DoClose( sal_uInt16 nId ); static void SetDispatcherLock( bool bLock ); static void EnableSpreadsheets( bool bFlag = true ); diff --git a/sc/source/ui/inc/csvcontrol.hxx b/sc/source/ui/inc/csvcontrol.hxx index ac724afa13bc..6aec2addad75 100644 --- a/sc/source/ui/inc/csvcontrol.hxx +++ b/sc/source/ui/inc/csvcontrol.hxx @@ -69,8 +69,8 @@ struct ScCsvExpData sal_Int32 mnIndex; /// Index of a column. sal_uInt8 mnType; /// External type of the column. - inline ScCsvExpData() : mnIndex( 0 ), mnType( SC_COL_STANDARD ) {} - inline ScCsvExpData( sal_Int32 nIndex, sal_uInt8 nType ) : + ScCsvExpData() : mnIndex( 0 ), mnType( SC_COL_STANDARD ) {} + ScCsvExpData( sal_Int32 nIndex, sal_uInt8 nType ) : mnIndex( nIndex ), mnType( nType ) {} }; @@ -207,14 +207,14 @@ private: sal_Int32 mnParam2; /// Second parameter. public: - inline explicit ScCsvCmd() : meType( CSVCMD_NONE ), + explicit ScCsvCmd() : meType( CSVCMD_NONE ), mnParam1( CSV_POS_INVALID ), mnParam2( CSV_POS_INVALID ) {} inline void Set( ScCsvCmdType eType, sal_Int32 nParam1, sal_Int32 nParam2 ); - inline ScCsvCmdType GetType() const { return meType; } - inline sal_Int32 GetParam1() const { return mnParam1; } - inline sal_Int32 GetParam2() const { return mnParam2; } + ScCsvCmdType GetType() const { return meType; } + sal_Int32 GetParam1() const { return mnParam1; } + sal_Int32 GetParam2() const { return mnParam2; } }; inline void ScCsvCmd::Set( ScCsvCmdType eType, sal_Int32 nParam1, sal_Int32 nParam2 ) @@ -262,11 +262,11 @@ public: // repaint helpers -------------------------------------------------------- /** Sets the graphic invalid (next Redraw() will not use cached graphic). */ - inline void InvalidateGfx() { mbValidGfx = false; } + void InvalidateGfx() { mbValidGfx = false; } /** Sets the graphic valid (next Redraw() will use cached graphic). */ - inline void ValidateGfx() { mbValidGfx = true; } + void ValidateGfx() { mbValidGfx = true; } /** Returns true, if cached graphic is valid. */ - inline bool IsValidGfx() const { return mbValidGfx; } + bool IsValidGfx() const { return mbValidGfx; } /** Repaints all controls. @param bInvalidate true = invalidates graphics of this control (not all). */ @@ -276,14 +276,14 @@ public: /** Decreases no-repaint counter and repaints if counter reaches 0. */ void EnableRepaint(); /** Returns true, if controls will not repaint. */ - inline bool IsNoRepaint() const { return mrData.mnNoRepaint > 0; } + bool IsNoRepaint() const { return mrData.mnNoRepaint > 0; } // command handling ------------------------------------------------------- /** Sets a new command handler. */ - inline void SetCmdHdl( const Link<ScCsvControl&,void>& rHdl ) { maCmdHdl = rHdl; } + void SetCmdHdl( const Link<ScCsvControl&,void>& rHdl ) { maCmdHdl = rHdl; } /** Returns data of the last command. */ - inline const ScCsvCmd& GetCmd() const { return maCmd; } + const ScCsvCmd& GetCmd() const { return maCmd; } /** Executes a command by calling command handler. */ void Execute( @@ -294,18 +294,18 @@ public: // layout helpers --------------------------------------------------------- /** Returns a reference to the current layout data. */ - inline const ScCsvLayoutData& GetLayoutData() const { return mrData; } + const ScCsvLayoutData& GetLayoutData() const { return mrData; } /** Returns true, if the Right-to-Left layout mode is active. */ - inline bool IsRTL() const { return mrData.mbAppRTL; } + bool IsRTL() const { return mrData.mbAppRTL; } /** Returns the number of available positions. */ - inline sal_Int32 GetPosCount() const { return mrData.mnPosCount; } + sal_Int32 GetPosCount() const { return mrData.mnPosCount; } /** Returns the number of visible positions. */ sal_Int32 GetVisPosCount() const; /** Returns the first visible position. */ - inline sal_Int32 GetFirstVisPos() const { return mrData.mnPosOffset; } + sal_Int32 GetFirstVisPos() const { return mrData.mnPosOffset; } /** Returns the last visible position. */ - inline sal_Int32 GetLastVisPos() const { return GetFirstVisPos() + GetVisPosCount(); } + sal_Int32 GetLastVisPos() const { return GetFirstVisPos() + GetVisPosCount(); } /** Returns highest possible position for first visible character. */ sal_Int32 GetMaxPosOffset() const; @@ -315,9 +315,9 @@ public: bool IsVisibleSplitPos( sal_Int32 nPos ) const; /** Returns the width of the header column. */ - inline sal_Int32 GetHdrWidth() const { return mrData.mnHdrWidth; } + sal_Int32 GetHdrWidth() const { return mrData.mnHdrWidth; } /** Returns the width of one character column. */ - inline sal_Int32 GetCharWidth() const { return mrData.mnCharWidth; } + sal_Int32 GetCharWidth() const { return mrData.mnCharWidth; } /** Returns the start position of the header column. */ sal_Int32 GetHdrX() const; /** Returns the X position of the first pixel of the data area. */ @@ -330,11 +330,11 @@ public: sal_Int32 GetPosFromX( sal_Int32 nX ) const; /** Returns the number of data lines. */ - inline sal_Int32 GetLineCount() const { return mrData.mnLineCount; } + sal_Int32 GetLineCount() const { return mrData.mnLineCount; } /** Returns the number of visible lines (including partly visible bottom line). */ sal_Int32 GetVisLineCount() const; /** Returns index of first visible line. */ - inline sal_Int32 GetFirstVisLine() const { return mrData.mnLineOffset; } + sal_Int32 GetFirstVisLine() const { return mrData.mnLineOffset; } /** Returns index of last visible line. */ sal_Int32 GetLastVisLine() const; /** Returns highest possible index for first line. */ @@ -346,18 +346,18 @@ public: bool IsVisibleLine( sal_Int32 nLine ) const; /** Returns the height of the header line. */ - inline sal_Int32 GetHdrHeight() const { return mrData.mnHdrHeight; } + sal_Int32 GetHdrHeight() const { return mrData.mnHdrHeight; } /** Returns the height of one line. */ - inline sal_Int32 GetLineHeight() const { return mrData.mnLineHeight; } + sal_Int32 GetLineHeight() const { return mrData.mnLineHeight; } /** Returns output Y coordinate of the specified line. */ sal_Int32 GetY( sal_Int32 nLine ) const; /** Returns line index from output coordinate. */ sal_Int32 GetLineFromY( sal_Int32 nY ) const; /** Returns the ruler cursor position. */ - inline sal_Int32 GetRulerCursorPos() const { return mrData.mnPosCursor; } + sal_Int32 GetRulerCursorPos() const { return mrData.mnPosCursor; } /** Returns the data grid cursor position (not column index!). */ - inline sal_Int32 GetGridCursorPos() const { return mrData.mnColCursor; } + sal_Int32 GetGridCursorPos() const { return mrData.mnColCursor; } // static helpers --------------------------------------------------------- diff --git a/sc/source/ui/inc/csvgrid.hxx b/sc/source/ui/inc/csvgrid.hxx index f813c79a8223..c75f8ef32272 100644 --- a/sc/source/ui/inc/csvgrid.hxx +++ b/sc/source/ui/inc/csvgrid.hxx @@ -145,7 +145,7 @@ private: // columns/column types --------------------------------------------------- public: /** Returns the number of columns. */ - inline sal_uInt32 GetColumnCount() const { return maColStates.size(); } + sal_uInt32 GetColumnCount() const { return maColStates.size(); } /** Returns the index of the first visible column. */ sal_uInt32 GetFirstVisColumn() const; /** Returns the index of the last visible column. */ @@ -162,14 +162,14 @@ public: sal_uInt32 GetColumnFromX( sal_Int32 nX ) const; /** Returns start position of the column with the specified index. */ - inline sal_Int32 GetColumnPos( sal_uInt32 nColIndex ) const { return maSplits[ nColIndex ]; } + sal_Int32 GetColumnPos( sal_uInt32 nColIndex ) const { return maSplits[ nColIndex ]; } /** Returns column index from position. A split counts to its following column. */ sal_uInt32 GetColumnFromPos( sal_Int32 nPos ) const; /** Returns the character width of the column with the specified index. */ sal_Int32 GetColumnWidth( sal_uInt32 nColIndex ) const; /** Returns the vector with the states of all columns. */ - inline const ScCsvColStateVec& GetColumnStates() const { return maColStates; } + const ScCsvColStateVec& GetColumnStates() const { return maColStates; } /** Sets all column states to the values in the passed vector. */ void SetColumnStates( const ScCsvColStateVec& rColStates ); /** Returns the data type of the selected columns. */ @@ -215,7 +215,7 @@ public: void SelectAll( bool bSelect = true ); /** Returns index of the focused column. */ - inline sal_uInt32 GetFocusColumn() const { return GetColumnFromPos( GetGridCursorPos() ); } + sal_uInt32 GetFocusColumn() const { return GetColumnFromPos( GetGridCursorPos() ); } private: /** Moves column cursor to a new position. */ @@ -268,9 +268,9 @@ public: private: /** Returns the width of the control. */ - inline sal_Int32 GetWidth() const { return maWinSize.Width(); } + sal_Int32 GetWidth() const { return maWinSize.Width(); } /** Returns the height of the control. */ - inline sal_Int32 GetHeight() const { return maWinSize.Height(); } + sal_Int32 GetHeight() const { return maWinSize.Height(); } /** Sets a clip region in the specified output device for the specified column. */ SAL_DLLPRIVATE void ImplSetColumnClipRegion( OutputDevice& rOutDev, sal_uInt32 nColIndex ); diff --git a/sc/source/ui/inc/csvruler.hxx b/sc/source/ui/inc/csvruler.hxx index a4885f4996c4..709817c1711f 100644 --- a/sc/source/ui/inc/csvruler.hxx +++ b/sc/source/ui/inc/csvruler.hxx @@ -87,18 +87,18 @@ private: // split handling --------------------------------------------------------- public: /** Returns the split array. */ - inline const ScCsvSplits& GetSplits() const { return maSplits; } + const ScCsvSplits& GetSplits() const { return maSplits; } /** Returns the number of splits. */ - inline sal_uInt32 GetSplitCount() const + sal_uInt32 GetSplitCount() const { return maSplits.Count(); } /** Returns the position of the specified split. */ - inline sal_Int32 GetSplitPos( sal_uInt32 nIndex ) const + sal_Int32 GetSplitPos( sal_uInt32 nIndex ) const { return maSplits[ nIndex ]; } /** Finds a position nearest to nPos which does not cause scrolling the visible area. */ sal_Int32 GetNoScrollPos( sal_Int32 nPos ) const; /** Returns true if at position nPos is a split. */ - inline bool HasSplit( sal_Int32 nPos ) const { return maSplits.HasSplit( nPos ); } + bool HasSplit( sal_Int32 nPos ) const { return maSplits.HasSplit( nPos ); } /** Inserts a split. */ void InsertSplit( sal_Int32 nPos ); /** Removes a split. */ @@ -149,9 +149,9 @@ public: private: /** Returns the width of the control. */ - inline sal_Int32 GetWidth() const { return maWinSize.Width(); } + sal_Int32 GetWidth() const { return maWinSize.Width(); } /** Returns the height of the control. */ - inline sal_Int32 GetHeight() const { return maWinSize.Height(); } + sal_Int32 GetHeight() const { return maWinSize.Height(); } /** Draws the background and active area to maBackgrDev (only the given X range). */ SAL_DLLPRIVATE void ImplDrawArea( sal_Int32 nPosX, sal_Int32 nWidth ); diff --git a/sc/source/ui/inc/csvtablebox.hxx b/sc/source/ui/inc/csvtablebox.hxx index 472ab2b51f85..852ed39969d5 100644 --- a/sc/source/ui/inc/csvtablebox.hxx +++ b/sc/source/ui/inc/csvtablebox.hxx @@ -88,10 +88,10 @@ private: SAL_DLLPRIVATE void InitVScrollBar(); /** Calculates and sets valid position offset nearest to nPos. */ - SAL_DLLPRIVATE inline void ImplSetPosOffset( sal_Int32 nPos ) + SAL_DLLPRIVATE void ImplSetPosOffset( sal_Int32 nPos ) { maData.mnPosOffset = std::max( std::min( nPos, GetMaxPosOffset() ), sal_Int32( 0 ) ); } /** Calculates and sets valid line offset nearest to nLine. */ - SAL_DLLPRIVATE inline void ImplSetLineOffset( sal_Int32 nLine ) + SAL_DLLPRIVATE void ImplSetLineOffset( sal_Int32 nLine ) { maData.mnLineOffset = std::max( std::min( nLine, GetMaxLineOffset() ), sal_Int32( 0 ) ); } /** Moves controls (not cursors!) so that nPos becomes visible. */ SAL_DLLPRIVATE void MakePosVisible( sal_Int32 nPos ); @@ -108,7 +108,7 @@ public: /** Reads UI strings for data types from the list box. */ void InitTypes( const ListBox& rListBox ); /** Returns the data type of the selected columns. */ - inline sal_Int32 GetSelColumnType() const { return maGrid->GetSelColumnType(); } + sal_Int32 GetSelColumnType() const { return maGrid->GetSelColumnType(); } /** Fills the options object with current column data. */ void FillColumnData( ScAsciiOptions& rOptions ) const; @@ -116,9 +116,9 @@ public: // event handling --------------------------------------------------------- public: /** Sets a new handler for "update cell texts" requests. */ - inline void SetUpdateTextHdl( const Link<ScCsvTableBox&,void>& rHdl ) { maUpdateTextHdl = rHdl; } + void SetUpdateTextHdl( const Link<ScCsvTableBox&,void>& rHdl ) { maUpdateTextHdl = rHdl; } /** Sets a new handler for "column selection changed" events. */ - inline void SetColTypeHdl( const Link<ScCsvTableBox&,void>& rHdl ) { maColTypeHdl = rHdl; } + void SetColTypeHdl( const Link<ScCsvTableBox&,void>& rHdl ) { maColTypeHdl = rHdl; } protected: virtual void Resize() override; diff --git a/sc/source/ui/inc/drawview.hxx b/sc/source/ui/inc/drawview.hxx index 7111ddf9daf5..ea0813e6c978 100644 --- a/sc/source/ui/inc/drawview.hxx +++ b/sc/source/ui/inc/drawview.hxx @@ -126,13 +126,13 @@ public: /** Locks/unlocks the background layer that contains background objects. Unlocked layer is required to be able to edit the objects. */ - inline void LockBackgroundLayer( bool bLock ) { LockCalcLayer( SC_LAYER_BACK, bLock ); } + void LockBackgroundLayer( bool bLock ) { LockCalcLayer( SC_LAYER_BACK, bLock ); } /** Locks/unlocks the internal layer that contains caption objects of cell notes. Unlocked layer is required to be able to edit the contained objects. */ - inline void LockInternalLayer( bool bLock = true ) { LockCalcLayer( SC_LAYER_INTERN, bLock ); } + void LockInternalLayer( bool bLock = true ) { LockCalcLayer( SC_LAYER_INTERN, bLock ); } /** Unlocks the internal layer that contains caption objects of cell notes. */ - inline void UnlockInternalLayer() { LockInternalLayer( false ); } + void UnlockInternalLayer() { LockInternalLayer( false ); } SdrEndTextEditKind ScEndTextEdit(); // calls SetDrawTextUndo(0) css::uno::Reference< css::datatransfer::XTransferable > CopyToTransferable(); diff --git a/sc/source/ui/inc/navipi.hxx b/sc/source/ui/inc/navipi.hxx index 74fce921d8f9..3007d29ec0bc 100644 --- a/sc/source/ui/inc/navipi.hxx +++ b/sc/source/ui/inc/navipi.hxx @@ -69,7 +69,7 @@ private: OUString maComment; bool mbProtected; - inline explicit ScenarioEntry() : mbProtected( false ) {} + explicit ScenarioEntry() : mbProtected( false ) {} }; typedef ::std::vector< ScenarioEntry > ScenarioList; diff --git a/sc/source/ui/inc/navsett.hxx b/sc/source/ui/inc/navsett.hxx index f0236c21df09..268bb7f64858 100644 --- a/sc/source/ui/inc/navsett.hxx +++ b/sc/source/ui/inc/navsett.hxx @@ -38,14 +38,14 @@ private: public: ScNavigatorSettings(); - inline void SetExpanded( ScContentId nIndex, bool bExpand ) { maExpandedVec[ nIndex ] = bExpand; } - inline bool IsExpanded( ScContentId nIndex ) const { return maExpandedVec[ nIndex ]; } + void SetExpanded( ScContentId nIndex, bool bExpand ) { maExpandedVec[ nIndex ] = bExpand; } + bool IsExpanded( ScContentId nIndex ) const { return maExpandedVec[ nIndex ]; } - inline void SetRootSelected( ScContentId nIndex ) { mnRootSelected = nIndex; } - inline ScContentId GetRootSelected() const { return mnRootSelected; } + void SetRootSelected( ScContentId nIndex ) { mnRootSelected = nIndex; } + ScContentId GetRootSelected() const { return mnRootSelected; } - inline void SetChildSelected( sal_uLong nIndex ) { mnChildSelected = nIndex; } - inline sal_uLong GetChildSelected() const { return mnChildSelected; } + void SetChildSelected( sal_uLong nIndex ) { mnChildSelected = nIndex; } + sal_uLong GetChildSelected() const { return mnChildSelected; } }; #endif // INCLUDED_SC_SOURCE_UI_INC_NAVSETT_HXX diff --git a/sc/source/ui/inc/olinewin.hxx b/sc/source/ui/inc/olinewin.hxx index 7d120b9b97fb..cd9f49183e1a 100644 --- a/sc/source/ui/inc/olinewin.hxx +++ b/sc/source/ui/inc/olinewin.hxx @@ -78,9 +78,9 @@ private: void InitSettings(); /** Returns the calc document. */ - inline ScDocument& GetDoc() const { return *mrViewData.GetDocument(); } + ScDocument& GetDoc() const { return *mrViewData.GetDocument(); } /** Returns the current sheet index. */ - inline SCTAB GetTab() const { return mrViewData.GetTabNo(); } + SCTAB GetTab() const { return mrViewData.GetTabNo(); } /** Returns the outline array of the corresponding document. */ const ScOutlineArray* GetOutlineArray() const; /** Returns the specified outline entry. */ @@ -178,7 +178,7 @@ private: /** Starts mouse tracking after click on a button. */ void StartMouseTracking( size_t nLevel, size_t nEntry ); /** Returns whether mouse tracking mode is active. */ - inline bool IsMouseTracking() const { return mbMTActive; } + bool IsMouseTracking() const { return mbMTActive; } /** Ends mouse tracking. */ void EndMouseTracking(); diff --git a/sc/source/ui/inc/selectionstate.hxx b/sc/source/ui/inc/selectionstate.hxx index 8791751697aa..cc69e10fbfce 100644 --- a/sc/source/ui/inc/selectionstate.hxx +++ b/sc/source/ui/inc/selectionstate.hxx @@ -40,12 +40,12 @@ public: explicit ScSelectionState( ScViewData& rViewData ); /** Returns the type of the selection this object contains. */ - inline ScSelectionType GetSelectionType() const { return meType; } + ScSelectionType GetSelectionType() const { return meType; } /** Returns the position of the cell cursor. */ - inline const ScAddress& GetCellCursor() const { return maCursor; } + const ScAddress& GetCellCursor() const { return maCursor; } /** Returns the edit engine selection. */ - inline const ESelection& GetEditSelection() const { return maEditSel; } + const ESelection& GetEditSelection() const { return maEditSel; } private: ScSelectionType meType; /// Type of the selection. diff --git a/sc/source/ui/inc/spelleng.hxx b/sc/source/ui/inc/spelleng.hxx index 20f96d721c94..ea1eaec98128 100644 --- a/sc/source/ui/inc/spelleng.hxx +++ b/sc/source/ui/inc/spelleng.hxx @@ -42,9 +42,9 @@ public: virtual void ConvertAll( EditView& rEditView ) = 0; /** Returns true, if at least one cell has been modified. */ - inline bool IsAnyModified() const { return mbIsAnyModified; } + bool IsAnyModified() const { return mbIsAnyModified; } /** Returns true, if the entire document/selection has been finished. */ - inline bool IsFinished() const { return mbFinished; } + bool IsFinished() const { return mbFinished; } protected: /** Implementation of cell iteration. Finds a cell that needs conversion. diff --git a/sc/source/ui/inc/spellparam.hxx b/sc/source/ui/inc/spellparam.hxx index 061c0c2517a0..af1537a33b9d 100644 --- a/sc/source/ui/inc/spellparam.hxx +++ b/sc/source/ui/inc/spellparam.hxx @@ -52,12 +52,12 @@ public: sal_Int32 nOptions, bool bIsInteractive ); - inline ScConversionType GetType() const { return meConvType; } - inline LanguageType GetSourceLang() const { return meSourceLang; } - inline LanguageType GetTargetLang() const { return meTargetLang; } - inline const vcl::Font* GetTargetFont() const { return mbUseTargetFont ? &maTargetFont : nullptr; } - inline sal_Int32 GetOptions() const { return mnOptions; } - inline bool IsInteractive() const { return mbIsInteractive; } + ScConversionType GetType() const { return meConvType; } + LanguageType GetSourceLang() const { return meSourceLang; } + LanguageType GetTargetLang() const { return meTargetLang; } + const vcl::Font* GetTargetFont() const { return mbUseTargetFont ? &maTargetFont : nullptr; } + sal_Int32 GetOptions() const { return mnOptions; } + bool IsInteractive() const { return mbIsInteractive; } private: ScConversionType meConvType; /// Type of the conversion. |