summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/address.hxx92
-rw-r--r--sc/inc/attrib.hxx16
-rw-r--r--sc/inc/bigrange.hxx2
-rw-r--r--sc/inc/compiler.hxx2
-rw-r--r--sc/inc/dapiuno.hxx4
-rw-r--r--sc/inc/document.hxx2
-rw-r--r--sc/inc/dptabres.hxx4
-rw-r--r--sc/inc/global.hxx2
-rw-r--r--sc/inc/lookupcache.hxx2
-rw-r--r--sc/inc/postit.hxx8
-rw-r--r--sc/inc/refdata.hxx16
-rw-r--r--sc/inc/scmatrix.hxx14
-rw-r--r--sc/inc/sortparam.hxx2
-rw-r--r--sc/inc/table.hxx6
-rw-r--r--sc/inc/token.hxx2
-rw-r--r--sc/inc/validat.hxx4
-rw-r--r--sc/inc/zforauto.hxx6
17 files changed, 92 insertions, 92 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index c3f5888c72ba..5f394983c016 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -207,13 +207,13 @@ public:
SCROW nRow;
SCCOL nCol;
- inline Details( formula::FormulaGrammar::AddressConvention eConvP, SCROW nRowP, SCCOL nColP ) :
+ Details( formula::FormulaGrammar::AddressConvention eConvP, SCROW nRowP, SCCOL nColP ) :
eConv(eConvP), nRow(nRowP), nCol(nColP)
{}
- inline Details( formula::FormulaGrammar::AddressConvention eConvP, ScAddress const & rAddr ) :
+ Details( formula::FormulaGrammar::AddressConvention eConvP, ScAddress const & rAddr ) :
eConv(eConvP), nRow(rAddr.Row()), nCol(rAddr.Col())
{}
- inline Details( formula::FormulaGrammar::AddressConvention eConvP) :
+ Details( formula::FormulaGrammar::AddressConvention eConvP) :
eConv(eConvP), nRow(0), nCol(0)
{}
/* Use the formula::FormulaGrammar::AddressConvention associated with rAddr::Tab() */
@@ -227,82 +227,82 @@ public:
sal_uInt16 mnFileId;
bool mbExternal;
- inline ExternalInfo() :
+ ExternalInfo() :
mnFileId(0), mbExternal(false)
{}
};
- inline ScAddress() :
+ ScAddress() :
nRow(0), nCol(0), nTab(0)
{}
- inline ScAddress( SCCOL nColP, SCROW nRowP, SCTAB nTabP ) :
+ ScAddress( SCCOL nColP, SCROW nRowP, SCTAB nTabP ) :
nRow(nRowP), nCol(nColP), nTab(nTabP)
{}
/** Yes, it is what it seems to be: Uninitialized. May be used for
performance reasons if it is initialized by other means. */
- inline ScAddress( Uninitialized )
+ ScAddress( Uninitialized )
{}
- inline ScAddress( InitializeInvalid ) :
+ ScAddress( InitializeInvalid ) :
nRow(-1), nCol(-1), nTab(-1)
{}
- inline ScAddress( const ScAddress& rAddress ) :
+ ScAddress( const ScAddress& rAddress ) :
nRow(rAddress.nRow), nCol(rAddress.nCol), nTab(rAddress.nTab)
{}
inline ScAddress& operator=( const ScAddress& rAddress );
inline void Set( SCCOL nCol, SCROW nRow, SCTAB nTab );
- inline SCROW Row() const
+ SCROW Row() const
{
return nRow;
}
- inline SCCOL Col() const
+ SCCOL Col() const
{
return nCol;
}
- inline SCTAB Tab() const
+ SCTAB Tab() const
{
return nTab;
}
- inline void SetRow( SCROW nRowP )
+ void SetRow( SCROW nRowP )
{
nRow = nRowP;
}
- inline void SetCol( SCCOL nColP )
+ void SetCol( SCCOL nColP )
{
nCol = nColP;
}
- inline void SetTab( SCTAB nTabP )
+ void SetTab( SCTAB nTabP )
{
nTab = nTabP;
}
- inline void SetInvalid()
+ void SetInvalid()
{
nRow = -1;
nCol = -1;
nTab = -1;
}
- inline bool IsValid() const
+ bool IsValid() const
{
return (nRow >= 0) && (nCol >= 0) && (nTab >= 0);
}
inline void PutInOrder( ScAddress& rAddress );
- inline void IncRow( SCsROW nDelta = 1 )
+ void IncRow( SCsROW nDelta = 1 )
{
nRow = sal::static_int_cast<SCROW>(nRow + nDelta);
}
- inline void IncCol( SCsCOL nDelta = 1 )
+ void IncCol( SCsCOL nDelta = 1 )
{
nCol = sal::static_int_cast<SCCOL>(nCol + nDelta);
}
- inline void IncTab( SCsTAB nDelta = 1 )
+ void IncTab( SCsTAB nDelta = 1 )
{
nTab = sal::static_int_cast<SCTAB>(nTab + nDelta);
}
- inline void GetVars( SCCOL& nColP, SCROW& nRowP, SCTAB& nTabP ) const
+ void GetVars( SCCOL& nColP, SCROW& nRowP, SCTAB& nTabP ) const
{
nColP = nCol;
nRowP = nRow;
@@ -474,51 +474,51 @@ public:
ScAddress aStart;
ScAddress aEnd;
- inline ScRange() :
+ ScRange() :
aStart(), aEnd()
{}
- inline ScRange( ScAddress::Uninitialized eUninitialized ) :
+ ScRange( ScAddress::Uninitialized eUninitialized ) :
aStart( eUninitialized ), aEnd( eUninitialized )
{}
- inline ScRange( ScAddress::InitializeInvalid eInvalid ) :
+ ScRange( ScAddress::InitializeInvalid eInvalid ) :
aStart( eInvalid ), aEnd( eInvalid )
{}
- inline ScRange( const ScAddress& aInputStart, const ScAddress& aInputEnd ) :
+ ScRange( const ScAddress& aInputStart, const ScAddress& aInputEnd ) :
aStart( aInputStart ), aEnd( aInputEnd )
{
aStart.PutInOrder( aEnd );
}
- inline ScRange( const ScRange& rRange ) :
+ ScRange( const ScRange& rRange ) :
aStart( rRange.aStart ), aEnd( rRange.aEnd )
{}
- inline ScRange( const ScAddress& rRange ) :
+ ScRange( const ScAddress& rRange ) :
aStart( rRange ), aEnd( rRange )
{}
- inline ScRange( SCCOL nCol, SCROW nRow, SCTAB nTab ) :
+ ScRange( SCCOL nCol, SCROW nRow, SCTAB nTab ) :
aStart( nCol, nRow, nTab ), aEnd( aStart )
{}
- inline ScRange( SCCOL nCol1, SCROW nRow1, SCTAB nTab1, SCCOL nCol2, SCROW nRow2, SCTAB nTab2 ) :
+ ScRange( SCCOL nCol1, SCROW nRow1, SCTAB nTab1, SCCOL nCol2, SCROW nRow2, SCTAB nTab2 ) :
aStart( nCol1, nRow1, nTab1 ), aEnd( nCol2, nRow2, nTab2 )
{}
- inline ScRange& operator=( const ScRange& rRange )
+ ScRange& operator=( const ScRange& rRange )
{
aStart = rRange.aStart;
aEnd = rRange.aEnd;
return *this;
}
- inline ScRange& operator=( const ScAddress& rPos )
+ ScRange& operator=( const ScAddress& rPos )
{
aStart = aEnd = rPos;
return *this;
}
- inline void SetInvalid()
+ void SetInvalid()
{
aStart.SetInvalid();
aEnd.SetInvalid();
}
- inline bool IsValid() const
+ bool IsValid() const
{
return aStart.IsValid() && aEnd.IsValid();
}
@@ -773,43 +773,43 @@ private:
bool bRelRow;
bool bRelTab;
public:
- inline ScRefAddress() :
+ ScRefAddress() :
bRelCol(false), bRelRow(false), bRelTab(false)
{}
- inline ScRefAddress( SCCOL nCol, SCROW nRow, SCTAB nTab,
+ ScRefAddress( SCCOL nCol, SCROW nRow, SCTAB nTab,
bool bRelColP, bool bRelRowP, bool bRelTabP ) :
aAdr(nCol, nRow, nTab),
bRelCol(bRelColP), bRelRow(bRelRowP), bRelTab(bRelTabP)
{}
- inline ScRefAddress( const ScRefAddress& rRef ) :
+ ScRefAddress( const ScRefAddress& rRef ) :
aAdr(rRef.aAdr), bRelCol(rRef.bRelCol), bRelRow(rRef.bRelRow),
bRelTab(rRef.bRelTab)
{}
inline ScRefAddress& operator=( const ScRefAddress& );
- inline bool IsRelCol() const
+ bool IsRelCol() const
{
return bRelCol;
}
- inline bool IsRelRow() const
+ bool IsRelRow() const
{
return bRelRow;
}
- inline bool IsRelTab() const
+ bool IsRelTab() const
{
return bRelTab;
}
- inline void SetRelCol(bool bNewRelCol)
+ void SetRelCol(bool bNewRelCol)
{
bRelCol = bNewRelCol;
}
- inline void SetRelRow(bool bNewRelRow)
+ void SetRelRow(bool bNewRelRow)
{
bRelRow = bNewRelRow;
}
- inline void SetRelTab(bool bNewRelTab)
+ void SetRelTab(bool bNewRelTab)
{
bRelTab = bNewRelTab;
}
@@ -819,20 +819,20 @@ public:
inline void Set( SCCOL nNewCol, SCROW nNewRow, SCTAB nNewTab,
bool bNewRelCol, bool bNewRelRow, bool bNewRelTab );
- inline const ScAddress& GetAddress() const
+ const ScAddress& GetAddress() const
{
return aAdr;
}
- inline SCCOL Col() const
+ SCCOL Col() const
{
return aAdr.Col();
}
- inline SCROW Row() const
+ SCROW Row() const
{
return aAdr.Row();
}
- inline SCTAB Tab() const
+ SCTAB Tab() const
{
return aAdr.Tab();
}
diff --git a/sc/inc/attrib.hxx b/sc/inc/attrib.hxx
index 23e97ca17f1a..dc9b2884aec5 100644
--- a/sc/inc/attrib.hxx
+++ b/sc/inc/attrib.hxx
@@ -71,7 +71,7 @@ public:
bool IsMerged() const { return nColMerge>1 || nRowMerge>1; }
- inline ScMergeAttr& operator=(const ScMergeAttr& rMerge)
+ ScMergeAttr& operator=(const ScMergeAttr& rMerge)
{
nColMerge = rMerge.nColMerge;
nRowMerge = rMerge.nRowMerge;
@@ -141,7 +141,7 @@ public:
void SetHideCell( bool bHCell);
bool GetHidePrint() const { return bHidePrint; }
void SetHidePrint( bool bHPrint);
- inline ScProtectionAttr& operator=(const ScProtectionAttr& rProtection)
+ ScProtectionAttr& operator=(const ScProtectionAttr& rProtection)
{
bProtection = rProtection.bProtection;
bHideFormula = rProtection.bHideFormula;
@@ -310,13 +310,13 @@ public:
virtual bool operator==( const SfxPoolItem& rCmp ) const override;
- inline sal_uInt16 GetWidth() const { return mnWidth; }
- inline sal_uInt16 GetHeight() const { return mnHeight; }
- inline bool IsValid() const { return mnWidth || mnHeight; }
+ sal_uInt16 GetWidth() const { return mnWidth; }
+ sal_uInt16 GetHeight() const { return mnHeight; }
+ bool IsValid() const { return mnWidth || mnHeight; }
- inline void SetWidth( sal_uInt16 nWidth ) { mnWidth = nWidth; }
- inline void SetHeight( sal_uInt16 nHeight ) { mnHeight = nHeight; }
- inline void Set( sal_uInt16 nWidth, sal_uInt16 nHeight )
+ void SetWidth( sal_uInt16 nWidth ) { mnWidth = nWidth; }
+ void SetHeight( sal_uInt16 nHeight ) { mnHeight = nHeight; }
+ void Set( sal_uInt16 nWidth, sal_uInt16 nHeight )
{ mnWidth = nWidth; mnHeight = nHeight; }
virtual bool GetPresentation( SfxItemPresentation ePresentation,
diff --git a/sc/inc/bigrange.hxx b/sc/inc/bigrange.hxx
index 049b74482962..5c8fbb5bfab8 100644
--- a/sc/inc/bigrange.hxx
+++ b/sc/inc/bigrange.hxx
@@ -131,7 +131,7 @@ public:
bool IsValid( const ScDocument* pDoc ) const
{ return aStart.IsValid( pDoc ) && aEnd.IsValid( pDoc ); }
- inline ScRange MakeRange() const
+ ScRange MakeRange() const
{ return ScRange( aStart.MakeAddress(),
aEnd.MakeAddress() ); }
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index 468d0c3891ba..0aa34f5b8dd8 100644
--- a/sc/inc/compiler.hxx
+++ b/sc/inc/compiler.hxx
@@ -463,7 +463,7 @@ private:
virtual bool IsForceArrayParameter( const formula::FormulaToken* pToken, sal_uInt16 nParam ) const override;
/// Access the CharTable flags
- inline ScCharFlags GetCharTableFlags( sal_Unicode c, sal_Unicode cLast )
+ ScCharFlags GetCharTableFlags( sal_Unicode c, sal_Unicode cLast )
{ return c < 128 ? pConv->getCharTableFlags(c, cLast) : ScCharFlags::NONE; }
};
diff --git a/sc/inc/dapiuno.hxx b/sc/inc/dapiuno.hxx
index b99538667267..894755d74421 100644
--- a/sc/inc/dapiuno.hxx
+++ b/sc/inc/dapiuno.hxx
@@ -303,10 +303,10 @@ struct ScFieldIdentifier
sal_Int32 mnFieldIdx; /// Field index (if several fields with same name exist).
bool mbDataLayout; /// True = data layout field collecting all data fields as items.
- inline explicit ScFieldIdentifier() :
+ explicit ScFieldIdentifier() :
mnFieldIdx( 0 ), mbDataLayout( false ) {}
- inline explicit ScFieldIdentifier( const OUString& rFieldName, bool bDataLayout ) :
+ explicit ScFieldIdentifier( const OUString& rFieldName, bool bDataLayout ) :
maFieldName( rFieldName ), mnFieldIdx( 0 ), mbDataLayout( bDataLayout ) {}
};
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 4b05b6ada4ca..e2206026f8ae 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -2232,7 +2232,7 @@ public:
void SC_DLLPUBLIC GetSortParam( ScSortParam& rParam, SCTAB nTab );
void SC_DLLPUBLIC SetSortParam( ScSortParam& rParam, SCTAB nTab );
- inline void SetVbaEventProcessor( const css::uno::Reference< css::script::vba::XVBAEventProcessor >& rxVbaEvents )
+ void SetVbaEventProcessor( const css::uno::Reference< css::script::vba::XVBAEventProcessor >& rxVbaEvents )
{ mxVbaEvents = rxVbaEvents; }
const css::uno::Reference< css::script::vba::XVBAEventProcessor >&
GetVbaEventProcessor() const { return mxVbaEvents; }
diff --git a/sc/inc/dptabres.hxx b/sc/inc/dptabres.hxx
index ed3acc48051c..766dfed47784 100644
--- a/sc/inc/dptabres.hxx
+++ b/sc/inc/dptabres.hxx
@@ -266,8 +266,8 @@ public:
void SetInitChild( bool b ) { mbInitChild = b; }
void SetInitAllChildren( bool b ) { mbAllChildren = b; }
- inline ScDPDimension* GetDim( size_t nPos ) const { return mppDim[nPos];}
- inline ScDPLevel* GetLevel( size_t nPos ) const { return mppLev[nPos];}
+ ScDPDimension* GetDim( size_t nPos ) const { return mppDim[nPos];}
+ ScDPLevel* GetLevel( size_t nPos ) const { return mppLev[nPos];}
bool GetInitChild() const {return mbInitChild; }
bool GetInitAllChild() const { return mbAllChildren; }
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx
index dd3fadf06bbf..00f87cac0e35 100644
--- a/sc/inc/global.hxx
+++ b/sc/inc/global.hxx
@@ -603,7 +603,7 @@ public:
/// strchr() functionality on unicode, as long as we need it for FormulaToken etc.
static const sal_Unicode* UnicodeStrChr( const sal_Unicode* pStr, sal_Unicode c );
- static inline sal_Unicode ToUpperAlpha( sal_Unicode c )
+ static sal_Unicode ToUpperAlpha( sal_Unicode c )
{ return ( c >= 'a' && c <= 'z' ) ? ( c-'a'+'A' ) : c; }
/** Adds the string rToken to rTokenList, using a list separator character.
diff --git a/sc/inc/lookupcache.hxx b/sc/inc/lookupcache.hxx
index 5f3b6cfc7556..905df00e5860 100644
--- a/sc/inc/lookupcache.hxx
+++ b/sc/inc/lookupcache.hxx
@@ -128,7 +128,7 @@ public:
const ScAddress & rQueryAddress,
const bool bAvailable );
- inline const ScRange& getRange() const { return maRange; }
+ const ScRange& getRange() const { return maRange; }
struct Hash
{
diff --git a/sc/inc/postit.hxx b/sc/inc/postit.hxx
index f7c10daab2d7..2904d82cefed 100644
--- a/sc/inc/postit.hxx
+++ b/sc/inc/postit.hxx
@@ -48,10 +48,10 @@ public:
~ScCaptionPtr();
ScCaptionPtr& operator=( const ScCaptionPtr& r );
- inline explicit operator bool() const { return mpCaption != nullptr; }
- inline SdrCaptionObj* get() const { return mpCaption; }
- inline SdrCaptionObj* operator->() const { return mpCaption; }
- inline SdrCaptionObj& operator*() const { return *mpCaption; }
+ explicit operator bool() const { return mpCaption != nullptr; }
+ SdrCaptionObj* get() const { return mpCaption; }
+ SdrCaptionObj* operator->() const { return mpCaption; }
+ SdrCaptionObj& operator*() const { return *mpCaption; }
// Does not default to nullptr to make it visually obvious where such is used.
void reset( SdrCaptionObj* p );
diff --git a/sc/inc/refdata.hxx b/sc/inc/refdata.hxx
index 5f3e7626940a..277056971286 100644
--- a/sc/inc/refdata.hxx
+++ b/sc/inc/refdata.hxx
@@ -51,7 +51,7 @@ private:
public:
/// No default ctor, because used in ScRawToken union, set InitFlags!
- inline void InitFlags() { mnFlagValue = 0; } ///< all FALSE
+ void InitFlags() { mnFlagValue = 0; } ///< all FALSE
/// InitAddress: InitFlags and set address
void InitAddress( const ScAddress& rAdr );
void InitAddress( SCCOL nCol, SCROW nRow, SCTAB nTab );
@@ -121,19 +121,19 @@ struct ScComplexRefData
ScSingleRefData Ref1;
ScSingleRefData Ref2;
- inline void InitFlags()
+ void InitFlags()
{ Ref1.InitFlags(); Ref2.InitFlags(); }
- inline void InitRange( const ScRange& rRange )
+ void InitRange( const ScRange& rRange )
{
Ref1.InitAddress( rRange.aStart );
Ref2.InitAddress( rRange.aEnd );
}
- inline void InitRangeRel( const ScRange& rRange, const ScAddress& rPos )
+ void InitRangeRel( const ScRange& rRange, const ScAddress& rPos )
{
Ref1.InitAddressRel( rRange.aStart, rPos );
Ref2.InitAddressRel( rRange.aEnd, rPos );
}
- inline void InitRange( SCCOL nCol1, SCROW nRow1, SCTAB nTab1,
+ void InitRange( SCCOL nCol1, SCROW nRow1, SCTAB nTab1,
SCCOL nCol2, SCROW nRow2, SCTAB nTab2 )
{
Ref1.InitAddress( nCol1, nRow1, nTab1 );
@@ -150,14 +150,14 @@ struct ScComplexRefData
bool ValidExternal() const;
/** Whether this references entire columns, A:A */
- inline bool IsEntireCol() const
+ bool IsEntireCol() const
{
// Both row anchors must be absolute.
return Ref1.Row() == 0 && Ref2.Row() == MAXROW && !Ref1.IsRowRel() && !Ref2.IsRowRel();
}
/** Whether this references entire rows, 1:1 */
- inline bool IsEntireRow() const
+ bool IsEntireRow() const
{
// Both column anchors must be absolute.
return Ref1.Col() == 0 && Ref2.Col() == MAXCOL && !Ref1.IsColRel() && !Ref2.IsColRel();
@@ -172,7 +172,7 @@ struct ScComplexRefData
/** Adjust ordering (front-top-left/rear-bottom-right) to a new position. */
void PutInOrder( const ScAddress& rPos );
- inline bool operator==( const ScComplexRefData& r ) const
+ bool operator==( const ScComplexRefData& r ) const
{ return Ref1 == r.Ref1 && Ref2 == r.Ref2; }
/** Enlarge range if reference passed is not within existing range.
ScAddress position is used to calculate absolute references from
diff --git a/sc/inc/scmatrix.hxx b/sc/inc/scmatrix.hxx
index 632205a6ebfb..886bbd86840a 100644
--- a/sc/inc/scmatrix.hxx
+++ b/sc/inc/scmatrix.hxx
@@ -153,7 +153,7 @@ public:
};
/// The maximum number of elements a matrix may have at runtime.
- inline static size_t GetElementsMax()
+ static size_t GetElementsMax()
{
// TODO: Fix me.
return 0x08000000;
@@ -174,19 +174,19 @@ public:
bool static IsSizeAllocatable( SCSIZE nC, SCSIZE nR );
/// Value or boolean.
- inline static bool IsValueType( ScMatValType nType )
+ static bool IsValueType( ScMatValType nType )
{
return nType <= ScMatValType::Boolean;
}
/// Boolean.
- inline static bool IsBooleanType( ScMatValType nType )
+ static bool IsBooleanType( ScMatValType nType )
{
return nType == ScMatValType::Boolean;
}
/// String, empty or empty path, but not value nor boolean.
- inline static bool IsNonValueType( ScMatValType nType )
+ static bool IsNonValueType( ScMatValType nType )
{
return bool(nType & ScMatValType::NonvalueMask);
}
@@ -194,19 +194,19 @@ public:
/** String, but not empty or empty path or any other type.
Not named IsStringType to prevent confusion because previously
IsNonValueType was named IsStringType. */
- inline static bool IsRealStringType( ScMatValType nType )
+ static bool IsRealStringType( ScMatValType nType )
{
return (nType & ScMatValType::NonvalueMask) == ScMatValType::String;
}
/// Empty, but not empty path or any other type.
- inline static bool IsEmptyType( ScMatValType nType )
+ static bool IsEmptyType( ScMatValType nType )
{
return (nType & ScMatValType::NonvalueMask) == ScMatValType::Empty;
}
/// Empty path, but not empty or any other type.
- inline static bool IsEmptyPathType( ScMatValType nType )
+ static bool IsEmptyPathType( ScMatValType nType )
{
return (nType & ScMatValType::NonvalueMask) == ScMatValType::EmptyPath;
}
diff --git a/sc/inc/sortparam.hxx b/sc/inc/sortparam.hxx
index 3351249c97dd..d0cd0204d518 100644
--- a/sc/inc/sortparam.hxx
+++ b/sc/inc/sortparam.hxx
@@ -75,7 +75,7 @@ struct SC_DLLPUBLIC ScSortParam
void Clear ();
void MoveToDest();
- inline sal_uInt16 GetSortKeyCount() const { return maKeyState.size(); }
+ sal_uInt16 GetSortKeyCount() const { return maKeyState.size(); }
};
namespace sc {
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 5f8711c786f5..0358a760c702 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -280,15 +280,15 @@ public:
bool IsStreamValid() const { return bStreamValid; }
void SetStreamValid( bool bSet, bool bIgnoreLock = false );
- SAL_WARN_UNUSED_RESULT inline bool IsColValid( SCCOL nScCol ) const
+ SAL_WARN_UNUSED_RESULT bool IsColValid( SCCOL nScCol ) const
{
return nScCol >= static_cast< SCCOL >( 0 ) && nScCol < aCol.size();
}
- SAL_WARN_UNUSED_RESULT inline bool IsColRowValid( SCCOL nScCol, SCROW nScRow ) const
+ SAL_WARN_UNUSED_RESULT bool IsColRowValid( SCCOL nScCol, SCROW nScRow ) const
{
return IsColValid( nScCol ) && ValidRow( nScRow );
}
- SAL_WARN_UNUSED_RESULT inline bool IsColRowTabValid( SCCOL nScCol, SCROW nScRow, SCTAB nScTab ) const
+ SAL_WARN_UNUSED_RESULT bool IsColRowTabValid( SCCOL nScCol, SCROW nScRow, SCTAB nScTab ) const
{
return IsColValid( nScCol ) && ValidRow( nScRow ) && ValidTab( nScTab );
}
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx
index 5892a3b91a45..147bba46730d 100644
--- a/sc/inc/token.hxx
+++ b/sc/inc/token.hxx
@@ -442,7 +442,7 @@ public:
if ( pS )
*pS = (*pD).Ref1;
}
- inline ScComplexRefData& Ref() { return *pD; }
+ ScComplexRefData& Ref() { return *pD; }
};
class SingleDoubleRefProvider
diff --git a/sc/inc/validat.hxx b/sc/inc/validat.hxx
index 6a4124f5a9bf..6aeb958d9137 100644
--- a/sc/inc/validat.hxx
+++ b/sc/inc/validat.hxx
@@ -113,8 +113,8 @@ public:
ScValidationMode GetDataMode() const { return eDataMode; }
- inline sal_Int16 GetListType() const { return mnListType; }
- inline void SetListType( sal_Int16 nListType ) { mnListType = nListType; }
+ sal_Int16 GetListType() const { return mnListType; }
+ void SetListType( sal_Int16 nListType ) { mnListType = nListType; }
/** Returns true, if the validation cell will show a selection list.
@descr Use this instead of GetListType() which returns the raw property
diff --git a/sc/inc/zforauto.hxx b/sc/inc/zforauto.hxx
index 4e9be263cb0a..634d464f564b 100644
--- a/sc/inc/zforauto.hxx
+++ b/sc/inc/zforauto.hxx
@@ -39,20 +39,20 @@ public:
void Save( SvStream& rStream, rtl_TextEncoding eByteStrSet ) const; // saving of the numberformats
void PutFormatIndex(sal_uInt32 nFormat, SvNumberFormatter& rFormatter);
sal_uInt32 GetFormatIndex( SvNumberFormatter& rFormatter);
- inline bool operator==(const ScNumFormatAbbrev& rNumFormat) const
+ bool operator==(const ScNumFormatAbbrev& rNumFormat) const
{
return ((sFormatstring == rNumFormat.sFormatstring)
&& (eLanguage == rNumFormat.eLanguage)
&& (eSysLanguage == rNumFormat.eSysLanguage));
}
- inline ScNumFormatAbbrev& operator=(const ScNumFormatAbbrev& rNumFormat)
+ ScNumFormatAbbrev& operator=(const ScNumFormatAbbrev& rNumFormat)
{
sFormatstring = rNumFormat.sFormatstring;
eLanguage = rNumFormat.eLanguage;
eSysLanguage = rNumFormat.eSysLanguage;
return *this;
}
- inline LanguageType GetLanguage() const { return eLanguage; }
+ LanguageType GetLanguage() const { return eLanguage; }
};
#endif