diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-19 10:02:29 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-05-20 11:17:22 +0200 |
commit | 8d54796bf152499ecbe61788be64c9035f725dfa (patch) | |
tree | 9516219cf8e60bdd46597e522ca4e9fde9b8f407 /cui/source/inc/chardlg.hxx | |
parent | e4740dbecfce958c2c707d8cc92e6dbe52f4b71b (diff) |
enhance pass-by-ref plugin to detect large arguments
Detect arguments larger than 64 chars passed by value.
Change-Id: I9b0ea9ccb99d115984a26eab67c9cf6afd5f6cae
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cui/source/inc/chardlg.hxx')
-rw-r--r-- | cui/source/inc/chardlg.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/inc/chardlg.hxx b/cui/source/inc/chardlg.hxx index 8d21e27b90a7..d90c2cb94594 100644 --- a/cui/source/inc/chardlg.hxx +++ b/cui/source/inc/chardlg.hxx @@ -165,7 +165,7 @@ public: void SetPreviewBackgroundToCharacter(); void DisableControls( sal_uInt16 nDisable ); - virtual void PageCreated (SfxAllItemSet aSet) SAL_OVERRIDE; + virtual void PageCreated(const SfxAllItemSet& aSet) SAL_OVERRIDE; }; // class SvxCharEffectsPage ---------------------------------------------- @@ -241,7 +241,7 @@ public: void EnableFlash(); /// the writer uses SID_ATTR_BRUSH as font background void SetPreviewBackgroundToCharacter(); - virtual void PageCreated (SfxAllItemSet aSet) SAL_OVERRIDE; + virtual void PageCreated(const SfxAllItemSet& aSet) SAL_OVERRIDE; }; // class SvxCharPositionPage --------------------------------------------- @@ -318,7 +318,7 @@ public: virtual void FillUserData() SAL_OVERRIDE; /// the writer uses SID_ATTR_BRUSH as font background void SetPreviewBackgroundToCharacter(); - virtual void PageCreated (SfxAllItemSet aSet) SAL_OVERRIDE; + virtual void PageCreated(const SfxAllItemSet& aSet) SAL_OVERRIDE; }; // class SvxCharTwoLinesPage --------------------------------------------- @@ -360,7 +360,7 @@ public: virtual bool FillItemSet( SfxItemSet& rSet ) SAL_OVERRIDE; /// the writer uses SID_ATTR_BRUSH as font background void SetPreviewBackgroundToCharacter(); - virtual void PageCreated (SfxAllItemSet aSet) SAL_OVERRIDE; + virtual void PageCreated(const SfxAllItemSet& aSet) SAL_OVERRIDE; }; #endif // INCLUDED_CUI_SOURCE_INC_CHARDLG_HXX |