diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-09-11 10:55:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-09-11 17:11:10 +0200 |
commit | 089970bbb706ac37cabec772e9bfbce5c487be7c (patch) | |
tree | 36a46ab5417d3a56cd4deaa587187079a746cea9 | |
parent | 2220bf7f80d389e27770f8cab5c5150fcfecff02 (diff) |
-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
-rw-r--r-- | sw/source/ui/shells/textsh2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/shells/textsh2.cxx b/sw/source/ui/shells/textsh2.cxx index b62aa215c8ec..7761d7f3ba44 100644 --- a/sw/source/ui/shells/textsh2.cxx +++ b/sw/source/ui/shells/textsh2.cxx @@ -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) |