summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-12-04 09:23:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-12-04 11:07:04 +0000
commit171653e4b71e236ba0e053b5c74f89baacc50482 (patch)
tree4cb226f7860fc9d00ef3e43424ec575f73fc7684 /sw/inc
parent06299d6c1620e5b2f2a3588d7c93790278397cbd (diff)
remove unnecessary inline keyword
Change-Id: I00a0c94dd9131be3969e2cfd1320682774dced3f
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/splargs.hxx57
1 files changed, 32 insertions, 25 deletions
diff --git a/sw/inc/splargs.hxx b/sw/inc/splargs.hxx
index fae40a169136..03938d2912db 100644
--- a/sw/inc/splargs.hxx
+++ b/sw/inc/splargs.hxx
@@ -128,8 +128,8 @@ class SwInterHyphInfo
{
::css::uno::Reference< ::css::linguistic2::XHyphenatedWord > xHyphWord;
const Point aCrsrPos;
- sal_Bool bNoLang : 1;
- sal_Bool bCheck : 1;
+ bool bNoLang : 1;
+ bool bCheck : 1;
public:
sal_Int32 nStart;
sal_Int32 nEnd;
@@ -138,31 +138,38 @@ public:
sal_Int32 nHyphPos;
sal_uInt16 nMinTrail;
- inline SwInterHyphInfo( const Point &rCrsrPos,
- sal_Int32 nStartPos = 0,
- sal_Int32 nLength = SAL_MAX_INT32 )
- : aCrsrPos( rCrsrPos ),
- bNoLang(sal_False), bCheck(sal_False),
- nStart(nStartPos),
- nEnd( nLength == SAL_MAX_INT32 ? SAL_MAX_INT32 : nStartPos + nLength ),
- nWordStart(0), nWordLen(0),
- nHyphPos(0), nMinTrail(0)
- { }
- inline sal_Int32 GetEnd() const
- { return nEnd; }
- inline const Point *GetCrsrPos() const
- { return aCrsrPos.X() || aCrsrPos.Y() ? &aCrsrPos : 0; }
- inline sal_Bool IsCheck() const { return bCheck; }
- inline void SetCheck( const sal_Bool bNew ) { bCheck = bNew; }
- inline void SetNoLang( const sal_Bool bNew ) { bNoLang = bNew; }
-
- inline void SetHyphWord(const ::css::uno::Reference< ::css::linguistic2::XHyphenatedWord > &rxHW)
- { xHyphWord = rxHW; }
- inline ::css::uno::Reference< ::css::linguistic2::XHyphenatedWord > GetHyphWord()
- { return xHyphWord; }
+ SwInterHyphInfo( const Point &rCrsrPos, sal_Int32 nStartPos = 0,
+ sal_Int32 nLength = SAL_MAX_INT32 )
+ : aCrsrPos(rCrsrPos)
+ , bNoLang(false)
+ , bCheck(false)
+ , nStart(nStartPos)
+ , nEnd(nLength == SAL_MAX_INT32 ? SAL_MAX_INT32 : nStartPos + nLength)
+ , nWordStart(0), nWordLen(0)
+ , nHyphPos(0), nMinTrail(0)
+ {
+ }
+ sal_Int32 GetEnd() const
+ {
+ return nEnd;
+ }
+ const Point *GetCrsrPos() const
+ {
+ return aCrsrPos.X() || aCrsrPos.Y() ? &aCrsrPos : 0;
+ }
+ bool IsCheck() const { return bCheck; }
+ void SetCheck( const bool bNew ) { bCheck = bNew; }
+ void SetNoLang( const bool bNew ) { bNoLang = bNew; }
+ void SetHyphWord(const ::css::uno::Reference< ::css::linguistic2::XHyphenatedWord > &rxHW)
+ {
+ xHyphWord = rxHW;
+ }
+ ::css::uno::Reference< ::css::linguistic2::XHyphenatedWord > GetHyphWord()
+ {
+ return xHyphWord;
+ }
};
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */