tdf#123936 Formatting files in module filter with clang-format

Change-Id: I787835eb102868bbd52cdb1c9999b5dad553947f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105669
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
This commit is contained in:
Philipp Hofer
2020-11-12 12:57:13 +01:00
committed by Christian Lohmaier
parent 302d64cb3c
commit e8e093f14b
5 changed files with 23 additions and 31 deletions

View File

@@ -15,11 +15,10 @@
class GDIMetaFile;
class SvStream;
namespace pict {
namespace pict
{
/// Function to access PictReader::ReadPict for unit testing.
void ReadPictFile(SvStream& rStreamPict, GDIMetaFile& rGDIMetaFile);
}
#endif // INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IPICT_HXX

View File

@@ -25,7 +25,8 @@
#define MAX_TABLE_SIZE 4096
struct LZWTableEntry {
struct LZWTableEntry
{
sal_uInt16 nPrevCode;
sal_uInt16 nDataCount;
sal_uInt8 nData;
@@ -33,21 +34,19 @@ struct LZWTableEntry {
class SvStream;
class LZWDecompressor {
class LZWDecompressor
{
public:
LZWDecompressor();
~LZWDecompressor();
void StartDecompression(SvStream& rIStream);
sal_uInt64 Decompress(sal_uInt8 * pTarget, sal_uInt32 nMaxCount);
// Returns the number of written bytes. If < nMaxCount there is
// no more data to be unpacked or an error occurred.
sal_uInt64 Decompress(sal_uInt8* pTarget, sal_uInt32 nMaxCount);
private:
sal_uInt16 GetNextCode();
void AddToTable(sal_uInt16 nPrevCode, sal_uInt16 nCodeFirstData);
void DecompressSome();
@@ -69,8 +68,6 @@ private:
sal_uInt16 nInputBitsBufSize;
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -4138,7 +4138,6 @@ filter/source/graphicfilter/ipbm/ipbm.cxx
filter/source/graphicfilter/ipcd/ipcd.cxx
filter/source/graphicfilter/ipcx/ipcx.cxx
filter/source/graphicfilter/ipict/ipict.cxx
filter/source/graphicfilter/ipict/ipict.hxx
filter/source/graphicfilter/ipict/shape.cxx
filter/source/graphicfilter/ipict/shape.hxx
filter/source/graphicfilter/ipsd/ipsd.cxx
@@ -4148,10 +4147,8 @@ filter/source/graphicfilter/itiff/ccidecom.cxx
filter/source/graphicfilter/itiff/ccidecom.hxx
filter/source/graphicfilter/itiff/itiff.cxx
filter/source/graphicfilter/itiff/lzwdecom.cxx
filter/source/graphicfilter/itiff/lzwdecom.hxx
filter/source/msfilter/countryid.cxx
filter/source/msfilter/dffpropset.cxx
filter/source/msfilter/dffrecordheader.cxx
filter/source/msfilter/escherex.cxx
filter/source/msfilter/eschesdo.cxx
filter/source/msfilter/eschesdo.hxx
@@ -4186,7 +4183,6 @@ filter/source/svg/svgfontexport.hxx
filter/source/svg/svgwriter.cxx
filter/source/svg/svgwriter.hxx
filter/source/svg/test/odfserializer.cxx
filter/source/svg/test/odfserializer.hxx
filter/source/t602/t602filter.cxx
filter/source/t602/t602filter.hxx
filter/source/textfilterdetect/filterdetect.cxx