diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-10-16 12:26:51 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-10-31 12:03:28 +0100 |
commit | c88c9b4ff2c408c0a383d5c7c658210b96e1430a (patch) | |
tree | b86970ce71bb01fedc6e9f530c89c0f6c3971a8b | |
parent | 2cc05f7b85a37be41614793ffd56755c39eb96de (diff) |
Fixed position of extension colors in Appearance options page
Change-Id: I026e26fda195ddf4b14e250040358ddf31fda21f
-rw-r--r-- | cui/source/options/optcolor.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx index b6e834fa4392..cc217e40b0d1 100644 --- a/cui/source/options/optcolor.cxx +++ b/cui/source/options/optcolor.cxx @@ -706,8 +706,8 @@ void ColorConfigWindow_Impl::CreateEntries (ResMgr& rResMgr) ExtendedColorConfig aExtConfig; if (unsigned const nExtGroupCount = aExtConfig.GetComponentCount()) { - unsigned nLineNum = GetPosBehindLastChapter() / - LogicToPixel(Size(0, LINE_HEIGHT), MAP_APPFONT).Height(); + unsigned nLineNum = ( GetPosBehindLastChapter() / + LogicToPixel(Size(0, LINE_HEIGHT), MAP_APPFONT).Height() ) + 1; for (unsigned j = 0; j != nExtGroupCount; ++j) { rtl::OUString const sComponentName = aExtConfig.GetComponentName(j); |