[Libreoffice-commits] core.git: 3 commits - svx/source

Takeshi Abe tabe at fixedpoint.jp
Thu Apr 11 14:36:55 PDT 2013


 svx/source/tbxctrls/colrctrl.cxx        |    4 +-
 svx/source/tbxctrls/fillctrl.cxx        |    2 -
 svx/source/tbxctrls/layctrl.cxx         |   24 ++++++------
 svx/source/tbxctrls/lboxctrl.cxx        |   12 +++---
 svx/source/tbxctrls/tbcontrl.cxx        |   62 +++++++++++++++-----------------
 svx/source/tbxctrls/tbunocontroller.cxx |    8 ++--
 svx/source/tbxctrls/verttexttbxctrl.cxx |    4 +-
 svx/source/toolbars/extrusionbar.cxx    |    4 +-
 8 files changed, 59 insertions(+), 61 deletions(-)

New commits:
commit 6524435017f38759476970447007364e762134d0
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Thu Apr 11 18:41:30 2013 +0900

    make it local
    
    Change-Id: I5e44f15c236f5535fda1932c3206f4190834ae50

diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 3c0f9a4..3eb8abf 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -701,7 +701,7 @@ IMPL_STATIC_LINK( SvxStyleBox_Impl, FocusHdl_Impl, Control*, _pCtrl )
 
 // -----------------------------------------------------------------------
 
-bool GetDocFontList_Impl( const FontList** ppFontList, SvxFontNameBox_Impl* pBox )
+static bool lcl_GetDocFontList( const FontList** ppFontList, SvxFontNameBox_Impl* pBox )
 {
     bool bChanged = false;
     const SfxObjectShell* pDocSh = SfxObjectShell::Current();
@@ -804,7 +804,7 @@ void SvxFontNameBox_Impl::FillList()
     // Save old Selection, set back in the end
     Selection aOldSel = GetSelection();
     // Did Doc-Fontlist change?
-    GetDocFontList_Impl( &pFontList, this );
+    lcl_GetDocFontList( &pFontList, this );
     aCurText = GetText();
     SetSelection( aOldSel );
 }
@@ -814,7 +814,7 @@ IMPL_LINK( SvxFontNameBox_Impl, CheckAndMarkUnknownFont, VclWindowEvent*, event
     if( event->GetId() != VCLEVENT_EDIT_MODIFY )
         return 0;
     OUString fontname = GetSubEdit()->GetText();
-    GetDocFontList_Impl( &pFontList, this );
+    lcl_GetDocFontList( &pFontList, this );
     // If the font is unknown, show it in italic.
     Font font = GetControlFont();
     if( pFontList != NULL && pFontList->IsAvailable( fontname ))
commit d2867f4ab808c47777914bb73b848e2ab95dce89
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Thu Apr 11 18:33:21 2013 +0900

    drop unused field
    
    Change-Id: Ic362baf2204768d2e636b6fdd9199e8009c786d8

diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 723509b..3c0f9a4 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -1705,14 +1705,12 @@ struct SvxStyleToolBoxControl::Impl
     String                              aClearForm;
     String                              aMore;
     ::std::vector< OUString >    aDefaultStyles;
-    sal_Bool                        bListening;
     sal_Bool                        bSpecModeWriter;
     sal_Bool                        bSpecModeCalc;
 
     inline Impl( void )
         :aClearForm         ( SVX_RESSTR( RID_SVXSTR_CLEARFORM ) )
         ,aMore              ( SVX_RESSTR( RID_SVXSTR_MORE ) )
-        ,bListening         ( sal_False )
         ,bSpecModeWriter    ( sal_False )
         ,bSpecModeCalc      ( sal_False )
     {
commit bd7b2c7befbd10bebaba3a9b6ea491969ac1dcb0
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Thu Apr 11 18:32:27 2013 +0900

    sal_Bool to bool
    
    Change-Id: Ia86be34c6cfeab2a853305aa1568c384d7b4e2b9

diff --git a/svx/source/tbxctrls/colrctrl.cxx b/svx/source/tbxctrls/colrctrl.cxx
index 559ea4c..aec84ef 100644
--- a/svx/source/tbxctrls/colrctrl.cxx
+++ b/svx/source/tbxctrls/colrctrl.cxx
@@ -459,7 +459,7 @@ IMPL_LINK_NOARG(SvxColorDockingWindow, SelectHdl)
             }
             else
             {
-                sal_Bool bDone = sal_False;
+                bool bDone = false;
 
                 // Wenn wir eine DrawView haben und uns im TextEdit-Modus befinden,
                 // wird nicht die Flaechen-, sondern die Textfarbe zugewiesen
@@ -472,7 +472,7 @@ IMPL_LINK_NOARG(SvxColorDockingWindow, SelectHdl)
                         SvxColorItem aTextColorItem( aColor, SID_ATTR_CHAR_COLOR );
                         pDispatcher->Execute(
                             SID_ATTR_CHAR_COLOR, SFX_CALLMODE_RECORD, &aTextColorItem, 0L );
-                        bDone = sal_True;
+                        bDone = true;
                     }
                 }
                 if ( !bDone )
