[Libreoffice-commits] core.git: cui/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Dec 19 10:16:47 UTC 2018
cui/source/customize/macropg.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 57b46dedf343379da04b46e4d34f12ce0826bff3
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Dec 8 13:20:05 2018 +0100
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Wed Dec 19 11:16:22 2018 +0100
Fix typo in code
It passed "make check" on Linux
Change-Id: I4af38dbe7c54e01c3a9c0d11300a8492d68c64b5
Reviewed-on: https://gerrit.libreoffice.org/65388
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx
index d39bfe9e7b73..45b5db7632c4 100644
--- a/cui/source/customize/macropg.cxx
+++ b/cui/source/customize/macropg.cxx
@@ -74,7 +74,7 @@ static const long nTabs[] =
// IDs for items in HeaderBar of EventLB
#define ITEMID_EVENT 1
-#define ITMEID_ASSMACRO 2
+#define ITEMID_ASSMACRO 2
#define LB_MACROS_ITEMPOS 2
@@ -710,7 +710,7 @@ void SvxMacroTabPage_::InitAndSetHandler( const Reference< container::XNameRepla
Size aSize( nTabs[ 1 ], 0 );
rHeaderBar.InsertItem( ITEMID_EVENT, mpImpl->sStrEvent, LogicToPixel( aSize, MapMode( MapUnit::MapAppFont ) ).Width() );
aSize.setWidth( 1764 ); // don't know what, so 42^2 is best to use...
- rHeaderBar.InsertItem( ITMEID_ASSMACRO, mpImpl->sAssignedMacro, LogicToPixel( aSize, MapMode( MapUnit::MapAppFont ) ).Width() );
+ rHeaderBar.InsertItem( ITEMID_ASSMACRO, mpImpl->sAssignedMacro, LogicToPixel( aSize, MapMode( MapUnit::MapAppFont ) ).Width() );
rListBox.SetSpaceBetweenEntries( 0 );
mpImpl->pEventLB->Show();
More information about the Libreoffice-commits
mailing list