summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2010-10-12 15:56:41 +0200
committerJan Holesovsky <kendy@suse.cz>2010-10-13 10:57:42 +0200
commit46a924d34890f64e168ab247bcdad47cfc44a889 (patch)
tree50657330445e7061eb02de1fbf6428c5932061a3 /hwpfilter
parentffa172e1b3418204ee759c0c67f8441cb208ad89 (diff)
Add vim/emacs modelines to all source files
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/inc/pch/precompiled_hwpfilter.cxx2
-rw-r--r--hwpfilter/source/attributes.cxx3
-rw-r--r--hwpfilter/source/cspline.cpp3
-rw-r--r--hwpfilter/source/fontmap.cpp3
-rw-r--r--hwpfilter/source/formula.cpp3
-rw-r--r--hwpfilter/source/grammar.cpp2
-rw-r--r--hwpfilter/source/hbox.cpp2
-rw-r--r--hwpfilter/source/hcode.cpp3
-rw-r--r--hwpfilter/source/hfont.cpp3
-rw-r--r--hwpfilter/source/hgzip.cpp3
-rw-r--r--hwpfilter/source/himgutil.cpp3
-rw-r--r--hwpfilter/source/hinfo.cpp3
-rw-r--r--hwpfilter/source/hiodev.cpp3
-rw-r--r--hwpfilter/source/hpara.cpp3
-rw-r--r--hwpfilter/source/hstream.cpp3
-rw-r--r--hwpfilter/source/hstyle.cpp3
-rw-r--r--hwpfilter/source/htags.cpp3
-rw-r--r--hwpfilter/source/hutil.cpp3
-rw-r--r--hwpfilter/source/hwpeq.cpp3
-rw-r--r--hwpfilter/source/hwpfile.cpp3
-rw-r--r--hwpfilter/source/hwpread.cpp3
-rw-r--r--hwpfilter/source/hwpreader.cxx3
-rw-r--r--hwpfilter/source/lexer.cpp3
-rw-r--r--hwpfilter/source/mzstring.cpp3
-rw-r--r--hwpfilter/source/solver.cpp3
25 files changed, 72 insertions, 0 deletions
diff --git a/hwpfilter/inc/pch/precompiled_hwpfilter.cxx b/hwpfilter/inc/pch/precompiled_hwpfilter.cxx
index 4ca4f5e0040a..5aad38afdee1 100644
--- a/hwpfilter/inc/pch/precompiled_hwpfilter.cxx
+++ b/hwpfilter/inc/pch/precompiled_hwpfilter.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -27,3 +28,4 @@
#include "precompiled_hwpfilter.hxx"
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/attributes.cxx b/hwpfilter/source/attributes.cxx
index 46f8d85c6118..6acc757b4853 100644
--- a/hwpfilter/source/attributes.cxx
+++ b/hwpfilter/source/attributes.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -166,3 +167,5 @@ void AttributeListImpl::clear()
assert( ! getLength() );
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/cspline.cpp b/hwpfilter/source/cspline.cpp
index 7a07c23d5f84..8493ff339bb4 100644
--- a/hwpfilter/source/cspline.cpp
+++ b/hwpfilter/source/cspline.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -171,3 +172,5 @@ void PeriodicSpline (int N, double* x, double* a, double*& b, double*& c,
delete[] h;
sys.DeleteMatrix(N+1,mat);
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/fontmap.cpp b/hwpfilter/source/fontmap.cpp
index 800637018a82..d3f9906f3eb2 100644
--- a/hwpfilter/source/fontmap.cpp
+++ b/hwpfilter/source/fontmap.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -172,3 +173,5 @@ int getRepFamilyName(const char* orig, char *buf, double &ratio)
ratio = FontMapTab[0].ratio;
return strlen( strcpy(buf, RepFontTab[0] ) );
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/formula.cpp b/hwpfilter/source/formula.cpp
index ec37e0fd57c9..2ff8046d8a49 100644
--- a/hwpfilter/source/formula.cpp
+++ b/hwpfilter/source/formula.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -684,3 +685,5 @@ void Formula::trim()
eq = 0L;
free(buf);
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/grammar.cpp b/hwpfilter/source/grammar.cpp
index e7feb7f773cd..f922db024332 100644
--- a/hwpfilter/source/grammar.cpp
+++ b/hwpfilter/source/grammar.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -1473,3 +1474,4 @@ int debug(const char * /*format*/, ...)
}
#endif
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/hbox.cpp b/hwpfilter/source/hbox.cpp
index 8051f71e4637..ce3bf2f53cd7 100644
--- a/hwpfilter/source/hbox.cpp
+++ b/hwpfilter/source/hbox.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -712,3 +713,4 @@ hchar *Outline::GetUnicode(hchar * hstr, int)
/* ĭ(30) */
/* ĭ(31) */
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/hcode.cpp b/hwpfilter/source/hcode.cpp
index 39c1cf63bf55..a5583b8c351e 100644
--- a/hwpfilter/source/hcode.cpp
+++ b/hwpfilter/source/hcode.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -1536,3 +1537,5 @@ double calcAngle(int x1, int y1, int x2, int y2)
}
return angle;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/hfont.cpp b/hwpfilter/source/hfont.cpp
index c1ec55016cc2..11dfa096c855 100644
--- a/hwpfilter/source/hfont.cpp
+++ b/hwpfilter/source/hfont.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -105,3 +106,5 @@ bool HWPFont::Read(HWPFile & hwpf)
return !hwpf.State();
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/hgzip.cpp b/hwpfilter/source/hgzip.cpp
index 93aa889cfcaa..13811d2069a8 100644
--- a/hwpfilter/source/hgzip.cpp
+++ b/hwpfilter/source/hgzip.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -335,3 +336,5 @@ int gz_close(gz_stream * file)
#endif
return destroy(s);
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/himgutil.cpp b/hwpfilter/source/himgutil.cpp
index 92892be00a59..3d94280f6135 100644
--- a/hwpfilter/source/himgutil.cpp
+++ b/hwpfilter/source/himgutil.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -167,3 +168,5 @@ const char *GetEmbImgname(const EmPicture * empic)
sprintf(ptr + 1, "mz_%s.%s", empic->name,ext);
return fname;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/hinfo.cpp b/hwpfilter/source/hinfo.cpp
index 773fbf05ca1d..53dce1c1dbe9 100644
--- a/hwpfilter/source/hinfo.cpp
+++ b/hwpfilter/source/hinfo.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -219,3 +220,5 @@ bool CharShape::Read(HWPFile & hwpf)
return (!hwpf.State());
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/hiodev.cpp b/hwpfilter/source/hiodev.cpp
index 183f8eef1c99..f898d41fd8a9 100644
--- a/hwpfilter/source/hiodev.cpp
+++ b/hwpfilter/source/hiodev.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -363,3 +364,5 @@ int HMemIODev::skipBlock(int size)
pos += size;
return size;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/hpara.cpp b/hwpfilter/source/hpara.cpp
index 885fa53799ae..b60df27dda1e 100644
--- a/hwpfilter/source/hpara.cpp
+++ b/hwpfilter/source/hpara.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -318,3 +319,5 @@ HBox *HWPPara::readHBox(HWPFile & hwpf)
return hbox;
//return 0;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/hstream.cpp b/hwpfilter/source/hstream.cpp
index 7d657850beff..c7ece7d679d9 100644
--- a/hwpfilter/source/hstream.cpp
+++ b/hwpfilter/source/hstream.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -78,3 +79,5 @@ int HStream::available()
void HStream::closeInput()
{
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/hstyle.cpp b/hwpfilter/source/hstyle.cpp
index 704f4fd03450..7d283d1e77c5 100644
--- a/hwpfilter/source/hstyle.cpp
+++ b/hwpfilter/source/hstyle.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -151,3 +152,5 @@ bool HWPStyle::Read(HWPFile & hwpf)
}
return true;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/htags.cpp b/hwpfilter/source/htags.cpp
index 7a4bace0dd68..ad3d307d3c5b 100644
--- a/hwpfilter/source/htags.cpp
+++ b/hwpfilter/source/htags.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -166,3 +167,5 @@ bool OlePicture::Read(HWPFile & hwpf)
return true;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/hutil.cpp b/hwpfilter/source/hutil.cpp
index 229b8e453b51..f2acede8b75a 100644
--- a/hwpfilter/source/hutil.cpp
+++ b/hwpfilter/source/hutil.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -99,3 +100,5 @@ int hstrlen(const hchar * s)
n++;
return (n);
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/hwpeq.cpp b/hwpfilter/source/hwpeq.cpp
index 350a3cef0958..79c33ca20b55 100644
--- a/hwpfilter/source/hwpeq.cpp
+++ b/hwpfilter/source/hwpeq.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -763,3 +764,5 @@ void eq2latex(MzString& outs, char *s)
delete stk;
stk = 0;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/hwpfile.cpp b/hwpfilter/source/hwpfile.cpp
index 54f35a206ab0..af458bea444f 100644
--- a/hwpfilter/source/hwpfile.cpp
+++ b/hwpfilter/source/hwpfile.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -678,3 +679,5 @@ HWPFile *SetCurrentDoc(HWPFile * hwpfp)
HWPFile::cur_doc = hwpfp;
return org;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/hwpread.cpp b/hwpfilter/source/hwpread.cpp
index faef616a5755..3be3cc0815b5 100644
--- a/hwpfilter/source/hwpread.cpp
+++ b/hwpfilter/source/hwpread.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -811,3 +812,5 @@ int FixedSpace::Read(HWPFile & hwpf)
}
return !hwpf.State();
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx
index 0701e6ec72f6..ba4c0f0b5821 100644
--- a/hwpfilter/source/hwpreader.cxx
+++ b/hwpfilter/source/hwpreader.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -4947,3 +4948,5 @@ void HwpReader::parsePara(HWPPara * para, sal_Bool bParaStart)
para = para->Next();
}
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/lexer.cpp b/hwpfilter/source/lexer.cpp
index 4ef976fcd5f8..03bc4a091a92 100644
--- a/hwpfilter/source/lexer.cpp
+++ b/hwpfilter/source/lexer.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
************************************************************************/
@@ -2414,3 +2415,5 @@ int token_debug(const char * /*format*/, ...)
return 0;
}
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/mzstring.cpp b/hwpfilter/source/mzstring.cpp
index cf64b4f9c33f..a7fe12413dc4 100644
--- a/hwpfilter/source/mzstring.cpp
+++ b/hwpfilter/source/mzstring.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -312,3 +313,5 @@ bool MzString::resize(int len)
{
return allocate(len);
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/solver.cpp b/hwpfilter/source/solver.cpp
index e21d9b310deb..caad95701b80 100644
--- a/hwpfilter/source/solver.cpp
+++ b/hwpfilter/source/solver.cpp
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -181,3 +182,5 @@ int mgcLinearSystemD::Solve (int n, double** a, double* b)
delete[] indxc;
return 1;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */