summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/excimp8.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-06 16:33:19 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-07 11:05:04 +0200
commitdc47b2e5136f0f767273dc5fdba5c822575e194b (patch)
tree128ac4f7f3aca38d0928b76e529ae7fae021f7c3 /sc/source/filter/excel/excimp8.cxx
parente14b7660f622a83fe97635649674ade05fe1eb72 (diff)
Unwind SotStorageRef typedef
Change-Id: I8d5363bb2ad813ef29b4078848914f4b0989b9f1
Diffstat (limited to 'sc/source/filter/excel/excimp8.cxx')
-rw-r--r--sc/source/filter/excel/excimp8.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/excimp8.cxx b/sc/source/filter/excel/excimp8.cxx
index 58d486e609a0..65d334eef9fd 100644
--- a/sc/source/filter/excel/excimp8.cxx
+++ b/sc/source/filter/excel/excimp8.cxx
@@ -373,7 +373,7 @@ void ImportExcel8::Feat()
void ImportExcel8::ReadBasic()
{
SfxObjectShell* pShell = GetDocShell();
- SotStorageRef xRootStrg = GetRootStorage();
+ tools::SvRef<SotStorage> xRootStrg = GetRootStorage();
const SvtFilterOptions& rFilterOpt = SvtFilterOptions::Get();
if( pShell && xRootStrg.Is() ) try
{
@@ -468,7 +468,7 @@ void ImportExcel8::LoadDocumentProperties()
if( SfxObjectShell* pShell = GetDocShell() )
{
// BIFF5+ without storage is possible
- SotStorageRef xRootStrg = GetRootStorage();
+ tools::SvRef<SotStorage> xRootStrg = GetRootStorage();
if( xRootStrg.Is() ) try
{
uno::Reference< document::XDocumentPropertiesSupplier > xDPS( pShell->GetModel(), uno::UNO_QUERY_THROW );