summaryrefslogtreecommitdiff
path: root/filter/source/graphicfilter/idxf/dxfgrprd.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-25 11:02:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-25 15:58:23 +0000
commite32c09cc6137c3ea5076409452262d10bd9e3f57 (patch)
treebfd75a1ad1abf6628ad068a6ee27585b4850d0cb /filter/source/graphicfilter/idxf/dxfgrprd.cxx
parent1cff992505803e081ce1c0a65bb1f4740d323a29 (diff)
cppcheck: methods can be const
Diffstat (limited to 'filter/source/graphicfilter/idxf/dxfgrprd.cxx')
-rw-r--r--filter/source/graphicfilter/idxf/dxfgrprd.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/graphicfilter/idxf/dxfgrprd.cxx b/filter/source/graphicfilter/idxf/dxfgrprd.cxx
index 2101447ddefb..c27ef74c7575 100644
--- a/filter/source/graphicfilter/idxf/dxfgrprd.cxx
+++ b/filter/source/graphicfilter/idxf/dxfgrprd.cxx
@@ -185,7 +185,7 @@ USHORT DXFGroupReader::Read()
}
-long DXFGroupReader::GetI(USHORT nG)
+long DXFGroupReader::GetI(USHORT nG) const
{
sal_Int32 nRetValue = 0;
if ( ( nG >= 60 ) && ( nG <= 79 ) )
@@ -199,7 +199,7 @@ long DXFGroupReader::GetI(USHORT nG)
return nRetValue;
}
-double DXFGroupReader::GetF(USHORT nG)
+double DXFGroupReader::GetF(USHORT nG) const
{
nG-=10;
if (nG<50) return F10_59[nG];
@@ -218,7 +218,7 @@ double DXFGroupReader::GetF(USHORT nG)
}
}
-const char * DXFGroupReader::GetS(USHORT nG)
+const char * DXFGroupReader::GetS(USHORT nG) const
{
if (nG<10) return S0_9[nG];
else if ( nG == 100 )