diff options
author | Xisco Fauli <anistenis@gmail.com> | 2011-03-01 16:38:42 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-01 16:38:42 +0100 |
commit | 2d43419e1b35ba9eb3c5b9bd999241c2cdab7946 (patch) | |
tree | 784657f14083d20d9dc7a1d1562767f0e7b75993 /fpicker | |
parent | 846ab4ee7451ac853c752908660605871c795783 (diff) |
Remove Dead Code
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/win32/filepicker/workbench/Test_fps.cxx | 8 | ||||
-rw-r--r-- | fpicker/source/win32/folderpicker/workbench/Test_fops.cxx | 21 |
2 files changed, 0 insertions, 29 deletions
diff --git a/fpicker/source/win32/filepicker/workbench/Test_fps.cxx b/fpicker/source/win32/filepicker/workbench/Test_fps.cxx index c5458dd8e167..f698ea059d0b 100644 --- a/fpicker/source/win32/filepicker/workbench/Test_fps.cxx +++ b/fpicker/source/win32/filepicker/workbench/Test_fps.cxx @@ -281,14 +281,6 @@ int SAL_CALL main(int nArgc, char* Argv[], char* Env[] ) //------------------------------------------------- Sequence< Any > arguments(1); - //arguments[0] = makeAny( FILEOPEN_SIMPLE ); - //arguments[0] = makeAny( FILESAVE_SIMPLE ); - //arguments[0] = makeAny( FILESAVE_AUTOEXTENSION_PASSWORD ); - //arguments[0] = makeAny( FILESAVE_AUTOEXTENSION_PASSWORD_FILTEROPTIONS ); - //arguments[0] = makeAny( FILESAVE_AUTOEXTENSION_SELECTION ); - //arguments[0] = makeAny( FILESAVE_AUTOEXTENSION_TEMPLATE ); - //arguments[0] = makeAny( FILEOPEN_LINK_PREVIEW_IMAGE_TEMPLATE ); - //arguments[0] = makeAny( FILEOPEN_PLAY ); arguments[0] = makeAny( FILEOPEN_READONLY_VERSION ); Reference< XFilePicker > xFilePicker = Reference< XFilePicker >( diff --git a/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx b/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx index d8fcde3ccc05..7c5a90ca67db 100644 --- a/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx +++ b/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx @@ -86,27 +86,6 @@ using namespace std ; Reference< XMultiServiceFactory > g_xFactory; -/* -void CreateDeepDirectory( ) -{ - // create a deep directory - - OUString aPathURL( L"file:///d|/Deep" ); - OUString normalizedPath; - - OSL_ASSERT( ::osl::FileBase::E_None == \ - ::osl::FileBase::getNormalizedPathFromFileURL( aPathURL, normalizedPath ) ); - - while( ::osl::FileBase::E_None == osl::Directory::create( normalizedPath ) ) - { - aPathURL += L"/Deep"; - OSL_ASSERT( ::osl::FileBase::E_None == \ - ::osl::FileBase::getNormalizedPathFromFileURL( aPathURL, normalizedPath ) ); - } - -} -*/ - //-------------------------------------------------------------- // main //-------------------------------------------------------------- |