diff options
Diffstat (limited to 'sw/source/core/fields/cellfml.cxx')
-rw-r--r-- | sw/source/core/fields/cellfml.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/fields/cellfml.cxx b/sw/source/core/fields/cellfml.cxx index 0ed5d21c293d..a3a32b80b98e 100644 --- a/sw/source/core/fields/cellfml.cxx +++ b/sw/source/core/fields/cellfml.cxx @@ -557,8 +557,8 @@ void SwTableFormula::BoxNmsToPtr( const SwTable& rTable, OUStringBuffer& rNewStr if( pLastBox ) { pBox = rTable.GetTableBox( *pLastBox ); - rNewStr.append(reinterpret_cast<sal_PtrDiff>(pBox)) - .append(":"); + rNewStr.append(OUString::number(reinterpret_cast<sal_PtrDiff>(pBox)) + + ":"); rFirstBox = rFirstBox.copy( pLastBox->getLength()+1 ); } @@ -1222,7 +1222,7 @@ void SwTableFormula::SplitMergeBoxNm_( const SwTable& rTable, OUStringBuffer& rN } if( pLastBox ) - rNewStr.append(reinterpret_cast<sal_PtrDiff>(pEndBox)).append(":"); + rNewStr.append(OUString::number(reinterpret_cast<sal_PtrDiff>(pEndBox)) + ":"); rNewStr.append(reinterpret_cast<sal_PtrDiff>(pSttBox)) .append(rFirstBox[ rFirstBox.getLength()-1] ); |