[Libreoffice-commits] .: svx/source

Caolán McNamara caolan at kemper.freedesktop.org
Fri Apr 15 08:27:05 PDT 2011


 svx/source/form/navigatortree.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f60a897e80b5ae19885cea1553b8f388018d0ae2
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Apr 15 15:50:40 2011 +0100

    WaE: in dbgutil mode

diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx
index 2780e77..0a64fde 100644
--- a/svx/source/form/navigatortree.cxx
+++ b/svx/source/form/navigatortree.cxx
@@ -1081,13 +1081,13 @@ namespace svxform
 
                 // und die Properties des alten in das neue kopieren
                 Reference< XPropertySet >  xCurrent(pControls[i], UNO_QUERY);
-#if (OSL_DEBUG_LEVEL > 1) || defined DBG_UTIL
+#if (OSL_DEBUG_LEVEL > 1)
                 // nur mal eben sehen, ob das Ding tatsaechlich ein hidden control ist
                 sal_Int16 nClassId = ::comphelper::getINT16(xCurrent->getPropertyValue(FM_PROP_CLASSID));
                 OSL_ENSURE(nClassId == FormComponentType::HIDDENCONTROL, "NavigatorTree::implExecuteDataTransfer: invalid control in drop list !");
                     // wenn das SVX_FM_HIDDEN_CONTROLS-Format vorhanden ist, dann sollten wirklich nur hidden controls in der Sequenz
                     // stecken
-#endif // (OSL_DEBUG_LEVEL > 1) || DBG_UTIL
+#endif // (OSL_DEBUG_LEVEL > 1)
                 Reference< XPropertySetInfo >  xPropInfo( xCurrent->getPropertySetInfo());
                 Sequence< Property> seqAllCurrentProps = xPropInfo->getProperties();
                 Property* pAllCurrentProps = seqAllCurrentProps.getArray();


More information about the Libreoffice-commits mailing list