diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-26 13:38:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-26 13:44:00 +0000 |
commit | df8898bd37c7983adec9d0e24b802ceaf355b190 (patch) | |
tree | 15e1519de239818d2d13cc984ba285324cfcee5d /svx/source/svdraw/svdsnpv.cxx | |
parent | 78eb7fe1403c5cd46553bb0252b2cf6b8e09d73b (diff) |
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'svx/source/svdraw/svdsnpv.cxx')
-rw-r--r-- | svx/source/svdraw/svdsnpv.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdsnpv.cxx b/svx/source/svdraw/svdsnpv.cxx index 8103e599cbc5..5649856efbaa 100644 --- a/svx/source/svdraw/svdsnpv.cxx +++ b/svx/source/svdraw/svdsnpv.cxx @@ -321,11 +321,9 @@ Point SdrSnapView::GetSnapPos(const Point& rPnt, const SdrPageView* pPV) const USHORT SdrSnapView::SnapPos(Point& rPnt, const SdrPageView* pPV) const { if (!bSnapEnab) return SDRSNAP_NOTSNAPPED; - BOOL bPVOfs=FALSE; long x=rPnt.X(); long y=rPnt.Y(); if (pPV==NULL) { - bPVOfs=TRUE; pPV=GetSdrPageView(); if (pPV==NULL) return SDRSNAP_NOTSNAPPED; } |