cui/source/customize/macropg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5847c76dc3476f565cc40d2506808e6f34cb2f01
Author: Lionel Elie Mamane <lio...@mamane.lu>
Date:   Wed Nov 25 16:21:19 2015 +0100

    assign macro dialog: correct event name "errorOccured"
    
    "errorOccured" is an English spelling mistake, but is the
    name of the event, which cannot / should not be changed for
    backwards compatibility reasons.
    
    Spelling was boguously "corrected" in:
    
      commit 60a9b5172bcbd90b5764125b76279c189dd5563c
      Author: Takeshi Abe <t...@fixedpoint.jp>
      Date:   Sat Dec 4 12:56:38 2010 +0900
    
          Replace all occured, occurance etc.
    
    This was leading to impossibility of assigning a macro
    to that event, since it was not appearing in this dialog.
    
    Change-Id: Ib0373501cba8af8f4abb1c62faddf8d65c926a7e
    Reviewed-on: https://gerrit.libreoffice.org/20180
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx
index 6211bcc..6400cff 100644
--- a/cui/source/customize/macropg.cxx
+++ b/cui/source/customize/macropg.cxx
@@ -327,7 +327,7 @@ void _SvxMacroTabPage::InitResources()
     aDisplayNames.push_back( EventDisplayName( "approveCursorMove",     
RID_SVXSTR_EVENT_POSITIONING ) );
     aDisplayNames.push_back( EventDisplayName( "cursorMoved",           
RID_SVXSTR_EVENT_POSITIONED ) );
     aDisplayNames.push_back( EventDisplayName( "approveParameter",      
RID_SVXSTR_EVENT_APPROVEPARAMETER ) );
-    aDisplayNames.push_back( EventDisplayName( "errorOccurred",          
RID_SVXSTR_EVENT_ERROROCCURRED ) );
+    aDisplayNames.push_back( EventDisplayName( "errorOccured",          
RID_SVXSTR_EVENT_ERROROCCURRED ) );
     aDisplayNames.push_back( EventDisplayName( "adjustmentValueChanged",   
RID_SVXSTR_EVENT_ADJUSTMENTVALUECHANGED ) );
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to