summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewse.cxx
diff options
context:
space:
mode:
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);