diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-03 09:13:34 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-03 09:17:55 +0200 |
commit | a718b02f8e24d7c167a56456523bc921b12e4f64 (patch) | |
tree | 0926504c7b45b88cda0997748ea11238cf411851 /filter/qa | |
parent | sfx2/tbxctrl.hxx: sal_Bool->bool (diff) | |
download | core-a718b02f8e24d7c167a56456523bc921b12e4f64.tar.gz core-a718b02f8e24d7c167a56456523bc921b12e4f64.zip |
vcl: sal_Bool->bool and cleanup
- remove unused PFilterDlgCall typedef
- remove bool parameter from PFilterCall typedef - it was always being
called with false, and nothing was reading it
Change-Id: Ic56127e7d55254a7b9b65849a21cb286f52344d1
Diffstat (limited to 'filter/qa')
-rw-r--r-- | filter/qa/cppunit/filters-pict-test.cxx | 6 | ||||
-rw-r--r-- | filter/qa/cppunit/filters-tga-test.cxx | 6 | ||||
-rw-r--r-- | filter/qa/cppunit/filters-tiff-test.cxx | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/filter/qa/cppunit/filters-pict-test.cxx b/filter/qa/cppunit/filters-pict-test.cxx index 913f8f944557..7ba01456fc7f 100644 --- a/filter/qa/cppunit/filters-pict-test.cxx +++ b/filter/qa/cppunit/filters-pict-test.cxx @@ -18,9 +18,9 @@ extern "C" { - SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL + SAL_DLLPUBLIC_EXPORT bool SAL_CALL GraphicImport(SvStream & rStream, Graphic & rGraphic, - FilterConfigItem*, sal_Bool); + FilterConfigItem*); } using namespace ::com::sun::star; @@ -54,7 +54,7 @@ bool PictFilterTest::load(const OUString &, { SvFileStream aFileStream(rURL, STREAM_READ); Graphic aGraphic; - return GraphicImport(aFileStream, aGraphic, NULL, 0); + return GraphicImport(aFileStream, aGraphic, NULL); } void PictFilterTest::testCVEs() diff --git a/filter/qa/cppunit/filters-tga-test.cxx b/filter/qa/cppunit/filters-tga-test.cxx index 37cdd2192d40..615afbbbba9d 100644 --- a/filter/qa/cppunit/filters-tga-test.cxx +++ b/filter/qa/cppunit/filters-tga-test.cxx @@ -18,9 +18,9 @@ extern "C" { - SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL + SAL_DLLPUBLIC_EXPORT bool SAL_CALL GraphicImport(SvStream & rStream, Graphic & rGraphic, - FilterConfigItem*, sal_Bool); + FilterConfigItem*); } using namespace ::com::sun::star; @@ -54,7 +54,7 @@ bool TgaFilterTest::load(const OUString &, { SvFileStream aFileStream(rURL, STREAM_READ); Graphic aGraphic; - return GraphicImport(aFileStream, aGraphic, NULL, 0); + return GraphicImport(aFileStream, aGraphic, NULL); } void TgaFilterTest::testCVEs() diff --git a/filter/qa/cppunit/filters-tiff-test.cxx b/filter/qa/cppunit/filters-tiff-test.cxx index 82b0a1780de2..a37ed17225f0 100644 --- a/filter/qa/cppunit/filters-tiff-test.cxx +++ b/filter/qa/cppunit/filters-tiff-test.cxx @@ -18,9 +18,9 @@ extern "C" { - SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL + SAL_DLLPUBLIC_EXPORT bool SAL_CALL GraphicImport(SvStream & rStream, Graphic & rGraphic, - FilterConfigItem*, sal_Bool); + FilterConfigItem*); } using namespace ::com::sun::star; @@ -54,7 +54,7 @@ bool TiffFilterTest::load(const OUString &, { SvFileStream aFileStream(rURL, STREAM_READ); Graphic aGraphic; - return GraphicImport(aFileStream, aGraphic, NULL, 0); + return GraphicImport(aFileStream, aGraphic, NULL); } void TiffFilterTest::testCVEs() |