[Libreoffice-commits] .: svx/source

Michael Meeks michael at kemper.freedesktop.org
Sat Sep 24 03:34:43 PDT 2011


 svx/source/tbxctrls/linectrl.cxx |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 24bd2b363a8e9981a3583dfb190161ab335ee870
Author: Michael Meeks <michael.meeks at novell.com>
Date:   Sat Sep 24 11:33:38 2011 +0100

    cleanup debug build pointer -> ref migration issues

diff --git a/svx/source/tbxctrls/linectrl.cxx b/svx/source/tbxctrls/linectrl.cxx
index 2d419d2..fe54d1a 100644
--- a/svx/source/tbxctrls/linectrl.cxx
+++ b/svx/source/tbxctrls/linectrl.cxx
@@ -382,7 +382,6 @@ SvxLineEndWindow::SvxLineEndWindow(
     SfxPopupWindow( nSlotId,
                     rFrame,
                     WinBits( WB_STDPOPUP ) ),
-    pLineEndList    (),
     aLineEndSet     ( this, WinBits( WB_ITEMBORDER | WB_3DLOOK | WB_NO_DIRECTSELECT ) ),
     nCols           ( 2 ),
     nLines          ( 12 ),
@@ -404,7 +403,6 @@ SvxLineEndWindow::SvxLineEndWindow(
                     rFrame,
                     pParentWindow,
                     WinBits( WB_STDPOPUP ) ),
-    pLineEndList    ( NULL ),
     aLineEndSet     ( this, WinBits( WB_ITEMBORDER | WB_3DLOOK | WB_NO_DIRECTSELECT ) ),
     nCols           ( 2 ),
     nLines          ( 12 ),
@@ -435,7 +433,7 @@ void SvxLineEndWindow::implInit()
         if( pItem )
             nLineEndWidth = ( (SfxUInt16Item*) pItem )->GetValue();
     }
-    DBG_ASSERT( pLineEndList, "LineEndList wurde nicht gefunden" );
+    DBG_ASSERT( pLineEndList.is(), "LineEndList wurde nicht gefunden" );
 
     aLineEndSet.SetSelectHdl( LINK( this, SvxLineEndWindow, SelectHdl ) );
     aLineEndSet.SetColCount( nCols );
@@ -669,7 +667,7 @@ void SvxLineEndWindow::StateChanged(
         if ( pState && pState->ISA( SvxLineEndListItem ))
         {
             pLineEndList = ((SvxLineEndListItem*)pState)->GetLineEndList();
-            DBG_ASSERT( pLineEndList, "LineEndList nicht gefunden" );
+            DBG_ASSERT( pLineEndList.is(), "LineEndList nicht gefunden" );
 
             aLineEndSet.Clear();
             FillValueSet();


More information about the Libreoffice-commits mailing list