summaryrefslogtreecommitdiff
path: root/svx/source/sidebar
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/sidebar')
-rw-r--r--svx/source/sidebar/area/AreaPropertyPanelBase.cxx4
-rw-r--r--svx/source/sidebar/line/LinePropertyPanelBase.cxx6
2 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
index 1fe3b594ffcf..5b4f67d85020 100644
--- a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
+++ b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
@@ -611,7 +611,7 @@ void AreaPropertyPanelBase::ImpUpdateTransparencies()
{
bool bZeroValue(false);
- if(mpTransparanceItem.get())
+ if (mpTransparanceItem)
{
const sal_uInt16 nValue(mpTransparanceItem->GetValue());
@@ -1258,7 +1258,7 @@ IMPL_LINK( AreaPropertyPanelBase, ClickTrGrHdl_Impl, ToolBox*, pToolBox, void )
{
if (!mxTrGrPopup)
mxTrGrPopup = VclPtr<AreaTransparencyGradientPopup>::Create(*this);
- if (mpFloatTransparenceItem.get())
+ if (mpFloatTransparenceItem)
mxTrGrPopup->Rearrange(mpFloatTransparenceItem.get());
OSL_ASSERT( pToolBox->GetItemCommand(pToolBox->GetCurItemId()) == UNO_SIDEBARGRADIENT);
mxTrGrPopup->StartPopupMode(pToolBox, FloatWinPopupFlags::GrabFocus);
diff --git a/svx/source/sidebar/line/LinePropertyPanelBase.cxx b/svx/source/sidebar/line/LinePropertyPanelBase.cxx
index 473953f6ed20..10dad0365a1d 100644
--- a/svx/source/sidebar/line/LinePropertyPanelBase.cxx
+++ b/svx/source/sidebar/line/LinePropertyPanelBase.cxx
@@ -785,7 +785,7 @@ void LinePropertyPanelBase::FillLineStyleList()
void LinePropertyPanelBase::SelectLineStyle()
{
- if( !mpStyleItem.get() || !mpDashItem.get() )
+ if (!mpStyleItem || !mpDashItem)
{
mpLBStyle->SetNoSelection();
mpLBStyle->Disable();
@@ -833,7 +833,7 @@ void LinePropertyPanelBase::SelectEndStyle(bool bStart)
if(bStart)
{
- if( !mpStartItem.get() )
+ if (!mpStartItem)
{
mpLBStart->SetNoSelection();
mpLBStart->Disable();
@@ -862,7 +862,7 @@ void LinePropertyPanelBase::SelectEndStyle(bool bStart)
}
else
{
- if( !mpEndItem.get() )
+ if (!mpEndItem)
{
mpLBEnd->SetNoSelection();
mpLBEnd->Disable();