[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source

Caolán McNamara caolanm at redhat.com
Tue Feb 11 05:29:22 PST 2014


 sc/source/ui/miscdlgs/highred.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 56b6a745fa410f7cdfdd9ee47786a3edd6780ba7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 11 11:55:18 2014 +0000

    edit->changes->show has empty filter settings
    
    Change-Id: I98999c0f402cf84d89b3a1167480dc27fdbc2be9
    (cherry picked from commit 55c413b9cb2692b784c6c43a519be08146438237)
    Reviewed-on: https://gerrit.libreoffice.org/7994
    Tested-by: Michael Stahl <mstahl at redhat.com>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/sc/source/ui/miscdlgs/highred.cxx b/sc/source/ui/miscdlgs/highred.cxx
index cec568e..4c07106 100644
--- a/sc/source/ui/miscdlgs/highred.cxx
+++ b/sc/source/ui/miscdlgs/highred.cxx
@@ -63,6 +63,10 @@ ScHighlightChgDlg::ScHighlightChgDlg( SfxBindings* pB, SfxChildWindow* pCW, Wind
 {
     FreeResource();
 
+    aFilterCtr.HideRange(false);
+    Size aCtrSize(LogicToPixel(Size(261 , 86), MAP_APPFONT));
+    aFilterCtr.SetSizePixel(aCtrSize);
+
     Point aFlFilterPt( aFlFilter.GetPosPixel() );
     aFlFilterPt.Y() += aFlFilter.GetSizePixel().Height();
     aFilterCtr.SetPosPixel( aFlFilterPt );
@@ -72,7 +76,6 @@ ScHighlightChgDlg::ScHighlightChgDlg( SfxBindings* pB, SfxChildWindow* pCW, Wind
     aOkButton.SetClickHdl(LINK( this, ScHighlightChgDlg, OKBtnHdl));
     aHighlightBox.SetClickHdl(LINK( this, ScHighlightChgDlg, HighlightHandle ));
     aFilterCtr.SetRefHdl(LINK( this, ScHighlightChgDlg, RefHandle ));
-    aFilterCtr.HideRange(false);
     aFilterCtr.Show();
     SetDispatcherLock( true );
 


More information about the Libreoffice-commits mailing list