[Libreoffice-commits] core.git: Branch 'distro/suse/suse-4.0' - sw/source

Andras Timar andras.timar at collabora.com
Wed Jun 25 10:11:54 PDT 2014


 sw/source/ui/dbui/dbmgr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fadd478b66a68d3738b195c680774e4aaad413a7
Author: Andras Timar <andras.timar at collabora.com>
Date:   Wed Jun 25 10:12:00 2014 -0700

    build fix
    
    Change-Id: I52399b2f47deefb6212f2f376c8ec3cf98ea2340

diff --git a/sw/source/ui/dbui/dbmgr.cxx b/sw/source/ui/dbui/dbmgr.cxx
index 24d2890..a3c4ca8 100644
--- a/sw/source/ui/dbui/dbmgr.cxx
+++ b/sw/source/ui/dbui/dbmgr.cxx
@@ -1652,7 +1652,7 @@ String SwNewDBMgr::GetDBField(uno::Reference<XPropertySet> xColumnProps,
             try
             {
                 sRet = xColumn->getString();
-                sRet = sRet.replace( '\xb', '\n' ); // MSWord uses \xb as a newline
+                sRet.SearchAndReplaceAll( '\xb', '\n' ); // MSWord uses \xb as a newline
             }
             catch(const SQLException&)
             {


More information about the Libreoffice-commits mailing list