[Libreoffice-commits] core.git: sd/source sw/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Sep 2 07:35:13 UTC 2020
sd/source/ui/annotations/annotationwindow.cxx | 1 -
sw/source/uibase/docvw/AnnotationWin2.cxx | 3 ---
2 files changed, 4 deletions(-)
New commits:
commit 99ffd249d1eb7669585a6f373ede7f5c5a81238e
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Sep 1 14:41:41 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Sep 2 09:34:27 2020 +0200
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 at redhat.com>
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
More information about the Libreoffice-commits
mailing list