Commits

Anonymous committed 155eb91

textalignment01: #i105270# - minor adjustment to avoid compiler warning under Linux/Solaris

  • Participants
  • Parent commits eba2fa3

Comments (0)

Files changed (1)

File cui/source/tabpages/align.cxx

     // windows to be disabled, if stacked text is turned OFF
     maOrientHlp.AddDependentWindow( maCbAsianMode,  STATE_NOCHECK );
 
-    Link aLink = LINK( this, AlignmentTabPage, UpdateEnableHdl );
-    maLbHorAlign.SetSelectHdl( aLink );
-    maBtnWrap.SetClickHdl( aLink );
+    {
+        Link aLink = LINK( this, AlignmentTabPage, UpdateEnableHdl );
+        maLbHorAlign.SetSelectHdl( aLink );
+        maBtnWrap.SetClickHdl( aLink );
+    }
 
     // Asian vertical mode
     maCbAsianMode.Show( SvtCJKOptions().IsVerticalTextEnabled() );