summaryrefslogtreecommitdiff
path: root/xfa/include/fwl/core
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/include/fwl/core')
-rw-r--r--xfa/include/fwl/core/fwl_theme.h2
-rw-r--r--xfa/include/fwl/core/fwl_widget.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/xfa/include/fwl/core/fwl_theme.h b/xfa/include/fwl/core/fwl_theme.h
index 3dfe7c74e1..d3704c89d1 100644
--- a/xfa/include/fwl/core/fwl_theme.h
+++ b/xfa/include/fwl/core/fwl_theme.h
@@ -31,7 +31,7 @@ class CFWL_ThemePart {
CFWL_ThemePart()
: m_pWidget(NULL), m_iPart(0), m_dwStates(0), m_dwData(0), m_pData(NULL) {
m_rtPart.Reset();
- m_matrix.Reset();
+ m_matrix.SetIdentity();
}
CFX_Matrix m_matrix;
CFX_RectF m_rtPart;
diff --git a/xfa/include/fwl/core/fwl_widget.h b/xfa/include/fwl/core/fwl_widget.h
index f7ddb5cebd..acada467b4 100644
--- a/xfa/include/fwl/core/fwl_widget.h
+++ b/xfa/include/fwl/core/fwl_widget.h
@@ -70,7 +70,7 @@ class IFWL_WidgetDelegate {
class CFWL_WidgetImpProperties {
public:
CFWL_WidgetImpProperties() {
- m_ctmOnParent.Reset();
+ m_ctmOnParent.SetIdentity();
m_rtWidget.Set(0, 0, 0, 0);
m_dwStyles = FWL_WGTSTYLE_Child;
m_dwStyleExes = 0;