summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/docfile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/docfile.cxx')
-rw-r--r--sfx2/source/doc/docfile.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index 41d8097c0294..cd5e90c7d622 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -443,7 +443,6 @@ Reference < XContent > SfxMedium::GetContent() const
return pImp->aContent.get();
}
-
OUString SfxMedium::GetBaseURL( bool bForSaving )
{
OUString aBaseURL;
@@ -476,6 +475,11 @@ OUString SfxMedium::GetBaseURL( bool bForSaving )
return aBaseURL;
}
+bool SfxMedium::IsSkipImages()
+{
+ const SfxStringItem* pSkipImagesItem = static_cast<const SfxStringItem*>( GetItemSet()->GetItem(SID_FILE_FILTEROPTIONS) );
+ return pSkipImagesItem && pSkipImagesItem->GetValue() == "SkipImages";
+}
SvStream* SfxMedium::GetInStream()
{