summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-07-29 15:44:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-07-29 21:26:48 +0200
commitcba8c5f87c873cd3f5152fefde3ca60da5ecd9f7 (patch)
treeefa489506afea9d2b53042dbcb24a950a6af8ed1 /svx/source
parent16c93afefb59ae1be7aff75803054b2d4cc4b642 (diff)
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@redhat.com>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/fmcomp/gridcell.cxx4
1 files changed, 1 insertions, 3 deletions
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());