summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/inc/swcrsr.hxx8
-rw-r--r--sw/source/core/crsr/swcrsr.cxx6
-rw-r--r--sw/source/core/crsr/trvlreg.cxx2
3 files changed, 8 insertions, 8 deletions
diff --git a/sw/inc/swcrsr.hxx b/sw/inc/swcrsr.hxx
index fbbeb78c5cb3..91c359073a4c 100644
--- a/sw/inc/swcrsr.hxx
+++ b/sw/inc/swcrsr.hxx
@@ -171,9 +171,9 @@ public:
{ return LeftRight( sal_False, nCnt, nMode, bAllowVisual, bSkipHidden, sal_False ); }
sal_Bool GoNextCell( sal_uInt16 nCnt = 1 ) { return GoPrevNextCell( sal_True, nCnt ); }
sal_Bool GoPrevCell( sal_uInt16 nCnt = 1 ) { return GoPrevNextCell( sal_False, nCnt ); }
- virtual bool GotoTable( const String& rName );
- sal_Bool GotoTblBox( const String& rName );
- bool GotoRegion( const String& rName );
+ virtual bool GotoTable( const OUString& rName );
+ sal_Bool GotoTblBox( const OUString& rName );
+ bool GotoRegion( const OUString& rName );
sal_Bool GotoFtnAnchor();
sal_Bool GotoFtnTxt();
sal_Bool GotoNextFtnAnchor();
@@ -274,7 +274,7 @@ public:
virtual sal_Bool LeftRight( sal_Bool bLeft, sal_uInt16 nCnt, sal_uInt16 nMode,
sal_Bool bAllowVisual, sal_Bool bSkipHidden, sal_Bool bInsertCrsr );
- virtual bool GotoTable( const String& rName );
+ virtual bool GotoTable( const OUString& rName );
void InsertBox( const SwTableBox& rTblBox );
void DeleteBox(size_t nPos);
diff --git a/sw/source/core/crsr/swcrsr.cxx b/sw/source/core/crsr/swcrsr.cxx
index 0e8fec363a9f..a397939f3972 100644
--- a/sw/source/core/crsr/swcrsr.cxx
+++ b/sw/source/core/crsr/swcrsr.cxx
@@ -1905,12 +1905,12 @@ sal_Bool SwCursor::GoPrevNextCell( sal_Bool bNext, sal_uInt16 nCnt )
return !IsInProtectTable( sal_True );
}
-bool SwTableCursor::GotoTable( const String& )
+bool SwTableCursor::GotoTable( const OUString& )
{
return false; // invalid action
}
-bool SwCursor::GotoTable( const String& rName )
+bool SwCursor::GotoTable( const OUString& rName )
{
bool bRet = false;
if ( !HasMark() )
@@ -1929,7 +1929,7 @@ bool SwCursor::GotoTable( const String& rName )
return bRet;
}
-sal_Bool SwCursor::GotoTblBox( const String& rName )
+sal_Bool SwCursor::GotoTblBox( const OUString& rName )
{
sal_Bool bRet = sal_False;
const SwTableNode* pTblNd = GetPoint()->nNode.GetNode().FindTableNode();
diff --git a/sw/source/core/crsr/trvlreg.cxx b/sw/source/core/crsr/trvlreg.cxx
index 634a4a563a3d..6bc85fdd116f 100644
--- a/sw/source/core/crsr/trvlreg.cxx
+++ b/sw/source/core/crsr/trvlreg.cxx
@@ -230,7 +230,7 @@ sal_Bool SwCrsrShell::MoveRegion( SwWhichRegion fnWhichRegion, SwPosRegion fnPos
return bRet;
}
-bool SwCursor::GotoRegion( const String& rName )
+bool SwCursor::GotoRegion( const OUString& rName )
{
bool bRet = false;
const SwSectionFmts& rFmts = GetDoc()->GetSections();