[Libreoffice-commits] core.git: sw/source

Tor Lillqvist tml at collabora.com
Tue Apr 15 00:10:43 PDT 2014


 sw/source/core/unocore/unoidx.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1ac4eb946680ed738cb26be4d43f9716ba8feb17
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Apr 15 10:09:27 2014 +0300

    Revert "Blind fix attempt for MSVC compilation error"
    
    Nah. As sberg says on IRC, "I'm glad MSVC is not /that/ broken that
    c2161066746ca5767a8ff9a7759729940788d917 would have fixed it"
    
    This reverts commit c2161066746ca5767a8ff9a7759729940788d917.

diff --git a/sw/source/core/unocore/unoidx.cxx b/sw/source/core/unocore/unoidx.cxx
index d911f34..2cf1eca 100644
--- a/sw/source/core/unocore/unoidx.cxx
+++ b/sw/source/core/unocore/unoidx.cxx
@@ -2853,7 +2853,7 @@ throw (lang::IllegalArgumentException, lang::IndexOutOfBoundsException,
             {
                 const OUString sTokenType =
                         lcl_AnyToString(pProperties[j].Value);
-                for (const TokenType *pTokenType = g_TokenTypes;
+                for (TokenType const* pTokenType = g_TokenTypes;
                         pTokenType->pName; ++pTokenType)
                 {
                     if (sTokenType.equalsAscii(pTokenType->pName))


More information about the Libreoffice-commits mailing list