[Libreoffice-commits] core.git: vcl/unx

Jochen Nitschke j.nitschke+logerrit at ok.de
Sun Oct 29 16:24:16 UTC 2017


 vcl/unx/generic/fontmanager/fontmanager.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit feb6cfb1048925ab87485acc4357c3ac23ff944a
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Sun Oct 29 09:33:31 2017 +0200

    cppcheck: unusedVariable
    
    Change-Id: I0fcfd512b7abce38a6865c93f6147658b7dfe493
    Reviewed-on: https://gerrit.libreoffice.org/44020
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/vcl/unx/generic/fontmanager/fontmanager.cxx b/vcl/unx/generic/fontmanager/fontmanager.cxx
index ccaf39bdd59b..b83ff5899d47 100644
--- a/vcl/unx/generic/fontmanager/fontmanager.cxx
+++ b/vcl/unx/generic/fontmanager/fontmanager.cxx
@@ -780,7 +780,6 @@ void PrintFontManager::initialize()
 void PrintFontManager::getFontList( ::std::vector< fontID >& rFontIDs )
 {
     rFontIDs.clear();
-    std::unordered_map< fontID, PrintFont* >::const_iterator it;
 
     for (auto const& font : m_aFonts)
         rFontIDs.push_back(font.first);


More information about the Libreoffice-commits mailing list