summaryrefslogtreecommitdiff
path: root/sd/source/filter/ppt
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/filter/ppt')
-rw-r--r--sd/source/filter/ppt/ppt97animations.cxx4
-rw-r--r--sd/source/filter/ppt/ppt97animations.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/filter/ppt/ppt97animations.cxx b/sd/source/filter/ppt/ppt97animations.cxx
index 6d210bc4493b..d06f8bff7d2e 100644
--- a/sd/source/filter/ppt/ppt97animations.cxx
+++ b/sd/source/filter/ppt/ppt97animations.cxx
@@ -239,12 +239,12 @@ sal_Int16 Ppt97Animation::GetTextAnimationType() const
}
return nRet;
}
-OUString Ppt97Animation::GetPresetId() const
+OUString const & Ppt97Animation::GetPresetId() const
{
UpdateCacheData();
return m_aPresetId;
}
-OUString Ppt97Animation::GetPresetSubType() const
+OUString const & Ppt97Animation::GetPresetSubType() const
{
UpdateCacheData();
return m_aSubType;
diff --git a/sd/source/filter/ppt/ppt97animations.hxx b/sd/source/filter/ppt/ppt97animations.hxx
index bc9c1a1719e2..eb2079ec8c29 100644
--- a/sd/source/filter/ppt/ppt97animations.hxx
+++ b/sd/source/filter/ppt/ppt97animations.hxx
@@ -117,8 +117,8 @@ public: //public methods
private: //private methods
//read methods
- OUString GetPresetId() const;
- OUString GetPresetSubType() const;
+ OUString const & GetPresetId() const;
+ OUString const & GetPresetSubType() const;
bool HasAfterEffect() const;
bool HasAfterEffect_ChangeColor() const;
bool HasAfterEffect_DimAtNextEffect() const;