Kaydet (Commit) 8f63d98e authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

fix mis-merge in desktop

üst 3d386e3e
...@@ -63,7 +63,7 @@ class Desktop : public Application ...@@ -63,7 +63,7 @@ class Desktop : public Application
{ {
friend class UserInstall; friend class UserInstall;
void doShutdown(); int doShutdown();
public: public:
enum BootstrapError enum BootstrapError
......
...@@ -654,7 +654,7 @@ throw() ...@@ -654,7 +654,7 @@ throw()
//Also do not copy *.tmp files and *.tmp_ folders. This affects the files/folders //Also do not copy *.tmp files and *.tmp_ folders. This affects the files/folders
//from the help and configuration backend //from the help and configuration backend
if ( IsDoc && (aFileName.equalsAscii( pLastSyncFileName ) if ( IsDoc && (aFileName.equalsAscii( pLastSyncFileName )
|| bExcludeFiles && isExcludedFileOrFolder(aFileName))) || (bExcludeFiles && isExcludedFileOrFolder(aFileName))))
bFilter = true; bFilter = true;
else if (!IsDoc && bExcludeFiles && isExcludedFileOrFolder(aFileName)) else if (!IsDoc && bExcludeFiles && isExcludedFileOrFolder(aFileName))
bFilter = true; bFilter = true;
...@@ -1539,7 +1539,7 @@ struct ExecuteGlobals ...@@ -1539,7 +1539,7 @@ struct ExecuteGlobals
static ExecuteGlobals* pExecGlobals = NULL; static ExecuteGlobals* pExecGlobals = NULL;
void Desktop::Main() int Desktop::Main()
{ {
pExecGlobals = new ExecuteGlobals(); pExecGlobals = new ExecuteGlobals();
...@@ -1917,13 +1917,13 @@ void Desktop::Main() ...@@ -1917,13 +1917,13 @@ void Desktop::Main()
} }
// CAUTION: you do not necessarily get here e.g. on the Mac. // CAUTION: you do not necessarily get here e.g. on the Mac.
// please put all deinitialization code into doShutdown // please put all deinitialization code into doShutdown
doShutdown(); return doShutdown();
} }
void Desktop::doShutdown() int Desktop::doShutdown()
{ {
if( ! pExecGlobals ) if( ! pExecGlobals )
return; return EXIT_SUCCESS;
if ( pExecGlobals->bRestartRequested ) if ( pExecGlobals->bRestartRequested )
SetRestartState(); SetRestartState();
...@@ -2071,7 +2071,7 @@ sal_Bool Desktop::shouldLaunchQuickstart() ...@@ -2071,7 +2071,7 @@ sal_Bool Desktop::shouldLaunchQuickstart()
const SfxPoolItem* pItem=0; const SfxPoolItem* pItem=0;
SfxItemSet aQLSet(SFX_APP()->GetPool(), SID_ATTR_QUICKLAUNCHER, SID_ATTR_QUICKLAUNCHER); SfxItemSet aQLSet(SFX_APP()->GetPool(), SID_ATTR_QUICKLAUNCHER, SID_ATTR_QUICKLAUNCHER);
SFX_APP()->GetOptions(aQLSet); SFX_APP()->GetOptions(aQLSet);
SfxItemState eState = aQLSet.GetItemState(SID_ATTR_QUICKLAUNCHER, FALSE, &pItem); SfxItemState eState = aQLSet.GetItemState(SID_ATTR_QUICKLAUNCHER, sal_False, &pItem);
if (SFX_ITEM_SET == eState) if (SFX_ITEM_SET == eState)
bQuickstart = ((SfxBoolItem*)pItem)->GetValue(); bQuickstart = ((SfxBoolItem*)pItem)->GetValue();
} }
......
...@@ -94,7 +94,7 @@ static String impl_GetFilterFromExt( OUString aUrl, SfxFilterFlags nFlags, ...@@ -94,7 +94,7 @@ static String impl_GetFilterFromExt( OUString aUrl, SfxFilterFlags nFlags,
{ {
String aFilter; String aFilter;
SfxMedium* pMedium = new SfxMedium( aUrl, SfxMedium* pMedium = new SfxMedium( aUrl,
STREAM_STD_READ, FALSE ); STREAM_STD_READ, sal_False );
const SfxFilter *pSfxFilter = NULL; const SfxFilter *pSfxFilter = NULL;
SfxFilterMatcher aMatcher; SfxFilterMatcher aMatcher;
if( nFlags == SFX_FILTER_EXPORT ) if( nFlags == SFX_FILTER_EXPORT )
......
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
#define RID_DLG_UPDATE_LINE 8 #define RID_DLG_UPDATE_LINE 8
#define RID_DLG_UPDATE_HELP 9 #define RID_DLG_UPDATE_HELP 9
#define RID_DLG_UPDATE_OK 10 #define RID_DLG_UPDATE_OK 10
#define RID_DLG_UPDATE_CANCEL 11 #define RID_DLG_UPDATE_CLOSE 11
#define RID_DLG_UPDATE_NORMALALERT 12 #define RID_DLG_UPDATE_NORMALALERT 12
#define RID_DLG_UPDATE_ERROR 14 #define RID_DLG_UPDATE_ERROR 14
#define RID_DLG_UPDATE_NONE 15 #define RID_DLG_UPDATE_NONE 15
......
...@@ -1885,7 +1885,7 @@ BackendImpl::OtherPlatformPackageImpl::processPackage_( ...@@ -1885,7 +1885,7 @@ BackendImpl::OtherPlatformPackageImpl::processPackage_(
if (xServicesRDB.is()) if (xServicesRDB.is())
xServicesRDB->close(); xServicesRDB->close();
getMyBackend()->deleteDataFromDb(aURL); getMyBackend()->revokeEntryFromDb(aURL);
} }
BackendImpl * BackendImpl::ComponentsPackageImpl::getMyBackend() const BackendImpl * BackendImpl::ComponentsPackageImpl::getMyBackend() const
...@@ -1978,7 +1978,6 @@ BackendImpl::ComponentsPackageImpl::ComponentsPackageImpl( ...@@ -1978,7 +1978,6 @@ BackendImpl::ComponentsPackageImpl::ComponentsPackageImpl(
: Package( myBackend, url, name, name /* display-name */, : Package( myBackend, url, name, name /* display-name */,
xPackageType, bRemoved, identifier) xPackageType, bRemoved, identifier)
{} {}
>>>>>>> ooo/DEV300_m101
} // anon namespace } // anon namespace
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment