diff options
| author | Felipe Corrêa da Silva Sanches <juca@members.fsf.org> | 2017-06-09 21:04:28 +0000 |
|---|---|---|
| committer | Felipe Corrêa da Silva Sanches <juca@members.fsf.org> | 2017-06-09 21:04:28 +0000 |
| commit | 01eb013ee6bf17c8d330385a5db614aa40758dee (patch) | |
| tree | df7dcdced4de88b1b70cc05e0b2ea02c23ff865b /src | |
| parent | Translation. Romanian translation update by Cristian Secară. (diff) | |
| download | inkscape-01eb013ee6bf17c8d330385a5db614aa40758dee.tar.gz inkscape-01eb013ee6bf17c8d330385a5db614aa40758dee.zip | |
Disable debugging code on libnrtype Layout-TNG-Compute at compile-time.
Diffstat (limited to 'src')
| -rw-r--r-- | src/libnrtype/Layout-TNG-Compute.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libnrtype/Layout-TNG-Compute.cpp b/src/libnrtype/Layout-TNG-Compute.cpp index 8e173a7c7..79fdadb54 100644 --- a/src/libnrtype/Layout-TNG-Compute.cpp +++ b/src/libnrtype/Layout-TNG-Compute.cpp @@ -19,6 +19,8 @@ namespace Inkscape { namespace Text { +//#define DEBUG_LAYOUT_TNG_COMPUTE + //#define IFTRACE(_code) _code #define IFTRACE(_code) @@ -203,6 +205,8 @@ class Layout::Calculator /* *********************************************************************************************************/ // Per-line functions + +#ifdef DEBUG_LAYOUT_TNG_COMPUTE /** * For debugging, not called in distributed code * @@ -241,7 +245,7 @@ static void dumpUnbrokenSpans(ParagraphInfo *para){ << std::endl; } } - +#endif //DEBUG_LAYOUT_TNG_COMPUTE bool _goToNextWrapShape(); |
