summaryrefslogtreecommitdiff
path: root/svtools/source/misc/imagemgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/misc/imagemgr.cxx')
-rw-r--r--svtools/source/misc/imagemgr.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/svtools/source/misc/imagemgr.cxx b/svtools/source/misc/imagemgr.cxx
index 88496840a93f..f7a9a9e8a703 100644
--- a/svtools/source/misc/imagemgr.cxx
+++ b/svtools/source/misc/imagemgr.cxx
@@ -773,6 +773,13 @@ Image SvFileInformationManager::GetImage( const INetURLObject& rObject, bool bBi
return GetImageFromList_Impl( nImage, bBig );
}
+OUString SvFileInformationManager::GetFileImageId(const INetURLObject& rObject)
+{
+ SvImageId nImage = GetImageId_Impl( rObject, false );
+ DBG_ASSERT( nImage != SvImageId::NONE, "invalid ImageId" );
+ return GetImageNameFromList_Impl(nImage, /*bBig*/false);
+}
+
Image SvFileInformationManager::GetFileImage( const INetURLObject& rObject )
{
SvImageId nImage = GetImageId_Impl( rObject, false );