Kaydet (Commit) acfd640f authored tarafından László Németh's avatar László Németh

fix Windows build

Change-Id: I690163d7ab6d62c93da33d416e8757311f5d35c1
üst eda423d7
...@@ -5202,7 +5202,7 @@ int RTFDocumentImpl::popState() ...@@ -5202,7 +5202,7 @@ int RTFDocumentImpl::popState()
break; // not for nested group break; // not for nested group
OUString str(m_aStates.top().pDestinationText->makeStringAndClear()); OUString str(m_aStates.top().pDestinationText->makeStringAndClear());
// dmapper expects this as a field, so let's fake something... // 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"); (DESTINATION_INDEXENTRY == aState.nDestinationState) ? "XE" : "TC");
str = field + " \"" + str.replaceAll("\"", "\\\"") + "\""; str = field + " \"" + str.replaceAll("\"", "\\\"") + "\"";
singleChar(0x13); singleChar(0x13);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment