[Libreoffice-commits] core.git: include/sfx2 svx/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Wed Sep 2 12:43:57 UTC 2020


 include/sfx2/shell.hxx      |    2 +-
 svx/source/form/fmshell.cxx |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit d79b75d5c51738612e0c41c4623d050a57bce87c
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Tue Sep 1 18:36:16 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Wed Sep 2 14:43:14 2020 +0200

    Fix of an id
    
    Sorry, made a mistake here:
    https://gerrit.libreoffice.org/c/core/+/101801
    
    Change-Id: I8000041891119b81c16ec38c5be243842c2ac37b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101885
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/include/sfx2/shell.hxx b/include/sfx2/shell.hxx
index 5b6edb8a0d48..f341644d7f16 100644
--- a/include/sfx2/shell.hxx
+++ b/include/sfx2/shell.hxx
@@ -79,7 +79,7 @@ enum class SfxShellFeature
     // Forms only, class FmFormShell
     FormShowDatabaseBar     = 0x0008,
     FormShowField           = 0x0010,
-    FormShowproperties      = 0x0020,
+    FormShowProperties      = 0x0020,
     FormShowExplorer        = 0x0040,
     FormShowFilterBar       = 0x0080,
     FormShowFilterNavigator = 0x0100,
diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx
index 14f5fb4577c9..9c3e77994b78 100644
--- a/svx/source/form/fmshell.cxx
+++ b/svx/source/form/fmshell.cxx
@@ -146,7 +146,7 @@ void FmFormShell::InitInterface_Impl()
                                             SfxShellFeature::FormShowTextControlBar);
 
     GetStaticInterface()->RegisterChildWindow(SID_FM_ADD_FIELD, false, SfxShellFeature::FormShowField);
-    GetStaticInterface()->RegisterChildWindow(SID_FM_SHOW_PROPERTIES, false, SfxShellFeature::FormShowproperties);
+    GetStaticInterface()->RegisterChildWindow(SID_FM_SHOW_PROPERTIES, false, SfxShellFeature::FormShowProperties);
     GetStaticInterface()->RegisterChildWindow(SID_FM_SHOW_FMEXPLORER, false, SfxShellFeature::FormShowExplorer);
     GetStaticInterface()->RegisterChildWindow(SID_FM_FILTER_NAVIGATOR, false, SfxShellFeature::FormShowFilterNavigator);
     GetStaticInterface()->RegisterChildWindow(SID_FM_SHOW_DATANAVIGATOR, false, SfxShellFeature::FormShowDataNavigator);
@@ -292,7 +292,7 @@ bool FmFormShell::HasUIFeature(SfxShellFeature nFeature) const
     {
         bResult = m_bDesignMode && m_pFormView && m_bHasForms;
     }
-    else if (nFeature & SfxShellFeature::FormShowproperties)
+    else if (nFeature & SfxShellFeature::FormShowProperties)
     {
         bResult = m_bDesignMode && m_pFormView && m_bHasForms;
     }


More information about the Libreoffice-commits mailing list