sw/source/core/table/swtable.cxx |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit d02286e7724304a5931181f3c61aed411cbfeae5
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Tue Nov 19 16:51:24 2024 +0100
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Tue Nov 19 18:03:34 2024 +0100

    sw: unused return
    
    Change-Id: I18a5665609b3e15a98bb88e6d307e9f18be967e9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176778
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Tested-by: Jenkins

diff --git a/sw/source/core/table/swtable.cxx b/sw/source/core/table/swtable.cxx
index 3a24d194339c..bad44b2b04dc 100644
--- a/sw/source/core/table/swtable.cxx
+++ b/sw/source/core/table/swtable.cxx
@@ -94,7 +94,7 @@ void SwTableBox::setDummyFlag( bool bDummy )
 }
 
 //JP 15.09.98: Bug 55741 - Keep tabs (front and rear)
-static OUString& lcl_TabToBlankAtSttEnd( OUString& rText )
+static void lcl_TabToBlankAtSttEnd( OUString& rText )
 {
     sal_Unicode c;
     sal_Int32 n;
@@ -105,10 +105,9 @@ static OUString& lcl_TabToBlankAtSttEnd( OUString& rText )
     for( n = rText.getLength(); n && ' ' >= ( c = rText[--n] ); )
         if( '\x9' == c )
             rText = rText.replaceAt( n, 1, u" " );
-    return rText;
 }
 
-static OUString& lcl_DelTabsAtSttEnd( OUString& rText )
+static void lcl_DelTabsAtSttEnd( OUString& rText )
 {
     sal_Unicode c;
     sal_Int32 n;
@@ -125,7 +124,6 @@ static OUString& lcl_DelTabsAtSttEnd( OUString& rText )
             sBuff.remove( n, 1 );
     }
     rText = sBuff.makeStringAndClear();
-    return rText;
 }
 
 void InsTableBox( SwDoc& rDoc, SwTableNode* pTableNd,

Reply via email to