summaryrefslogtreecommitdiff
path: root/sw/inc/shellio.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/shellio.hxx')
-rw-r--r--sw/inc/shellio.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx
index 0b6d926d6b4c..025193a1c00c 100644
--- a/sw/inc/shellio.hxx
+++ b/sw/inc/shellio.hxx
@@ -267,7 +267,7 @@ public:
virtual size_t GetSectionList( SfxMedium& rMedium,
std::vector<OUString>& rStrings) const;
- const tools::SvRef<SotStorage>& getSotStorageRef() { return m_pStorage; };
+ const tools::SvRef<SotStorage>& getSotStorageRef() const { return m_pStorage; };
void setSotStorageRef(const tools::SvRef<SotStorage>& pStgRef) { m_pStorage = pStgRef; };
private:
@@ -292,7 +292,7 @@ class SW_DLLPUBLIC StgReader : public Reader
public:
virtual SwReaderType GetReaderType() override;
- const OUString& GetFltName() { return aFltName; }
+ const OUString& GetFltName() const { return aFltName; }
virtual void SetFltName( const OUString& r ) override;
};
@@ -312,7 +312,7 @@ public:
SwDoc* GetDoc();
void ClearDoc(); // Delete Doc-contents.
- OUString GetName();
+ OUString GetName() const;
void SetName( const OUString& );
ErrCode const & GetError() const { return nErr; }