sc/source/core/data/document.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 41ccde126a45223212816271bdc761465c8dbee3
Author: Markus Mohrhard <markus.mohrh...@googlemail.com>
Date:   Mon Nov 7 06:23:49 2011 +0100

    SCTAB is sal_Int16 and not sal_Int32

diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 588b2ed..78cd569 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -334,7 +334,7 @@ void ScDocument::CreateValidTabName(rtl::OUString& rName) 
const
         for ( SCTAB i = static_cast<SCTAB>(maTabs.size())+1; !bOk ; i++ )
         {
             rName  = aStrTable;
-            rName += rtl::OUString::valueOf(static_cast<SCTAB>(i));
+            rName += rtl::OUString::valueOf(static_cast<sal_Int32>(i));
             if (bPrefix)
                 bOk = ValidNewTabName( rName );
             else
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to