summaryrefslogtreecommitdiff
path: root/svx/source/unodraw
diff options
context:
space:
mode:
authorudareechk <udareeck@gmail.com>2017-09-27 12:05:23 +0530
committerMichael Stahl <mstahl@redhat.com>2017-10-30 15:57:00 +0100
commitf9b3a1db585e103bb93be0b5954de6858ad42c51 (patch)
tree3aabfc429b5c8e0362f0cb2216d09645dbff7428 /svx/source/unodraw
parent4913a117f8be045b3b1e2f2ef09d7f6a85ff076b (diff)
tdf#96505 Get rid of cargo cult long integer literals
Removing unnecessary 1L occurrences Change-Id: I85d4949eacde0dfc0ff7a513f4bf42324e6d34c1 Reviewed-on: https://gerrit.libreoffice.org/42840 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'svx/source/unodraw')
-rw-r--r--svx/source/unodraw/unoshape.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 9b32265423c5..98bb162a0b0d 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -2262,7 +2262,7 @@ bool SvxShape::setPropertyValueImpl( const OUString&, const SfxItemPropertySimpl
if( mpModel->IsWriter() )
aPoint += mpObj->GetAnchorPos();
- pMeasureObj->NbcSetPoint( aPoint, pProperty->nWID == OWN_ATTR_MEASURE_START_POS ? 0L : 1L );
+ pMeasureObj->NbcSetPoint( aPoint, pProperty->nWID == OWN_ATTR_MEASURE_START_POS ? 0 : 1 );
pMeasureObj->SetChanged();
pMeasureObj->BroadcastObjectChange();
return true;