[Libreoffice-commits] core.git: sfx2/source
Maxim Monastirsky
momonasmon at gmail.com
Wed Dec 23 09:17:26 PST 2015
sfx2/source/doc/guisaveas.cxx | 15 ---------------
1 file changed, 15 deletions(-)
New commits:
commit ea708936c4684668f9aefc3ce9ec2001dbd4bdf2
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date: Wed Dec 23 19:11:04 2015 +0200
loplugin:unreffun
Change-Id: If2ad0e252d2cfa204564b86cb2c6d0886d5fa107
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index 161e320..ddf888c 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -257,7 +257,6 @@ class ModelData_Impl
uno::Reference< frame::XModel > m_xModel;
uno::Reference< frame::XStorable > m_xStorable;
uno::Reference< frame::XStorable2 > m_xStorable2;
- uno::Reference< util::XModifiable > m_xModifiable;
OUString m_aModuleName;
::comphelper::SequenceAsHashMap* m_pDocumentPropsHM;
@@ -279,7 +278,6 @@ public:
uno::Reference< frame::XModel > GetModel();
uno::Reference< frame::XStorable > GetStorable();
uno::Reference< frame::XStorable2 > GetStorable2();
- uno::Reference< util::XModifiable > GetModifiable();
::comphelper::SequenceAsHashMap& GetMediaDescr() { return m_aMediaDescrHM; }
@@ -419,19 +417,6 @@ uno::Reference< frame::XStorable2 > ModelData_Impl::GetStorable2()
}
-uno::Reference< util::XModifiable > ModelData_Impl::GetModifiable()
-{
- if ( !m_xModifiable.is() )
- {
- m_xModifiable.set( m_xModel, uno::UNO_QUERY );
- if ( !m_xModifiable.is() )
- throw uno::RuntimeException();
- }
-
- return m_xModifiable;
-}
-
-
const ::comphelper::SequenceAsHashMap& ModelData_Impl::GetDocProps()
{
if ( !m_pDocumentPropsHM )
More information about the Libreoffice-commits
mailing list