summaryrefslogtreecommitdiff
path: root/svx/source/sdr
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-24 14:48:36 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-27 05:19:12 +0000
commitd6d1fc2683eeb88a569795e6bd27ad5db035f511 (patch)
treecc98260f62d71ff5fb4af58d4b7e747e8793f06e /svx/source/sdr
parent98747742b20c82382ed16b193e7bec175e905978 (diff)
loplugin:singlevalfields in svx(part1)
Change-Id: I9f655f0573ea301faa6cb54733832c26864eae4f Reviewed-on: https://gerrit.libreoffice.org/26639 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/sdr')
-rw-r--r--svx/source/sdr/contact/objectcontact.cxx2
-rw-r--r--svx/source/sdr/contact/objectcontactofpageview.cxx3
-rw-r--r--svx/source/sdr/primitive2d/sdrattributecreator.cxx3
3 files changed, 3 insertions, 5 deletions
diff --git a/svx/source/sdr/contact/objectcontact.cxx b/svx/source/sdr/contact/objectcontact.cxx
index 10b971b7329e..c111e76578f6 100644
--- a/svx/source/sdr/contact/objectcontact.cxx
+++ b/svx/source/sdr/contact/objectcontact.cxx
@@ -107,7 +107,7 @@ void ObjectContact::ProcessDisplay(DisplayInfo& /*rDisplayInfo*/)
// test if visualizing of entered groups is switched on at all
bool ObjectContact::DoVisualizeEnteredGroup() const
{
- // Don not do that as default
+ // Do not do that as default
return false;
}
diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx
index 589c29260177..2497750edf78 100644
--- a/svx/source/sdr/contact/objectcontactofpageview.cxx
+++ b/svx/source/sdr/contact/objectcontactofpageview.cxx
@@ -348,8 +348,7 @@ namespace sdr
// test if visualizing of entered groups is switched on at all
bool ObjectContactOfPageView::DoVisualizeEnteredGroup() const
{
- SdrView& rView = GetPageWindow().GetPageView().GetView();
- return rView.DoVisualizeEnteredGroup();
+ return true;
}
// get active group's (the entered group) ViewContact
diff --git a/svx/source/sdr/primitive2d/sdrattributecreator.cxx b/svx/source/sdr/primitive2d/sdrattributecreator.cxx
index 0452910b5e5a..9b7787bdeaad 100644
--- a/svx/source/sdr/primitive2d/sdrattributecreator.cxx
+++ b/svx/source/sdr/primitive2d/sdrattributecreator.cxx
@@ -517,7 +517,6 @@ namespace drawinglayer
const SdrTextObj& rTextObj = rText.GetObject();
// Save chaining attributes
- bool bToBeChained = rTextObj.IsToBeChained();
bool bChainable = rTextObj.IsChainable();
@@ -580,7 +579,7 @@ namespace drawinglayer
bInEditMode,
static_cast<const SdrTextFixedCellHeightItem&>(rSet.Get(SDRATTR_TEXT_USEFIXEDCELLHEIGHT)).GetValue(),
bWrongSpell,
- bToBeChained,
+ false/*bToBeChained*/,
bChainable);
}