diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-08-29 13:43:58 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-08-29 13:44:38 +0300 |
commit | e6abf10fa2cb30db5fa5131253b4f5ef80c84774 (patch) | |
tree | a3fb06a2476047bfe019a17348f821669230105b | |
parent | Export to PNG: init DPI with screen resolution, tdf#108317 (diff) | |
download | core-e6abf10fa2cb30db5fa5131253b4f5ef80c84774.tar.gz core-e6abf10fa2cb30db5fa5131253b4f5ef80c84774.zip |
Add cautionary comment
Change-Id: I6003e8193bf58ba21cd8d5abe42959b489b2f39d
-rw-r--r-- | include/comphelper/profilezone.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/comphelper/profilezone.hxx b/include/comphelper/profilezone.hxx index 6702619b6008..7c278294cb38 100644 --- a/include/comphelper/profilezone.hxx +++ b/include/comphelper/profilezone.hxx @@ -38,6 +38,10 @@ private: const char * m_sProfileId; long long m_aCreateTime; public: + + // Note that the char pointer is stored as such in the ProfileZone object and used in the + // destructor, so be sure to pass a pointer that stays valid for the duration of the object's + // lifetime. ProfileZone(const char * sProfileId); ~ProfileZone(); }; |