summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/dbinsdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/dbui/dbinsdlg.cxx')
-rw-r--r--sw/source/ui/dbui/dbinsdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx
index 507248932ff1..bd2134f6d6de 100644
--- a/sw/source/ui/dbui/dbinsdlg.cxx
+++ b/sw/source/ui/dbui/dbinsdlg.cxx
@@ -242,7 +242,7 @@ SwInsertDBColAutoPilot::SwInsertDBColAutoPilot( SwView& rView,
{
FreeResource();
- nGBFmtLen = aFlFormat.GetText().Len();
+ nGBFmtLen = aFlFormat.GetText().getLength();
if(xColSupp.is())
{
@@ -799,7 +799,7 @@ IMPL_LINK( SwInsertDBColAutoPilot, SelectHdl, ListBox*, pBox )
{
// set the selected FieldName at the FormatGroupBox, so that
// it's clear what field is configured by the format!
- String sTxt( aFlFormat.GetText().Copy( 0, nGBFmtLen ));
+ String sTxt( aFlFormat.GetText().copy( 0, nGBFmtLen ));
if( aSrch.sColumn.isEmpty() )
{
aRbDbFmtFromDb.Enable( sal_False );