summaryrefslogtreecommitdiff
path: root/desktop/source/migration/migration_impl.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-08 11:43:26 +0200
committerNoel Grandin <noel@peralex.com>2014-05-08 11:48:14 +0200
commit798531135855ad17d4939bee1c920d26032758c6 (patch)
tree55c08c1465fa90c2481ff04f0f11a1ec19a141f5 /desktop/source/migration/migration_impl.hxx
parent79cf53cb3b68d135b1df2453d2302358e2acb053 (diff)
desktop: sal_Bool->bool
Change-Id: I3462a9d4c23c9bc858c1a9d91caa58d87b204ee0
Diffstat (limited to 'desktop/source/migration/migration_impl.hxx')
-rw-r--r--desktop/source/migration/migration_impl.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/desktop/source/migration/migration_impl.hxx b/desktop/source/migration/migration_impl.hxx
index 576e7d7870e9..5f8e345fb0a0 100644
--- a/desktop/source/migration/migration_impl.hxx
+++ b/desktop/source/migration/migration_impl.hxx
@@ -114,7 +114,7 @@ struct MigrationItem
return *this;
}
- sal_Bool operator==(const MigrationItem& aMigrationItem)
+ bool operator==(const MigrationItem& aMigrationItem)
{
return ( aMigrationItem.m_sParentNodeName == m_sParentNodeName &&
aMigrationItem.m_sPrevSibling == m_sPrevSibling &&
@@ -150,10 +150,10 @@ struct MigrationItemInfo
struct MigrationModuleInfo
{
OUString sModuleShortName;
- sal_Bool bHasMenubar;
+ bool bHasMenubar;
::std::vector< OUString > m_vToolbars;
- MigrationModuleInfo():bHasMenubar(sal_False){};
+ MigrationModuleInfo() : bHasMenubar(false) {};
};
@@ -205,7 +205,7 @@ private:
// helpers
strings_vr getAllFiles(const OUString& baseURL) const;
strings_vr applyPatterns(const strings_v& vSet, const strings_v& vPatterns) const;
- css::uno::Reference< css::container::XNameAccess > getConfigAccess(const sal_Char* path, sal_Bool rw=sal_False);
+ css::uno::Reference< css::container::XNameAccess > getConfigAccess(const sal_Char* path, bool rw=false);
::std::vector< MigrationModuleInfo > dectectUIChangesForAllModules() const;
void compareOldAndNewConfig(const OUString& sParentNodeName,
@@ -230,7 +230,7 @@ public:
MigrationImpl();
~MigrationImpl();
bool initializeMigration();
- sal_Bool doMigration();
+ bool doMigration();
OUString getOldVersionName();
};
}