[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - writerfilter/source
László Németh
nemeth at collabora.com
Wed Dec 17 02:50:36 PST 2014
writerfilter/source/rtftok/rtfdocumentimpl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1008f8aa1cd59891cb3c766cbb4f29de6f4cc7a3
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 1ae1986..265fa1d 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -5214,7 +5214,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