summaryrefslogtreecommitdiffstats
path: root/lingucomponent/source/lingutil/lingutil.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lingucomponent/source/lingutil/lingutil.cxx')
-rw-r--r--lingucomponent/source/lingutil/lingutil.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/lingucomponent/source/lingutil/lingutil.cxx b/lingucomponent/source/lingutil/lingutil.cxx
index 89dcc77034ff..ca5f34b66b06 100644
--- a/lingucomponent/source/lingutil/lingutil.cxx
+++ b/lingucomponent/source/lingutil/lingutil.cxx
@@ -47,22 +47,6 @@
using ::com::sun::star::lang::Locale;
using namespace ::com::sun::star;
-#if 0
-//////////////////////////////////////////////////////////////////////
-
-String GetDirectoryPathFromFileURL( const String &rFileURL )
-{
- // get file URL
- INetURLObject aURLObj;
- aURLObj.SetSmartProtocol( INET_PROT_FILE );
- aURLObj.SetSmartURL( rFileURL );
- aURLObj.removeSegment();
- DBG_ASSERT( !aURLObj.HasError(), "invalid URL" );
- String aRes = aURLObj.GetMainURL( INetURLObject::DECODE_TO_IURI );
- return aRes;
-}
-#endif
-
#if defined(WNT)
rtl::OString Win_GetShortPathName( const rtl::OUString &rLongPathName )
{