From 9083e8d1ca0246ba21423726d568846cb89efae9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 29 Nov 2013 09:59:28 +0200 Subject: convert SvxNumberFormatShell::AddFormat from xub_Strlen to sal_Int32 And make the return code be -1 for error. Change-Id: I17d066180a604208f0ad689d5dffb77d126c256b --- include/svx/numfmtsh.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/svx/numfmtsh.hxx b/include/svx/numfmtsh.hxx index d80a3dd3f7d7..6755aef97469 100644 --- a/include/svx/numfmtsh.hxx +++ b/include/svx/numfmtsh.hxx @@ -104,7 +104,7 @@ public: Color*& rpFontColor ); bool AddFormat( OUString& rFormat, - xub_StrLen& rErrPos, + sal_Int32& rErrPos, sal_uInt16& rCatLbSelPos, short& rFmtSelPos, std::vector& rFmtEntries ); -- cgit