diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-08 15:19:46 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-10-10 09:19:01 +0200 |
commit | e2af23343b8d2ac672827d3e7d8623fd7734fad6 (patch) | |
tree | 2d68762eb68ae5d7f862ffa1017ec4fd3ff993f6 /sw/source/ui/dialog/uiregionsw.cxx | |
parent | 04d442923914da298ec5730a89310c6b0d33acdc (diff) |
convert sw/source/ui/inc/r*.hxx from String to OUString
Change-Id: I276fdfe7ddd6cc0daa0ca7d6f51342fea718af8e
Diffstat (limited to 'sw/source/ui/dialog/uiregionsw.cxx')
-rw-r--r-- | sw/source/ui/dialog/uiregionsw.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dialog/uiregionsw.cxx b/sw/source/ui/dialog/uiregionsw.cxx index 63e8bb3340bf..0341bd3ccd9a 100644 --- a/sw/source/ui/dialog/uiregionsw.cxx +++ b/sw/source/ui/dialog/uiregionsw.cxx @@ -539,7 +539,7 @@ SwEditRegionDlg::~SwEditRegionDlg( ) delete m_pDocInserter; } -void SwEditRegionDlg::SelectSection(const String& rSectionName) +void SwEditRegionDlg::SelectSection(const OUString& rSectionName) { SvTreeListEntry* pEntry = m_pTree->First(); while(pEntry) @@ -1604,7 +1604,7 @@ void SwInsertSectionTabPage::SetWrtShell(SwWrtShell& rSh) m_pProtectCB->Check( 0 != pSectionData->IsProtectFlag() ); m_sFileName = pSectionData->GetLinkFileName(); m_sFilePasswd = pSectionData->GetLinkFilePassword(); - m_pFileCB->Check( 0 != m_sFileName.Len() ); + m_pFileCB->Check( !m_sFileName.isEmpty() ); m_pFileNameED->SetText( m_sFileName ); UseFileHdl(m_pFileCB); } |