diff options
author | Noel Grandin <noel@peralex.com> | 2013-08-27 16:44:41 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-08-29 09:30:11 +0200 |
commit | 25994daa3a186a504c4f1b88bc251a89b96f0d47 (patch) | |
tree | 94777dcf63f5e88485112a3b6271a20343fd74d2 /sfx2/source/doc/new.cxx | |
parent | fc8f0f12805522504642a68af76b495d588883e4 (diff) |
convert include/sfx2/childwin.hxx from String to OUString
Change-Id: Ide6e1751879c9702299df37c8f14ebed22d31a34
Diffstat (limited to 'sfx2/source/doc/new.cxx')
-rw-r--r-- | sfx2/source/doc/new.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx index ab6002d1a120..76f5ad11382f 100644 --- a/sfx2/source/doc/new.cxx +++ b/sfx2/source/doc/new.cxx @@ -523,12 +523,12 @@ SfxNewFileDialog_Impl::SfxNewFileDialog_Impl( } } - String &rExtra = pAntiImplP->GetExtraData(); + OUString &rExtra = pAntiImplP->GetExtraData(); sal_Int32 nTokCount = comphelper::string::getTokenCount(rExtra, '|'); if( nTokCount > 0 && nFlags ) - MORE_BTN(SetState(comphelper::string::equals(rExtra.GetToken( 0, '|'), 'Y'))); + MORE_BTN(SetState(comphelper::string::equals(rExtra.getToken( 0, '|'), 'Y'))); if( nTokCount > 1 && nFlags ) - aPreviewBtn.Check(comphelper::string::equals(rExtra.GetToken( 1 ,'|'), 'Y')); + aPreviewBtn.Check(comphelper::string::equals(rExtra.getToken( 1 ,'|'), 'Y')); aTemplateLb.SetSelectHdl(LINK(this, SfxNewFileDialog_Impl, TemplateSelect)); aTemplateLb.SetDoubleClickHdl(LINK(this, SfxNewFileDialog_Impl, DoubleClick)); @@ -558,10 +558,10 @@ SfxNewFileDialog_Impl::SfxNewFileDialog_Impl( SfxNewFileDialog_Impl::~SfxNewFileDialog_Impl() { - String &rExtra = pAntiImpl->GetExtraData(); - rExtra = MORE_BTN(GetState()) ? 'Y' : 'N'; - rExtra += '|'; - rExtra += aPreviewBtn.IsChecked() ? 'Y' : 'N'; + OUString &rExtra = pAntiImpl->GetExtraData(); + rExtra = MORE_BTN(GetState()) ? "Y" : "N"; + rExtra += "|"; + rExtra += aPreviewBtn.IsChecked() ? "Y" : "N"; delete pMoreBt; } |