summaryrefslogtreecommitdiff
path: root/svx/source/dialog
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-07-31 14:54:02 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-07-31 14:54:02 +0000
commit0d1f137de5b1e82ab327eb15fccb9f8bc70abbdc (patch)
treed35b0e9d542bd7dcbe1e5557f15dea01636d008f /svx/source/dialog
parent17545571b5ce485ce2393d4fe71f6f306e1bc12b (diff)
INTEGRATION: CWS updchk07 (1.11.30); FILE MERGED
2007/07/12 08:47:14 dv 1.11.30.1: #i79147# It should always be possible to change the download location
Diffstat (limited to 'svx/source/dialog')
-rw-r--r--svx/source/dialog/optupdt.cxx24
1 files changed, 5 insertions, 19 deletions
diff --git a/svx/source/dialog/optupdt.cxx b/svx/source/dialog/optupdt.cxx
index 4708600e3216..cc399e7c33d5 100644
--- a/svx/source/dialog/optupdt.cxx
+++ b/svx/source/dialog/optupdt.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: optupdt.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: hr $ $Date: 2007-06-27 17:31:10 $
+ * last change: $Author: hr $ $Date: 2007-07-31 15:54:02 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -129,7 +129,6 @@ SvxOnlineUpdateTabPage::SvxOnlineUpdateTabPage( Window* pParent, const SfxItemSe
m_aAutoCheckCheckBox.SetClickHdl( LINK( this, SvxOnlineUpdateTabPage, AutoCheckHdl_Impl ) );
m_aCheckNowButton.SetClickHdl( LINK( this, SvxOnlineUpdateTabPage, CheckNowHdl_Impl ) );
- m_aAutoDownloadCheckBox.SetClickHdl( LINK( this, SvxOnlineUpdateTabPage, AutoDownloadHdl_Impl ) );
m_aChangePathButton.SetClickHdl( LINK( this, SvxOnlineUpdateTabPage, FileDialogHdl_Impl ) );
uno::Reference < lang::XMultiServiceFactory > xFactory( ::comphelper::getProcessServiceFactory() );
@@ -326,9 +325,9 @@ void SvxOnlineUpdateTabPage::Reset( const SfxItemSet& )
m_xUpdateAccess->getByName( UNISTRING("AutoDownloadEnabled") ) >>= bValue;
m_aAutoDownloadCheckBox.Check(bValue);
- m_aDestPathLabel.Enable(bValue);
- m_aDestPath.Enable(bValue);
- m_aChangePathButton.Enable(bValue);
+ m_aDestPathLabel.Enable(TRUE);
+ m_aDestPath.Enable(TRUE);
+ m_aChangePathButton.Enable(TRUE);
rtl::OUString sValue, aPath;
m_xUpdateAccess->getByName( UNISTRING("DownloadDestination") ) >>= sValue;
@@ -360,19 +359,6 @@ IMPL_LINK( SvxOnlineUpdateTabPage, AutoCheckHdl_Impl, CheckBox *, pBox )
// -----------------------------------------------------------------------
-IMPL_LINK( SvxOnlineUpdateTabPage, AutoDownloadHdl_Impl, CheckBox *, pBox )
-{
- BOOL bEnabled = pBox->IsChecked();
-
- m_aDestPathLabel.Enable(bEnabled);
- m_aDestPath.Enable(bEnabled);
- m_aChangePathButton.Enable(bEnabled);
-
- return 0;
-}
-
-// -----------------------------------------------------------------------
-
IMPL_LINK( SvxOnlineUpdateTabPage, FileDialogHdl_Impl, PushButton *, EMPTYARG )
{
uno::Reference < lang::XMultiServiceFactory > xFactory( ::comphelper::getProcessServiceFactory() );