diff options
| author | Felipe Sanches <fsanches@metamaquina.com.br> | 2017-06-09 22:48:15 +0000 |
|---|---|---|
| committer | Felipe Sanches <fsanches@metamaquina.com.br> | 2017-06-09 22:48:15 +0000 |
| commit | 7fb5cc121c35a86136033580a7835474ab284296 (patch) | |
| tree | a485abc8dc609aca67d1c334d6cfa132b927d200 /src | |
| parent | add .gitignore (diff) | |
| parent | Disable debugging code on libnrtype Layout-TNG-Compute at compile-time. (diff) | |
| download | inkscape-7fb5cc121c35a86136033580a7835474ab284296.tar.gz inkscape-7fb5cc121c35a86136033580a7835474ab284296.zip | |
Merge branch 'disable_libnrtype_debugging_code' into 'master'
Disable debugging code on libnrtype Layout-TNG-Compute at compile-time.
See merge request !1
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(); |
