summaryrefslogtreecommitdiff
path: root/sw/source/uibase/wrtsh
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-11 15:04:54 +0200
committerNoel Grandin <noel@peralex.com>2015-03-18 14:23:49 +0200
commit6970a4dc7734de2451abee5ae33339be2eef6963 (patch)
tree55e2c89e82f4805e21a35664f4ca68a1dca1da10 /sw/source/uibase/wrtsh
parentc3209608d155ccfe394964e3b59849e0ff579fc5 (diff)
convert DocumentSettingId to an enum class
Change-Id: Ia4f135c64e6b6b5bd7a522e4a1e9ca63738ff3ef
Diffstat (limited to 'sw/source/uibase/wrtsh')
-rw-r--r--sw/source/uibase/wrtsh/wrtsh1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx b/sw/source/uibase/wrtsh/wrtsh1.cxx
index 9490fb5f581f..9edbda738bcc 100644
--- a/sw/source/uibase/wrtsh/wrtsh1.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh1.cxx
@@ -515,7 +515,7 @@ bool SwWrtShell::InsertOleObject( const svt::EmbeddedObjectRef& xRef, SwFlyFrmFm
SwFlyFrmFmt *pFmt = SwFEShell::InsertObject( xRef, &aFrmMgr.GetAttrSet() );
// --> #i972#
- if ( bStarMath && mpDoc->getIDocumentSettingAccess().get( IDocumentSettingAccess::MATH_BASELINE_ALIGNMENT ) )
+ if ( bStarMath && mpDoc->getIDocumentSettingAccess().get( DocumentSettingId::MATH_BASELINE_ALIGNMENT ) )
AlignFormulaToBaseline( xRef.GetObject() );
if (pFlyFrmFmt)