summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx')
-rw-r--r--svx/prj/build.lst2
-rw-r--r--svx/source/cui/treeopt.cxx4
-rw-r--r--svx/source/dialog/impgrf.cxx2
-rw-r--r--svx/source/editeng/editeng.cxx2
-rw-r--r--svx/source/editeng/svxacorr.cxx4
-rw-r--r--svx/source/editeng/txtrange.cxx2
-rw-r--r--svx/source/items/paraitem.cxx2
-rw-r--r--svx/source/svdraw/svdview.cxx2
-rw-r--r--svx/source/svrtf/rtfgrf.cxx2
-rw-r--r--svx/source/svxlink/fileobj.cxx2
10 files changed, 12 insertions, 12 deletions
diff --git a/svx/prj/build.lst b/svx/prj/build.lst
index 56980702fb2d..feb6c027d8cc 100644
--- a/svx/prj/build.lst
+++ b/svx/prj/build.lst
@@ -1,4 +1,4 @@
-sx svx : l10n connectivity xmloff linguistic jvmfwk avmedia configmgr ucb fileaccess drawinglayer NULL
+sx svx : l10n connectivity xmloff linguistic jvmfwk avmedia drawinglayer NULL
sx svx usr1 - all sx_mkout NULL
sx svx\inc nmake - all sx_inc NULL
sx svx\uiconfig\layout nmake - all sx_layout NULL
diff --git a/svx/source/cui/treeopt.cxx b/svx/source/cui/treeopt.cxx
index 744f9d5c1dbe..ca2be79075e8 100644
--- a/svx/source/cui/treeopt.cxx
+++ b/svx/source/cui/treeopt.cxx
@@ -2034,7 +2034,7 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
( RID_SW_TP_MAILCONFIG != nPageId || MailMergeCfg_Impl().IsEmailSupported() ) )
AddTabPage( nPageId, rTextArray.GetString(i), nGroup );
}
-#ifndef PRODUCT
+#ifdef DBG_UTIL
AddTabPage( RID_SW_TP_OPTTEST_PAGE, String::CreateFromAscii("Interner Test"), nGroup );
#endif
}
@@ -2050,7 +2050,7 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
if ( !lcl_isOptionHidden( nPageId, aOptionsDlgOpt ) )
AddTabPage( nPageId, rHTMLArray.GetString(i), nGroup );
}
-#ifndef PRODUCT
+#ifdef DBG_UTIL
AddTabPage( RID_SW_TP_OPTTEST_PAGE, String::CreateFromAscii("Interner Test"), nGroup );
#endif
}
diff --git a/svx/source/dialog/impgrf.cxx b/svx/source/dialog/impgrf.cxx
index 59292068852b..6fad7cb03f58 100644
--- a/svx/source/dialog/impgrf.cxx
+++ b/svx/source/dialog/impgrf.cxx
@@ -111,7 +111,7 @@ int LoadGraphic( const String &rPath, const String &rFilterName,
nRes = pFilter->ImportGraphic( rGraphic, rPath, *pStream,
nFilter, pDeterminedFormat );
-#ifndef PRODUCT
+#ifdef DBG_UTIL
if( nRes )
{
if( pMed )
diff --git a/svx/source/editeng/editeng.cxx b/svx/source/editeng/editeng.cxx
index 059dae19c8f8..0f513b84bdfe 100644
--- a/svx/source/editeng/editeng.cxx
+++ b/svx/source/editeng/editeng.cxx
@@ -1128,7 +1128,7 @@ sal_Bool EditEngine::PostKeyEvent( const KeyEvent& rKeyEvent, EditView* pEditVie
break;
default:
{
- #if (OSL_DEBUG_LEVEL > 1) && !defined( PRODUCT )
+ #if (OSL_DEBUG_LEVEL > 1) && defined(DBG_UTIL)
if ( ( nCode == KEY_W ) && rKeyEvent.GetKeyCode().IsMod1() && rKeyEvent.GetKeyCode().IsMod2() )
{
SfxItemSet aAttribs = pEditView->GetAttribs();
diff --git a/svx/source/editeng/svxacorr.cxx b/svx/source/editeng/svxacorr.cxx
index 88e1543ab8c9..a6f9faf6eff4 100644
--- a/svx/source/editeng/svxacorr.cxx
+++ b/svx/source/editeng/svxacorr.cxx
@@ -1385,7 +1385,7 @@ void SvxAutoCorrect::SaveCplSttExceptList( LanguageType eLang )
if( pLists )
pLists->SaveCplSttExceptList();
}
-#ifndef PRODUCT
+#ifdef DBG_UTIL
else
{
DBG_ERROR("speichern einer leeren Liste?");
@@ -1401,7 +1401,7 @@ void SvxAutoCorrect::SaveWrdSttExceptList(LanguageType eLang)
if(pLists)
pLists->SaveWrdSttExceptList();
}
-#ifndef PRODUCT
+#ifdef DBG_UTIL
else
{
DBG_ERROR("speichern einer leeren Liste?");
diff --git a/svx/source/editeng/txtrange.cxx b/svx/source/editeng/txtrange.cxx
index 223219ae4b6a..7a33745fd974 100644
--- a/svx/source/editeng/txtrange.cxx
+++ b/svx/source/editeng/txtrange.cxx
@@ -67,7 +67,7 @@ TextRanger::TextRanger( const basegfx::B2DPolyPolygon& rPolyPolygon, const baseg
bInner( bInnr ),
bVertical( bVert )
{
-#ifndef PRODUCT
+#ifdef DBG_UTIL
bFlag3 = bFlag4 = bFlag5 = bFlag6 = bFlag7 = FALSE;
#endif
pRangeArr = new Range[ nCacheSize ];
diff --git a/svx/source/items/paraitem.cxx b/svx/source/items/paraitem.cxx
index 80af583638e8..f9d9cc97f59d 100644
--- a/svx/source/items/paraitem.cxx
+++ b/svx/source/items/paraitem.cxx
@@ -283,7 +283,7 @@ SfxItemPresentation SvxLineSpacingItem::GetPresentation
XubString& rText, const IntlWrapper *
) const
{
-#ifndef PRODUCT
+#ifdef DBG_UTIL
rText.AssignAscii( RTL_CONSTASCII_STRINGPARAM( "SvxLineSpacingItem" ));
#else
rText.Erase();
diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx
index cd37fa21f9f5..c7702b0d372a 100644
--- a/svx/source/svdraw/svdview.cxx
+++ b/svx/source/svdraw/svdview.cxx
@@ -1298,7 +1298,7 @@ XubString SdrView::GetStatusText()
aStr.SearchAndReplaceAscii("%2", UniString::CreateFromInt32(nLin + 1));
aStr.SearchAndReplaceAscii("%3", UniString::CreateFromInt32(nCol + 1));
-#ifndef PRODUCT
+#ifdef DBG_UTIL
aStr += UniString( RTL_CONSTASCII_USTRINGPARAM( ", Level " ) );
aStr += UniString::CreateFromInt32( pTextEditOutliner->GetDepth( aSel.nEndPara ) );
#endif
diff --git a/svx/source/svrtf/rtfgrf.cxx b/svx/source/svrtf/rtfgrf.cxx
index de90302586d0..6ba88589cb0f 100644
--- a/svx/source/svrtf/rtfgrf.cxx
+++ b/svx/source/svrtf/rtfgrf.cxx
@@ -44,7 +44,7 @@
#include "svxrtf.hxx"
-#ifdef PRODUCT
+#ifndef DBG_UTIL
#undef DEBUG_JP
#endif
diff --git a/svx/source/svxlink/fileobj.cxx b/svx/source/svxlink/fileobj.cxx
index f2628f181d31..b8dca94fec93 100644
--- a/svx/source/svxlink/fileobj.cxx
+++ b/svx/source/svxlink/fileobj.cxx
@@ -422,7 +422,7 @@ BOOL SvFileObject::GetGraphic_Impl( Graphic& rGrf, SvStream* pStream )
if( pStream && ERRCODE_IO_PENDING == pStream->GetError() )
pStream->ResetError();
-#ifndef PRODUCT
+#ifdef DBG_UTIL
if( nRes )
{
if( xMed.Is() && !pStream )