summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-05-04 14:55:26 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-05-04 14:55:26 +0200
commit5794a9403059796a855c873f0e0f19f6cdbb2646 (patch)
treece3845edfa3974807bb7880b4cea1034cf522992 /sfx2
parent9fe6e4da50eefcdbf1fddb7ab32dbe99db815588 (diff)
Improved variable name
Change-Id: Id3a505afa3d8a6e99beeccafe30713cf40fc0c76
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/sfx2/docfile.hxx4
-rw-r--r--sfx2/source/doc/docfile.cxx2
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