summaryrefslogtreecommitdiff
path: root/sw/source/ui/envelp
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-07 13:52:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-08 10:38:35 +0100
commit17dd2662ccfa9d04efbea74e5d7548db5b2126d4 (patch)
tree37c0de883c43a57f54b0a483437da9de3bf4c941 /sw/source/ui/envelp
parent638be04c8334e5e29f9258ff870fbe63603ce7e0 (diff)
convert "*xxx.get()" to "*xxx"
Change-Id: Ic307226591ff9702957ccdec486ccf70357eb6d9 Reviewed-on: https://gerrit.libreoffice.org/65951 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/envelp')
-rw-r--r--sw/source/ui/envelp/label1.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/envelp/label1.cxx b/sw/source/ui/envelp/label1.cxx
index 7569bfa57e92..a2e1691a5aec 100644
--- a/sw/source/ui/envelp/label1.cxx
+++ b/sw/source/ui/envelp/label1.cxx
@@ -395,18 +395,18 @@ void SwLabPage::DisplayFormat()
{
ScopedVclPtrInstance< MetricField > aField(this, WinBits(0));
FieldUnit aMetric = ::GetDfltMetric(false);
- SetMetric(*aField.get(), aMetric);
+ SetMetric(*aField, aMetric);
aField->SetDecimalDigits(2);
aField->SetMin (0);
aField->SetMax (LONG_MAX);
SwLabRec* pRec = GetSelectedEntryPos();
aItem.m_aLstType = pRec->m_aType;
- SETFLDVAL(*aField.get(), pRec->m_nWidth);
+ SETFLDVAL(*aField, pRec->m_nWidth);
aField->Reformat();
const OUString aWString = aField->GetText();
- SETFLDVAL(*aField.get(), pRec->m_nHeight);
+ SETFLDVAL(*aField, pRec->m_nHeight);
aField->Reformat();
OUString aText = pRec->m_aType + ": " + aWString +