diff --git a/svx/source/tbxctrls/fillctrl.cxx b/svx/source/tbxctrls/fillctrl.cxx
index 91a012c..ac1fb63 100644
--- a/svx/source/tbxctrls/fillctrl.cxx
+++ b/svx/source/tbxctrls/fillctrl.cxx
@@ -664,7 +664,7 @@ IMPL_LINK( FillControl, SelectFillAttrHdl, ListBox *, pBox )
 {
     XFillStyle eXFS = (XFillStyle)pLbFillType->GetSelectEntryPos();
     XFillStyleItem aXFillStyleItem( eXFS );
-    sal_Bool bAction = pBox && !pLbFillAttr->IsTravelSelect();
+    bool bAction = pBox && !pLbFillAttr->IsTravelSelect();
 
     SfxObjectShell* pSh = SfxObjectShell::Current();
     if ( bAction )
diff --git a/svx/source/tbxctrls/layctrl.cxx b/svx/source/tbxctrls/layctrl.cxx
index b458aa6..ba93c47 100644
--- a/svx/source/tbxctrls/layctrl.cxx
+++ b/svx/source/tbxctrls/layctrl.cxx
@@ -65,8 +65,8 @@ private:
     ::Color             aBackgroundColor;
     long                nCol;
     long                nLine;
-    sal_Bool                bInitialKeyInput;
-    sal_Bool                m_bMod1;
+    bool                bInitialKeyInput;
+    bool                m_bMod1;
     ToolBox&            rTbx;
     Reference< XFrame > mxFrame;
     OUString       maCommand;
@@ -221,7 +221,7 @@ void TableWindow::KeyInput( const KeyEvent& rKEvt )
             //make sure that a table can initially be created
             if(bInitialKeyInput)
             {
-                bInitialKeyInput = sal_False;
+                bInitialKeyInput = false;
                 if(!nNewLine)
                     nNewLine = 1;
                 if(!nNewCol)
@@ -232,7 +232,7 @@ void TableWindow::KeyInput( const KeyEvent& rKEvt )
     }
     else if(KEY_MOD1 == nModifier && KEY_RETURN == nKey)
     {
-        m_bMod1 = sal_True;
+        m_bMod1 = true;
         EndPopupMode( FLOATWIN_POPUPMODEEND_CLOSEALL );
     }
 
@@ -401,8 +401,8 @@ private:
     long                nWidth;
     long                nMX;
     long                nTextHeight;
-    sal_Bool                bInitialKeyInput;
-    sal_Bool                m_bMod1;
+    bool                bInitialKeyInput;
+    bool                m_bMod1;
     ToolBox&            rTbx;
     Reference< XFrame > mxFrame;
     OUString            maCommand;
@@ -426,8 +426,8 @@ public:
 
 ColumnsWindow::ColumnsWindow( sal_uInt16 nId, const OUString& rCmd, const String& rText, ToolBox& rParentTbx, const Reference< XFrame >& rFrame ) :
     SfxPopupWindow( nId, rFrame, WB_STDPOPUP ),
-    bInitialKeyInput(sal_True),
-    m_bMod1(sal_False),
+    bInitialKeyInput(true),
+    m_bMod1(false),
     rTbx(rParentTbx),
     mxFrame(rFrame),
     maCommand( rCmd )
@@ -556,7 +556,7 @@ void ColumnsWindow::MouseButtonDown( const MouseEvent& rMEvt )
 
 void ColumnsWindow::KeyInput( const KeyEvent& rKEvt )
 {
-    sal_Bool bHandled = sal_False;
+    bool bHandled = false;
     sal_uInt16 nModifier = rKEvt.GetKeyCode().GetModifier();
     sal_uInt16 nKey = rKEvt.GetKeyCode().GetCode();
     if(!nModifier)
@@ -565,7 +565,7 @@ void ColumnsWindow::KeyInput( const KeyEvent& rKEvt )
             KEY_RETURN == nKey ||KEY_ESCAPE == nKey ||
             KEY_UP == nKey)
         {
-            bHandled = sal_True;
+            bHandled = true;
             long nNewCol = nCol;
             switch(nKey)
             {
@@ -589,7 +589,7 @@ void ColumnsWindow::KeyInput( const KeyEvent& rKEvt )
             //make sure that a table can initially be created
             if(bInitialKeyInput)
             {
-                bInitialKeyInput = sal_False;
+                bInitialKeyInput = false;
                 if(!nNewCol)
                     nNewCol = 1;
             }
@@ -598,7 +598,7 @@ void ColumnsWindow::KeyInput( const KeyEvent& rKEvt )
     }
     else if(KEY_MOD1 == nModifier && KEY_RETURN == nKey)
     {
-        m_bMod1 = sal_True;
+        m_bMod1 = true;
         if(IsMouseCaptured())
             ReleaseMouse();
         EndPopupMode(FLOATWIN_POPUPMODEEND_CLOSEALL );
diff --git a/svx/source/tbxctrls/lboxctrl.cxx b/svx/source/tbxctrls/lboxctrl.cxx
index d566660..ab150fa 100644
--- a/svx/source/tbxctrls/lboxctrl.cxx
+++ b/svx/source/tbxctrls/lboxctrl.cxx
@@ -60,7 +60,7 @@ class SvxPopupWindowListBox : public SfxPopupWindow
 
     ListBox *       pListBox;
     ToolBox &       rToolBox;
-    sal_Bool            bUserSel;
+    bool            bUserSel;
     sal_uInt16          nTbxId;
     OUString   maCommandURL;
     // disallow copy-constructor and assignment-operator
@@ -82,8 +82,8 @@ public:
 
     inline ListBox &            GetListBox()    { return *pListBox; }
 
-    sal_Bool                        IsUserSelected() const          { return bUserSel; }
-    void                        SetUserSelected( sal_Bool bVal )    { bUserSel = bVal; }
+    bool                        IsUserSelected() const          { return bUserSel; }
+    void                        SetUserSelected( bool bVal )    { bUserSel = bVal; }
     /*virtual*/Window*                     GetPreferredKeyInputWindow();
 };
 
@@ -92,7 +92,7 @@ public:
 SvxPopupWindowListBox::SvxPopupWindowListBox( sal_uInt16 nSlotId, const OUString& rCommandURL, sal_uInt16 nId, ToolBox& rTbx ) :
     SfxPopupWindow( nSlotId, Reference< XFrame >(), SVX_RES( RID_SVXTBX_UNDO_REDO_CTRL ) ),
     rToolBox    ( rTbx ),
-    bUserSel    ( sal_False ),
+    bUserSel    ( false ),
     nTbxId      ( nId ),
     maCommandURL( rCommandURL )
 {
@@ -225,14 +225,14 @@ IMPL_LINK_NOARG(SvxListBoxControl, SelectHdl)
 {
     if (pPopupWin)
     {
-        //pPopupWin->SetUserSelected( sal_False );
+        //pPopupWin->SetUserSelected( false );
 
         ListBox &rListBox = pPopupWin->GetListBox();
         if (rListBox.IsTravelSelect())
             Impl_SetInfo( rListBox.GetSelectEntryCount() );
         else
         {
-            pPopupWin->SetUserSelected( sal_True );
+            pPopupWin->SetUserSelected( true );
             pPopupWin->EndPopupMode( 0 );
         }
     }
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 55be771..723509b 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -128,11 +128,11 @@ class SvxStyleBox_Impl : public ComboBox
     using Window::IsVisible;
 public:
     SvxStyleBox_Impl( Window* pParent, const OUString& rCommand, SfxStyleFamily eFamily, const Reference< XDispatchProvider >& rDispatchProvider,
-                        const Reference< XFrame >& _xFrame,const String& rClearFormatKey, const String& rMoreKey, sal_Bool bInSpecialMode );
+                        const Reference< XFrame >& _xFrame,const String& rClearFormatKey, const String& rMoreKey, bool bInSpecialMode );
     ~SvxStyleBox_Impl();
 
     void            SetFamily( SfxStyleFamily eNewFamily );
-    inline sal_Bool IsVisible() { return bVisible; }
+    inline bool IsVisible() { return bVisible; }
 
     virtual long    PreNotify( NotifyEvent& rNEvt );
     virtual long    Notify( NotifyEvent& rNEvt );
@@ -153,17 +153,17 @@ protected:
 private:
     SfxStyleFamily                  eStyleFamily;
     sal_uInt16                      nCurSel;
-    sal_Bool                        bRelease;
+    bool                            bRelease;
     Size                            aLogicalSize;
     Link                            aVisibilityListener;
-    sal_Bool                        bVisible;
+    bool                            bVisible;
     Reference< XDispatchProvider >  m_xDispatchProvider;
     Reference< XFrame >             m_xFrame;
     OUString                        m_aCommand;
     String                          aClearFormatKey;
     String                          aMoreKey;
     String                          sDefaultStyle;
-    sal_Bool                        bInSpecialMode;
+    bool                            bInSpecialMode;
 
     void            ReleaseFocus();
 };
@@ -184,7 +184,7 @@ private:
     Size                           aLogicalSize;
     String                         aCurText;
     sal_uInt16                     nFtCount;
-    sal_Bool                       bRelease;
+    bool                           bRelease;
     Reference< XDispatchProvider > m_xDispatchProvider;
     Reference< XFrame >            m_xFrame;
 
@@ -325,13 +325,13 @@ SvxStyleBox_Impl::SvxStyleBox_Impl(
     const Reference< XFrame >&              _xFrame,
     const String&                           rClearFormatKey,
     const String&                           rMoreKey,
-    sal_Bool                                    bInSpec) :
+    bool                                    bInSpec) :
 
     ComboBox( pParent, SVX_RES( RID_SVXTBX_STYLE ) ),
 
     eStyleFamily( eFamily ),
-    bRelease    ( sal_True ),
-    bVisible(sal_False),
+    bRelease    ( true ),
+    bVisible(false),
     m_xDispatchProvider( rDispatchProvider ),
     m_xFrame(_xFrame),
     m_aCommand  ( rCommand ),
@@ -355,7 +355,7 @@ void SvxStyleBox_Impl::ReleaseFocus()
 {
     if ( !bRelease )
     {
-        bRelease = sal_True;
+        bRelease = true;
         return;
     }
     if ( m_xFrame.is() && m_xFrame->getContainerWindow().is() )
@@ -492,7 +492,7 @@ long SvxStyleBox_Impl::Notify( NotifyEvent& rNEvt )
             case KEY_TAB:
             {
                 if ( KEY_TAB == nCode )
-                    bRelease = sal_False;
+                    bRelease = false;
                 else
                     nHandled = 1;
                 Select();
@@ -534,7 +534,7 @@ void SvxStyleBox_Impl::StateChanged( StateChangedType nStateChange )
     }
     else if ( nStateChange == STATE_CHANGE_INITSHOW )
     {
-        bVisible = sal_True;
+        bVisible = true;
         if ( aVisibilityListener.IsSet() )
             aVisibilityListener.Call( this );
     }
@@ -701,9 +701,9 @@ IMPL_STATIC_LINK( SvxStyleBox_Impl, FocusHdl_Impl, Control*, _pCtrl )
 
 // -----------------------------------------------------------------------
 
-sal_Bool GetDocFontList_Impl( const FontList** ppFontList, SvxFontNameBox_Impl* pBox )
+bool GetDocFontList_Impl( const FontList** ppFontList, SvxFontNameBox_Impl* pBox )
 {
-    sal_Bool bChanged = sal_False;
+    bool bChanged = false;
     const SfxObjectShell* pDocSh = SfxObjectShell::Current();
     SvxFontListItem* pFontListItem = NULL;
 
@@ -717,7 +717,7 @@ sal_Bool GetDocFontList_Impl( const FontList** ppFontList, SvxFontNameBox_Impl*
         SAL_WNODEPRECATED_DECLARATIONS_POP
         *ppFontList = aFontList.get();
         pBox->SetOwnFontList(aFontList);
-        bChanged = sal_True;
+        bChanged = true;
     }
 
     if ( pFontListItem )
@@ -730,7 +730,7 @@ sal_Bool GetDocFontList_Impl( const FontList** ppFontList, SvxFontNameBox_Impl*
         {
             // => take over
             *ppFontList = pNewFontList;
-            bChanged = sal_True;
+            bChanged = true;
         }
         else
         {
@@ -783,7 +783,7 @@ SvxFontNameBox_Impl::SvxFontNameBox_Impl( Window* pParent, const Reference< XDis
     pFontList          ( NULL ),
     aLogicalSize       ( 60,160 ),
     nFtCount           ( 0 ),
-    bRelease           ( sal_True ),
+    bRelease           ( true ),
     m_xDispatchProvider( rDispatchProvider ),
     m_xFrame (_xFrame)
 {
@@ -885,7 +885,7 @@ long SvxFontNameBox_Impl::Notify( NotifyEvent& rNEvt )
             case KEY_TAB:
             {
                 if ( KEY_TAB == nCode )
-                    bRelease = sal_False;
+                    bRelease = false;
                 else
                     nHandled = 1;
                 Select();
@@ -928,7 +928,7 @@ void SvxFontNameBox_Impl::ReleaseFocus_Impl()
 {
     if ( !bRelease )
     {
-        bRelease = sal_True;
+        bRelease = true;
         return;
     }
     if ( m_xFrame.is() && m_xFrame->getContainerWindow().is() )
@@ -1465,20 +1465,20 @@ void SvxFrameWindow_Impl::StateChanged(
             //initial calls mustn't insert or remove elements
             if(aFrameSet.GetItemCount())
             {
-                sal_Bool bTableMode = ( aFrameSet.GetItemCount() == 12 );
-                sal_Bool bResize    = sal_False;
+                bool bTableMode = ( aFrameSet.GetItemCount() == 12 );
+                bool bResize    = false;
 
                 if ( bTableMode && bParagraphMode )
                 {
                     for ( sal_uInt16 i = 9; i < 13; i++ )
                         aFrameSet.RemoveItem(i);
-                    bResize = sal_True;
+                    bResize = true;
                 }
                 else if ( !bTableMode && !bParagraphMode )
                 {
                     for ( sal_uInt16 i = 9; i < 13; i++ )
                         aFrameSet.InsertItem( i, aImgList.GetImage(i) );
-                    bResize = sal_True;
+                    bResize = true;
                 }
 
                 if ( bResize )
@@ -1931,7 +1931,7 @@ void SvxStyleToolBoxControl::FillStyleBox()
         const SfxStyleFamily    eFamily     = GetActFamily();
         sal_uInt16                  nCount      = pStyleSheetPool->Count();
         SfxStyleSheetBase*      pStyle      = NULL;
-        sal_Bool                    bDoFill     = sal_False;
+        bool                    bDoFill     = false;
 
         pStyleSheetPool->SetSearchMask( eFamily, SFXSTYLEBIT_USED );
 
@@ -1941,7 +1941,7 @@ void SvxStyleToolBoxControl::FillStyleBox()
         //!!! so the list doesn't show the count
         if ( nCount != pBox->GetEntryCount() )
         {
-            bDoFill = sal_True;
+            bDoFill = true;
         }
         else
         {
@@ -2576,12 +2576,12 @@ void SvxColorExtToolBoxControl::Select( sal_Bool )
 {
     OUString aCommand;
     OUString aParamName;
-    sal_Bool bNoArgs = sal_False;
+    bool bNoArgs = false;
 
     switch( GetSlotId() )
     {
         case SID_ATTR_CHAR_COLOR2 :
-            bNoArgs     = sal_True;
+            bNoArgs     = true;
             aCommand    = OUString( ".uno:CharColorExt" );
             aParamName  = OUString( "CharColorExt" );
             break;
@@ -2597,7 +2597,7 @@ void SvxColorExtToolBoxControl::Select( sal_Bool )
             break;
 
         case SID_ATTR_CHAR_COLOR_BACKGROUND :
-            bNoArgs     = sal_True;
+            bNoArgs     = true;
             aCommand    = OUString( ".uno:CharBackgroundExt" );
             aParamName  = OUString( "CharBackgroundExt" );
             break;
diff --git a/svx/source/tbxctrls/tbunocontroller.cxx b/svx/source/tbxctrls/tbunocontroller.cxx
index 740a2ac..dc7e1dd 100644
--- a/svx/source/tbxctrls/tbunocontroller.cxx
+++ b/svx/source/tbxctrls/tbunocontroller.cxx
@@ -63,7 +63,7 @@ private:
     FontHeightToolBoxControl*                  m_pCtrl;
     String                                     m_aCurText;
     Size                                       m_aLogicalSize;
-    sal_Bool                                       m_bRelease;
+    bool                                       m_bRelease;
     uno::Reference< frame::XDispatchProvider > m_xDispatchProvider;
     uno::Reference< frame::XFrame >            m_xFrame;
     uno::Reference< awt::XWindow >             m_xOldFocusWindow;
@@ -85,7 +85,7 @@ SvxFontSizeBox_Impl::SvxFontSizeBox_Impl(
 
     m_pCtrl             ( &_rCtrl ),
     m_aLogicalSize      ( 30,100 ),
-    m_bRelease          ( sal_True ),
+    m_bRelease          ( true ),
     m_xDispatchProvider ( _rDispatchProvider ),
     m_xFrame            ( _xFrame )
 {
@@ -100,7 +100,7 @@ void SvxFontSizeBox_Impl::ReleaseFocus_Impl()
 {
     if ( !m_bRelease )
     {
-        m_bRelease = sal_True;
+        m_bRelease = true;
         return;
     }
 
@@ -196,7 +196,7 @@ long SvxFontSizeBox_Impl::Notify( NotifyEvent& rNEvt )
             case KEY_TAB:
             {
                 if ( KEY_TAB == nCode )
-                    m_bRelease = sal_False;
+                    m_bRelease = false;
                 else
                     nHandled = 1;
                 Select();
diff --git a/svx/source/tbxctrls/verttexttbxctrl.cxx b/svx/source/tbxctrls/verttexttbxctrl.cxx
index 6455377..2721c9a 100644
--- a/svx/source/tbxctrls/verttexttbxctrl.cxx
+++ b/svx/source/tbxctrls/verttexttbxctrl.cxx
@@ -61,7 +61,7 @@ void SvxVertCTLTextTbxCtrl::StateChanged(
     const SfxPoolItem* pState )
 {
     SvtLanguageOptions aLangOptions;
-    sal_Bool bCalc = sal_False;
+    bool bCalc = false;
     sal_Bool bEnabled = sal_False;
     if ( nSID == SID_VERTICALTEXT_STATE )
         bEnabled = aLangOptions.IsVerticalTextEnabled();
@@ -78,7 +78,7 @@ void SvxVertCTLTextTbxCtrl::StateChanged(
         // always hide if either IsVerticalTextEnabled or IsCTLFontEnabled
         // is false
         GetToolBox().HideItem( GetId() );
-        bCalc = sal_True;
+        bCalc = true;
     }
     if(bCalc)
     {
diff --git a/svx/source/toolbars/extrusionbar.cxx b/svx/source/toolbars/extrusionbar.cxx
index 582d462..ef8fe93 100644
--- a/svx/source/toolbars/extrusionbar.cxx
+++ b/svx/source/toolbars/extrusionbar.cxx
@@ -170,7 +170,7 @@ static void impl_execute( SdrView*, SfxRequest& rReq, SdrCustomShapeGeometryItem
     case SID_EXTRUSION_TILT_LEFT:
     case SID_EXTRUSION_TILT_RIGHT:
     {
-        sal_Bool bHorizontal = ( nSID == SID_EXTRUSION_TILT_DOWN ) || ( nSID == SID_EXTRUSION_TILT_UP );
+        bool bHorizontal = ( nSID == SID_EXTRUSION_TILT_DOWN ) || ( nSID == SID_EXTRUSION_TILT_UP );
         sal_Int32 nDiff = ( nSID == SID_EXTRUSION_TILT_LEFT ) || ( nSID == SID_EXTRUSION_TILT_UP ) ? 5 : -5;
         EnhancedCustomShapeParameterPair aRotateAnglePropPair;
         double fX = 0.0;
@@ -671,7 +671,7 @@ void getExtrusionDirectionState( SdrView* pSdrView, SfxItemSet& rSet )
                     continue;
             }
 
-            sal_Bool    bParallel = sal_True;
+            bool        bParallel = true;
             Position3D  aViewPoint( 3472, -3472, 25000 );
             double      fSkewAngle = -135;
 


More information about the Libreoffice-commits mailing list