From 5794a9403059796a855c873f0e0f19f6cdbb2646 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 4 May 2012 14:55:26 +0200 Subject: Improved variable name Change-Id: Id3a505afa3d8a6e99beeccafe30713cf40fc0c76 --- sfx2/inc/sfx2/docfile.hxx | 4 ++-- sfx2/source/doc/docfile.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sfx2') 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 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& 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 -- cgit