summaryrefslogtreecommitdiff
path: root/sw/source/core/text
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-12-23 22:48:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-05 09:18:14 +0000
commit30ec94d8d4af1ed72bc84ff6b5607d0733df9347 (patch)
treebe38485dbd98ada96c6f3f48b6491c12590e504e /sw/source/core/text
parentf84109c4577866227ac0d89368dfdceb5599954c (diff)
WaE and build fixes for OSL_DEBUG_LEVEL == 2
Diffstat (limited to 'sw/source/core/text')
-rw-r--r--sw/source/core/text/EnhancedPDFExportHelper.cxx3
-rw-r--r--sw/source/core/text/txtftn.cxx1
2 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/text/EnhancedPDFExportHelper.cxx b/sw/source/core/text/EnhancedPDFExportHelper.cxx
index 7ed062d70da9..c26d0c89873d 100644
--- a/sw/source/core/text/EnhancedPDFExportHelper.cxx
+++ b/sw/source/core/text/EnhancedPDFExportHelper.cxx
@@ -123,6 +123,7 @@ void lcl_DBGCheckStack()
{
nElement = *aIter;
}
+ (void)nElement;
}
#endif
@@ -303,6 +304,7 @@ SwTaggedPDFHelper::SwTaggedPDFHelper( const Num_Info* pNumInfo,
#if OSL_DEBUG_LEVEL > 1
nCurrentStruct = mpPDFExtOutDevData->GetCurrentStructureElement();
lcl_DBGCheckStack();
+ (void)nCurrentStruct;
#endif
}
}
@@ -324,6 +326,7 @@ SwTaggedPDFHelper::~SwTaggedPDFHelper()
#if OSL_DEBUG_LEVEL > 1
nCurrentStruct = mpPDFExtOutDevData->GetCurrentStructureElement();
lcl_DBGCheckStack();
+ (void)nCurrentStruct;
#endif
}
diff --git a/sw/source/core/text/txtftn.cxx b/sw/source/core/text/txtftn.cxx
index f8f4b36fb82d..c9b512b8e509 100644
--- a/sw/source/core/text/txtftn.cxx
+++ b/sw/source/core/text/txtftn.cxx
@@ -832,6 +832,7 @@ void SwTxtFrm::ConnectFtn( SwTxtFtn *pFtn, const SwTwips nDeadLine )
(void)bla;
}
nRstHeight = GetRstHeight();
+ (void)nRstHeight;
#endif
bInFtnConnect = sal_False;
return;