diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdedtv.cxx | 4 | ||||
-rw-r--r-- | svx/source/svdraw/svdpagv.cxx | 12 | ||||
-rw-r--r-- | svx/source/svdraw/svdpntv.cxx | 6 |
3 files changed, 11 insertions, 11 deletions
diff --git a/svx/source/svdraw/svdedtv.cxx b/svx/source/svdraw/svdedtv.cxx index 0194e057806d..d8ea1f46a452 100644 --- a/svx/source/svdraw/svdedtv.cxx +++ b/svx/source/svdraw/svdedtv.cxx @@ -102,7 +102,7 @@ SdrEditView::~SdrEditView() //////////////////////////////////////////////////////////////////////////////////////////////////// -SdrLayer* SdrEditView::InsertNewLayer(const XubString& rName, sal_uInt16 nPos) +SdrLayer* SdrEditView::InsertNewLayer(const OUString& rName, sal_uInt16 nPos) { SdrLayerAdmin& rLA=pMod->GetLayerAdmin(); sal_uInt16 nMax=rLA.GetLayerCount(); @@ -196,7 +196,7 @@ void SdrEditView::ImpDelLayerDelObjs(SdrObjList* pOL, SdrLayerID nDelID) } } -void SdrEditView::DeleteLayer(const XubString& rName) +void SdrEditView::DeleteLayer(const OUString& rName) { SdrLayerAdmin& rLA = pMod->GetLayerAdmin(); SdrLayer* pLayer = rLA.GetLayer(rName, sal_True); diff --git a/svx/source/svdraw/svdpagv.cxx b/svx/source/svdraw/svdpagv.cxx index cd133583dc24..310897de24ca 100644 --- a/svx/source/svdraw/svdpagv.cxx +++ b/svx/source/svdraw/svdpagv.cxx @@ -612,7 +612,7 @@ void SdrPageView::AdjHdl() GetView().AdjustMarkHdl(); } -void SdrPageView::SetLayer(const XubString& rName, SetOfByte& rBS, sal_Bool bJa) +void SdrPageView::SetLayer(const OUString& rName, SetOfByte& rBS, bool bJa) { if(!GetPage()) return; @@ -623,16 +623,16 @@ void SdrPageView::SetLayer(const XubString& rName, SetOfByte& rBS, sal_Bool bJa) rBS.Set(nID, bJa); } -sal_Bool SdrPageView::IsLayer(const XubString& rName, const SetOfByte& rBS) const +bool SdrPageView::IsLayer(const OUString& rName, const SetOfByte& rBS) const { if(!GetPage()) - return sal_False; + return false; - sal_Bool bRet(sal_False); + bool bRet(false); - if(rName.Len()) + if (!rName.isEmpty()) { - SdrLayerID nId = GetPage()->GetLayerAdmin().GetLayerID(rName, sal_True); + SdrLayerID nId = GetPage()->GetLayerAdmin().GetLayerID(rName, true); if(SDRLAYER_NOTFOUND != nId) { diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx index 3b7aeb9f4c6e..7356a502149a 100644 --- a/svx/source/svdraw/svdpntv.cxx +++ b/svx/source/svdraw/svdpntv.cxx @@ -509,17 +509,17 @@ void SdrPaintView::DeleteWindowFromPaintView(OutputDevice* pOldWin) #endif } -void SdrPaintView::SetLayerVisible(const XubString& rName, sal_Bool bShow) +void SdrPaintView::SetLayerVisible(const OUString& rName, bool bShow) { if(mpPageView) { - mpPageView->SetLayerVisible(rName,bShow); + mpPageView->SetLayerVisible(rName, bShow); } InvalidateAllWin(); } -bool SdrPaintView::IsLayerVisible(const XubString& rName) const +bool SdrPaintView::IsLayerVisible(const OUString& rName) const { if(mpPageView) { |