[Libreoffice-commits] core.git: sdext/source
Stephan Bergmann
sbergman at redhat.com
Wed Jul 5 20:50:29 UTC 2017
sdext/source/pdfimport/pdfparse/pdfparse.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d4ffca1e071536f5c3f66ddcc8156540055eace4
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Jul 5 22:49:59 2017 +0200
loplugin:unnecessaryparen
Change-Id: Ifeacfc198c71ae1224ef38a4c8b95b31364f8227
diff --git a/sdext/source/pdfimport/pdfparse/pdfparse.cxx b/sdext/source/pdfimport/pdfparse/pdfparse.cxx
index 8337930e5c20..9fa0545bbb10 100644
--- a/sdext/source/pdfimport/pdfparse/pdfparse.cxx
+++ b/sdext/source/pdfimport/pdfparse/pdfparse.cxx
@@ -243,7 +243,7 @@ public:
>> uint_p[boost::bind(&PDFGrammar::push_back_action_uint, pSelf, _1)]
>> ch_p('.')
>> uint_p[boost::bind(&PDFGrammar::push_back_action_uint, pSelf, _1)]
- >> *((~ch_p('\r') & ~ch_p('\n')))
+ >> *(~ch_p('\r') & ~ch_p('\n'))
>> eol_p
])[boost::bind(&PDFGrammar::haveFile,pSelf, _1, _2)]
>> *( comment | object | ( xref >> trailer ) );
More information about the Libreoffice-commits
mailing list