summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sal/log-areas.dox1
-rw-r--r--sw/source/uibase/docvw/srcedtw.cxx10
2 files changed, 1 insertions, 10 deletions
diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox
index 8702656bbb18..fca315f7c915 100644
--- a/include/sal/log-areas.dox
+++ b/include/sal/log-areas.dox
@@ -534,7 +534,6 @@ certain functionality.
@li @c sw.idle
@li @c sw.layout - Writer core view: document layout
@li @c sw.layout.debug - Writer layout dbg_lay output
-@li @c sw.level2
@li @c sw.mailmerge - Writer mail merge
@li @c sw.pageframe - debug lifecycle of SwPageFrame
@li @c sw.rtf - .rtf export filter
diff --git a/sw/source/uibase/docvw/srcedtw.cxx b/sw/source/uibase/docvw/srcedtw.cxx
index ba8bcad6650d..cbd0f132a943 100644
--- a/sw/source/uibase/docvw/srcedtw.cxx
+++ b/sw/source/uibase/docvw/srcedtw.cxx
@@ -148,20 +148,12 @@ static void lcl_Highlight(const OUString& rSource, TextPortions& aPortionList)
HtmlTokenId nToken = ::GetHTMLToken(sToken);
if(nToken != HtmlTokenId::NONE)
{
- // Token was found
eFoundType = svtools::HTMLKEYWORD;
nPortEnd = nSrchPos;
nPortStart = nActPos;
}
else
- {
- // what was that?
- SAL_WARN(
- "sw.level2",
- "Token " << sToken
- << " not recognised!");
- }
-
+ SAL_WARN("sw", "HTML token " << sToken << " not recognised!");
}
}
// now we still have to look for '>'