summaryrefslogtreecommitdiff
path: root/xfa/include
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/include')
-rw-r--r--xfa/include/fwl/core/fwl_theme.h2
-rw-r--r--xfa/include/fwl/core/fwl_widget.h2
-rw-r--r--xfa/include/fwl/lightwidget/widget.h2
3 files changed, 3 insertions, 3 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;
diff --git a/xfa/include/fwl/lightwidget/widget.h b/xfa/include/fwl/lightwidget/widget.h
index c6a7e4b80e..c597194336 100644
--- a/xfa/include/fwl/lightwidget/widget.h
+++ b/xfa/include/fwl/lightwidget/widget.h
@@ -16,7 +16,7 @@ class CFWL_WidgetDelegate;
class CFWL_WidgetProperties {
public:
CFWL_WidgetProperties() {
- m_ctmOnParent.Reset();
+ m_ctmOnParent.SetIdentity();
m_rtWidget.Set(0, 0, 0, 0);
m_dwStyles = FWL_WGTSTYLE_Child;
m_dwStyleExes = 0;