diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-18 09:22:27 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-27 06:48:25 +0000 |
commit | 508c95f1b655d9cfa6be37a5a9de9aff6fd383bf (patch) | |
tree | d1c8626818cbf26a699875ae2d82f751a1657e92 /lotuswordpro | |
parent | 9f4af777a832d8a0b9a21d793d421fa6228131e0 (diff) |
improve passstuffbyref return analysis
Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c
Reviewed-on: https://gerrit.libreoffice.org/27317
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpcelllayout.cxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpcelllayout.hxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwppara.hxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwppara1.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/lwpcelllayout.cxx b/lotuswordpro/source/filter/lwpcelllayout.cxx index eb3d0cdc9f03..087566c698c4 100644 --- a/lotuswordpro/source/filter/lwpcelllayout.cxx +++ b/lotuswordpro/source/filter/lwpcelllayout.cxx @@ -297,7 +297,7 @@ void LwpCellLayout::ApplyFmtStyle(XFCellStyle *pCellStyle) * @param nCol - default cell position col number * @return OUString - registered cell style name */ -OUString LwpCellLayout::GetCellStyleName(sal_uInt16 nRow, sal_uInt16 nCol, LwpTableLayout * pTableLayout) +OUString const & LwpCellLayout::GetCellStyleName(sal_uInt16 nRow, sal_uInt16 nCol, LwpTableLayout * pTableLayout) { // judge cell border type LwpCellBorderType eType = GetCellBorderType(nRow, nCol, pTableLayout); diff --git a/lotuswordpro/source/filter/lwpcelllayout.hxx b/lotuswordpro/source/filter/lwpcelllayout.hxx index 18a1bb833e78..7e4b7cc29f55 100644 --- a/lotuswordpro/source/filter/lwpcelllayout.hxx +++ b/lotuswordpro/source/filter/lwpcelllayout.hxx @@ -111,7 +111,7 @@ protected: void ApplyWatermark(XFCellStyle* pCellStyle); void ApplyProtect(XFCell * pCell, LwpObjectID aTableID); void ApplyFmtStyle(XFCellStyle *pCellStyle); - OUString GetCellStyleName(sal_uInt16 nRow, sal_uInt16 nCol, LwpTableLayout * pTableLayout); + OUString const & GetCellStyleName(sal_uInt16 nRow, sal_uInt16 nCol, LwpTableLayout * pTableLayout); void RegisterDefaultCell(); virtual LwpCellBorderType GetCellBorderType(sal_uInt16 nRow, sal_uInt16 nCol, LwpTableLayout * pTableLayout); static LwpCellLayout * GetCellByRowCol(sal_uInt16 nRow, sal_uInt16 nCol, LwpTableLayout * pTableLayout); diff --git a/lotuswordpro/source/filter/lwppara.hxx b/lotuswordpro/source/filter/lwppara.hxx index dfa479716852..59b479933094 100644 --- a/lotuswordpro/source/filter/lwppara.hxx +++ b/lotuswordpro/source/filter/lwppara.hxx @@ -176,7 +176,7 @@ public: void SetBulletFlag(bool bFlag); void SetIndent(LwpIndentOverride* pIndentOverride); void SetFirstFrib(const OUString& Content,sal_uInt32 FontID); - OUString GetContentText(bool bAllText = false); + OUString const & GetContentText(bool bAllText = false); void SetParaDropcap(bool bFlag); void SetDropcapLines(sal_uInt16 number); diff --git a/lotuswordpro/source/filter/lwppara1.cxx b/lotuswordpro/source/filter/lwppara1.cxx index 8c015fc8b797..7499af4d3514 100644 --- a/lotuswordpro/source/filter/lwppara1.cxx +++ b/lotuswordpro/source/filter/lwppara1.cxx @@ -108,7 +108,7 @@ using boost::polymorphic_downcast; /** * @short get text of paragraph */ -OUString LwpPara::GetContentText(bool bAllText) +OUString const & LwpPara::GetContentText(bool bAllText) { // rFont = m_FontID; if (bAllText) |