summaryrefslogtreecommitdiff
path: root/sw/source/uibase/wrtsh/wrtsh1.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-13 11:11:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-13 14:39:28 +0200
commit08a68d853cf0b3c9b1779ac2366cb502b85f9db6 (patch)
tree9a8971d565a8008c72bf5229a6870d3849d03cd5 /sw/source/uibase/wrtsh/wrtsh1.cxx
parent9aada6df968b8148f659c5949a0c20fe9cfe69c1 (diff)
convert GETSELTXT_PARABRK_ constants to scoped enum
Change-Id: I793e092871f8f8239d3e084614cc9e0d5700deb1 Reviewed-on: https://gerrit.libreoffice.org/58925 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/wrtsh/wrtsh1.cxx')
-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 ae67738ba15e..364527fb3b0c 100644
--- a/sw/source/uibase/wrtsh/wrtsh1.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh1.cxx
@@ -469,7 +469,7 @@ bool SwWrtShell::InsertOleObject( const svt::EmbeddedObjectRef& xRef, SwFlyFrame
if( bStarMath )
{
OUString aMathData;
- GetSelectedText( aMathData, GETSELTXT_PARABRK_TO_ONLYCR );
+ GetSelectedText( aMathData, ParaBreakType::ToOnlyCR );
if( !aMathData.isEmpty() && svt::EmbeddedObjectRef::TryRunningState( xRef.GetObject() ) )
{