summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/sfxbasemodel.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-11 15:40:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-12 09:56:01 +0200
commit389da66dfc96d06c407bff156c4ea21e940c5e06 (patch)
tree2d1ebce6bdb2d952700ed5aaeb808289e9f72a7d /sfx2/source/doc/sfxbasemodel.cxx
parenta651dbcfca9e198b5c2561076961504586bc6bea (diff)
remove unused uno::Reference vars
found by temporarily marking Reference as SAL_WARN_UNUSED. Change-Id: I18809b62654467f890016adcc92576980ced393b Reviewed-on: https://gerrit.libreoffice.org/37511 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/doc/sfxbasemodel.cxx')
-rw-r--r--sfx2/source/doc/sfxbasemodel.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index 28dedc648552..183ee4ae1aea 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -3631,7 +3631,6 @@ void SAL_CALL SfxBaseModel::storeToStorage( const Reference< embed::XStorage >&
{
SfxModelGuard aGuard( *this );
- Reference< embed::XStorage > xResult;
if ( !m_pData->m_pObjectShell.is() )
throw io::IOException(); // TODO:
@@ -3689,7 +3688,6 @@ void SAL_CALL SfxBaseModel::switchToStorage( const Reference< embed::XStorage >&
{
SfxModelGuard aGuard( *this );
- Reference< embed::XStorage > xResult;
if ( !m_pData->m_pObjectShell.is() )
throw io::IOException(); // TODO:
@@ -3718,7 +3716,6 @@ Reference< embed::XStorage > SAL_CALL SfxBaseModel::getDocumentStorage()
{
SfxModelGuard aGuard( *this );
- Reference< embed::XStorage > xResult;
if ( !m_pData->m_pObjectShell.is() )
throw io::IOException(); // TODO