summaryrefslogtreecommitdiff
path: root/cui/source/dialogs
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-10-16 15:58:43 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-10-16 20:34:40 +0200
commit556997bae75be8d8876d87a43d854cb969c12ce3 (patch)
tree455b18a34d890ebe620987dd3d6578f24d76cd69 /cui/source/dialogs
parent4b1ebf998b344535d20a6205b915c21996fc06d7 (diff)
remove SID_INTERNET_ONLINE
We have no online/offline concept for the office anymore. Change-Id: Id7e71d9c4383b47d3fae6f8cb5dc18ec22a55934
Diffstat (limited to 'cui/source/dialogs')
-rw-r--r--cui/source/dialogs/cuihyperdlg.cxx19
-rw-r--r--cui/source/dialogs/hlinettp.cxx22
-rw-r--r--cui/source/dialogs/hltpbase.cxx7
3 files changed, 0 insertions, 48 deletions
diff --git a/cui/source/dialogs/cuihyperdlg.cxx b/cui/source/dialogs/cuihyperdlg.cxx
index 0be013f253b0..444f5291e98c 100644
--- a/cui/source/dialogs/cuihyperdlg.cxx
+++ b/cui/source/dialogs/cuihyperdlg.cxx
@@ -38,7 +38,6 @@ using ::com::sun::star::frame::XFrame;
SvxHlinkCtrl::SvxHlinkCtrl( sal_uInt16 _nId, SfxBindings & rBindings, SvxHpLinkDlg* pDlg )
: SfxControllerItem ( _nId, rBindings )
- ,aOnlineForwarder ( SID_INTERNET_ONLINE , *this )
,aRdOnlyForwarder ( SID_READONLY_MODE, *this )
{
pParent = pDlg;
@@ -51,11 +50,6 @@ void SvxHlinkCtrl::StateChanged( sal_uInt16 nSID, SfxItemState eState,
{
switch ( nSID )
{
- case SID_INTERNET_ONLINE :
- {
- pParent->EnableInetBrowse( !( (SfxBoolItem*)pState)->GetValue() );
- }
- break;
case SID_HYPERLINK_GETLINK :
{
pParent->SetPage ( (SvxHyperlinkItem*)pState);
@@ -332,19 +326,6 @@ sal_uInt16 SvxHpLinkDlg::SetPage ( SvxHyperlinkItem* pItem )
/*************************************************************************
|*
-|* Enable/Disable to browse targets in a html-doc
-|*
-|************************************************************************/
-
-void SvxHpLinkDlg::EnableInetBrowse( sal_Bool bEnable )
-{
- SvxHyperlinkTabPageBase* pCurrentPage = ( SvxHyperlinkTabPageBase* )
- GetTabPage ( GetCurPageId() );
- pCurrentPage->SetOnlineMode( bEnable );
-}
-
-/*************************************************************************
-|*
|* Enable/Disable ReadOnly mode
|*
|************************************************************************/
diff --git a/cui/source/dialogs/hlinettp.cxx b/cui/source/dialogs/hlinettp.cxx
index 47c6e0df1f60..b6d3802c5403 100644
--- a/cui/source/dialogs/hlinettp.cxx
+++ b/cui/source/dialogs/hlinettp.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <comphelper/string.hxx>
#include <unotools/pathoptions.hxx>
#include <unotools/useroptions.hxx>
#include <svl/adrparse.hxx>
@@ -480,25 +479,4 @@ void SvxHyperlinkInternetTp::SetMarkStr ( const OUString& aStrMark )
maCbbTarget.SetText ( aStrURL );
}
-/*************************************************************************
-|*
-|* Enable Browse-Button in subject to the office is in onlinemode
-|*
-|************************************************************************/
-
-void SvxHyperlinkInternetTp::SetOnlineMode( sal_Bool /*bEnable*/ )
-{
- // State of target-button in subject to the current url-string
- // ( Can't display any targets in an document, if there is no
- // valid url to a document )
- OUString aStrCurrentTarget(comphelper::string::stripEnd(maCbbTarget.GetText(), ' '));
-
- if( aStrCurrentTarget.isEmpty() ||
- aStrCurrentTarget.equalsIgnoreAsciiCase( sHTTPScheme ) ||
- aStrCurrentTarget.equalsIgnoreAsciiCase( sHTTPSScheme ) )
- maBtTarget.Enable( sal_False );
- else
- maBtTarget.Enable( sal_True );
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/hltpbase.cxx b/cui/source/dialogs/hltpbase.cxx
index f4673edb3a10..d849ed927276 100644
--- a/cui/source/dialogs/hltpbase.cxx
+++ b/cui/source/dialogs/hltpbase.cxx
@@ -309,13 +309,6 @@ void SvxHyperlinkTabPageBase::SetMarkStr ( const OUString& /*aStrMark*/ )
// default-implemtation : do nothing
}
-// This method will be called from the dialog-class if the state off
-// the online-mode has changed.
-void SvxHyperlinkTabPageBase::SetOnlineMode( sal_Bool /*bEnable*/ )
-{
- // default-implemtation : do nothing
-}
-
// Set initial focus
void SvxHyperlinkTabPageBase::SetInitFocus()
{