diff options
author | Noel Grandin <noel@peralex.com> | 2013-08-28 12:04:22 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-08-29 09:30:12 +0200 |
commit | 96999333d97c0f71377601ef3db82de23b4ddc7a (patch) | |
tree | 7c33952af79ff0c4f6f09e8f37533587268e5262 /sfx2 | |
parent | eeac8047f18b404b8201a7e3a3b30b4e9e273b25 (diff) |
convert sfx2/source/view/impviewframe.hxx from String to OUString
Change-Id: I4b6be16e7355303f653228d3f97ba7903db02cb2
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/impviewframe.hxx | 4 | ||||
-rw-r--r-- | sfx2/source/view/viewfrm2.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/view/impviewframe.hxx b/sfx2/source/view/impviewframe.hxx index c3acee2b1b37..8eee2a344c02 100644 --- a/sfx2/source/view/impviewframe.hxx +++ b/sfx2/source/view/impviewframe.hxx @@ -33,7 +33,7 @@ struct SfxViewFrame_Impl Size aMargin; Size aSize; TypeId aLastType; - String aActualURL; + OUString aActualURL; SfxFrame& rFrame; svtools::AsynchronLink* pReloader; Window* pWindow; @@ -50,7 +50,7 @@ struct SfxViewFrame_Impl sal_Bool bEnabled:1; sal_Bool bWindowWasEnabled:1; sal_Bool bActive; - String aFactoryName; + OUString aFactoryName; ::boost::optional< bool > aHasToolPanels; diff --git a/sfx2/source/view/viewfrm2.cxx b/sfx2/source/view/viewfrm2.cxx index 7eb0c2854781..0614a75ff72d 100644 --- a/sfx2/source/view/viewfrm2.cxx +++ b/sfx2/source/view/viewfrm2.cxx @@ -211,7 +211,7 @@ void SfxViewFrame::Exec_Impl(SfxRequest &rReq ) String aFactName; if ( pFactoryItem ) aFactName = pFactoryItem->GetValue(); - else if ( pImp->aFactoryName.Len() ) + else if ( !pImp->aFactoryName.isEmpty() ) aFactName = pImp->aFactoryName; else { @@ -295,7 +295,7 @@ void SfxViewFrame::GetState_Impl( SfxItemSet &rSet ) { case SID_NEWDOCDIRECT : { - if ( pImp->aFactoryName.Len() ) + if ( !pImp->aFactoryName.isEmpty() ) { String aFact = OUString("private:factory/"); aFact += pImp->aFactoryName; |