Kaydet (Commit) b5d9e500 authored tarafından Miklos Vajna's avatar Miklos Vajna

microopt, avoid unnecessary call to Tell()

üst 92c7b673
......@@ -87,8 +87,8 @@ int RTFTokenizer::resolveParse()
{
//SAL_INFO("writerfilter", OSL_THIS_FUNC << ": parsing character '" << ch << "'");
sal_uInt32 nCurrentPos = Strm().Tell();
if (m_xStatusIndicator.is() && nCurrentPos > (nLastPos + nPercentSize))
sal_uInt32 nCurrentPos;
if (m_xStatusIndicator.is() && (nCurrentPos = Strm().Tell()) > (nLastPos + nPercentSize))
m_xStatusIndicator->setValue(nLastPos = nCurrentPos);
if (m_rImport.getGroup() < 0)
......
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