diff options
author | Nico Weber <thakis@chromium.org> | 2015-08-04 13:00:21 -0700 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2015-08-04 13:00:21 -0700 |
commit | 9d8ec5a6e37e8d1d4d4edca9040de234e2d4728f (patch) | |
tree | c97037f398d714665aefccb6eb54d0969ad7030c /xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.cpp | |
parent | 780cee82236d1b3b0f9b01a22424e4b8ec9a6f12 (diff) | |
download | pdfium-9d8ec5a6e37e8d1d4d4edca9040de234e2d4728f.tar.xz |
XFA: clang-format all pdfium code.
No behavior change.
Generated by:
find . -name '*.cpp' -o -name '*.h' | \
grep -E -v 'third_party|thirdparties|lpng_v163|tiff_v403' | \
xargs ../../buildtools/mac/clang-format -i
Then manually merged https://codereview.chromium.org/1269223002/
See thread "tabs vs spaces" on pdfium@googlegroups.com for discussion.
BUG=none
Diffstat (limited to 'xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.cpp')
-rw-r--r-- | xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.cpp | 39 |
1 files changed, 17 insertions, 22 deletions
diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.cpp b/xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.cpp index 189ed0831b..2746ebe703 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.cpp +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.cpp @@ -20,32 +20,27 @@ * limitations under the License.
*/
-
#include "../barcode.h"
#include "BC_PDF417Dimensions.h"
-CBC_Dimensions::CBC_Dimensions(int32_t minCols, int32_t maxCols, int32_t minRows, int32_t maxRows)
-{
- m_minCols = minCols;
- m_maxCols = maxCols;
- m_minRows = minRows;
- m_maxRows = maxRows;
-}
-CBC_Dimensions::~CBC_Dimensions()
-{
+CBC_Dimensions::CBC_Dimensions(int32_t minCols,
+ int32_t maxCols,
+ int32_t minRows,
+ int32_t maxRows) {
+ m_minCols = minCols;
+ m_maxCols = maxCols;
+ m_minRows = minRows;
+ m_maxRows = maxRows;
}
-int32_t CBC_Dimensions::getMinCols()
-{
- return m_minCols;
+CBC_Dimensions::~CBC_Dimensions() {}
+int32_t CBC_Dimensions::getMinCols() {
+ return m_minCols;
}
-int32_t CBC_Dimensions::getMaxCols()
-{
- return m_maxCols;
+int32_t CBC_Dimensions::getMaxCols() {
+ return m_maxCols;
}
-int32_t CBC_Dimensions::getMinRows()
-{
- return m_minRows;
+int32_t CBC_Dimensions::getMinRows() {
+ return m_minRows;
}
-int32_t CBC_Dimensions::getMaxRows()
-{
- return m_maxRows;
+int32_t CBC_Dimensions::getMaxRows() {
+ return m_maxRows;
}
|