summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/cpdfsdk_widget.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/cpdfsdk_widget.cpp b/fpdfsdk/cpdfsdk_widget.cpp
index b7391e6ebc..fc56d7e45b 100644
--- a/fpdfsdk/cpdfsdk_widget.cpp
+++ b/fpdfsdk/cpdfsdk_widget.cpp
@@ -1273,7 +1273,7 @@ void CPDFSDK_Widget::ResetAppearance_RadioButton() {
CFX_ByteString csAP_N_ON;
- CFX_FloatRect rcCenter = CPWL_Utils::GetCenterSquare(rcWindow);
+ CFX_FloatRect rcCenter = rcWindow.GetCenterSquare();
if (!rcCenter.IsEmpty()) {
rcCenter.Deflate(1.0f, 1.0f);
rcCenter.Normalize();