Skip to content

Commit

Permalink
Оптимизация, исправление ошибок
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkmbk committed Apr 22, 2019
1 parent a214bbe commit 1373026
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion AddInNative.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ CAddInNative::CAddInNative()
bGlobal = false;

#if defined( __linux__ ) || defined(__APPLE__) || defined(__ANDROID__)
uPattern = u"";
uPattern.clear();
#endif

if (mMethods.size() == 0) {
Expand Down Expand Up @@ -345,6 +345,7 @@ bool CAddInNative::SetPropVal(const long lPropNum, tVariant *varPropVal)
catch (const std::exception& e)
{
vResults.clear();
uPattern.clear();
isPattern = false;
iCurrentPosition = -1;
m_PropCountOfItemsInSearchResult = 0;
Expand Down

0 comments on commit 1373026

Please sign in to comment.