summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/xfilter/xfframe.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/xfilter/xfframe.hxx')
-rw-r--r--lotuswordpro/source/filter/xfilter/xfframe.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfframe.hxx b/lotuswordpro/source/filter/xfilter/xfframe.hxx
index 9670a1b6bce5..9d31cb99a38a 100644
--- a/lotuswordpro/source/filter/xfilter/xfframe.hxx
+++ b/lotuswordpro/source/filter/xfilter/xfframe.hxx
@@ -105,7 +105,7 @@ public:
/**
* @descr Set frame name.
*/
- void SetName(OUString name);
+ void SetName(const OUString& name);
/**
* @descr Set z-index of the frame.
@@ -154,7 +154,7 @@ public:
/**
* @descr: Link the text content of the two frame.
*/
- void SetNextLink(OUString next);
+ void SetNextLink(const OUString& next);
/**
* @descr Get the frame type. image, drawing or text-box.
@@ -197,7 +197,7 @@ inline void XFFrame::SetAnchorType(enumXFAnchor anchor)
m_eAnchor = anchor;
}
-inline void XFFrame::SetName(OUString name)
+inline void XFFrame::SetName(const OUString& name)
{
m_strName = name;
}
@@ -250,7 +250,7 @@ inline void XFFrame::SetPosition(const XFRect& rect)
m_aRect = rect;
}
-inline void XFFrame::SetNextLink(OUString next)
+inline void XFFrame::SetNextLink(const OUString& next)
{
m_strNextLink = next;
}