Author: orw
Date: Mon Apr 8 13:54:35 2013
New Revision: 1465638
URL: http://svn.apache.org/r1465638
Log:
#121420# - fix for Linux build
Modified:
openoffice/branches/sidebar/main/cui/source/tabpages/tplneend.cxx
Modified: openoffice/branches/sidebar/main/cui/source/tabpages/tplneend.cxx
URL:
http://svn.apache.org/viewvc/openoffice/branches/sidebar/main/cui/source/tabpages/tplneend.cxx?rev=1465638&r1=1465637&r2=1465638&view=diff
==============================================================================
--- openoffice/branches/sidebar/main/cui/source/tabpages/tplneend.cxx (original)
+++ openoffice/branches/sidebar/main/cui/source/tabpages/tplneend.cxx Mon Apr
8 13:54:35 2013
@@ -399,24 +399,25 @@ IMPL_LINK( SvxLineEndDefTabPage, ClickMo
delete( pDlg );
}
- // Wenn nicht vorhanden, wird Eintrag aufgenommen
- if( bDifferent )
- {
+ // Wenn nicht vorhanden, wird Eintrag aufgenommen
+ if( bDifferent )
+ {
XLineEndEntry* pEntry = pLineEndList->GetLineEnd( nPos );
- pEntry->SetName( aName );
- aEdtName.SetText( aName );
-
- aLbLineEnds.Modify( pEntry, nPos,
&pLineEndList->GetUiBitmap( nPos ) );
- aLbLineEnds.SelectEntryPos( nPos );
-
- // Flag fuer modifiziert setzen
- *pnLineEndListState |= CT_MODIFIED;
+ pEntry->SetName( aName );
+ aEdtName.SetText( aName );
- *pPageType = 3;
- }
- }
- return( 0L );
+ const Bitmap aUiBitmap( pLineEndList->GetUiBitmap( nPos ) );
+ aLbLineEnds.Modify( pEntry, nPos, &aUiBitmap );
+ aLbLineEnds.SelectEntryPos( nPos );
+
+ // Flag fuer modifiziert setzen
+ *pnLineEndListState |= CT_MODIFIED;
+
+ *pPageType = 3;
+ }
+ }
+ return( 0L );
}
//------------------------------------------------------------------------