summaryrefslogtreecommitdiff
path: root/sw/source/core/text
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/text')
-rw-r--r--sw/source/core/text/noteurl.cxx2
-rw-r--r--sw/source/core/text/porref.hxx16
-rw-r--r--sw/source/core/text/portox.hxx16
-rw-r--r--sw/source/core/text/txtcache.hxx13
4 files changed, 23 insertions, 24 deletions
diff --git a/sw/source/core/text/noteurl.cxx b/sw/source/core/text/noteurl.cxx
index 7e1f91493c39..fa91ea252d5f 100644
--- a/sw/source/core/text/noteurl.cxx
+++ b/sw/source/core/text/noteurl.cxx
@@ -20,6 +20,6 @@
#include <noteurl.hxx>
// Global variable
-SwNoteURL *pNoteURL = nullptr;
+SwNoteURL* pNoteURL = nullptr;
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/text/porref.hxx b/sw/source/core/text/porref.hxx
index 0c7dc85037b9..b0fff5e34b2a 100644
--- a/sw/source/core/text/porref.hxx
+++ b/sw/source/core/text/porref.hxx
@@ -24,8 +24,8 @@
class SwRefPortion : public SwTextPortion
{
public:
- SwRefPortion(){ SetWhichPor( PortionType::Ref ); }
- virtual void Paint( const SwTextPaintInfo &rInf ) const override;
+ SwRefPortion() { SetWhichPor(PortionType::Ref); }
+ virtual void Paint(const SwTextPaintInfo& rInf) const override;
};
class SwIsoRefPortion : public SwRefPortion
@@ -33,14 +33,14 @@ class SwIsoRefPortion : public SwRefPortion
sal_uInt16 nViewWidth;
public:
- SwIsoRefPortion();
- virtual bool Format( SwTextFormatInfo &rInf ) override;
- virtual void Paint( const SwTextPaintInfo &rInf ) const override;
- virtual SwLinePortion *Compress() override;
- virtual sal_uInt16 GetViewWidth( const SwTextSizeInfo &rInf ) const override;
+ SwIsoRefPortion();
+ virtual bool Format(SwTextFormatInfo& rInf) override;
+ virtual void Paint(const SwTextPaintInfo& rInf) const override;
+ virtual SwLinePortion* Compress() override;
+ virtual sal_uInt16 GetViewWidth(const SwTextSizeInfo& rInf) const override;
// Accessibility: pass information about this portion to the PortionHandler
- virtual void HandlePortion( SwPortionHandler& rPH ) const override;
+ virtual void HandlePortion(SwPortionHandler& rPH) const override;
};
#endif
diff --git a/sw/source/core/text/portox.hxx b/sw/source/core/text/portox.hxx
index b2c8f23a76df..8b61c1064217 100644
--- a/sw/source/core/text/portox.hxx
+++ b/sw/source/core/text/portox.hxx
@@ -25,8 +25,8 @@
class SwToxPortion : public SwTextPortion
{
public:
- SwToxPortion(){ SetWhichPor( PortionType::Tox ); }
- virtual void Paint( const SwTextPaintInfo &rInf ) const override;
+ SwToxPortion() { SetWhichPor(PortionType::Tox); }
+ virtual void Paint(const SwTextPaintInfo& rInf) const override;
};
class SwIsoToxPortion : public SwToxPortion
@@ -34,14 +34,14 @@ class SwIsoToxPortion : public SwToxPortion
sal_uInt16 nViewWidth;
public:
- SwIsoToxPortion();
- virtual bool Format( SwTextFormatInfo &rInf ) override;
- virtual void Paint( const SwTextPaintInfo &rInf ) const override;
- virtual SwLinePortion *Compress() override;
- virtual sal_uInt16 GetViewWidth( const SwTextSizeInfo &rInf ) const override;
+ SwIsoToxPortion();
+ virtual bool Format(SwTextFormatInfo& rInf) override;
+ virtual void Paint(const SwTextPaintInfo& rInf) const override;
+ virtual SwLinePortion* Compress() override;
+ virtual sal_uInt16 GetViewWidth(const SwTextSizeInfo& rInf) const override;
// Accessibility: pass information about this portion to the PortionHandler
- virtual void HandlePortion( SwPortionHandler& rPH ) const override;
+ virtual void HandlePortion(SwPortionHandler& rPH) const override;
};
#endif
diff --git a/sw/source/core/text/txtcache.hxx b/sw/source/core/text/txtcache.hxx
index d04a0eb63323..192fb42ee20f 100644
--- a/sw/source/core/text/txtcache.hxx
+++ b/sw/source/core/text/txtcache.hxx
@@ -32,11 +32,11 @@ class SwTextLine : public SwCacheObj
virtual void UpdateCachePos() override;
public:
- SwTextLine( SwTextFrame const *pFrame, std::unique_ptr<SwParaPortion> pNew = nullptr );
+ SwTextLine(SwTextFrame const* pFrame, std::unique_ptr<SwParaPortion> pNew = nullptr);
virtual ~SwTextLine() override;
- SwParaPortion *GetPara() { return pLine.get(); }
- const SwParaPortion *GetPara() const { return pLine.get(); }
+ SwParaPortion* GetPara() { return pLine.get(); }
+ const SwParaPortion* GetPara() const { return pLine.get(); }
void SetPara(SwParaPortion* pNew, bool bDelete)
{
@@ -48,14 +48,13 @@ public:
class SwTextLineAccess : public SwCacheAccess
{
-
protected:
- virtual SwCacheObj *NewObj() override;
+ virtual SwCacheObj* NewObj() override;
public:
- explicit SwTextLineAccess( const SwTextFrame *pOwner );
+ explicit SwTextLineAccess(const SwTextFrame* pOwner);
- SwParaPortion *GetPara();
+ SwParaPortion* GetPara();
bool IsAvailable() const;
};