summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-02-17 19:53:00 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-02-17 19:54:18 +0100
commit07ee72672e6966dafccf21ca3349e428c2a9dd0a (patch)
tree80c790e99df0217d0bed0ae2cb05999ce7fb1b23 /sdext
parentc66ec11c41c9519e2f9462ae7fe2b54927f6bc77 (diff)
coverity: pass by const reference is more efficient
Change-Id: Iec40176a5dd567e667178f07fecd043fe0aa4344
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/tree/drawtreevisiting.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
index 8f4c16c22a5a..9a38e3d84454 100644
--- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
@@ -666,7 +666,7 @@ bool isSpaces(TextElement* pTextElem)
return true;
}
-bool notTransformed(GraphicsContext GC)
+bool notTransformed(const GraphicsContext& GC)
{
return (
GC.Transformation.get(0,0) == 100.00 &&