diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/sfx2/docfile.hxx | 4 | ||||
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/inc/sfx2/docfile.hxx b/sfx2/inc/sfx2/docfile.hxx index 53846f3398d9..70fae05fb33b 100644 --- a/sfx2/inc/sfx2/docfile.hxx +++ b/sfx2/inc/sfx2/docfile.hxx @@ -94,9 +94,9 @@ class SFX2_DLLPUBLIC SfxMedium : public SvRefBase String aLongName; sal_Bool bRemote; - sal_Bool m_bIsReadOnly; com::sun::star::uno::Reference<com::sun::star::io::XInputStream> m_xInputStreamToLoadFrom; + bool m_bInputStreamIsReadOnly; #if _SOLAR__PRIVATE SAL_DLLPRIVATE void SetIsRemote_Impl(); @@ -131,7 +131,7 @@ public: GetInteractionHandler(); void setStreamToLoadFrom(const com::sun::star::uno::Reference<com::sun::star::io::XInputStream>& xInputStream,sal_Bool bIsReadOnly ) - { m_xInputStreamToLoadFrom = xInputStream; m_bIsReadOnly = bIsReadOnly; } + { m_xInputStreamToLoadFrom = xInputStream; m_bInputStreamIsReadOnly = bIsReadOnly; } void SetLoadTargetFrame(SfxFrame* pFrame ); SfxFrame* GetLoadTargetFrame() const; diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index ced19509f503..2daebaee8c3f 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -2277,7 +2277,7 @@ void SfxMedium::GetMedium_Impl() { pImp->xInputStream = m_xInputStreamToLoadFrom; pImp->xInputStream->skipBytes(0); - if(m_bIsReadOnly) + if(m_bInputStreamIsReadOnly) GetItemSet()->Put( SfxBoolItem( SID_DOC_READONLY, sal_True ) ); } else |