summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-03-07 19:11:36 +0100
committerDavid Tardon <dtardon@redhat.com>2012-03-12 08:53:23 +0100
commit8cb481ba1818b1eb2ff6d2b64b73b64df0c50d7a (patch)
tree93c819005d7d29a51a0d73dc115b5b7f246a1d08 /tools
parentd371852d7fac717023549af554ea283d72eac5bc (diff)
WaE: declaration of 'aName' shadows a member of 'this'
Diffstat (limited to 'tools')
-rw-r--r--tools/source/fsys/wntmsc.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/fsys/wntmsc.cxx b/tools/source/fsys/wntmsc.cxx
index 055f9ed551cc..e958e192d5b5 100644
--- a/tools/source/fsys/wntmsc.cxx
+++ b/tools/source/fsys/wntmsc.cxx
@@ -151,13 +151,13 @@ String DirEntry::GetVolume() const
String aRet;
const DirEntry *pTop = ImpGetTopPtr();
- rtl::OString aName = rtl::OString(pTop->aName).toAsciiLowerCase();
+ rtl::OString aTopName = rtl::OString(pTop->aName).toAsciiLowerCase();
if ( ( pTop->eFlag == FSYS_FLAG_ABSROOT ||
pTop->eFlag == FSYS_FLAG_RELROOT ||
pTop->eFlag == FSYS_FLAG_VOLUME )
- && !aName.equalsL(RTL_CONSTASCII_STRINGPARAM("a:"))
- && !aName.equalsL(RTL_CONSTASCII_STRINGPARAM("b:")) && Exists() )
+ && !aTopName.equalsL(RTL_CONSTASCII_STRINGPARAM("a:"))
+ && !aTopName.equalsL(RTL_CONSTASCII_STRINGPARAM("b:")) && Exists() )
{
char sFileSysName[256];
char sVolumeName[256];