summaryrefslogtreecommitdiff
path: root/vcl/inc/win/saldata.hxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-12-21 16:19:46 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2021-12-21 17:03:30 +0100
commitc35f81148fb18ba070516edcbb4d614444899235 (patch)
treea7411001321a0745f161787fcc2be978e2c94e0a /vcl/inc/win/saldata.hxx
parent9466e895b319fc695cc326b37ee773e14b465c0a (diff)
Use sal::systools::CoInitializeGuard and sal::systools::ThrowIfFailed
Change-Id: Ifb40e7672671df03b5ffc89905ad1e7b68451b68 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127232 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl/inc/win/saldata.hxx')
-rw-r--r--vcl/inc/win/saldata.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/inc/win/saldata.hxx b/vcl/inc/win/saldata.hxx
index 80286d87d347..32accf042f37 100644
--- a/vcl/inc/win/saldata.hxx
+++ b/vcl/inc/win/saldata.hxx
@@ -28,6 +28,7 @@
#include <svdata.hxx>
#include <salwtype.hxx>
+#include <systools/win32/comtools.hxx>
#include <tools/long.hxx>
#include <win/wincomp.hxx>
@@ -61,7 +62,7 @@ struct SalIcon
SalIcon *pNext;
};
-class SalData
+class SalData : public sal::systools::CoInitializeGuard
{
public:
SalData();