[Libreoffice-commits] core.git: writerfilter/source
Stephan Bergmann
sbergman at redhat.com
Thu Aug 27 13:49:59 PDT 2015
writerfilter/source/dmapper/DomainMapper_Impl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c7d7083a8785dba83ff23cb55043540baac6977d
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Aug 27 22:49:32 2015 +0200
loplugin:defaultparams
Change-Id: Ifd4c92d2013b5698d9657f599db8af345437b079
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index c47584e..b47d870 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -2974,7 +2974,7 @@ void DomainMapper_Impl::handleRubyEQField( FieldContextPtr pContext)
nIndex = 0;
OUString sPart1 = sRubyParts.getToken(0, ',', nIndex);
OUString sPart2 = sRubyParts.getToken(0, ',', nIndex);
- if ((nIndex = sPart1.indexOf('(', 0)) != -1 && (nEnd = sPart1.lastIndexOf(')'))!=-1 )
+ if ((nIndex = sPart1.indexOf('(')) != -1 && (nEnd = sPart1.lastIndexOf(')'))!=-1 )
{
aInfo.sRubyText = sPart1.copy(nIndex+1,nEnd-nIndex-1);
}
More information about the Libreoffice-commits
mailing list