diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-27 11:44:22 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-10-04 08:48:59 +0200 |
commit | 568c45f37f78c87ec11ee81ed51d0fa9fe83495e (patch) | |
tree | c06ee54acb3930c6556b57f6b77d98fa8498288a /sc/source/ui/navipi/content.cxx | |
parent | b476614e28cde3a4c3e8ef966c6cb5fc0e8a1ba0 (diff) |
convert sc/source/ui/inc/c*.hxx from String to OUString
Change-Id: I364aeba561a0f6688924fddc55634f83fe5045f6
Diffstat (limited to 'sc/source/ui/navipi/content.cxx')
-rw-r--r-- | sc/source/ui/navipi/content.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx index 4cf7042e80ad..62ae878b4d82 100644 --- a/sc/source/ui/navipi/content.cxx +++ b/sc/source/ui/navipi/content.cxx @@ -183,7 +183,7 @@ void ScContentTree::ClearType(sal_uInt16 nType) } } -void ScContentTree::InsertContent( sal_uInt16 nType, const String& rValue ) +void ScContentTree::InsertContent( sal_uInt16 nType, const OUString& rValue ) { if (nType >= SC_CONTENT_COUNT) { @@ -1260,7 +1260,7 @@ IMPL_STATIC_LINK(ScContentTree, ExecDragHdl, void*, EMPTYARG) return 0; } -sal_Bool ScContentTree::LoadFile( const String& rUrl ) +sal_Bool ScContentTree::LoadFile( const OUString& rUrl ) { String aDocName = rUrl; xub_StrLen nPos = aDocName.Search('#'); @@ -1367,7 +1367,7 @@ void ScContentTree::ActiveDocChanged() pParentWindow->GetDocNames( &aCurrent ); // selektieren } -void ScContentTree::SetManualDoc(const String& rName) +void ScContentTree::SetManualDoc(const OUString& rName) { aManualDoc = rName; if (!bHiddenDoc) @@ -1377,7 +1377,7 @@ void ScContentTree::SetManualDoc(const String& rName) } } -void ScContentTree::SelectDoc(const String& rName) // rName wie im Menue/Listbox angezeigt +void ScContentTree::SelectDoc(const OUString& rName) // rName wie im Menue/Listbox angezeigt { if ( rName == pParentWindow->aStrActiveWin ) { @@ -1388,13 +1388,13 @@ void ScContentTree::SelectDoc(const String& rName) // rName wie im Menue/Li // "aktiv" oder "inaktiv" weglassen String aRealName = rName; - xub_StrLen nLen = rName.Len(); + xub_StrLen nLen = rName.getLength(); xub_StrLen nActiveStart = nLen - pParentWindow->aStrActive.getLength(); - if ( rName.Copy( nActiveStart ) == pParentWindow->aStrActive ) - aRealName = rName.Copy( 0, nActiveStart ); + if ( rName.copy( nActiveStart ) == pParentWindow->aStrActive ) + aRealName = rName.copy( 0, nActiveStart ); xub_StrLen nNotActiveStart = nLen - pParentWindow->aStrNotActive.getLength(); - if ( rName.Copy( nNotActiveStart ) == pParentWindow->aStrNotActive ) - aRealName = rName.Copy( 0, nNotActiveStart ); + if ( rName.copy( nNotActiveStart ) == pParentWindow->aStrNotActive ) + aRealName = rName.copy( 0, nNotActiveStart ); bool bLoaded = false; |