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

sal_Bool->bool

Change-Id: I6c29ace5985a025bcecbdeb50dfa40f9342b126a
üst 19d0ea98
...@@ -37,9 +37,9 @@ class ScTabControl : public TabBar, public DropTargetHelper, public DragSourceHe ...@@ -37,9 +37,9 @@ class ScTabControl : public TabBar, public DropTargetHelper, public DragSourceHe
{ {
private: private:
ScViewData* pViewData; ScViewData* pViewData;
sal_uInt16 nMouseClickPageId; /// Last page ID after mouse button down/up sal_uInt16 nMouseClickPageId; /// Last page ID after mouse button down/up
sal_uInt16 nSelPageIdByMouse; /// Selected page ID, if selected with mouse sal_uInt16 nSelPageIdByMouse; /// Selected page ID, if selected with mouse
sal_Bool bErrorShown; bool bErrorShown;
void DoDrag( const Region& rRegion ); void DoDrag( const Region& rRegion );
...@@ -74,7 +74,7 @@ public: ...@@ -74,7 +74,7 @@ public:
void UpdateInputContext(); void UpdateInputContext();
void UpdateStatus(); void UpdateStatus();
void SetSheetLayoutRTL( sal_Bool bSheetRTL ); void SetSheetLayoutRTL( bool bSheetRTL );
}; };
......
...@@ -395,7 +395,7 @@ void ScTabControl::UpdateStatus() ...@@ -395,7 +395,7 @@ void ScTabControl::UpdateStatus()
} }
} }
void ScTabControl::SetSheetLayoutRTL( sal_Bool bSheetRTL ) void ScTabControl::SetSheetLayoutRTL( bool bSheetRTL )
{ {
SetEffectiveRTL( bSheetRTL ); SetEffectiveRTL( bSheetRTL );
nSelPageIdByMouse = TabBar::PAGE_NOT_FOUND; nSelPageIdByMouse = TabBar::PAGE_NOT_FOUND;
...@@ -619,7 +619,7 @@ long ScTabControl::AllowRenaming() ...@@ -619,7 +619,7 @@ long ScTabControl::AllowRenaming()
} }
else else
{ {
bErrorShown = sal_True; bErrorShown = true;
pViewSh->ErrorMessage( STR_INVALIDTABNAME ); pViewSh->ErrorMessage( STR_INVALIDTABNAME );
bErrorShown = false; bErrorShown = false;
nRet = TABBAR_RENAMING_NO; nRet = TABBAR_RENAMING_NO;
......
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