[Libreoffice-commits] .: 2 commits - sw/source

Andras Timar timar at kemper.freedesktop.org
Mon Feb 6 07:03:36 PST 2012


 sw/source/ui/dialog/wordcountdialog.src  |    2 ++
 sw/source/ui/dialog/wordcountwrapper.cxx |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 5f261a0db51621fbab37cc0f991bc8c9106dda01
Author: Andras Timar <atimar at suse.com>
Date:   Mon Feb 6 16:02:43 2012 +0100

    fdo#45045 fox context sensitive help for Word Count dialog

diff --git a/sw/source/ui/dialog/wordcountdialog.src b/sw/source/ui/dialog/wordcountdialog.src
index 7c4a5f9..1b8b1a1 100644
--- a/sw/source/ui/dialog/wordcountdialog.src
+++ b/sw/source/ui/dialog/wordcountdialog.src
@@ -131,11 +131,13 @@ ModelessDialog DLG_WORDCOUNT
     };
         HelpButton      PB_HELP
     {
+        HelpID = HID_DLG_WORDCOUNT ;
         Pos = MAP_APPFONT ( 5 , 114 ) ;
         Size = MAP_APPFONT ( 50 , 15 ) ;
     };
     OKButton        PB_OK
     {
+        HelpID = HID_DLG_WORDCOUNT ;
         Pos = MAP_APPFONT ( 115 , 114 ) ;
         Size = MAP_APPFONT ( 50 , 15 ) ;
         DefButton = TRUE ;
commit 3db0da5c0bc11c989460aeb7a21ba973a76f3e29
Author: Andras Timar <atimar at suse.com>
Date:   Mon Feb 6 15:51:30 2012 +0100

    typo

diff --git a/sw/source/ui/dialog/wordcountwrapper.cxx b/sw/source/ui/dialog/wordcountwrapper.cxx
index 9052448..63f262d 100644
--- a/sw/source/ui/dialog/wordcountwrapper.cxx
+++ b/sw/source/ui/dialog/wordcountwrapper.cxx
@@ -42,7 +42,7 @@ SwWordCountWrapper::SwWordCountWrapper(   Window *pParentWindow,
     SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
     OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!");
     pAbstDlg = pFact->CreateSwWordCountDialog( DLG_WORDCOUNT, pBindings, this, pParentWindow, pInfo );
-    OSL_ENSURE(pAbstDlg, "Dialog contruction faiedl!");
+    OSL_ENSURE(pAbstDlg, "Dialog contruction failed!");
     pWindow = pAbstDlg->GetWindow();
 
     eChildAlignment = SFX_ALIGN_NOALIGNMENT;


More information about the Libreoffice-commits mailing list