summaryrefslogtreecommitdiff
path: root/sw/source/ui/uno/unomod.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/uno/unomod.cxx')
-rw-r--r--sw/source/ui/uno/unomod.cxx13
1 files changed, 2 insertions, 11 deletions
diff --git a/sw/source/ui/uno/unomod.cxx b/sw/source/ui/uno/unomod.cxx
index 4140a1414919..272e7033ceeb 100644
--- a/sw/source/ui/uno/unomod.cxx
+++ b/sw/source/ui/uno/unomod.cxx
@@ -800,16 +800,12 @@ void SwXViewSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo, c
if ( ! ( rValue >>= sHelpURL ) )
throw IllegalArgumentException();
SwEditWin &rEditWin = pView->GetEditWin();
- // FIXME: HELPID
- #if 0
OUString sPrefix = sHelpURL.copy ( 0, 4 );
// Make sure we have a valid string...should be in the format HID:12345
if ( ! sPrefix.equalsAsciiL ( RTL_CONSTASCII_STRINGPARAM ( "HID:" ) ) )
throw IllegalArgumentException ();
- OUString sNumber = sHelpURL.copy ( 4 );
- sal_uInt32 nHelpId = sNumber.toInt32();
- #endif
- rEditWin.SetHelpId ( rtl::OUStringToOString( sHelpURL, RTL_TEXTENCODING_UTF8 ) /*nHelpId*/ );
+ OUString aID = sHelpURL.copy ( 4 );
+ rEditWin.SetHelpId ( rtl::OUStringToOString( aID, RTL_TEXTENCODING_UTF8 ) );
}
else
throw UnknownPropertyException();
@@ -988,13 +984,8 @@ void SwXViewSettings::_getSingleValue( const comphelper::PropertyInfo & rInfo, u
{
bBool = sal_False;
OUStringBuffer sHelpURL;
- // FIXME: HELPID
- #if 0
sHelpURL.appendAscii ( "HID:" );
SwEditWin &rEditWin = pView->GetEditWin();
- sHelpURL.append ( static_cast < sal_Int32 > ( rEditWin.GetHelpId() ) );
- #endif
- SwEditWin &rEditWin = pView->GetEditWin();
sHelpURL.append( rtl::OStringToOUString( rEditWin.GetHelpId(), RTL_TEXTENCODING_UTF8 ) );
rValue <<= sHelpURL.makeStringAndClear();
}