From 32f125f6e3022bc9d938ebe7c9165f73c5943ce4 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 13 Nov 2013 09:51:23 +0100 Subject: [PATCH] -Werror,-Wunused-member-function Change-Id: If52a2614cfa9697e9aa5ec7af21577edef06b2f8 --- fpicker/source/office/iodlg.cxx | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index f35ca3b25fc4..ffa611175ddb 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -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 if and only if the retrieved string value is not empty