diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2022-03-22 10:05:39 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2022-03-22 09:01:58 +0100 |
commit | 561cb62a5ac81053e89ec9bf1eed739801570c2d (patch) | |
tree | 15dd209a037283ff066dad01119f6c03bef563b8 /fpicker | |
parent | 6c16dc217ef5cbe25166df7a3728ade12a148880 (diff) |
Simplify CoCreateInstance / CoGetClassObject with COMReference
Change-Id: Ieb1035410c3c6c4b40ea779e829a940460d19b5a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131922
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/win32/VistaFilePickerImpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/win32/VistaFilePickerImpl.cxx b/fpicker/source/win32/VistaFilePickerImpl.cxx index dbd0f87983a9..76da82108cde 100644 --- a/fpicker/source/win32/VistaFilePickerImpl.cxx +++ b/fpicker/source/win32/VistaFilePickerImpl.cxx @@ -134,7 +134,7 @@ template <class ComPtrDialog, REFCLSID CLSID> class TDialogImpl : public TDialog { public: TDialogImpl() - : TDialogImplBase(ComPtrDialog().CoCreateInstance(CLSID).get()) + : TDialogImplBase(ComPtrDialog(CLSID).get()) { } }; |