summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-01-21 19:57:19 +0100
committerThomas Arnhold <thomas@arnhold.org>2012-01-21 19:58:46 +0100
commit22da27d9ddcdacaef21d667b0777052b7e817b9a (patch)
treee72e427eb7b6934b796179ed3e49ca4a8c8734a6 /svx
parentcfc2f1919f8cf856c0c884dac7e4eb83bece4a7f (diff)
Improve checking for emptiness
Diffstat (limited to 'svx')
-rw-r--r--svx/source/engine3d/helperhittest3d.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/engine3d/helperhittest3d.cxx b/svx/source/engine3d/helperhittest3d.cxx
index 1a6e41ccbeba..c83cae99556e 100644
--- a/svx/source/engine3d/helperhittest3d.cxx
+++ b/svx/source/engine3d/helperhittest3d.cxx
@@ -279,7 +279,7 @@ bool checkHitSingle3DObject(
::std::vector< basegfx::B3DPoint > aHitsWithObject;
getAllHit3DObjectWithRelativePoint(aFront, aBack, rCandidate, aViewInfo3D, aHitsWithObject, true);
- if(aHitsWithObject.size())
+ if(!aHitsWithObject.empty())
{
return true;
}