summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-24 13:08:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-27 10:44:25 +0100
commit2e5508a17660401e1b4b489dbc9f70b978745b75 (patch)
tree881afcf9d8b9f0a653df0c94a8a2deefdf85670e /sdext
parent470682b3abf0622f5e9663d62d8641f63ceb6f30 (diff)
loplugin:unnecessaryparen check for (f1()).f2
Change-Id: I93257b0ddd41c649875124d6d5c5faeaa431bae3 Reviewed-on: https://gerrit.libreoffice.org/45218 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/presenter/PresenterPaneContainer.cxx4
-rw-r--r--sdext/source/presenter/PresenterSlideShowView.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterPaneContainer.cxx b/sdext/source/presenter/PresenterPaneContainer.cxx
index e99c946ac73e..1fe6c15deb38 100644
--- a/sdext/source/presenter/PresenterPaneContainer.cxx
+++ b/sdext/source/presenter/PresenterPaneContainer.cxx
@@ -73,12 +73,12 @@ void PresenterPaneContainer::PreparePane (
if (rsTitle.indexOf('%') < 0)
{
pDescriptor->msTitle = rsTitle;
- (pDescriptor->msTitleTemplate).clear();
+ pDescriptor->msTitleTemplate.clear();
}
else
{
pDescriptor->msTitleTemplate = rsTitle;
- (pDescriptor->msTitle).clear();
+ pDescriptor->msTitle.clear();
}
pDescriptor->msAccessibleTitleTemplate = rsAccessibleTitle;
pDescriptor->maViewInitialization = rViewInitialization;
diff --git a/sdext/source/presenter/PresenterSlideShowView.cxx b/sdext/source/presenter/PresenterSlideShowView.cxx
index 197e8f2e4184..88c60b1625a3 100644
--- a/sdext/source/presenter/PresenterSlideShowView.cxx
+++ b/sdext/source/presenter/PresenterSlideShowView.cxx
@@ -287,7 +287,7 @@ void SAL_CALL PresenterSlideShowView::setCurrentPage (
if (pDescriptor.get() != nullptr)
{
pDescriptor->msTitleTemplate = msTitleTemplate;
- (pDescriptor->msTitle).clear();
+ pDescriptor->msTitle.clear();
mpPresenterController->UpdatePaneTitles();
}
}