[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source
Kohei Yoshida
kohei.yoshida at collabora.com
Sun Mar 9 18:35:41 PDT 2014
sc/source/core/data/dpoutput.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit f86d94a2d1b3a61d290c072431c0af8446ec15bf
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date: Sun Mar 9 21:28:05 2014 -0400
fdo#75962: Avoid unwanted number detection when placing page field name.
Change-Id: I1a3c57ec029e03198b8f190acfa8d59e142acaba
(cherry picked from commit 0919979bd1da3379e030b353a097d8fe1fd8341a)
diff --git a/sc/source/core/data/dpoutput.cxx b/sc/source/core/data/dpoutput.cxx
index cb43ecc..c03b8ce 100644
--- a/sc/source/core/data/dpoutput.cxx
+++ b/sc/source/core/data/dpoutput.cxx
@@ -1003,7 +1003,9 @@ void ScDPOutput::Output()
else if (n > 1)
aPageValue = ScResId(SCSTR_MULTIPLE).toString();
- pDoc->SetString( nFldCol, nHdrRow, nTab, aPageValue );
+ ScSetStringParam aParam;
+ aParam.setTextInput();
+ pDoc->SetString(nFldCol, nHdrRow, nTab, aPageValue, &aParam);
lcl_SetFrame( pDoc,nTab, nFldCol,nHdrRow, nFldCol,nHdrRow, 20 );
}
More information about the Libreoffice-commits
mailing list