diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-10-23 10:01:49 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-10-23 10:26:41 +0200 |
commit | 96365ae6e670678919951859f4ddc61e86a5df02 (patch) | |
tree | ab97b9861686548764abf5a2f340caa8109f7559 /writerfilter | |
parent | fdo#46808, Adapt ui::dialogs::FolderPicker UNO service to new style (diff) | |
download | core-96365ae6e670678919951859f4ddc61e86a5df02.tar.gz core-96365ae6e670678919951859f4ddc61e86a5df02.zip |
-Werror=maybe-uninitialized
Change-Id: I31eefa2444d7d108103818785e83816d07f8cde2
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/rtftok/rtftokenizer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/source/rtftok/rtftokenizer.cxx b/writerfilter/source/rtftok/rtftokenizer.cxx index 471462ce4344..de5cffff6cc2 100644 --- a/writerfilter/source/rtftok/rtftokenizer.cxx +++ b/writerfilter/source/rtftok/rtftokenizer.cxx @@ -92,8 +92,8 @@ int RTFTokenizer::resolveParse() { //SAL_INFO("writerfilter", OSL_THIS_FUNC << ": parsing character '" << ch << "'"); - sal_uInt32 nCurrentPos; - if (m_xStatusIndicator.is() && (nCurrentPos = Strm().Tell()) > (nLastPos + nPercentSize)) + sal_uInt32 nCurrentPos = Strm().Tell(); + if (m_xStatusIndicator.is() && nCurrentPos > (nLastPos + nPercentSize)) m_xStatusIndicator->setValue(nLastPos = nCurrentPos); if (m_nGroup < 0) |