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

László Németh nemeth at collabora.com
Wed Dec 17 02:48:33 PST 2014


 writerfilter/source/rtftok/rtfdocumentimpl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit acfd640fd8547d3275c5db714b88d52b3fe7c4d5
Author: László Németh <nemeth at collabora.com>
Date:   Wed Dec 17 11:45:55 2014 +0100

    fix Windows build
    
    Change-Id: I690163d7ab6d62c93da33d416e8757311f5d35c1

diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 6df07ce..151daa8 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -5202,7 +5202,7 @@ int RTFDocumentImpl::popState()
             break; // not for nested group
         OUString str(m_aStates.top().pDestinationText->makeStringAndClear());
         // dmapper expects this as a field, so let's fake something...
-        OUString const field(
+        OUString const field = OUString::createFromAscii(
             (DESTINATION_INDEXENTRY == aState.nDestinationState) ? "XE" : "TC");
         str = field + " \"" + str.replaceAll("\"", "\\\"") + "\"";
         singleChar(0x13);


More information about the Libreoffice-commits mailing list