summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/pvfundlg.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-05-28 16:52:40 -0400
committerKohei Yoshida <kyoshida@novell.com>2011-05-28 17:04:12 -0400
commit10807dfacf6e033ec27a11ff36df68f0fd2ec3c7 (patch)
tree4612f17744c061fcfdefb0378012c544cbf3aac5 /sc/source/ui/dbgui/pvfundlg.cxx
parenta5e4f7a7acf4aea58f957505cbe01541a5a712f4 (diff)
String to OUString in ScDPObject.
Diffstat (limited to 'sc/source/ui/dbgui/pvfundlg.cxx')
-rw-r--r--sc/source/ui/dbgui/pvfundlg.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/dbgui/pvfundlg.cxx b/sc/source/ui/dbgui/pvfundlg.cxx
index c8f4f475486d..b17443562f65 100644
--- a/sc/source/ui/dbgui/pvfundlg.cxx
+++ b/sc/source/ui/dbgui/pvfundlg.cxx
@@ -802,9 +802,9 @@ ScDPShowDetailDlg::ScDPShowDetailDlg( Window* pParent, ScDPObject& rDPObj, sal_u
long nDimCount = rDPObj.GetDimCount();
for (long nDim=0; nDim<nDimCount; nDim++)
{
- sal_Bool bIsDataLayout;
+ bool bIsDataLayout;
sal_Int32 nDimFlags = 0;
- String aName = rDPObj.GetDimName( nDim, bIsDataLayout, &nDimFlags );
+ OUString aName = rDPObj.GetDimName( nDim, bIsDataLayout, &nDimFlags );
if ( !bIsDataLayout && !rDPObj.IsDuplicated( nDim ) && ScDPObject::IsOrientationAllowed( nOrient, nDimFlags ) )
{
const ScDPSaveDimension* pDimension = pSaveData ? pSaveData->GetExistingDimensionByName(aName) : 0;
@@ -832,7 +832,7 @@ short ScDPShowDetailDlg::Execute()
return maLbDims.GetEntryCount() ? ModalDialog::Execute() : RET_CANCEL;
}
-String ScDPShowDetailDlg::GetDimensionName() const
+OUString ScDPShowDetailDlg::GetDimensionName() const
{
// Look up the internal dimension name which may be different from the
// displayed field name.
@@ -843,7 +843,7 @@ String ScDPShowDetailDlg::GetDimensionName() const
return aSelectedName;
long nDim = itr->second;
- sal_Bool bIsDataLayout = false;
+ bool bIsDataLayout = false;
return mrDPObj.GetDimName(nDim, bIsDataLayout);
}