summaryrefslogtreecommitdiff
path: root/forms/source/component/Edit.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-10-04 12:42:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-10-04 21:17:46 +0200
commitea36e0502c0bc381577cfa1b1a7fedf0f05d1d72 (patch)
treed8eeb2ab7cee6f0a4ee40a846697216ce0bd5fd8 /forms/source/component/Edit.cxx
parent437abb3abbc506c1e20c6fec8e574abfe3487842 (diff)
tdf#150786 use a 'standard' theme for form controls
i.e. ignore system theme so we get the same results on export to pdf regardless of the theme (esp dark) and don't follow the system theme when hosted with a writer/calc/impress document (do continue to use system theme for StarBasic dialogs as seen in BasicIDE) Didn't reuse 'NativeWidgetLook' for this because is currently defaults off, while we currently do use the colors derived from the system theme even when this is off, its really the NWF flag to render using the platform theming engine Change-Id: I816d7ebaf793e5eac7bd937d44c1db0371145199 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140942 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'forms/source/component/Edit.cxx')
-rw-r--r--forms/source/component/Edit.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/forms/source/component/Edit.cxx b/forms/source/component/Edit.cxx
index 27ea6cc9982d..580e4f3a9f0e 100644
--- a/forms/source/component/Edit.cxx
+++ b/forms/source/component/Edit.cxx
@@ -382,6 +382,7 @@ void OEditModel::describeAggregateProperties( Sequence< Property >& _rAggregateP
RemoveProperty( _rAggregateProps, PROPERTY_NAME );
RemoveProperty( _rAggregateProps, PROPERTY_TAG );
RemoveProperty( _rAggregateProps, PROPERTY_NATIVE_LOOK );
+ RemoveProperty( _rAggregateProps, PROPERTY_STANDARD_THEME );
}