summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewse.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-23 15:00:26 +0200
committerNoel Grandin <noel@peralex.com>2015-04-29 10:41:39 +0200
commit1f1b9b9ff56d8649b22b78c5696a36b078ea9dcf (patch)
tree23e712ed0972b8ea8dd08e0aa9fd30ada8e58db6 /sd/source/ui/view/drviewse.cxx
parentd478a1cd6426aba6a502963862ace5a9f6182450 (diff)
convert SDRINSERT constants to scoped enum
Change-Id: I6335e00cae161cea7ece922ecfa845c205626cd9
Diffstat (limited to 'sd/source/ui/view/drviewse.cxx')
-rw-r--r--sd/source/ui/view/drviewse.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx
index 402dbda474f4..ef6b102007d5 100644
--- a/sd/source/ui/view/drviewse.cxx
+++ b/sd/source/ui/view/drviewse.cxx
@@ -1702,13 +1702,13 @@ void DrawViewShell::InsertURLButton(const OUString& rURL, const OUString& rText,
aPos.Y() -= aSize.Height() / 2;
pUnoCtrl->SetLogicRect(Rectangle(aPos, aSize));
- sal_uLong nOptions = SDRINSERT_SETDEFLAYER;
+ SdrInsertFlags nOptions = SdrInsertFlags::SETDEFLAYER;
OSL_ASSERT (GetViewShell()!=NULL);
SfxInPlaceClient* pIpClient = GetViewShell()->GetIPClient();
if (pIpClient!=NULL && pIpClient->IsObjectInPlaceActive())
{
- nOptions |= SDRINSERT_DONTMARK;
+ nOptions |= SdrInsertFlags::DONTMARK;
}
mpDrawView->InsertObjectAtView(pUnoCtrl, *mpDrawView->GetSdrPageView(), nOptions);