Commits

Bjoern Michaelsen  committed 0f8853e

oooimprovement6: #i99729# collecting ruler interaction, allow .special: urls to the log

  • Participants
  • Parent commits 9ead5e0

Comments (0)

Files changed (1)

File comphelper/source/misc/uieventslogger.cxx

             static const OUString FN_ROTATEDLOG;
             static const OUString LOGROTATE_EVENTNAME;
             static const OUString URL_UNO;
+            static const OUString URL_SPECIAL;
             static const OUString URL_FILE;
     };
 }
     const OUString UiEventsLogger_Impl::LOGROTATE_EVENTNAME = OUString::createFromAscii("onOOoImprovementLogRotated");
 
     const OUString UiEventsLogger_Impl::URL_UNO = OUString::createFromAscii(".uno:");
+    const OUString UiEventsLogger_Impl::URL_SPECIAL = OUString::createFromAscii(".special:");
     const OUString UiEventsLogger_Impl::URL_FILE = OUString::createFromAscii("file:");
 
 
         const Sequence<PropertyValue>& args)
     {
         if(!m_Active) return;
-        if(!url.Complete.match(URL_UNO) && !url.Complete.match(URL_FILE)) return;
+        if(!url.Complete.match(URL_UNO)
+            && !url.Complete.match(URL_FILE)
+            && !url.Complete.match(URL_SPECIAL))
+        {
+            return;
+        }
         checkIdleTimeout();
 
         Sequence<OUString> logdata = Sequence<OUString>(COLUMNS);