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

New commits:
commit 6935b6d9bc08ccb780bd80254ba9b26caf6ab27e
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 23dd104..61edb03 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -1339,7 +1339,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