diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-04 14:36:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-04 14:44:46 +0100 |
commit | e0e82c6d12938d3eb4ff63589980a781365640c7 (patch) | |
tree | 71c8e05e11f03abf1c59ad71e0a9341f80cd85e5 /cui/source/customize | |
parent | 4c97c6a18f12db3cedfdebb033205594056c7373 (diff) |
Handling ".uno:InsertSymbol?Symbols:string=" appears to be dead code
4d3148e0b7ee607de9c86e9e9aa79e9cd423f1f1 "CWS-TOOLING: integrate CWS
mba32issues01" had introduced it, along with code in
SfxConfigGroupListBox_Impl::AddAndSelect to generate such URLs, but which had
been commented out from the beginning (and since been removed), and all other
places that mention .uno:InsertSymbol apparently use it without a query part (to
run the special character dialog), and the string has 33 characters, not 34, so
aRet would not contain the first character after Symbols:string=, which looks
odd.
Change-Id: Icdab24148b217531f2db65b1604678650180a22c
Diffstat (limited to 'cui/source/customize')
-rw-r--r-- | cui/source/customize/acccfg.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx index d555932e1f9a..df3c47487ee8 100644 --- a/cui/source/customize/acccfg.cxx +++ b/cui/source/customize/acccfg.cxx @@ -1513,16 +1513,6 @@ OUString SfxAcceleratorConfigPage::GetLabel4Command(const OUString& sCommand) m_aStylesInfo.getLabel4Style(aStyle); return aStyle.sLabel; } - else - { - OUString aRet("Symbols: "); - sal_Int32 nPos = sCommand.indexOf(".uno:InsertSymbol?Symbols:string="); - if ( nPos == 0 ) - { - aRet += sCommand.copy(34, sCommand.getLength()-34); - return aRet; - } - } return sCommand; } |