diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:52 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:52 +0900 |
commit | e5dc5b5be9900b9c8b2d7988216d56156c806b20 (patch) | |
tree | d0209902442729f7856d2a8efdca565373fb5c43 /filters | |
parent | 9d008f46e1b540304fdb7fb0270e23b7c3f43a68 (diff) | |
download | koffice-e5dc5b5be9900b9c8b2d7988216d56156c806b20.tar.gz koffice-e5dc5b5be9900b9c8b2d7988216d56156c806b20.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'filters')
-rw-r--r-- | filters/chalk/tiff/kis_tiff_stream.cc | 18 | ||||
-rw-r--r-- | filters/kspread/excel/sidewinder/excel.cpp | 4 |
2 files changed, 11 insertions, 11 deletions
diff --git a/filters/chalk/tiff/kis_tiff_stream.cc b/filters/chalk/tiff/kis_tiff_stream.cc index 3d52d4dc..4c80fefc 100644 --- a/filters/chalk/tiff/kis_tiff_stream.cc +++ b/filters/chalk/tiff/kis_tiff_stream.cc @@ -35,13 +35,13 @@ void TIFFStreamContigBase::moveToLine(uint32 lineNumber) uint32 TIFFStreamContigBelow16::nextValue() { - register uint8 remain; - register uint32 value; + uint8 remain; + uint32 value; remain = m_depth; value = 0; while (remain > 0) { - register uint8 toread; + uint8 toread; toread = remain; if (toread > m_posinc) toread = m_posinc; remain -= toread; @@ -58,13 +58,13 @@ uint32 TIFFStreamContigBelow16::nextValue() uint32 TIFFStreamContigBelow32::nextValue() { - register uint8 remain; - register uint32 value; + uint8 remain; + uint32 value; remain = m_depth; value = 0; while (remain > 0) { - register uint8 toread; + uint8 toread; toread = remain; if (toread > m_posinc) toread = m_posinc; remain -= toread; @@ -81,13 +81,13 @@ uint32 TIFFStreamContigBelow32::nextValue() uint32 TIFFStreamContigAbove32::nextValue() { - register uint8 remain; - register uint32 value; + uint8 remain; + uint32 value; remain = m_depth; value = 0; while (remain > 0) { - register uint8 toread; + uint8 toread; toread = remain; if (toread > m_posinc) toread = m_posinc; remain -= toread; diff --git a/filters/kspread/excel/sidewinder/excel.cpp b/filters/kspread/excel/sidewinder/excel.cpp index 2a3a6247..b956384e 100644 --- a/filters/kspread/excel/sidewinder/excel.cpp +++ b/filters/kspread/excel/sidewinder/excel.cpp @@ -58,8 +58,8 @@ static inline unsigned long readU32( const void* p ) typedef double& data_64; inline void convert_64 (data_64 convert) { - register unsigned char temp; - register unsigned int u_int_temp; + unsigned char temp; + unsigned int u_int_temp; temp = ((unsigned char*)&convert)[0]; ((unsigned char*)&convert)[0] = ((unsigned char*)&convert)[3]; ((unsigned char*)&convert)[3] = temp; |