Diffstat (limited to 'noncore/apps/opie-reader/BuffDoc.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/BuffDoc.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/noncore/apps/opie-reader/BuffDoc.cpp b/noncore/apps/opie-reader/BuffDoc.cpp index 2402904..4fbab93 100644 --- a/noncore/apps/opie-reader/BuffDoc.cpp +++ b/noncore/apps/opie-reader/BuffDoc.cpp | |||
@@ -1,34 +1,30 @@ | |||
1 | #include "names.h" | ||
2 | 1 | ||
3 | #define NEWLINEBREAK | 2 | #define NEWLINEBREAK |
4 | 3 | ||
5 | #include "BuffDoc.h" | 4 | #include "BuffDoc.h" |
6 | //#include <FL/fl_draw.h> | 5 | //#include <FL/fl_draw.h> |
7 | #include "config.h" | ||
8 | #include "CDrawBuffer.h" | ||
9 | #include "plucker.h" | 6 | #include "plucker.h" |
10 | #include "usenef.h" | ||
11 | #ifdef USENEF | 7 | #ifdef USENEF |
12 | #include "nef.h" | 8 | #include "nef.h" |
13 | #include "arrierego.h" | 9 | #include "arrierego.h" |
14 | #endif | 10 | #endif |
15 | 11 | ||
16 | linkType BuffDoc::hyperlink(unsigned int n, QString& wrd) | 12 | linkType BuffDoc::hyperlink(unsigned int n, QString& wrd) |
17 | { | 13 | { |
18 | linkType bRet = eNone; | 14 | linkType bRet = eNone; |
19 | if (exp != NULL) | 15 | if (exp != NULL) |
20 | { | 16 | { |
21 | bRet = exp->hyperlink(n, wrd); | 17 | bRet = exp->hyperlink(n, wrd); |
22 | if (bRet == eLink) | 18 | if (bRet == eLink) |
23 | { | 19 | { |
24 | lastword.empty(); | 20 | lastword.empty(); |
25 | lastsizes[0] = laststartline = n; | 21 | lastsizes[0] = laststartline = n; |
26 | #ifdef NEWLINEBREAK | 22 | #ifdef NEWLINEBREAK |
27 | lastispara = true; | 23 | lastispara = true; |
28 | #else | 24 | #else |
29 | lastispara = false; | 25 | lastispara = false; |
30 | #endif | 26 | #endif |
31 | lastsizes[0] = laststartline = exp->locate(); | 27 | lastsizes[0] = laststartline = exp->locate(); |
32 | } | 28 | } |
33 | } | 29 | } |
34 | return bRet; | 30 | return bRet; |