[Libreoffice-commits] core.git: sw/source

Muhammet Kara (via logerrit) logerrit at kemper.freedesktop.org
Mon Feb 10 00:27:09 UTC 2020


 sw/source/uibase/docvw/edtwin.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 41177730421f9be9ad955766a5a19667d8003b11
Author:     Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Mon Feb 10 01:23:17 2020 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Mon Feb 10 01:26:30 2020 +0100

    Remove unused variable sWord
    
    Change-Id: I56e7c23ae309df112392327a381a4104091222be
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88351
    Tested-by: Jenkins
    Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>

diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 45995e6c9e7f..a1e1a6f26db2 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -5356,7 +5356,6 @@ void SwEditWin::Command( const CommandEvent& rCEvt )
             if( m_pQuickHlpData->m_bIsDisplayed )
                 m_pQuickHlpData->Stop( rSh );
 
-            OUString sWord;
             if( rSh.HasDrawView() && rSh.GetDrawView()->IsTextEdit() )
             {
                 bCallBase = false;
@@ -5367,7 +5366,6 @@ void SwEditWin::Command( const CommandEvent& rCEvt )
                 const CommandExtTextInputData* pData = rCEvt.GetExtTextInputData();
                 if( pData )
                 {
-                    sWord = pData->GetText();
                     bCallBase = false;
                     rSh.SetExtTextInputData( *pData );
                 }


More information about the Libreoffice-commits mailing list