diff options
Diffstat (limited to 'sw/inc/fmtpdsc.hxx')
-rw-r--r-- | sw/inc/fmtpdsc.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/fmtpdsc.hxx b/sw/inc/fmtpdsc.hxx index 15cf821cfea3..30bcfd2b6cad 100644 --- a/sw/inc/fmtpdsc.hxx +++ b/sw/inc/fmtpdsc.hxx @@ -73,7 +73,7 @@ public: const SwPageDesc *GetPageDesc() const { return static_cast<const SwPageDesc*>(GetRegisteredIn()); } ::boost::optional<sal_uInt16> GetNumOffset() const { return oNumOffset; } - void SetNumOffset( ::boost::optional<sal_uInt16> oNum ) { oNumOffset = oNum; } + void SetNumOffset( const ::boost::optional<sal_uInt16>& oNum ) { oNumOffset = oNum; } /// Query / set where attribute is anchored. inline const SwModify* GetDefinedIn() const { return pDefinedIn; } |