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

Muhammet Kara (via logerrit) logerrit at kemper.freedesktop.org
Sun Jun 9 20:11:27 UTC 2019


 cui/source/options/optchart.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 15fd2231401912a83d7c3a602cab5b9737a9d817
Author:     Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Sun Jun 9 21:32:09 2019 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Sun Jun 9 22:10:18 2019 +0200

    Remove unread value nPos
    
    Value stored to 'nPos' is never read
    
    Change-Id: I80af0da43de4c842e9831b25506ad654bfe82611
    Reviewed-on: https://gerrit.libreoffice.org/73738
    Tested-by: Jenkins
    Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>

diff --git a/cui/source/options/optchart.cxx b/cui/source/options/optchart.cxx
index 0347f7ad4de9..ea96b8bfbde6 100644
--- a/cui/source/options/optchart.cxx
+++ b/cui/source/options/optchart.cxx
@@ -54,7 +54,6 @@ void SvxDefaultColorOptPage::InsertColorEntry(const XColorEntry& rEntry, sal_Int
     else
     {
         aColorList.push_back( rColor );
-        nPos = aColorList.size() - 1;
     }
 }
 


More information about the Libreoffice-commits mailing list