summaryrefslogtreecommitdiff
path: root/include/editeng/escapementitem.hxx
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2019-11-26 15:49:53 +0300
committerJustin Luth <justin_luth@sil.org>2019-11-28 17:28:44 +0100
commit4e7e0a29836f0c28471a2f5c605976453f6d29ae (patch)
tree15bdb80c1326f9db88a52242a64299b2ae96dcf4 /include/editeng/escapementitem.hxx
parent5b10c314517b78b70fc4eda6b20630ed3944d4e0 (diff)
NFC tdf#120412 cleanup: use DFLT_ESC_* more
and all of the comment references to 14400% are no longer accurate, so they were removed. Change-Id: Ic958cc240e4898e914958fc32d09e2bb9478f197 Reviewed-on: https://gerrit.libreoffice.org/83845 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'include/editeng/escapementitem.hxx')
-rw-r--r--include/editeng/escapementitem.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/editeng/escapementitem.hxx b/include/editeng/escapementitem.hxx
index b667faad1a5e..f84d18dd8f57 100644
--- a/include/editeng/escapementitem.hxx
+++ b/include/editeng/escapementitem.hxx
@@ -70,16 +70,13 @@ public:
nProp = 100;
}
else
+ {
+ nProp = DFLT_ESC_PROP;
if( SvxEscapement::Superscript == eNew )
- {
nEsc = DFLT_ESC_SUPER;
- nProp = DFLT_ESC_PROP;
- }
else
- {
nEsc = DFLT_ESC_SUB;
- nProp = DFLT_ESC_PROP;
- }
+ }
}
SvxEscapement GetEscapement() const { return static_cast< SvxEscapement >( GetEnumValue() ); }