[Libreoffice-commits] .: sc/source

Pierre-André Jacquod pjacquod at kemper.freedesktop.org
Thu Dec 16 12:35:39 PST 2010


 sc/source/core/data/dpobject.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit fa24ee0dc6ea574a0b702c2455849fe065d79064
Author: Pierre-André Jacquod <pjacquod at alumni.ethz.ch>
Date:   Thu Dec 16 21:26:42 2010 +0100

    fix compiling error with --enable-dbgutil
    
    the pDoc variable has been removed with commit:
    1ce7fb1258d86287a9aea the 2010-11-06 07:49:11
    hence removing it form the DBG_ASSERT( pDoc || xSource.is(),

diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx
index 2df47c7..72bbadc 100644
--- a/sc/source/core/data/dpobject.cxx
+++ b/sc/source/core/data/dpobject.cxx
@@ -2169,8 +2169,8 @@ void ScDPObject::ConvertOrientation(
     const Reference<XDimensionsSupplier>& xSource,
     vector<PivotField>* pRefColFields, vector<PivotField>* pRefRowFields, vector<PivotField>* pRefPageFields )
 {
-    //	pDoc or xSource must be set
-    DBG_ASSERT( pDoc || xSource.is(), "missing string source" );
+    //	xSource must be set
+    DBG_ASSERT( xSource.is(), "missing string source" );
 
     vector<PivotField>::const_iterator itr, itrBeg = rFields.begin(), itrEnd = rFields.end();
     for (itr = itrBeg; itr != itrEnd; ++itr)


More information about the Libreoffice-commits mailing list