diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-12-03 19:28:52 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-12-03 19:30:17 +0900 |
commit | dc2de899bfaf37a03e0e293ac6dfacda16511a05 (patch) | |
tree | 5af64a1fd3b4fdc8d4ec1982750b085fd29f1ee6 /sw | |
parent | 0ea431f0deaa9d8d9876ad389475746f9ad1ac30 (diff) |
Make it local
Change-Id: I69e343a7cf64ce888fc508a27ca316a9c85093b4
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/table/swtable.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/table/swtable.cxx b/sw/source/core/table/swtable.cxx index db086486fbdb..c37ff85635c3 100644 --- a/sw/source/core/table/swtable.cxx +++ b/sw/source/core/table/swtable.cxx @@ -1340,7 +1340,7 @@ void SwTable::NewSetTabCols( Parm &rParm, const SwTabCols &rNew, |* |*************************************************************************/ -bool IsValidRowName( const String& rStr ) +static bool lcl_IsValidRowName( const String& rStr ) { bool bIsValid = true; xub_StrLen nLen = rStr.Len(); @@ -1383,7 +1383,7 @@ sal_uInt16 SwTable::_GetBoxNum( String& rStr, sal_Bool bFirstPart, else if( STRING_NOTFOUND == ( nPos = rStr.Search( aDotStr ) )) { nRet = 0; - if ( !bPerformValidCheck || IsValidRowName( rStr ) ) + if ( !bPerformValidCheck || lcl_IsValidRowName( rStr ) ) { nRet = static_cast<sal_uInt16>(rStr.ToInt32()); } @@ -1393,7 +1393,7 @@ sal_uInt16 SwTable::_GetBoxNum( String& rStr, sal_Bool bFirstPart, { nRet = 0; String aTxt( rStr.Copy( 0, nPos ) ); - if ( !bPerformValidCheck || IsValidRowName( aTxt ) ) + if ( !bPerformValidCheck || lcl_IsValidRowName( aTxt ) ) { nRet = static_cast<sal_uInt16>(aTxt.ToInt32()); } |