-Werror,-Wunused-member-function

Change-Id: If52a2614cfa9697e9aa5ec7af21577edef06b2f8
This commit is contained in:
Stephan Bergmann
2013-11-13 09:51:23 +01:00
parent 54df89611e
commit 32f125f6e3

View File

@@ -307,20 +307,6 @@ namespace
return aWorkPathObj.GetMainURL( INetURLObject::NO_DECODE );
}
//---------------------------------------------------------------------
struct RemoveFinalSlash : public ::std::unary_function< OUString, void >
{
void operator()( OUString& _rURL )
{
INetURLObject aURL( _rURL );
#if defined(WNT)
if ( aURL.getSegmentCount() > 1 )
#endif
aURL.removeFinalSlash( );
_rURL = aURL.GetMainURL( INetURLObject::NO_DECODE );
}
};
// -----------------------------------------------------------------------
/** retrieves the value of an environment variable
@return <TRUE/> if and only if the retrieved string value is not empty