diff options
Diffstat (limited to 'sw/source/ui/envelp/mailmrge.cxx')
-rw-r--r-- | sw/source/ui/envelp/mailmrge.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/envelp/mailmrge.cxx b/sw/source/ui/envelp/mailmrge.cxx index 4ff7fb8cd5e3..fbddd97bf583 100644 --- a/sw/source/ui/envelp/mailmrge.cxx +++ b/sw/source/ui/envelp/mailmrge.cxx @@ -365,8 +365,8 @@ SwMailMergeDlg::SwMailMergeDlg(Window* pParent, SwWrtShell& rShell, aAddressFldLB.SelectEntry(OUString("EMAIL")); - String sPath(pModOpt->GetMailingPath()); - if(!sPath.Len()) + OUString sPath(pModOpt->GetMailingPath()); + if(sPath.isEmpty()) { SvtPathOptions aPathOpt; sPath = aPathOpt.GetWorkPath(); @@ -759,8 +759,8 @@ bool SwMailMergeDlg::ExecQryShell() IMPL_LINK_NOARG(SwMailMergeDlg, InsertPathHdl) { - String sPath( aPathED.GetText() ); - if( !sPath.Len() ) + OUString sPath( aPathED.GetText() ); + if( sPath.isEmpty() ) { SvtPathOptions aPathOpt; sPath = aPathOpt.GetWorkPath(); |