summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/imagemgr.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-02 15:58:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-02 16:30:34 +0200
commit44b3e56bb4a4df59f53447c4ca4d8e02fe926206 (patch)
tree71a9efde3a6a2a00688e8feb8e3086cb32eceb4f /sfx2/source/appl/imagemgr.cxx
parent0b4965bcd7ec911951e7ca3a4cd48062843b2634 (diff)
Change INetProtocol to scoped enumeration
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
Diffstat (limited to 'sfx2/source/appl/imagemgr.cxx')
-rw-r--r--sfx2/source/appl/imagemgr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/imagemgr.cxx b/sfx2/source/appl/imagemgr.cxx
index 11db32e02409..06fdb6fdd190 100644
--- a/sfx2/source/appl/imagemgr.cxx
+++ b/sfx2/source/appl/imagemgr.cxx
@@ -76,7 +76,7 @@ Image SAL_CALL GetImage(
xModel = xController->getModel();
OUString aCommandURL( aURL );
- if ( nProtocol == INET_PROT_SLOT )
+ if ( nProtocol == INetProtocol::SLOT )
{
sal_uInt16 nId = ( sal_uInt16 ) aURL.copy(5).toInt32();
const SfxSlot* pSlot = 0;
@@ -192,7 +192,7 @@ Image SAL_CALL GetImage(
if ( !!aImage )
return aImage;
- else if ( nProtocol != INET_PROT_UNO && nProtocol != INET_PROT_SLOT )
+ else if ( nProtocol != INetProtocol::UNO && nProtocol != INetProtocol::SLOT )
return SvFileInformationManager::GetImageNoDefault( aObj, bBig );
}
}