summaryrefslogtreecommitdiff
path: root/sw/inc/numrule.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/numrule.hxx')
-rw-r--r--sw/inc/numrule.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx
index f6c8ec9321b4..1d7f8b7d1e60 100644
--- a/sw/inc/numrule.hxx
+++ b/sw/inc/numrule.hxx
@@ -194,7 +194,7 @@ public:
{
msDefaultListId = sDefaultListId;
}
- inline OUString GetDefaultListId() const
+ const OUString& GetDefaultListId() const
{
return msDefaultListId;
}
@@ -224,7 +224,7 @@ public:
and copies them if appropriate. */
void CheckCharFormats( SwDoc* pDoc );
- OUString GetName() const { return msName; }
+ const OUString& GetName() const { return msName; }
void SetName( const OUString& rNm,
IDocumentListsAccess& rDocListAccess );