summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Corrêa da Silva Sanches <juca@members.fsf.org>2017-06-09 21:04:28 +0000
committerFelipe Corrêa da Silva Sanches <juca@members.fsf.org>2017-06-09 21:04:28 +0000
commit01eb013ee6bf17c8d330385a5db614aa40758dee (patch)
treedf7dcdced4de88b1b70cc05e0b2ea02c23ff865b
parentTranslation. Romanian translation update by Cristian Secară. (diff)
downloadinkscape-01eb013ee6bf17c8d330385a5db614aa40758dee.tar.gz
inkscape-01eb013ee6bf17c8d330385a5db614aa40758dee.zip
Disable debugging code on libnrtype Layout-TNG-Compute at compile-time.
-rw-r--r--src/libnrtype/Layout-TNG-Compute.cpp6
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();