summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-23 11:08:48 +0200
committerNoel Grandin <noel@peralex.com>2014-04-23 11:11:51 +0200
commit6dda3d45c902d64323a085ea1604a993521f313d (patch)
tree9b964839510ac36762733bd99951539040f8ffc0 /sc/inc
parente32da7783686f088fa83cdae209bcf1c81d82f1e (diff)
sc: sal_Bool->bool
Change-Id: I70aad0b38979f45a313b8ac36890fb6c64d11bb0
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/AccessibleFilterMenu.hxx6
-rw-r--r--sc/inc/appluno.hxx28
-rw-r--r--sc/inc/cellsuno.hxx2
-rw-r--r--sc/inc/document.hxx4
-rw-r--r--sc/inc/shapeuno.hxx2
5 files changed, 21 insertions, 21 deletions
diff --git a/sc/inc/AccessibleFilterMenu.hxx b/sc/inc/AccessibleFilterMenu.hxx
index f24dd1440cc2..a78fa209a289 100644
--- a/sc/inc/AccessibleFilterMenu.hxx
+++ b/sc/inc/AccessibleFilterMenu.hxx
@@ -52,15 +52,15 @@ public:
ScMenuFloatingWindow* pWin, const OUString& rName, size_t nMenuPos);
virtual ~ScAccessibleFilterMenu();
+ virtual bool SAL_CALL isVisible()
+ throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
/// XAccessibleComponent
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
SAL_CALL getAccessibleAtPoint( const ::com::sun::star::awt::Point& rPoint )
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual sal_Bool SAL_CALL isVisible()
- throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
-
virtual void SAL_CALL grabFocus()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/sc/inc/appluno.hxx b/sc/inc/appluno.hxx
index 0bf97b89a953..49fbd8d5af1d 100644
--- a/sc/inc/appluno.hxx
+++ b/sc/inc/appluno.hxx
@@ -137,9 +137,9 @@ private:
SfxItemPropertySet aPropSet;
- sal_Bool getPropertyBool(const OUString& aPropertyName) throw (css::uno::RuntimeException);
+ bool getPropertyBool(const OUString& aPropertyName) throw (css::uno::RuntimeException);
sal_Int16 getPropertyInt16(const OUString& aPropertyName) throw (css::uno::RuntimeException);
- void setProperty(const OUString& aPropertyName, sal_Bool p1) throw (css::uno::RuntimeException)
+ void setProperty(const OUString& aPropertyName, bool p1) throw (css::uno::RuntimeException)
{ setPropertyValue( aPropertyName, css::uno::Any(p1) ); }
void setProperty(const OUString& aPropertyName, sal_Int16 p1) throw (css::uno::RuntimeException)
{ setPropertyValue( aPropertyName, css::uno::Any(p1) ); }
@@ -154,7 +154,7 @@ public:
virtual sal_Bool SAL_CALL getMoveSelection() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return getPropertyBool("MoveSelection"); }
virtual void SAL_CALL setMoveSelection(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
- { setProperty("MoveSelection", p1); }
+ { setProperty("MoveSelection", (bool)p1); }
virtual sal_Int16 SAL_CALL getMoveDirection() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return getPropertyInt16("MoveDirection"); }
virtual void SAL_CALL setMoveDirection(sal_Int16 p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
@@ -162,27 +162,27 @@ public:
virtual sal_Bool SAL_CALL getEnterEdit() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return getPropertyBool("EnterEdit"); }
virtual void SAL_CALL setEnterEdit(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
- { setProperty("EnterEdit", p1); }
+ { setProperty("EnterEdit", (bool)p1); }
virtual sal_Bool SAL_CALL getExtendFormat() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return getPropertyBool("ExtendFormat"); }
virtual void SAL_CALL setExtendFormat(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
- { setProperty("ExtendFormat", p1); }
+ { setProperty("ExtendFormat", (bool)p1); }
virtual sal_Bool SAL_CALL getRangeFinder() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return getPropertyBool("RangeFinder"); }
virtual void SAL_CALL setRangeFinder(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
- { setProperty("RangeFinder", p1); }
+ { setProperty("RangeFinder", (bool)p1); }
virtual sal_Bool SAL_CALL getExpandReferences() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return getPropertyBool("ExpandReferences"); }
virtual void SAL_CALL setExpandReferences(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
- { setProperty("ExpandReferences", p1); }
+ { setProperty("ExpandReferences", (bool)p1); }
virtual sal_Bool SAL_CALL getMarkHeader() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return getPropertyBool("MarkHeader"); }
virtual void SAL_CALL setMarkHeader(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
- { setProperty("MarkHeader", p1); }
+ { setProperty("MarkHeader", (bool)p1); }
virtual sal_Bool SAL_CALL getUseTabCol() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return getPropertyBool("UseTabCol"); }
virtual void SAL_CALL setUseTabCol(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
- { setProperty("UseTabCol", p1); }
+ { setProperty("UseTabCol", (bool)p1); }
virtual sal_Int16 SAL_CALL getMetric() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return getPropertyInt16("Metric"); }
virtual void SAL_CALL setMetric(sal_Int16 p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
@@ -194,7 +194,7 @@ public:
virtual sal_Bool SAL_CALL getDoAutoComplete() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return getPropertyBool("DoAutoComplete"); }
virtual void SAL_CALL setDoAutoComplete(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
- { setProperty("DoAutoComplete", p1); }
+ { setProperty("DoAutoComplete", (bool)p1); }
virtual sal_Int16 SAL_CALL getStatusBarFunction() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return getPropertyInt16("StatusBarFunction"); }
virtual void SAL_CALL setStatusBarFunction(sal_Int16 p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
@@ -215,19 +215,19 @@ public:
virtual sal_Bool SAL_CALL getPrintAllSheets() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return getPropertyBool("PrintAllSheets"); }
virtual void SAL_CALL setPrintAllSheets(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
- { setProperty("PrintAllSheets", p1); }
+ { setProperty("PrintAllSheets", (bool)p1); }
virtual sal_Bool SAL_CALL getPrintEmptyPages() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return getPropertyBool("PrintEmptyPages"); }
virtual void SAL_CALL setPrintEmptyPages(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
- { setProperty("PrintEmptyPages", p1); }
+ { setProperty("PrintEmptyPages", (bool)p1); }
virtual sal_Bool SAL_CALL getUsePrinterMetrics() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return getPropertyBool("UsePrinterMetrics"); }
virtual void SAL_CALL setUsePrinterMetrics(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
- { setProperty("UsePrinterMetrics", p1); }
+ { setProperty("UsePrinterMetrics", (bool)p1); }
virtual sal_Bool SAL_CALL getReplaceCellsWarning() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return getPropertyBool("ReplaceCellsWarning"); }
virtual void SAL_CALL setReplaceCellsWarning(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
- { setProperty("ReplaceCellsWarning", p1); }
+ { setProperty("ReplaceCellsWarning", (bool)p1); }
// XPropertySet
virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo >
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index 6258bbc33ac0..da3247270db8 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -208,7 +208,7 @@ private:
com::sun::star::uno::Reference<com::sun::star::sheet::XSheetCellRanges>
QueryDifferences_Impl(const com::sun::star::table::CellAddress& aCompare,
- sal_Bool bColumnDiff);
+ bool bColumnDiff);
com::sun::star::uno::Reference<com::sun::star::uno::XInterface>
Find_Impl(const com::sun::star::uno::Reference<
com::sun::star::util::XSearchDescriptor>& xDesc,
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index df1cc2ebec52..b57ce70bedba 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -451,8 +451,8 @@ private:
bool mbUseEmbedFonts;
public:
- sal_Bool IsCellInChangeTrack(const ScAddress &cell,Color *pColCellBoder);
- void GetCellChangeTrackNote(const ScAddress &cell, OUString &strTrackText, sal_Bool &pbLeftEdge);
+ bool IsCellInChangeTrack(const ScAddress &cell,Color *pColCellBoder);
+ void GetCellChangeTrackNote(const ScAddress &cell, OUString &strTrackText, bool &pbLeftEdge);
bool IsUsingEmbededFonts() { return mbUseEmbedFonts; }
void SetIsUsingEmbededFonts( bool bUse ) { mbUseEmbedFonts = bUse; }
SC_DLLPUBLIC sal_uLong GetCellCount() const; // all cells
diff --git a/sc/inc/shapeuno.hxx b/sc/inc/shapeuno.hxx
index 7110d0a90680..6fdf66a0dd9b 100644
--- a/sc/inc/shapeuno.hxx
+++ b/sc/inc/shapeuno.hxx
@@ -64,7 +64,7 @@ class ScShapeObj :public ScShapeObj_Base
,public ScShapeObj_ChildBase
{
private:
- friend ScMacroInfo* ScShapeObj_getShapeHyperMacroInfo( ScShapeObj* pShape, sal_Bool bCreate );
+ friend ScMacroInfo* ScShapeObj_getShapeHyperMacroInfo( ScShapeObj* pShape, bool bCreate );
::com::sun::star::uno::Reference< ::com::sun::star::uno::XAggregation > mxShapeAgg;
// cached pointers to avoid repeated queryAggregation calls:
::com::sun::star::beans::XPropertySet* pShapePropertySet;