From 3f51f3eb700ebb27dfc669d496a10e928bc8ae25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 3 Sep 2016 18:10:09 +0200 Subject: Fix FTBFS with GCC6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 8130ab04f826d1de8cd78a6e130bef08c138628b) --- src/gui/editors/notation/NoteFontMap.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/editors/notation/NoteFontMap.cpp b/src/gui/editors/notation/NoteFontMap.cpp index f557a08..668d057 100644 --- a/src/gui/editors/notation/NoteFontMap.cpp +++ b/src/gui/editors/notation/NoteFontMap.cpp @@ -785,11 +785,11 @@ const { SymbolDataMap::const_iterator i = m_data.find(charName); if (i == m_data.end()) - return false; + return 0; SizeDataMap::const_iterator si = m_sizes.find(size); if (si == m_sizes.end()) - return false; + return 0; int fontId = i->second.getFontId(); @@ -802,7 +802,7 @@ const SystemFontNameMap::const_iterator fni = m_systemFontNames.find(fontId); if (fontId < 0 || fni == m_systemFontNames.end()) - return false; + return 0; TQString fontName = fni->second; CharBaseMap::const_iterator bi = m_bases.find(fontId); -- cgit v1.2.1