summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-02-17 09:13:12 +0100
committerDavid Tardon <dtardon@redhat.com>2012-02-17 09:14:43 +0100
commit243fbda523cb71d0919539081d286eec4717ce15 (patch)
tree171783f78fe0fd08db6c0ceb0d302b41f1657aac /tools
parentcomponent file moved (diff)
downloadcore-243fbda523cb71d0919539081d286eec4717ce15.tar.gz
core-243fbda523cb71d0919539081d286eec4717ce15.zip
WaE: unused parameter
Diffstat (limited to 'tools')
-rw-r--r--tools/source/fsys/dirent.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/source/fsys/dirent.cxx b/tools/source/fsys/dirent.cxx
index 3fa68692eb6c..ca4bef080084 100644
--- a/tools/source/fsys/dirent.cxx
+++ b/tools/source/fsys/dirent.cxx
@@ -721,6 +721,8 @@ DirEntry::DirEntry( const String& rInitName, FSysPathStyle eStyle )
{
DBG_CTOR( DirEntry, ImpCheckDirEntry );
+ (void) eStyle; // only used for DBG_UTIL
+
pParent = NULL;
// schnelle Loesung fuer Leerstring
@@ -736,7 +738,9 @@ DirEntry::DirEntry( const String& rInitName, FSysPathStyle eStyle )
{
DBG_WARNING( "File URLs are not permitted but accepted" );
aTmpName = rtl::OUStringToOString(INetURLObject( rInitName ).PathToFileName(), osl_getThreadTextEncoding());
+#ifdef DBG_UTIL
eStyle = FSYS_STYLE_HOST;
+#endif
}
else
{
@@ -773,6 +777,8 @@ DirEntry::DirEntry( const rtl::OString& rInitName, FSysPathStyle eStyle )
{
DBG_CTOR( DirEntry, ImpCheckDirEntry );
+ (void) eStyle; // only used for DBG_UTIL
+
pParent = NULL;
// schnelle Loesung fuer Leerstring
@@ -788,7 +794,9 @@ DirEntry::DirEntry( const rtl::OString& rInitName, FSysPathStyle eStyle )
{
DBG_WARNING( "File URLs are not permitted but accepted" );
aTmpName = rtl::OUStringToOString(INetURLObject( rInitName ).PathToFileName(), osl_getThreadTextEncoding());
+#ifdef DBG_UTIL
eStyle = FSYS_STYLE_HOST;
+#endif
}
#ifdef DBG_UTIL
else