summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-14 16:37:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-14 16:37:00 +0100
commita7efb9b8dd0b7deee49975961ca49f6838648614 (patch)
tree1cbe73d3f6542474d4bd14680b97fc850789f985 /tools
parent979d8f30c6819770935943a3e338cd42de071e02 (diff)
loplugin: fix some indents and unused OUStrings
Change-Id: I1d7256eea7a79453d3cdb85d1edcf824d58d775e
Diffstat (limited to 'tools')
-rw-r--r--tools/source/fsys/dirent.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/fsys/dirent.cxx b/tools/source/fsys/dirent.cxx
index aef12998b722..6efde8a9b427 100644
--- a/tools/source/fsys/dirent.cxx
+++ b/tools/source/fsys/dirent.cxx
@@ -872,7 +872,7 @@ String DirEntry::GetExtension( char cSep ) const
const char *p0 = aName.getStr();
const char *p1 = p0 + aName.getLength() - 1;
while ( p1 >= p0 && *p1 != cSep )
- p1--;
+ p1--;
if ( p1 >= p0 )
{