diff options
author | Thomas Lange [tl] <tl@openoffice.org> | 2010-11-05 09:15:46 +0100 |
---|---|---|
committer | Thomas Lange [tl] <tl@openoffice.org> | 2010-11-05 09:15:46 +0100 |
commit | a5cf8b29d7d6ca28543a88db7b8086e507b7040a (patch) | |
tree | b14434fc5dd9e4ddfe4f5ee8c0c97cfcd47c22be /sw/source/ui | |
parent | 686c6d386e2172bb266687086b329d11a5677b17 (diff) |
cws tlmath01: #i972# Math baseline alignment
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/shells/basesh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/shells/basesh.cxx b/sw/source/ui/shells/basesh.cxx index 42d73539aa56..15c97f67c847 100644 --- a/sw/source/ui/shells/basesh.cxx +++ b/sw/source/ui/shells/basesh.cxx @@ -1081,7 +1081,7 @@ void SwBaseShell::Execute(SfxRequest &rReq) } // if new anchor is 'as char' and it is a Math object and the usual - // pre-conditionsd are met then align the formula to the baseline of the text + // pre-conditions are met then align the formula to the baseline of the text const uno::Reference < embed::XEmbeddedObject > xObj( rSh.GetOleRef() ); const bool bDoMathBaselineAlignment = xObj.is() && SotExchange::IsMath( xObj->getClassID() ) && FLY_AS_CHAR == eSet && rSh.GetDoc()->get( IDocumentSettingAccess::MATH_BASELINE_ALIGNMENT ); |