summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/view/pivotsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/pivotsh.cxx')
-rw-r--r--sc/source/ui/view/pivotsh.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/view/pivotsh.cxx b/sc/source/ui/view/pivotsh.cxx
index a65f86ffed2c..06daf2ea3ba2 100644
--- a/sc/source/ui/view/pivotsh.cxx
+++ b/sc/source/ui/view/pivotsh.cxx
@@ -147,7 +147,7 @@ void ScPivotShell::Execute( SfxRequest& rReq )
ScDPObject aNewObj( *pDPObj );
aNewObj.SetSheetDesc( aNewDesc );
ScDBDocFunc aFunc( *pViewData->GetDocShell() );
- aFunc.DataPilotUpdate( pDPObj, &aNewObj, TRUE, FALSE );
+ aFunc.DataPilotUpdate( pDPObj, &aNewObj, sal_True, sal_False );
pViewData->GetView()->CursorPosChanged(); // shells may be switched
}
delete pDlg;
@@ -162,10 +162,10 @@ void __EXPORT ScPivotShell::GetState( SfxItemSet& rSet )
{
ScDocShell* pDocSh = pViewShell->GetViewData()->GetDocShell();
ScDocument* pDoc = pDocSh->GetDocument();
- BOOL bDisable = pDocSh->IsReadOnly() || pDoc->GetChangeTrack();
+ sal_Bool bDisable = pDocSh->IsReadOnly() || pDoc->GetChangeTrack();
SfxWhichIter aIter(rSet);
- USHORT nWhich = aIter.FirstWhich();
+ sal_uInt16 nWhich = aIter.FirstWhich();
while (nWhich)
{
switch (nWhich)