diff options
Diffstat (limited to 'xfa')
-rw-r--r-- | xfa/fde/cfde_texteditengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fde/cfde_texteditengine.cpp b/xfa/fde/cfde_texteditengine.cpp index a240132ec0..2bcd1fc9de 100644 --- a/xfa/fde/cfde_texteditengine.cpp +++ b/xfa/fde/cfde_texteditengine.cpp @@ -926,7 +926,7 @@ size_t CFDE_TextEditEngine::GetIndexForPoint(const CFX_PointF& point) { std::vector<CFX_RectF> CFDE_TextEditEngine::GetCharRects( const FDE_TEXTEDITPIECE& piece) { if (piece.nCount < 1) - return {}; + return std::vector<CFX_RectF>(); FX_TXTRUN tr; tr.pEdtEngine = this; @@ -1082,7 +1082,7 @@ std::vector<CFX_RectF> CFDE_TextEditEngine::GetCharacterRectsInRange( break; } if (it == text_piece_info_.end()) - return {}; + return std::vector<CFX_RectF>(); int32_t end_idx = start_idx + count - 1; std::vector<CFX_RectF> rects; |