From 60965d5f4d608bdccc2ffd4e8753e12cbbbd71d2 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 21 May 2023 13:35:09 -0400 Subject: Rerun clang-format --- libqpdf/QPDFAnnotationObjectHelper.cc | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'libqpdf/QPDFAnnotationObjectHelper.cc') diff --git a/libqpdf/QPDFAnnotationObjectHelper.cc b/libqpdf/QPDFAnnotationObjectHelper.cc index ff985ed0..81ea5a7f 100644 --- a/libqpdf/QPDFAnnotationObjectHelper.cc +++ b/libqpdf/QPDFAnnotationObjectHelper.cc @@ -47,8 +47,7 @@ QPDFAnnotationObjectHelper::getFlags() } QPDFObjectHandle -QPDFAnnotationObjectHelper::getAppearanceStream( - std::string const& which, std::string const& state) +QPDFAnnotationObjectHelper::getAppearanceStream(std::string const& which, std::string const& state) { QPDFObjectHandle ap = getAppearanceDictionary(); std::string desired_state = state.empty() ? getAppearanceState() : state; @@ -80,10 +79,7 @@ QPDFAnnotationObjectHelper::getAppearanceStream( std::string QPDFAnnotationObjectHelper::getPageContentForAppearance( - std::string const& name, - int rotate, - int required_flags, - int forbidden_flags) + std::string const& name, int rotate, int required_flags, int forbidden_flags) { if (!getAppearanceStream("/N").isStream()) { return ""; @@ -242,9 +238,7 @@ QPDFAnnotationObjectHelper::getPageContentForAppearance( // Compute a matrix to transform the appearance box to the rectangle QPDFMatrix AA; AA.translate(rect.llx, rect.lly); - AA.scale( - (rect.urx - rect.llx) / (T.urx - T.llx), - (rect.ury - rect.lly) / (T.ury - T.lly)); + AA.scale((rect.urx - rect.llx) / (T.urx - T.llx), (rect.ury - rect.lly) / (T.ury - T.lly)); AA.translate(-T.llx, -T.lly); if (do_rotate) { AA.rotatex90(rotate); -- cgit v1.2.3-54-g00ecf