[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sw/source
Caolán McNamara
caolanm at redhat.com
Fri Dec 27 05:52:20 PST 2013
sw/source/ui/config/optload.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5f9c2a1f731d9e1e4708bb91b5e71bc0b4cc70e0
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Dec 27 13:49:52 2013 +0000
use SfxSingleTabDialogBase here now
Change-Id: Ibd5d82f93fb94db3e8d53acc9df05f2459807bb4
(cherry picked from commit d61a27f278e8442d54d52115981b5235f230ac80)
diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx
index 4a6d5b2..1f275dc 100644
--- a/sw/source/ui/config/optload.cxx
+++ b/sw/source/ui/config/optload.cxx
@@ -746,7 +746,7 @@ IMPL_LINK_NOARG(SwCaptionOptPage, ModifyHdl)
{
OUString sFldTypeName = m_pCategoryBox->GetText();
- SfxNoLayoutSingleTabDialog *pDlg = dynamic_cast<SfxNoLayoutSingleTabDialog*>(GetParentDialog());
+ SfxSingleTabDialogBase *pDlg = dynamic_cast<SfxSingleTabDialogBase*>(GetParentDialog());
PushButton *pBtn = pDlg ? pDlg->GetOKButton() : NULL;
if (pBtn)
pBtn->Enable(!sFldTypeName.isEmpty());
More information about the Libreoffice-commits
mailing list