summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-10-18 12:56:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 19:28:18 +0000
commit7567a4c230625bbf922c52c861363f1cc4d6a1c7 (patch)
tree4fe8184d18021beb6c194cc899cec568db5c4ae1 /forms
parent17cbea4159c369cc9324a67ab2f1aac9cf416476 (diff)
'>>=' with rhs Any is a copy assignment
replace '>>=' operator with '=' where return value is not checked and simplify. (note: switches lhs with rhs) Change-Id: I0d283e8786ea996ed80d7aa9d8a4ea930a3d52f8 Reviewed-on: https://gerrit.libreoffice.org/30004 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/richtext/richtextmodel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/richtext/richtextmodel.cxx b/forms/source/richtext/richtextmodel.cxx
index 9f63b605ce54..7949880d1e67 100644
--- a/forms/source/richtext/richtextmodel.cxx
+++ b/forms/source/richtext/richtextmodel.cxx
@@ -65,7 +65,7 @@ namespace frm
getPropertyDefaultByHandle( PROPERTY_ID_VSCROLL ) >>= m_bVScroll;
getPropertyDefaultByHandle( PROPERTY_ID_READONLY ) >>= m_bReadonly;
getPropertyDefaultByHandle( PROPERTY_ID_PRINTABLE ) >>= m_bPrintable;
- getPropertyDefaultByHandle( PROPERTY_ID_ALIGN ) >>= m_aAlign;
+ m_aAlign = getPropertyDefaultByHandle( PROPERTY_ID_ALIGN );
getPropertyDefaultByHandle( PROPERTY_ID_ECHO_CHAR ) >>= m_nEchoChar;
getPropertyDefaultByHandle( PROPERTY_ID_MAXTEXTLEN ) >>= m_nMaxTextLength;
getPropertyDefaultByHandle( PROPERTY_ID_MULTILINE ) >>= m_bMultiLine;