[Libreoffice-commits] .: writerfilter/source
Miklos Vajna
vmiklos at kemper.freedesktop.org
Tue Apr 24 03:33:15 PDT 2012
writerfilter/source/rtftok/rtfdocumentimpl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 836d56dd563523853e4b9d4bbe7e6f93c1710a2a
Author: Miklos Vajna <vmiklos at suse.cz>
Date: Tue Apr 24 12:30:41 2012 +0200
WaE: make MSVC happy wrt. RTFDocumentImpl::dispatchDestination()
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 750e473..50f84c4 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -1062,7 +1062,7 @@ int RTFDocumentImpl::dispatchDestination(RTFKeyword nKeyword)
// Look for the field type
sal_Int32 nPos = Strm().Tell();
OStringBuffer aBuf;
- char ch;
+ char ch = 0;
bool bFoundCode = false;
bool bInKeyword = false;
while (!bFoundCode && ch != '}')
More information about the Libreoffice-commits
mailing list