summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-11-08 10:20:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-11-08 17:18:30 +0000
commit5a792cefec8a5b47c1956b8736097668fd895a61 (patch)
tree9953cdffe93e03128299fce4a7d506511038592b
parent64ed6187e6315f56f4ef8e0d802cb532c8ce0128 (diff)
safe xub_StrLen -> sal_Int32 conversion
Change-Id: I43c6ee0b794b1b77b790e5c36c852a0746437164
-rw-r--r--sw/source/core/unocore/unochart.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index f5c86aa0b83c..965c332a94e1 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -209,7 +209,7 @@ bool FillRangeDescriptor(
SwRangeDescriptor &rDesc,
const OUString &rCellRangeName )
{
- xub_StrLen nToken = -1 == rCellRangeName.indexOf('.') ? 0 : 1;
+ sal_Int32 nToken = -1 == rCellRangeName.indexOf('.') ? 0 : 1;
OUString aCellRangeNoTableName( rCellRangeName.getToken( nToken, '.' ) );
OUString aTLName( aCellRangeNoTableName.getToken(0, ':') ); // name of top left cell
OUString aBRName( aCellRangeNoTableName.getToken(1, ':') ); // name of bottom right cell