summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-25 16:41:21 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-25 16:41:21 +0200
commit46a795c6299f6dd89d5f3d81f337016584098d83 (patch)
tree6099a6f62fcb5a2dac66af6d2280426acb1bdb6d /filter
parentc21bc9e5aa8aa1003a10b6e39182e4e70af80486 (diff)
Some more sal_Bool -> bool
Change-Id: I32874fb49b361c14f33810e606ede1e49c1acd30
Diffstat (limited to 'filter')
-rw-r--r--filter/source/flash/swffilter.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/filter/source/flash/swffilter.cxx b/filter/source/flash/swffilter.cxx
index f6cfaf43e116..182be5db506b 100644
--- a/filter/source/flash/swffilter.cxx
+++ b/filter/source/flash/swffilter.cxx
@@ -235,7 +235,7 @@ sal_Bool SAL_CALL FlashExportFilter::filter( const css::uno::Sequence< css::bean
aFilterData = findPropertyValue<Sequence< PropertyValue > >(aDescriptor, "FilterData", aFilterData);
// #i56084# check if selection shall be exported only; if yes, get the selected page and the selection itself
- if(findPropertyValue<sal_Bool>(aDescriptor, "SelectionOnly", false))
+ if(findPropertyValue<bool>(aDescriptor, "SelectionOnly", false))
{
Reference< XDesktop2 > xDesktop(Desktop::create(mxContext));
@@ -283,7 +283,7 @@ sal_Bool SAL_CALL FlashExportFilter::filter( const css::uno::Sequence< css::bean
}
// #i56084# no multiple files (suppress) when selection since selection can only export a single page
- if (!mbExportSelection && findPropertyValue<sal_Bool>(aFilterData, "ExportMultipleFiles", false ))
+ if (!mbExportSelection && findPropertyValue<bool>(aFilterData, "ExportMultipleFiles", false ))
{
ExportAsMultipleFiles(aDescriptor);
}
@@ -369,7 +369,7 @@ bool FlashExportFilter::ExportAsMultipleFiles(const Sequence< PropertyValue >& a
// AS: Only export the background config if we're exporting all of the pages, otherwise we'll
// screw it up.
- bool bExportAll = findPropertyValue<sal_Bool>(aFilterData, "ExportAll", true);
+ bool bExportAll = findPropertyValue<bool>(aFilterData, "ExportAll", true);
if (bExportAll)
{
osl_removeFile(fullpath.pData);
@@ -387,7 +387,7 @@ bool FlashExportFilter::ExportAsMultipleFiles(const Sequence< PropertyValue >& a
mxSelectedShapes,
mxSelectedDrawPage,
findPropertyValue<sal_Int32>(aFilterData, "CompressMode", 75),
- findPropertyValue<sal_Bool>(aFilterData, "ExportOLEAsJPEG", false));
+ findPropertyValue<bool>(aFilterData, "ExportOLEAsJPEG", false));
const sal_Int32 nPageCount = xDrawPages->getCount();
if ( mxStatusIndicator.is() )
@@ -404,17 +404,17 @@ bool FlashExportFilter::ExportAsMultipleFiles(const Sequence< PropertyValue >& a
continue;
// AS: Export the background, the background objects, and then the slide contents.
- if (bExportAll || findPropertyValue<sal_Bool>(aFilterData, "ExportBackgrounds", true))
+ if (bExportAll || findPropertyValue<bool>(aFilterData, "ExportBackgrounds", true))
{
backgroundfilename = exportBackground(aFlashExporter, xDrawPage, swfdirpath, nPage, "b");
}
- if (bExportAll || findPropertyValue<sal_Bool>(aFilterData, "ExportBackgroundObjects", true))
+ if (bExportAll || findPropertyValue<bool>(aFilterData, "ExportBackgroundObjects", true))
{
objectsfilename = exportBackground(aFlashExporter, xDrawPage, swfdirpath, nPage, "o");
}
- if (bExportAll || findPropertyValue<sal_Bool>(aFilterData, "ExportSlideContents", true))
+ if (bExportAll || findPropertyValue<bool>(aFilterData, "ExportSlideContents", true))
{
fullpath = swfdirpath + STR("/slide") + VAL(nPage+1) + STR("p.swf");
@@ -464,7 +464,7 @@ bool FlashExportFilter::ExportAsSingleFile(const Sequence< PropertyValue >& aDes
mxSelectedShapes,
mxSelectedDrawPage,
findPropertyValue<sal_Int32>(aFilterData, "CompressMode", 75),
- findPropertyValue<sal_Bool>(aFilterData, "ExportOLEAsJPEG", false));
+ findPropertyValue<bool>(aFilterData, "ExportOLEAsJPEG", false));
return aFlashExporter.exportAll( mxDoc, xOutputStream, mxStatusIndicator );
}