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 /include/vcl/fltcall.hxx | |
parent | c3a89936abc7967ebe8916ca83cb38f6837f9aa1 (diff) |
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 'include/vcl/fltcall.hxx')
-rw-r--r-- | include/vcl/fltcall.hxx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/vcl/fltcall.hxx b/include/vcl/fltcall.hxx index c65cd4ca7ad7..ca64e68f0902 100644 --- a/include/vcl/fltcall.hxx +++ b/include/vcl/fltcall.hxx @@ -47,21 +47,13 @@ struct FltCallDialogParameter eFieldUnit ( eFiUni ) {}; }; -typedef sal_Bool (*PFilterCall)(SvStream & rStream, Graphic & rGraphic, - FilterConfigItem* pConfigItem, sal_Bool bPrefDialog); +typedef bool (*PFilterCall)(SvStream & rStream, Graphic & rGraphic, + FilterConfigItem* pConfigItem); // Of this type are both export-filter and import-filter functions // rFileName is the complete path to the file to be imported or exported // pCallBack can be NULL. pCallerData is handed to the callback function // pOptionsConfig can be NULL; if not, the group of the config is already set // and may not be changed by this filter! - // If bPrefDialog==sal_True, a Preferences-Dialog might be called - -typedef sal_Bool ( *PFilterDlgCall )( FltCallDialogParameter& ); - // Of this type are both export-filter and import-filter functions - // hands a pointer to the parent window and to the options config - // pOptions and pWindow can be NULL; in this case sal_False is returned, - // otherwise the group of the config is already set - // and may not be changed by this filter! #endif |