diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-22 12:17:43 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-22 12:50:51 +0200 |
commit | bc6b28c7468fc7e66d1e4a1a1447a938e9e03a8a (patch) | |
tree | 7e454112b65ea35f1647f5b6886c67dcc21d6a1a | |
parent | f8eac3a44b64865220985ca5468269ac3db5b564 (diff) |
cppcheck: Function parameter 'rSize' should be passed by reference
Change-Id: I57ee617169a49d338f24c85c6fc4116104c2a6ab
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx index ea609a67aad7..9202121039b9 100644 --- a/sw/source/filter/ww8/docxattributeoutput.hxx +++ b/sw/source/filter/ww8/docxattributeoutput.hxx @@ -822,7 +822,7 @@ private: struct PostponedOLE { - PostponedOLE( SwOLENode* rObject, const Size rSize, const SwFlyFrmFmt* rFrame ) : object( rObject ), size( rSize ), frame( rFrame ) {}; + PostponedOLE( SwOLENode* rObject, const Size& rSize, const SwFlyFrmFmt* rFrame ) : object( rObject ), size( rSize ), frame( rFrame ) {}; SwOLENode* object; const Size size; const SwFlyFrmFmt* frame; |