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

New commits:
commit ccd4a408683062185802f7635836a49cdb692cf9
Author: Kohei Yoshida <kohei.yosh...@gmail.com>
Date:   Sat Jul 7 08:02:55 2012 -0400

    fdo#43109: Don't check for simple number when text format is requested.
    
    Change-Id: If8ec135f53ffb4a3f33c15c6f2a23a9d94a66d82

diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index 8020521..7e35fe6 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -1341,7 +1341,7 @@ bool ScColumn::SetString( SCROW nRow, SCTAB nTabP, const 
String& rString,
                         }
                     }
                 }
-                else
+                else if (!aParam.mbSetTextCellFormat)
                 {
                     // Only check if the string is a regular number.
                     const LocaleDataWrapper* pLocale = 
aParam.mpNumFormatter->GetLocaleData();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to