summaryrefslogtreecommitdiff
path: root/sw/inc/ndole.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/ndole.hxx')
-rw-r--r--sw/inc/ndole.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/ndole.hxx b/sw/inc/ndole.hxx
index d5c78b7ae072..fe1bab2f599d 100644
--- a/sw/inc/ndole.hxx
+++ b/sw/inc/ndole.hxx
@@ -59,7 +59,7 @@ public:
const css::uno::Reference < css::embed::XEmbeddedObject > GetOleRef();
svt::EmbeddedObjectRef& GetObject();
- OUString GetCurrentPersistName() const { return aName; }
+ const OUString& GetCurrentPersistName() const { return aName; }
OUString GetStyleString();
bool IsOleRef() const; ///< To avoid unnecessary loading of object.
};
@@ -133,7 +133,7 @@ public:
// #i99665#
bool IsChart() const;
- OUString GetChartTableName() const { return sChartTableName; }
+ const OUString& GetChartTableName() const { return sChartTableName; }
void SetChartTableName( const OUString& rNm ) { sChartTableName = rNm; }
};