[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - sfx2/source

Joren De Cuyper joren.libreoffice at telenet.be
Mon Mar 11 01:50:45 PDT 2013


 sfx2/source/dialog/templdlg.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit a9e2b90fd4458852e745ec5eca127549452617b7
Author: Joren De Cuyper <joren.libreoffice at telenet.be>
Date:   Sun Mar 10 12:48:30 2013 +0100

    fdo#62075 Hierarchical filter hard to find
    
    See UX-advice http://lists.freedesktop.org/archives/libreoffice-ux-advise/2013-March/001898.html
    and comment on bug for approval of ux-advice.
    
    Change-Id: Ie5af5ec141b148e6253d0ffa9b546d30994c6dd6
    Reviewed-on: https://gerrit.libreoffice.org/2639
    Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>

diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 0af6d77..a81c27d 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -83,8 +83,8 @@ using namespace ::com::sun::star::uno;
 
 static sal_uInt16 nLastItemId = USHRT_MAX;
 
-// filter box has maximum 12 entries visible
-#define MAX_FILTER_ENTRIES          12
+// filter box has maximum 14 entries visible
+#define MAX_FILTER_ENTRIES          14
 
 //=========================================================================
 
@@ -1281,7 +1281,7 @@ void SfxCommonTemplateDialog_Impl::UpdateStyles_Impl(sal_uInt16 nFlags)
             if(pTreeBox)
                 aFilterLb.SelectEntry(SfxResId(STR_STYLE_FILTER_HIERARCHICAL).toString());
 
-            // show maximum 12 entries
+            // show maximum 14 entries
             aFilterLb.SetDropDownLineCount( MAX_FILTER_ENTRIES );
             aFilterLb.SetUpdateMode(sal_True);
         }


More information about the Libreoffice-commits mailing list