summaryrefslogtreecommitdiffstats
path: root/sc/source
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/dataprovider/csvdataprovider.cxx2
-rw-r--r--sc/source/ui/dataprovider/htmldataprovider.cxx2
-rw-r--r--sc/source/ui/vba/vbacomment.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/dataprovider/csvdataprovider.cxx b/sc/source/ui/dataprovider/csvdataprovider.cxx
index 8e619e63f771..e868e2269358 100644
--- a/sc/source/ui/dataprovider/csvdataprovider.cxx
+++ b/sc/source/ui/dataprovider/csvdataprovider.cxx
@@ -102,7 +102,7 @@ void CSVFetchThread::EndThread()
void CSVFetchThread::execute()
{
OStringBuffer aBuffer(64000);
- std::unique_ptr<SvStream> pStream = DataProvider::FetchStreamFromURL(maURL, aBuffer);
+ DataProvider::FetchStreamFromURL(maURL, aBuffer);
if (mbTerminate)
return;
diff --git a/sc/source/ui/dataprovider/htmldataprovider.cxx b/sc/source/ui/dataprovider/htmldataprovider.cxx
index b8b7b3746d2c..39a30c8754b9 100644
--- a/sc/source/ui/dataprovider/htmldataprovider.cxx
+++ b/sc/source/ui/dataprovider/htmldataprovider.cxx
@@ -182,7 +182,7 @@ void HTMLFetchThread::handleTable(xmlNodePtr pTable)
void HTMLFetchThread::execute()
{
OStringBuffer aBuffer(64000);
- std::unique_ptr<SvStream> pStream = DataProvider::FetchStreamFromURL(maURL, aBuffer);
+ DataProvider::FetchStreamFromURL(maURL, aBuffer);
if (aBuffer.isEmpty())
return;
diff --git a/sc/source/ui/vba/vbacomment.cxx b/sc/source/ui/vba/vbacomment.cxx
index d78863cd1f78..1552fadb240e 100644
--- a/sc/source/ui/vba/vbacomment.cxx
+++ b/sc/source/ui/vba/vbacomment.cxx
@@ -51,7 +51,7 @@ ScVbaComment::ScVbaComment(
{
if ( !xRange.is() )
throw lang::IllegalArgumentException("range is not set ", uno::Reference< uno::XInterface >() , 1 );
- uno::Reference< text::XSimpleText > xAnnoText( getAnnotation(), uno::UNO_QUERY );
+ getAnnotation();
}
// private helper functions