summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-01-30 14:28:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-01-31 10:59:40 +0100
commit553fcbbb39a674df34475fc92a1ee3410d68c215 (patch)
treea2b5d19157543f465b916fb1a799fe13ad3fa6ca /sal
parent8da8cc3c9322e4b9438bbb5f4a80af80dbbfe008 (diff)
loplugin:unnecessaryparen (clang-cl)
Change-Id: I0cd14e0ace9c9d2fcd880477b0485295e3010b71 Reviewed-on: https://gerrit.libreoffice.org/67138 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/w32/file.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/w32/file.cxx b/sal/osl/w32/file.cxx
index 0c3f3d9621fe..a3600844fd29 100644
--- a/sal/osl/w32/file.cxx
+++ b/sal/osl/w32/file.cxx
@@ -312,7 +312,7 @@ oslFileError FileHandle_Impl::readFileAt(
for (*pBytesRead = 0; nBytesRequested > 0;)
{
LONGLONG const bufptr = (nOffset / m_bufsiz) * m_bufsiz;
- SIZE_T const bufpos = (nOffset % m_bufsiz);
+ SIZE_T const bufpos = nOffset % m_bufsiz;
if (bufptr != m_bufptr)
{
@@ -391,7 +391,7 @@ oslFileError FileHandle_Impl::writeFileAt(
for (*pBytesWritten = 0; nBytesToWrite > 0;)
{
LONGLONG const bufptr = (nOffset / m_bufsiz) * m_bufsiz;
- SIZE_T const bufpos = (nOffset % m_bufsiz);
+ SIZE_T const bufpos = nOffset % m_bufsiz;
if (bufptr != m_bufptr)
{
// flush current buffer