summaryrefslogtreecommitdiff
path: root/starmath/source/view.cxx
diff options
context:
space:
mode:
authorAleksas Pantechovskis <alex.pantec@gmail.com>2016-03-03 15:43:51 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-04 06:40:33 +0000
commit57d0caacee2f395be2e89b78f8ece2d47b2c8683 (patch)
tree5d51c927ad91433c6f76e7a7edb8bb561bfec026 /starmath/source/view.cxx
parentf5e131b2bcd2c88a47e5988d5f319bffd767c4dc (diff)
tdf#96505 Remove long integer literal specifier when not needed
Remove L from integer literals if it does not produce warnings and does not change semantics Change-Id: I9573a47d3e3401993a1f0fbcf7df4be20f9e6eba Reviewed-on: https://gerrit.libreoffice.org/22867 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'starmath/source/view.cxx')
-rw-r--r--starmath/source/view.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 7d6eb4f31ed4..f3a7607f9ba0 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -573,7 +573,7 @@ void SmGraphicWindow::Command(const CommandEvent& rCEvt)
if ( pWData && CommandWheelMode::ZOOM == pWData->GetMode() )
{
sal_uInt16 nTmpZoom = GetZoom();
- if( 0L > pWData->GetDelta() )
+ if( 0 > pWData->GetDelta() )
nTmpZoom -= 10;
else
nTmpZoom += 10;
@@ -1537,7 +1537,7 @@ void SmViewShell::Execute(SfxRequest& rReq)
{
GetViewFrame()->GetDispatcher()->Execute(
SID_COPYOBJECT, SfxCallMode::RECORD,
- new SfxVoidItem(SID_COPYOBJECT), 0L);
+ new SfxVoidItem(SID_COPYOBJECT), 0);
}
else
pWin->Copy();
@@ -1563,7 +1563,7 @@ void SmViewShell::Execute(SfxRequest& rReq)
{
GetViewFrame()->GetDispatcher()->Execute(
SID_PASTEOBJECT, SfxCallMode::RECORD,
- new SfxVoidItem(SID_PASTEOBJECT), 0L);
+ new SfxVoidItem(SID_PASTEOBJECT), 0);
}
}
break;