Kaydet (Commit) 243fbda5 authored tarafından David Tardon's avatar David Tardon

WaE: unused parameter

üst 42e84105
...@@ -721,6 +721,8 @@ DirEntry::DirEntry( const String& rInitName, FSysPathStyle eStyle ) ...@@ -721,6 +721,8 @@ DirEntry::DirEntry( const String& rInitName, FSysPathStyle eStyle )
{ {
DBG_CTOR( DirEntry, ImpCheckDirEntry ); DBG_CTOR( DirEntry, ImpCheckDirEntry );
(void) eStyle; // only used for DBG_UTIL
pParent = NULL; pParent = NULL;
// schnelle Loesung fuer Leerstring // schnelle Loesung fuer Leerstring
...@@ -736,7 +738,9 @@ DirEntry::DirEntry( const String& rInitName, FSysPathStyle eStyle ) ...@@ -736,7 +738,9 @@ DirEntry::DirEntry( const String& rInitName, FSysPathStyle eStyle )
{ {
DBG_WARNING( "File URLs are not permitted but accepted" ); DBG_WARNING( "File URLs are not permitted but accepted" );
aTmpName = rtl::OUStringToOString(INetURLObject( rInitName ).PathToFileName(), osl_getThreadTextEncoding()); aTmpName = rtl::OUStringToOString(INetURLObject( rInitName ).PathToFileName(), osl_getThreadTextEncoding());
#ifdef DBG_UTIL
eStyle = FSYS_STYLE_HOST; eStyle = FSYS_STYLE_HOST;
#endif
} }
else else
{ {
...@@ -773,6 +777,8 @@ DirEntry::DirEntry( const rtl::OString& rInitName, FSysPathStyle eStyle ) ...@@ -773,6 +777,8 @@ DirEntry::DirEntry( const rtl::OString& rInitName, FSysPathStyle eStyle )
{ {
DBG_CTOR( DirEntry, ImpCheckDirEntry ); DBG_CTOR( DirEntry, ImpCheckDirEntry );
(void) eStyle; // only used for DBG_UTIL
pParent = NULL; pParent = NULL;
// schnelle Loesung fuer Leerstring // schnelle Loesung fuer Leerstring
...@@ -788,7 +794,9 @@ DirEntry::DirEntry( const rtl::OString& rInitName, FSysPathStyle eStyle ) ...@@ -788,7 +794,9 @@ DirEntry::DirEntry( const rtl::OString& rInitName, FSysPathStyle eStyle )
{ {
DBG_WARNING( "File URLs are not permitted but accepted" ); DBG_WARNING( "File URLs are not permitted but accepted" );
aTmpName = rtl::OUStringToOString(INetURLObject( rInitName ).PathToFileName(), osl_getThreadTextEncoding()); aTmpName = rtl::OUStringToOString(INetURLObject( rInitName ).PathToFileName(), osl_getThreadTextEncoding());
#ifdef DBG_UTIL
eStyle = FSYS_STYLE_HOST; eStyle = FSYS_STYLE_HOST;
#endif
} }
#ifdef DBG_UTIL #ifdef DBG_UTIL
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment