[Libreoffice-commits] core.git: svx/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 29 19:27:29 UTC 2020


 svx/source/fmcomp/gridcell.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit cba8c5f87c873cd3f5152fefde3ca60da5ecd9f7
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jul 29 15:44:45 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Jul 29 21:26:48 2020 +0200

    use a EditControl now
    
    Change-Id: I011770676c91ea7cc83dc215ae92fa37c816e200
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99705
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx
index b94f20727482..1608d91549f5 100644
--- a/svx/source/fmcomp/gridcell.cxx
+++ b/svx/source/fmcomp/gridcell.cxx
@@ -799,7 +799,6 @@ void DbCellControl::ImplInitWindow( vcl::Window const & rParent, const InitWindo
     }
 }
 
-
 void DbCellControl::implAdjustReadOnly( const Reference< XPropertySet >& _rxModel,bool i_bReadOnly )
 {
     DBG_ASSERT( m_pWindow, "DbCellControl::implAdjustReadOnly: not to be called without window!" );
@@ -2705,7 +2704,7 @@ void DbFilterField::CreateControl(BrowserDataWin* pParent, const Reference< css:
         }   break;
         default:
         {
-            m_pWindow  = VclPtr<Edit>::Create(pParent, WB_LEFT);
+            m_pWindow  = VclPtr<EditControl>::Create(pParent);
             AllSettings     aSettings = m_pWindow->GetSettings();
             StyleSettings   aStyleSettings = aSettings.GetStyleSettings();
             aStyleSettings.SetSelectionOptions(
@@ -2716,7 +2715,6 @@ void DbFilterField::CreateControl(BrowserDataWin* pParent, const Reference< css:
     }
 }
 
-
 void DbFilterField::Init(BrowserDataWin& rParent, const Reference< XRowSet >& xCursor)
 {
     Reference< css::beans::XPropertySet >  xModel(m_rColumn.getModel());


More information about the Libreoffice-commits mailing list