summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-07 09:08:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-09 11:06:19 +0200
commit1501da01092d4ad4e5f3c8499fd8d1e18f87bc0c (patch)
tree38ddfacf96c179b45a9bcf8789d2f63afb29aea4 /unotools
parent7af90cc93b76996f0f338c6a1285997531281e75 (diff)
loplugin:oncevar
Change-Id: Id295dc0db174a448ef73db9de34f2de07d47f09a Reviewed-on: https://gerrit.libreoffice.org/57108 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/misc/fontcvt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/misc/fontcvt.cxx b/unotools/source/misc/fontcvt.cxx
index 616e1b23d813..4c043c072b20 100644
--- a/unotools/source/misc/fontcvt.cxx
+++ b/unotools/source/misc/fontcvt.cxx
@@ -1388,7 +1388,7 @@ FontToSubsFontConverter CreateFontToSubsFontConverter( const OUString& rOrgName,
if ( nFlags & FontToSubsFontFlags::IMPORT )
{
- int nEntries = 2; // only StarMath+StarBats
+ const int nEntries = 2; // only StarMath+StarBats
for( int i = 0; i < nEntries; ++i )
{
const RecodeTable& r = aStarSymbolRecodeTable[i];