summaryrefslogtreecommitdiff
path: root/sd/source/filter
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 /sd/source/filter
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 'sd/source/filter')
-rw-r--r--sd/source/filter/cgm/sdcgmfilter.cxx2
-rw-r--r--sd/source/filter/grf/sdgrffilter.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/cgm/sdcgmfilter.cxx b/sd/source/filter/cgm/sdcgmfilter.cxx
index cad19cd91ad4..776d4db4d579 100644
--- a/sd/source/filter/cgm/sdcgmfilter.cxx
+++ b/sd/source/filter/cgm/sdcgmfilter.cxx
@@ -78,7 +78,7 @@ bool SdCGMFilter::Import()
OUString aFileURL( mrMedium.GetURLObject().GetMainURL( INetURLObject::NO_DECODE ) );
sal_uInt32 nRetValue;
- if( mrDocument.GetPageCount() == 0L )
+ if( mrDocument.GetPageCount() == 0 )
mrDocument.CreateFirstPages();
CreateStatusIndicator();
diff --git a/sd/source/filter/grf/sdgrffilter.cxx b/sd/source/filter/grf/sdgrffilter.cxx
index 90b3baaf3076..5a030e2b9a53 100644
--- a/sd/source/filter/grf/sdgrffilter.cxx
+++ b/sd/source/filter/grf/sdgrffilter.cxx
@@ -188,7 +188,7 @@ bool SdGRFFilter::Import()
HandleGraphicFilterError( nReturn, rGraphicFilter.GetLastError().nStreamError );
else
{
- if( mrDocument.GetPageCount() == 0L )
+ if( mrDocument.GetPageCount() == 0 )
mrDocument.CreateFirstPages();
SdPage* pPage = mrDocument.GetSdPage( 0, PK_STANDARD );