Kaydet (Commit) 089970bb authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wnon-literal-null-conversion (SwInsertFld_Data ctor)

...also, the "sal_True" argument was probably meant for the
"sal_Bool bIsAutoLanguage = sal_True" parameter rather than the
"sal_Unicode cSep = ' '" one.

Change-Id: Iafa038ffaf37c45d6157f7f14e4d529e65dba501
üst 2220bf7f
......@@ -216,7 +216,7 @@ void SwTextShell::ExecDB(SfxRequest &rReq)
sDBName += (String)sColumnName;
SwFldMgr aFldMgr(GetShellPtr());
SwInsertFld_Data aData(TYP_DBFLD, 0, sDBName, aEmptyStr, 0, sal_False, sal_True);
SwInsertFld_Data aData(TYP_DBFLD, 0, sDBName, aEmptyStr, 0);
if(pConnectionItem)
aData.aDBConnection = ((SfxUsrAnyItem*)pConnectionItem)->GetValue();
if(pColumnItem)
......
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