diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-02-25 05:41:44 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-02-25 05:43:16 +0100 |
commit | 76b3e61bb4ac66decd7800ef309f3241e77d538f (patch) | |
tree | 6b5f3e8a2c644386f6569b009237ee63040bcde2 /ucb/source/ucp | |
parent | 7cbeac07d21413443889e6ee777a428782e746ae (diff) |
loplugin: unused variables
Change-Id: I07b82471f0f32e9e894d4eb392beedeafc6be0c7
Diffstat (limited to 'ucb/source/ucp')
-rw-r--r-- | ucb/source/ucp/cmis/cmis_url.cxx | 3 | ||||
-rw-r--r-- | ucb/source/ucp/file/shell.cxx | 3 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpurl.cxx | 1 | ||||
-rw-r--r-- | ucb/source/ucp/gvfs/gvfs_content.cxx | 6 | ||||
-rw-r--r-- | ucb/source/ucp/package/pkgcontent.cxx | 1 | ||||
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_content.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.cxx | 3 |
7 files changed, 0 insertions, 19 deletions
diff --git a/ucb/source/ucp/cmis/cmis_url.cxx b/ucb/source/ucp/cmis/cmis_url.cxx index dc23c9e04f1c..db7f613201a8 100644 --- a/ucb/source/ucp/cmis/cmis_url.cxx +++ b/ucb/source/ucp/cmis/cmis_url.cxx @@ -41,9 +41,6 @@ namespace cmis { URL::URL( rtl::OUString const & urlStr ) { - rtl::OUString sBindingUrl; - rtl::OUString sRepositoryId; - INetURLObject aUrl( urlStr ); // Decode the authority to get the binding URL and repository id diff --git a/ucb/source/ucp/file/shell.cxx b/ucb/source/ucp/file/shell.cxx index 6afb2d40c5a1..8054bbadfe46 100644 --- a/ucb/source/ucp/file/shell.cxx +++ b/ucb/source/ucp/file/shell.cxx @@ -1272,10 +1272,7 @@ shell::move( sal_Int32 CommandId, copyPersistentSet( srcUnqPath,dstUnqPath,!isDocument ); rtl::OUString aDstParent = getParentName( dstUnqPath ); - rtl::OUString aDstTitle = getTitle( dstUnqPath ); - rtl::OUString aSrcParent = getParentName( srcUnqPath ); - rtl::OUString aSrcTitle = getTitle( srcUnqPath ); notifyInsert( getContentEventListeners( aDstParent ),dstUnqPath ); if( aDstParent != aSrcParent ) diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx index b3002fadab5c..b832b69d9f47 100644 --- a/ucb/source/ucp/ftp/ftpurl.cxx +++ b/ucb/source/ucp/ftp/ftpurl.cxx @@ -441,7 +441,6 @@ std::vector<FTPDirentry> FTPURL::list( sal_uInt32 len = data.m_nWritePos; char* fwd = (char*) data.m_pBuffer; - rtl::OString str(fwd,len); char *p1, *p2; p1 = p2 = fwd; diff --git a/ucb/source/ucp/gvfs/gvfs_content.cxx b/ucb/source/ucp/gvfs/gvfs_content.cxx index 7d29e0f4faa9..27732f298fd3 100644 --- a/ucb/source/ucp/gvfs/gvfs_content.cxx +++ b/ucb/source/ucp/gvfs/gvfs_content.cxx @@ -326,12 +326,6 @@ uno::Any SAL_CALL Content::execute( aRet <<= getCommandInfo( xEnv, sal_False ); } else if ( COMMAND_IS( aCommand, "open" ) ) { - rtl::OUString str = m_xIdentifier->getContentIdentifier(); - rtl::OString stra( - str.getStr(), - str.getLength(), - RTL_TEXTENCODING_UTF8); - ucb::OpenCommandArgument2 aOpenCommand; if ( !( aCommand.Argument >>= aOpenCommand ) ) ucbhelper::cancelCommandExecution ( getBadArgExcept (), xEnv ); diff --git a/ucb/source/ucp/package/pkgcontent.cxx b/ucb/source/ucp/package/pkgcontent.cxx index 389f67ca1690..40f345a841e9 100644 --- a/ucb/source/ucp/package/pkgcontent.cxx +++ b/ucb/source/ucp/package/pkgcontent.cxx @@ -1484,7 +1484,6 @@ uno::Any Content::open( // Unreachable } - rtl::OUString aURL = m_xIdentifier->getContentIdentifier(); uno::Reference< io::XOutputStream > xOut( rArg.Sink, uno::UNO_QUERY ); if ( xOut.is() ) { diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx index c067b6257173..179d3dbc6182 100644 --- a/ucb/source/ucp/tdoc/tdoc_content.cxx +++ b/ucb/source/ucp/tdoc/tdoc_content.cxx @@ -1442,8 +1442,6 @@ uno::Any Content::open( osl::Guard< osl::Mutex > aGuard( m_aMutex ); - rtl::OUString aURL = m_xIdentifier->getContentIdentifier(); - uno::Reference< io::XActiveDataStreamer > xDataStreamer( rArg.Sink, uno::UNO_QUERY ); if ( xDataStreamer.is() ) diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx index a00763e7540d..5c2aa05d593d 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -1896,7 +1896,6 @@ uno::Any Content::open( // Unreachable } - rtl::OUString aURL = m_xIdentifier->getContentIdentifier(); uno::Reference< io::XOutputStream > xOut = uno::Reference< io::XOutputStream >( rArg.Sink, uno::UNO_QUERY ); if ( xOut.is() ) @@ -2639,8 +2638,6 @@ void Content::destroy( sal_Bool bDeletePhysical ) throw( uno::Exception ) { // @@@ take care about bDeletePhysical -> trashcan support - rtl::OUString aURL = m_xIdentifier->getContentIdentifier(); - uno::Reference< ucb::XContent > xThis = this; deleted(); |