Kaydet (Commit) 66fbd3a4 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

remove one more reference to the anonymous db string

üst 50ade1da
......@@ -245,7 +245,6 @@ void ScDbNameDlg::Init()
pDBData = pDBColl->GetDBAtCursor( nStartCol, nStartRow, nStartTab, sal_True );
if ( pDBData )
{
::rtl::OUString theDbName;
ScAddress& rStart = theCurArea.aStart;
ScAddress& rEnd = theCurArea.aEnd;
SCCOL nCol1;
......@@ -260,7 +259,9 @@ void ScDbNameDlg::Init()
&& (rStart.Col() == nCol1) && (rStart.Row() == nRow1)
&& (rEnd.Col() == nCol2) && (rEnd.Row() == nRow2 ) )
{
aEdName.SetText(pDBData->GetName());
rtl::OUString aDBName = pDBData->GetName();
if (!aDBName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(STR_DB_LOCAL_NONAME)))
aEdName.SetText(aDBName);
aBtnHeader.Check( pDBData->HasHeader() );
aBtnDoSize.Check( pDBData->IsDoSize() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment