Kaydet (Commit) a2f612c3 authored tarafından Noel Grandin's avatar Noel Grandin

sal_Bool->bool

Change-Id: I9798eaeda9d3328fd93dabee71ba2fafa98e4371
üst c8c118be
...@@ -336,7 +336,7 @@ void ScPrivatSplit::MoveSplitTo(Point aPos) ...@@ -336,7 +336,7 @@ void ScPrivatSplit::MoveSplitTo(Point aPos)
} }
void ScPrivatSplit::ImplInitSettings( sal_Bool bFont, sal_Bool bForeground, sal_Bool bBackground ) void ScPrivatSplit::ImplInitSettings( bool bFont, bool bForeground, bool bBackground )
{ {
const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings(); const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
...@@ -375,17 +375,17 @@ void ScPrivatSplit::StateChanged( StateChangedType nType ) ...@@ -375,17 +375,17 @@ void ScPrivatSplit::StateChanged( StateChangedType nType )
if ( (nType == STATE_CHANGE_ZOOM) || if ( (nType == STATE_CHANGE_ZOOM) ||
(nType == STATE_CHANGE_CONTROLFONT) ) (nType == STATE_CHANGE_CONTROLFONT) )
{ {
ImplInitSettings( sal_True, false, false ); ImplInitSettings( true, false, false );
Invalidate(); Invalidate();
} }
if ( nType == STATE_CHANGE_CONTROLFOREGROUND ) if ( nType == STATE_CHANGE_CONTROLFOREGROUND )
{ {
ImplInitSettings( false, sal_True, false ); ImplInitSettings( false, true, false );
Invalidate(); Invalidate();
} }
else if ( nType == STATE_CHANGE_CONTROLBACKGROUND ) else if ( nType == STATE_CHANGE_CONTROLBACKGROUND )
{ {
ImplInitSettings( false, false, sal_True ); ImplInitSettings( false, false, true );
Invalidate(); Invalidate();
} }
...@@ -399,7 +399,7 @@ void ScPrivatSplit::DataChanged( const DataChangedEvent& rDCEvt ) ...@@ -399,7 +399,7 @@ void ScPrivatSplit::DataChanged( const DataChangedEvent& rDCEvt )
if ( (rDCEvt.GetType() == DATACHANGED_SETTINGS) && if ( (rDCEvt.GetType() == DATACHANGED_SETTINGS) &&
(rDCEvt.GetFlags() & SETTINGS_STYLE) ) (rDCEvt.GetFlags() & SETTINGS_STYLE) )
{ {
ImplInitSettings( sal_True, sal_True, sal_True ); ImplInitSettings( true, true, true );
Invalidate(); Invalidate();
} }
else else
......
...@@ -29,7 +29,7 @@ class ScPrivatSplit : public Control ...@@ -29,7 +29,7 @@ class ScPrivatSplit : public Control
private: private:
Link aCtrModifiedLink; Link aCtrModifiedLink;
sal_Bool aMovingFlag; bool aMovingFlag;
Pointer aWinPointer; Pointer aWinPointer;
SC_SPLIT_DIRECTION eScSplit; SC_SPLIT_DIRECTION eScSplit;
short nOldX; short nOldX;
...@@ -42,7 +42,7 @@ class ScPrivatSplit : public Control ...@@ -42,7 +42,7 @@ class ScPrivatSplit : public Control
short nDeltaY; short nDeltaY;
using Control::ImplInitSettings; using Control::ImplInitSettings;
void ImplInitSettings( sal_Bool bFont, sal_Bool bForeground, sal_Bool bBackground ); void ImplInitSettings( bool bFont, bool bForeground, bool bBackground );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment