summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-29 09:55:11 +0200
committerNoel Grandin <noel@peralex.com>2015-05-05 09:30:40 +0200
commit6ca16a4cad999dbb0296ea64db2263a26e52f36c (patch)
tree3a7cae9635647f616df0d5ff024901331aa571fb /sd/inc
parentcc7af44abd5999cf8af69dd8e5e8f86908a3fcb6 (diff)
loplugin:staticmethods
Change-Id: Ie7a1a5bc61d19aebd11a00c63c1f4104d893efbe
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/Outliner.hxx2
-rw-r--r--sd/inc/OutlinerIterator.hxx6
-rw-r--r--sd/inc/sdfilter.hxx4
-rw-r--r--sd/inc/sdmod.hxx4
-rw-r--r--sd/inc/stlpool.hxx2
-rw-r--r--sd/inc/stlsheet.hxx2
6 files changed, 10 insertions, 10 deletions
diff --git a/sd/inc/Outliner.hxx b/sd/inc/Outliner.hxx
index 6d3e247a1e55..26ad3495357a 100644
--- a/sd/inc/Outliner.hxx
+++ b/sd/inc/Outliner.hxx
@@ -420,7 +420,7 @@ private:
@param aPosition
The object for which to test whether it is a valid text object.
*/
- bool IsValidTextObject (const ::sd::outliner::IteratorPosition& rPosition);
+ static bool IsValidTextObject (const ::sd::outliner::IteratorPosition& rPosition);
/** Put text of current text object into outliner so that the text can
be searched/spell checked.
diff --git a/sd/inc/OutlinerIterator.hxx b/sd/inc/OutlinerIterator.hxx
index 81f48c16e510..43c47b3a2ffb 100644
--- a/sd/inc/OutlinerIterator.hxx
+++ b/sd/inc/OutlinerIterator.hxx
@@ -241,7 +241,7 @@ private:
@param aLocation
This specifies at which object the iterator points initially.
*/
- Iterator CreateSelectionIterator (
+ static Iterator CreateSelectionIterator (
const ::std::vector<SdrObjectWeakRef>& rObjectList,
SdDrawDocument* pDocument,
const ::boost::shared_ptr<ViewShell>& rpViewShell,
@@ -259,7 +259,7 @@ private:
@param aLocation
This specifies at which object the iterator points initially.
*/
- Iterator CreateDocumentIterator (
+ static Iterator CreateDocumentIterator (
SdDrawDocument* pDocument,
const ::boost::shared_ptr<ViewShell>& rpViewShell,
bool bDirectionIsForward=true,
@@ -282,7 +282,7 @@ private:
@param aLocation
This specifies at which object the iterator points initially.
*/
- sal_Int32 GetPageIndex (
+ static sal_Int32 GetPageIndex (
SdDrawDocument* pDocument,
const ::boost::shared_ptr<ViewShell>& rpViewShell,
PageKind ePageKind,
diff --git a/sd/inc/sdfilter.hxx b/sd/inc/sdfilter.hxx
index 0bd9a9d29cc7..15cf1a632b06 100644
--- a/sd/inc/sdfilter.hxx
+++ b/sd/inc/sdfilter.hxx
@@ -55,13 +55,13 @@ protected:
bool mbIsDraw : 1;
bool mbShowProgress : 1;
#ifndef DISABLE_DYNLOADING
- ::osl::Module* OpenLibrary( const OUString& rLibraryName ) const;
+ static ::osl::Module* OpenLibrary( const OUString& rLibraryName );
#endif
void CreateStatusIndicator();
private:
- OUString ImplGetFullLibraryName( const OUString& rLibraryName ) const;
+ static OUString ImplGetFullLibraryName( const OUString& rLibraryName );
};
diff --git a/sd/inc/sdmod.hxx b/sd/inc/sdmod.hxx
index 5dfaf5a96eb9..3d2b268e4517 100644
--- a/sd/inc/sdmod.hxx
+++ b/sd/inc/sdmod.hxx
@@ -171,7 +171,7 @@ private:
The document which will contain the summary page and from which
the information about the default transition is retrieved.
*/
- void AddSummaryPage (SfxViewFrame* pViewFrame, SdDrawDocument* pDocument);
+ static void AddSummaryPage (SfxViewFrame* pViewFrame, SdDrawDocument* pDocument);
/** Take an outline from a text document and create a new impress
document according to the structure of the outline.
@@ -179,7 +179,7 @@ private:
This typically is the unmodified request from a execute()
function from where this function is called.
*/
- bool OutlineToImpress(SfxRequest& rRequest);
+ static bool OutlineToImpress(SfxRequest& rRequest);
/** Add an eventlistener as soon as possible in sd, allows to use
remote devices to start the slideshow elegantly, and respecting
diff --git a/sd/inc/stlpool.hxx b/sd/inc/stlpool.hxx
index 5a22993fd36f..2578b0756a97 100644
--- a/sd/inc/stlpool.hxx
+++ b/sd/inc/stlpool.hxx
@@ -75,7 +75,7 @@ public:
when styles are missing.
*/
SD_DLLPUBLIC void CreateLayoutStyleSheets(const OUString& rLayoutName, bool bCheck = false );
- void CreateLayoutSheetNames(const OUString& rLayoutName, std::vector<OUString> &aNameList) const;
+ static void CreateLayoutSheetNames(const OUString& rLayoutName, std::vector<OUString> &aNameList);
void CreateLayoutSheetList(const OUString& rLayoutName, SdStyleSheetVector& rLayoutSheets);
void CopyLayoutSheets(const OUString& rLayoutName, SdStyleSheetPool& rSourcePool, SdStyleSheetVector& rCreatedSheets );
void CopyGraphicSheets(SdStyleSheetPool& rSourcePool);
diff --git a/sd/inc/stlsheet.hxx b/sd/inc/stlsheet.hxx
index 41253670a83b..e57ef3900140 100644
--- a/sd/inc/stlsheet.hxx
+++ b/sd/inc/stlsheet.hxx
@@ -128,7 +128,7 @@ public:
void notifyModifyListener();
protected:
- const SfxItemPropertySimpleEntry* getPropertyMapEntry( const OUString& rPropertyName ) const throw (css::uno::RuntimeException);
+ static const SfxItemPropertySimpleEntry* getPropertyMapEntry( const OUString& rPropertyName ) throw (css::uno::RuntimeException);
virtual void Load (SvStream& rIn, sal_uInt16 nVersion) SAL_OVERRIDE;
virtual void Store(SvStream& rOut) SAL_OVERRIDE;