diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-10 14:38:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-11 09:55:04 +0100 |
commit | 69a6057b04d3b008623bf172abdb21a9ece4a3ee (patch) | |
tree | 0a9a6d501bea77443a8df62888a6d3add5232d60 /sw/source/filter/inc | |
parent | b9d6ea1dd7541c4bd866571f9e3f0aa894687c07 (diff) |
rename Prc->Percent in sw
Change-Id: I011eb59cf40abc6ff62dd541beb1ebbc50725a05
Reviewed-on: https://gerrit.libreoffice.org/84855
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/inc')
-rw-r--r-- | sw/source/filter/inc/wrtswtbl.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/filter/inc/wrtswtbl.hxx b/sw/source/filter/inc/wrtswtbl.hxx index 99c970d57b1c..1dc4cf1c5ba0 100644 --- a/sw/source/filter/inc/wrtswtbl.hxx +++ b/sw/source/filter/inc/wrtswtbl.hxx @@ -58,7 +58,7 @@ class SW_DLLPUBLIC SwWriteTableCell sal_uInt16 const nRowSpan; // spanned rows sal_uInt16 const nColSpan; // spanned columns - bool bPrcWidthOpt; + bool bPercentWidthOpt; public: @@ -66,7 +66,7 @@ public: sal_uInt16 nCSpan, long nHght, const SvxBrushItem *pBGround) : pBox( pB ), pBackground( pBGround ), nHeight( nHght ), nWidthOpt( 0 ), nRow( nR ), nCol( nC ), nRowSpan( nRSpan ), nColSpan( nCSpan ), - bPrcWidthOpt( false ) + bPercentWidthOpt( false ) {} const SwTableBox *GetBox() const { return pBox; } @@ -82,13 +82,13 @@ public: const SvxBrushItem *GetBackground() const { return pBackground; } - void SetWidthOpt( sal_uInt16 nWidth, bool bPrc ) + void SetWidthOpt( sal_uInt16 nWidth, bool bPercent ) { - nWidthOpt = nWidth; bPrcWidthOpt = bPrc; + nWidthOpt = nWidth; bPercentWidthOpt = bPercent; } sal_uInt32 GetWidthOpt() const { return nWidthOpt; } - bool HasPrcWidthOpt() const { return bPrcWidthOpt; } + bool HasPercentWidthOpt() const { return bPercentWidthOpt; } }; typedef std::vector<std::unique_ptr<SwWriteTableCell>> SwWriteTableCells; @@ -278,7 +278,7 @@ public: sal_uInt32 GetRawWidth( sal_uInt16 nCol, sal_uInt16 nColSpan ) const; sal_uInt16 GetAbsWidth( sal_uInt16 nCol, sal_uInt16 nColSpan ) const; sal_uInt16 GetRelWidth( sal_uInt16 nCol, sal_uInt16 nColSpan ) const; - sal_uInt16 GetPrcWidth( sal_uInt16 nCol, sal_uInt16 nColSpan ) const; + sal_uInt16 GetPercentWidth( sal_uInt16 nCol, sal_uInt16 nColSpan ) const; long GetAbsHeight(long nRawWidth, size_t nRow, sal_uInt16 nRowSpan) const; |