diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/registry/package/dp_package.cxx | 2 | ||||
-rw-r--r-- | desktop/win32/source/guistdio/guistdio.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/deployment/registry/package/dp_package.cxx b/desktop/source/deployment/registry/package/dp_package.cxx index 8ed0d59f27..2f6a0091e2 100644 --- a/desktop/source/deployment/registry/package/dp_package.cxx +++ b/desktop/source/deployment/registry/package/dp_package.cxx @@ -909,7 +909,7 @@ OUString BackendImpl::PackageImpl::getDescription() throw (RuntimeException) } if (sDescription.getLength()) return sDescription; - else if(m_oldDescription.getLength() == 0) + else if(m_oldDescription.getLength()) return m_oldDescription; else return OUString(); diff --git a/desktop/win32/source/guistdio/guistdio.inc b/desktop/win32/source/guistdio/guistdio.inc index c8170e6948..6ee59c891b 100644 --- a/desktop/win32/source/guistdio/guistdio.inc +++ b/desktop/win32/source/guistdio/guistdio.inc @@ -361,7 +361,7 @@ int _tmain( int, _TCHAR ** ) hErrorThread }; - #ifdef GUISTDIO_KEEPRUNNING + #ifdef UNOPKG dwWaitResult = WaitForMultipleObjects( elementsof(hObjects), hObjects, TRUE, INFINITE ); #else bool bDetach = false; |