summaryrefslogtreecommitdiff
path: root/xfa/fxgraphics/cfx_graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxgraphics/cfx_graphics.h')
-rw-r--r--xfa/fxgraphics/cfx_graphics.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fxgraphics/cfx_graphics.h b/xfa/fxgraphics/cfx_graphics.h
index 66e4da333d..e79219d877 100644
--- a/xfa/fxgraphics/cfx_graphics.h
+++ b/xfa/fxgraphics/cfx_graphics.h
@@ -165,10 +165,10 @@ class CFX_Graphics {
FWL_Error ShowText(const CFX_PointF& point,
const CFX_WideString& text,
CFX_Matrix* matrix = nullptr);
- FWL_Error CalcTextRect(CFX_RectF& rect,
- const CFX_WideString& text,
- FX_BOOL isMultiline = FALSE,
- CFX_Matrix* matrix = nullptr);
+ void CalcTextRect(CFX_RectF& rect,
+ const CFX_WideString& text,
+ FX_BOOL isMultiline = FALSE,
+ CFX_Matrix* matrix = nullptr);
FWL_Error Transfer(CFX_Graphics* graphics, const CFX_Matrix* matrix);
FWL_Error Transfer(CFX_Graphics* graphics,
FX_FLOAT srcLeft,