diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-29 14:04:27 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-30 09:13:24 +0200 |
commit | d16d9f950f8cb6d8948875372c9ff1f0aae9fb7a (patch) | |
tree | b8d2146504c704fb9dfa11ea835ae39ff49e3dec /extensions | |
parent | fa5822ce69bfc80ac8b1c5caa98de7e5c7ccf568 (diff) |
remove some unnecessary typedefs to pointer
that were really not helping make the code any clearer.
Found with a search
git grep -P 'typedef\s+\w+\s*\*\s*\w+\;'
and manual inspection
Change-Id: I6a5c031e9e060ad3623a7586ec8a8cc4fe6252e9
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/bibliography/bibmod.cxx | 5 | ||||
-rw-r--r-- | extensions/source/bibliography/bibmod.hxx | 3 |
2 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/bibliography/bibmod.cxx b/extensions/source/bibliography/bibmod.cxx index cda8769d0204..df76903bbf80 100644 --- a/extensions/source/bibliography/bibmod.cxx +++ b/extensions/source/bibliography/bibmod.cxx @@ -28,10 +28,11 @@ #include "bibresid.hxx" #include "datman.hxx" #include "bibconfig.hxx" -static PtrBibModul pBibModul=NULL; -static sal_uInt32 nBibModulCount=0; #include <ucbhelper/content.hxx> +static BibModul* pBibModul=NULL; +static sal_uInt32 nBibModulCount=0; + using namespace ::com::sun::star; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::util; diff --git a/extensions/source/bibliography/bibmod.hxx b/extensions/source/bibliography/bibmod.hxx index 4c7afb525fe7..7a2758d72681 100644 --- a/extensions/source/bibliography/bibmod.hxx +++ b/extensions/source/bibliography/bibmod.hxx @@ -42,8 +42,7 @@ class BibModul }; -typedef BibModul* PtrBibModul; -typedef PtrBibModul* HdlBibModul; +typedef BibModul** HdlBibModul; HdlBibModul OpenBibModul(); void CloseBibModul(HdlBibModul ppBibModul); |