The "Clear formatting" style-selection option does not remove hyperlinks. This is the case whether "Clear formatting" is selected from the style selection window, or whether the hotkey combination "<Ctrl> m" is pressed. Formatting containing hyperlinks is not cleared unless the user manually removes them (e.g. right-click on the link and select, "Remove hyperlink" Steps to Reproduce: 1. Open LibreOffice Writer 2. Copy-and-paste a paragraph containing hyperlinks from somewhere on the Internet (e.g. slashdot.org) into the Writer document. 3. Select the entire paragraph by pressing "<Ctrl> a" 4. Attempt to clear formatting by pressing "<Ctrl> m" or selecting "Clear formatting" from the drop-down list in the styles selection window. Results: Italic formatting is cleared, but not hyperlinks. Expected behavior: Hyperlinks will be removed along with other formatting.
Reproduced in Mac OS X, LibreOffice 3.3.
this is not a bug, but a behaviour. "Clear Formatting" resets all direct formatting to keep only the styles. To remove hyperlinks you need to select text containing the link(s) and use "Remove Hyperlink" in the context menu (right click)
I am disappointed to hear that this is a "feature." This functionality is inconsistant with OpenOffice and MS Office. I frequently copy-and-paste blocks of text with many hyperlinks into Writer documents. Tight-clicking to remove all the hyperlinks is not practical and is a step backwards for LibreOffice. I suppose I could paste the hyperlinked-text into an interm text editor like Notepad that does not allow hyperlinks, and then copy-and-paste it from Notepad into LibreOffice. This is a klugy work-around, though, for something that was working just fine in OOo.
I think "Clear Direct Formatting" option (Ctrl-M) on Writer is differ from what on Calc. Because on Calc that option will remove hyperlink. See Bug 62561