summaryrefslogtreecommitdiff
path: root/sw/inc/ndole.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/ndole.hxx')
-rw-r--r--sw/inc/ndole.hxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/sw/inc/ndole.hxx b/sw/inc/ndole.hxx
index 511a14de64be..5291a6ae8757 100644
--- a/sw/inc/ndole.hxx
+++ b/sw/inc/ndole.hxx
@@ -60,18 +60,18 @@ public:
SwOLEObj( const String &rName, sal_Int64 nAspect );
~SwOLEObj();
- BOOL UnloadObject();
- static BOOL UnloadObject( ::com::sun::star::uno::Reference< ::com::sun::star::embed::XEmbeddedObject > xObj,
+ sal_Bool UnloadObject();
+ static sal_Bool UnloadObject( ::com::sun::star::uno::Reference< ::com::sun::star::embed::XEmbeddedObject > xObj,
const SwDoc* pDoc,
sal_Int64 nAspect );
String GetDescription();
#ifndef _FESHVIEW_ONLY_INLINE_NEEDED
- com::sun::star::uno::Reference < com::sun::star::embed::XEmbeddedObject > GetOleRef();
+ const com::sun::star::uno::Reference < com::sun::star::embed::XEmbeddedObject > GetOleRef();
svt::EmbeddedObjectRef& GetObject();
const String& GetCurrentPersistName() const { return aName; }
- BOOL IsOleRef() const; // To avoid unneccessary loading of object.
+ sal_Bool IsOleRef() const; // To avoid unneccessary loading of object.
#endif
};
@@ -85,7 +85,7 @@ class SW_DLLPUBLIC SwOLENode: public SwNoTxtNode
mutable SwOLEObj aOLEObj;
Graphic* pGraphic;
String sChartTblName; // with chart objects: name of referenced table.
- BOOL bOLESizeInvalid; // Should be considered at SwDoc::PrtOLENotify
+ sal_Bool bOLESizeInvalid; // Should be considered at SwDoc::PrtOLENotify
// (e.g. copied). Is not persistent.
SwEmbedObjectLink* mpObjectLink;
@@ -123,14 +123,14 @@ public:
void GetNewReplacement();
- virtual BOOL SavePersistentData();
- virtual BOOL RestorePersistentData();
+ virtual sal_Bool SavePersistentData();
+ virtual sal_Bool RestorePersistentData();
- BOOL IsInGlobalDocSection() const;
- BOOL IsOLEObjectDeleted() const;
+ sal_Bool IsInGlobalDocSection() const;
+ sal_Bool IsOLEObjectDeleted() const;
- BOOL IsOLESizeInvalid() const { return bOLESizeInvalid; }
- void SetOLESizeInvalid( BOOL b ){ bOLESizeInvalid = b; }
+ sal_Bool IsOLESizeInvalid() const { return bOLESizeInvalid; }
+ void SetOLESizeInvalid( sal_Bool b ){ bOLESizeInvalid = b; }
sal_Int64 GetAspect() const { return aOLEObj.GetObject().GetViewAspect(); }
void SetAspect( sal_Int64 nAspect) { aOLEObj.GetObject().SetViewAspect( nAspect ); }
@@ -168,4 +168,4 @@ inline const SwOLENode *SwNode::GetOLENode() const
#endif // _NDOLE_HXX
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ \ No newline at end of file