diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-01 14:41:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-02 09:34:27 +0200 |
commit | 99ffd249d1eb7669585a6f373ede7f5c5a81238e (patch) | |
tree | 8d1bfae5757b81624f10e6283bc55af0fb02c969 | |
parent | b4513307785ce0d61b3dcde754b1855f1c65225c (diff) |
SetCallHandlersOnInputDisabled unneeded if AlwaysDisableInput not used
and don't need to use that if we use FixedText instead of Edit
Change-Id: I162bf829a62a2c7cf8a975c99509607095712e17
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101851
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sd/source/ui/annotations/annotationwindow.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/docvw/AnnotationWin2.cxx | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx index e1ee6a9d4347..30193afc474a 100644 --- a/sd/source/ui/annotations/annotationwindow.cxx +++ b/sd/source/ui/annotations/annotationwindow.cxx @@ -270,7 +270,6 @@ void AnnotationWindow::InitControls() // window control for author and date mpMeta = VclPtr<FixedText>::Create(this); mpMeta->EnableRTL(AllSettings::GetLayoutRTL()); - mpMeta->SetCallHandlersOnInputDisabled(true); // we should leave this setting alone, but for this we need a better layout algo // with variable meta size height diff --git a/sw/source/uibase/docvw/AnnotationWin2.cxx b/sw/source/uibase/docvw/AnnotationWin2.cxx index ee19018d04c9..f5430214479f 100644 --- a/sw/source/uibase/docvw/AnnotationWin2.cxx +++ b/sw/source/uibase/docvw/AnnotationWin2.cxx @@ -468,7 +468,6 @@ void SwAnnotationWin::InitControls() mpMetadataAuthor = VclPtr<FixedText>::Create(this); mpMetadataAuthor->SetAccessibleName( SwResId( STR_ACCESS_ANNOTATION_AUTHOR_NAME ) ); mpMetadataAuthor->EnableRTL(AllSettings::GetLayoutRTL()); - mpMetadataAuthor->SetCallHandlersOnInputDisabled(true); mpMetadataAuthor->AddEventListener( LINK( this, SwAnnotationWin, WindowEventListener ) ); // we should leave this setting alone, but for this we need a better layout algo // with variable meta size height @@ -485,7 +484,6 @@ void SwAnnotationWin::InitControls() mpMetadataDate = VclPtr<FixedText>::Create(this); mpMetadataDate->SetAccessibleName( SwResId( STR_ACCESS_ANNOTATION_DATE_NAME ) ); mpMetadataDate->EnableRTL(AllSettings::GetLayoutRTL()); - mpMetadataDate->SetCallHandlersOnInputDisabled(true); mpMetadataDate->AddEventListener( LINK( this, SwAnnotationWin, WindowEventListener ) ); // we should leave this setting alone, but for this we need a better layout algo // with variable meta size height @@ -502,7 +500,6 @@ void SwAnnotationWin::InitControls() mpMetadataResolved = VclPtr<FixedText>::Create(this); mpMetadataResolved->SetAccessibleName( SwResId( STR_ACCESS_ANNOTATION_RESOLVED_NAME ) ); mpMetadataResolved->EnableRTL(AllSettings::GetLayoutRTL()); - mpMetadataResolved->SetCallHandlersOnInputDisabled(true); mpMetadataResolved->AddEventListener( LINK( this, SwAnnotationWin, WindowEventListener ) ); // we should leave this setting alone, but for this we need a better layout algo // with variable meta size height |