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

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Thu Apr 29 11:01:00 UTC 2021


 include/sfx2/sfxsids.hrc     |    2 +-
 sfx2/sdi/appslots.sdi        |    2 +-
 sfx2/sdi/sfx.sdi             |    2 +-
 sfx2/source/appl/appserv.cxx |    4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 5e58cc6fa84ba77b948cd603e83ad817cedfeb03
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Thu Apr 29 10:32:54 2021 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Thu Apr 29 13:00:15 2021 +0200

    Fix typo SID_TEMPLATE_ADDRESSBOKSOURCE->SID_TEMPLATE_ADDRESSBOOKSOURCE
    
    Change-Id: I6a23cdd71dc3476c415e710dad4a33c9d0c20202
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114839
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/include/sfx2/sfxsids.hrc b/include/sfx2/sfxsids.hrc
index 3f9d4a232fb7..c6073a795b80 100644
--- a/include/sfx2/sfxsids.hrc
+++ b/include/sfx2/sfxsids.hrc
@@ -327,7 +327,7 @@ class SvxSearchItem;
 // Floating Window Template
 #define SID_STYLE_DESIGNER                  (SID_SFX_START + 539)
 
-#define SID_TEMPLATE_ADDRESSBOKSOURCE       (SID_SFX_START + 1655)
+#define SID_TEMPLATE_ADDRESSBOOKSOURCE      (SID_SFX_START + 1655)
 
 // Ruby dialog
 #define SID_RUBY_DIALOG                     (SID_SFX_START + 1656)
diff --git a/sfx2/sdi/appslots.sdi b/sfx2/sdi/appslots.sdi
index 5dbee7376b6e..f5ffb700388a 100644
--- a/sfx2/sdi/appslots.sdi
+++ b/sfx2/sdi/appslots.sdi
@@ -95,7 +95,7 @@ interface Application
         ExecMethod = MiscExec_Impl ;
         StateMethod = MiscState_Impl ;
     ]
-    SID_TEMPLATE_ADDRESSBOKSOURCE // ole(no) api(final/play/rec)
+    SID_TEMPLATE_ADDRESSBOOKSOURCE // ole(no) api(final/play/rec)
     [
         ExecMethod = MiscExec_Impl ;
         StateMethod = MiscState_Impl ;
diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi
index 425724440d13..ae37ce14448f 100644
--- a/sfx2/sdi/sfx.sdi
+++ b/sfx2/sdi/sfx.sdi
@@ -265,7 +265,7 @@ SfxVoidItem CharmapControl SID_CHARMAP_CONTROL
 ]
 
 
-SfxVoidItem AddressBookSource SID_TEMPLATE_ADDRESSBOKSOURCE
+SfxVoidItem AddressBookSource SID_TEMPLATE_ADDRESSBOOKSOURCE
 ()
 [
     AutoUpdate = FALSE,
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx
index b58d4f891a53..3ae22dedd324 100644
--- a/sfx2/source/appl/appserv.cxx
+++ b/sfx2/source/appl/appserv.cxx
@@ -633,7 +633,7 @@ void SfxApplication::MiscExec_Impl( SfxRequest& rReq )
             break;
         }
 
-        case SID_TEMPLATE_ADDRESSBOKSOURCE:
+        case SID_TEMPLATE_ADDRESSBOOKSOURCE:
         {
             svt::AddressBookSourceDialog aDialog(rReq.GetFrameWeld(), ::comphelper::getProcessComponentContext());
             aDialog.run();
@@ -1046,7 +1046,7 @@ void SfxApplication::MiscState_Impl(SfxItemSet &rSet)
         {
             switch(nWhich)
             {
-                case SID_TEMPLATE_ADDRESSBOKSOURCE:
+                case SID_TEMPLATE_ADDRESSBOOKSOURCE:
                     if ( !SvtModuleOptions().IsModuleInstalled(SvtModuleOptions::EModule::DATABASE) )
                         rSet.Put(SfxVisibilityItem(nWhich, false));
                     break;


More information about the Libreoffice-commits mailing list