]> git.lyx.org Git - lyx.git/commitdiff
delete unused code.
authorAbdelrazak Younes <younes@lyx.org>
Wed, 24 Oct 2007 16:00:25 +0000 (16:00 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 24 Oct 2007 16:00:25 +0000 (16:00 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21182 a592a061-630c-0410-9148-cb99ea01b6c8

src/Paragraph.cpp

index 4e58096bc954013d1c80897272c34c800e63c981..326b47d17d7700cb324edeeb7ec03723278e87fe 100644 (file)
@@ -2067,49 +2067,6 @@ bool Paragraph::latex(Buffer const & buf,
 }
 
 
-namespace {
-
-enum PAR_TAG {
-       PAR_NONE=0,
-       TT = 1,
-       SF = 2,
-       BF = 4,
-       IT = 8,
-       SL = 16,
-       EM = 32
-};
-
-
-string tag_name(PAR_TAG const & pt) {
-       switch (pt) {
-       case PAR_NONE: return "!-- --";
-       case TT: return "tt";
-       case SF: return "sf";
-       case BF: return "bf";
-       case IT: return "it";
-       case SL: return "sl";
-       case EM: return "em";
-       }
-       return "";
-}
-
-
-inline
-void operator|=(PAR_TAG & p1, PAR_TAG const & p2)
-{
-       p1 = static_cast<PAR_TAG>(p1 | p2);
-}
-
-
-inline
-void reset(PAR_TAG & p1, PAR_TAG const & p2)
-{
-       p1 = static_cast<PAR_TAG>(p1 & ~p2);
-}
-
-} // anon
-
-
 bool Paragraph::emptyTag() const
 {
        for (pos_type i = 0; i < size(); ++i) {