summaryrefslogtreecommitdiff
path: root/sw/inc/fmturl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/fmturl.hxx')
-rw-r--r--sw/inc/fmturl.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/fmturl.hxx b/sw/inc/fmturl.hxx
index 20eb332719fa..b1de04e06685 100644
--- a/sw/inc/fmturl.hxx
+++ b/sw/inc/fmturl.hxx
@@ -63,13 +63,13 @@ public:
void SetURL(const OUString &rURL, bool bServerMap);
void SetMap( const ImageMap *pM ); ///< Pointer will be copied.
- OUString GetTargetFrameName()const { return sTargetFrameName; }
- OUString GetURL() const { return sURL; }
+ const OUString& GetTargetFrameName()const { return sTargetFrameName; }
+ const OUString& GetURL() const { return sURL; }
bool IsServerMap() const { return bIsServerMap; }
const ImageMap *GetMap() const { return pMap; }
ImageMap *GetMap() { return pMap; }
- OUString GetName() const { return sName; }
+ const OUString& GetName() const { return sName; }
void SetName( const OUString& rNm ) { sName = rNm; }
};