summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/emojiview.hxx2
-rw-r--r--sfx2/inc/recentdocsview.hxx6
-rw-r--r--sfx2/inc/srchdlg.hxx2
-rw-r--r--sfx2/inc/templatecontaineritem.hxx2
-rw-r--r--sfx2/inc/templateviewitem.hxx2
-rw-r--r--sfx2/inc/thumbnailviewitem.hxx2
-rw-r--r--sfx2/qa/cppunit/test_metadatable.cxx2
-rw-r--r--sfx2/source/appl/appcfg.cxx2
-rw-r--r--sfx2/source/appl/linksrc.cxx6
-rw-r--r--sfx2/source/appl/newhelp.cxx8
-rw-r--r--sfx2/source/appl/newhelp.hxx14
-rw-r--r--sfx2/source/appl/workwin.cxx2
-rw-r--r--sfx2/source/bastyp/fltfnc.cxx4
-rw-r--r--sfx2/source/control/bindings.cxx6
-rw-r--r--sfx2/source/control/objface.cxx10
-rw-r--r--sfx2/source/control/recentdocsviewitem.hxx6
-rw-r--r--sfx2/source/control/thumbnailviewacc.hxx2
-rw-r--r--sfx2/source/dialog/backingwindow.cxx4
-rw-r--r--sfx2/source/dialog/backingwindow.hxx2
-rw-r--r--sfx2/source/dialog/filtergrouping.cxx8
-rw-r--r--sfx2/source/dialog/mgetempl.hxx2
-rw-r--r--sfx2/source/dialog/securitypage.cxx2
-rw-r--r--sfx2/source/dialog/tabdlg.cxx2
-rw-r--r--sfx2/source/dialog/templdlg.cxx6
-rw-r--r--sfx2/source/doc/doctempl.cxx2
-rw-r--r--sfx2/source/doc/guisaveas.cxx2
-rw-r--r--sfx2/source/doc/iframe.cxx2
-rw-r--r--sfx2/source/doc/oleprops.cxx4
-rw-r--r--sfx2/source/doc/oleprops.hxx4
-rw-r--r--sfx2/source/doc/printhelper.cxx2
-rw-r--r--sfx2/source/doc/templatedlg.cxx4
-rw-r--r--sfx2/source/inc/asyncfunc.hxx2
-rw-r--r--sfx2/source/inc/objshimp.hxx2
-rw-r--r--sfx2/source/inc/openurlhint.hxx2
-rw-r--r--sfx2/source/inc/statcach.hxx4
-rw-r--r--sfx2/source/inc/workwin.hxx4
-rw-r--r--sfx2/source/view/classificationhelper.cxx2
-rw-r--r--sfx2/source/view/sfxbasecontroller.cxx2
-rw-r--r--sfx2/source/view/viewimp.hxx2
-rw-r--r--sfx2/source/view/viewprn.cxx10
-rw-r--r--sfx2/source/view/viewsh.cxx2
41 files changed, 78 insertions, 78 deletions
diff --git a/sfx2/inc/emojiview.hxx b/sfx2/inc/emojiview.hxx
index 212a785de445..4ee37ac6f581 100644
--- a/sfx2/inc/emojiview.hxx
+++ b/sfx2/inc/emojiview.hxx
@@ -45,7 +45,7 @@ public:
private:
- FILTER_CATEGORY const mCategory;
+ FILTER_CATEGORY mCategory;
};
diff --git a/sfx2/inc/recentdocsview.hxx b/sfx2/inc/recentdocsview.hxx
index e5f7ebfb5a8e..ff21644a9940 100644
--- a/sfx2/inc/recentdocsview.hxx
+++ b/sfx2/inc/recentdocsview.hxx
@@ -89,9 +89,9 @@ private:
size_t mnLastMouseDownItem;
/// Image that appears when there is no recent document.
- Image const maWelcomeImage;
- OUString const maWelcomeLine1;
- OUString const maWelcomeLine2;
+ Image maWelcomeImage;
+ OUString maWelcomeLine1;
+ OUString maWelcomeLine2;
};
} // namespace sfx2
diff --git a/sfx2/inc/srchdlg.hxx b/sfx2/inc/srchdlg.hxx
index 4983336b978a..3d8317477ec0 100644
--- a/sfx2/inc/srchdlg.hxx
+++ b/sfx2/inc/srchdlg.hxx
@@ -33,7 +33,7 @@ private:
Link<SearchDialog&,void> m_aFindHdl;
Link<LinkParamNone*,void> m_aCloseHdl;
- OUString const m_sConfigName;
+ OUString m_sConfigName;
std::unique_ptr<weld::ComboBox> m_xSearchEdit;
std::unique_ptr<weld::CheckButton> m_xWholeWordsBox;
diff --git a/sfx2/inc/templatecontaineritem.hxx b/sfx2/inc/templatecontaineritem.hxx
index 0e618e48ee5a..e11e2bd215a6 100644
--- a/sfx2/inc/templatecontaineritem.hxx
+++ b/sfx2/inc/templatecontaineritem.hxx
@@ -14,7 +14,7 @@
class TemplateContainerItem final
{
public:
- sal_uInt16 const mnId;
+ sal_uInt16 mnId;
sal_uInt16 mnRegionId;
OUString maTitle;
std::vector<TemplateItemProperties> maTemplates;
diff --git a/sfx2/inc/templateviewitem.hxx b/sfx2/inc/templateviewitem.hxx
index 64faf438b847..536808f471a1 100644
--- a/sfx2/inc/templateviewitem.hxx
+++ b/sfx2/inc/templateviewitem.hxx
@@ -38,7 +38,7 @@ public:
private:
OUString maPath;
- BitmapEx const maDefaultBitmap;
+ BitmapEx maDefaultBitmap;
bool mbIsDefaultTemplate;
};
diff --git a/sfx2/inc/thumbnailviewitem.hxx b/sfx2/inc/thumbnailviewitem.hxx
index eef035ae09d1..dea5e65c1774 100644
--- a/sfx2/inc/thumbnailviewitem.hxx
+++ b/sfx2/inc/thumbnailviewitem.hxx
@@ -67,7 +67,7 @@ class ThumbnailViewItem
public:
ThumbnailViewBase &mrParent;
- sal_uInt16 const mnId;
+ sal_uInt16 mnId;
bool mbVisible;
bool mbSelected;
bool mbHover;
diff --git a/sfx2/qa/cppunit/test_metadatable.cxx b/sfx2/qa/cppunit/test_metadatable.cxx
index 5d3d71d5a23f..06b18edfec43 100644
--- a/sfx2/qa/cppunit/test_metadatable.cxx
+++ b/sfx2/qa/cppunit/test_metadatable.cxx
@@ -60,7 +60,7 @@ public:
bool const i_isInClip = false)
: m_rRegistry(i_rReg)
, m_bInClipboard(i_isInClip), m_bInUndo(false), m_bInContent(true) {}
- bool const m_bInClipboard;
+ bool m_bInClipboard;
bool m_bInUndo;
bool m_bInContent;
virtual bool IsInClipboard() const override { return m_bInClipboard; }
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx
index ec24c2951f03..0e72b08f566f 100644
--- a/sfx2/source/appl/appcfg.cxx
+++ b/sfx2/source/appl/appcfg.cxx
@@ -63,7 +63,7 @@ namespace {
class SfxEventAsyncer_Impl : public SfxListener
{
- SfxEventHint const aHint;
+ SfxEventHint aHint;
std::unique_ptr<Idle> pIdle;
public:
diff --git a/sfx2/source/appl/linksrc.cxx b/sfx2/source/appl/linksrc.cxx
index 0e0708f8da68..d249f8e282a3 100644
--- a/sfx2/source/appl/linksrc.cxx
+++ b/sfx2/source/appl/linksrc.cxx
@@ -73,9 +73,9 @@ namespace {
struct SvLinkSource_Entry_Impl
{
tools::SvRef<SvBaseLink> xSink;
- OUString const aDataMimeType;
- sal_uInt16 const nAdviseModes;
- bool const bIsDataSink;
+ OUString aDataMimeType;
+ sal_uInt16 nAdviseModes;
+ bool bIsDataSink;
SvLinkSource_Entry_Impl( SvBaseLink* pLink, const OUString& rMimeType,
sal_uInt16 nAdvMode )
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index ee9040e0e6f1..72cc4599f03f 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -230,8 +230,8 @@ namespace {
struct IndexEntry_Impl
{
- bool const m_bSubEntry;
- OUString const m_aURL;
+ bool m_bSubEntry;
+ OUString m_aURL;
IndexEntry_Impl( const OUString& rURL, bool bSubEntry ) :
m_bSubEntry( bSubEntry ), m_aURL( rURL ) {}
@@ -241,8 +241,8 @@ struct IndexEntry_Impl
struct ContentEntry_Impl
{
- OUString const aURL;
- bool const bIsFolder;
+ OUString aURL;
+ bool bIsFolder;
ContentEntry_Impl( const OUString& rURL, bool bFolder ) :
aURL( rURL ), bIsFolder( bFolder ) {}
diff --git a/sfx2/source/appl/newhelp.hxx b/sfx2/source/appl/newhelp.hxx
index 5bcffa2926cd..52c01790be81 100644
--- a/sfx2/source/appl/newhelp.hxx
+++ b/sfx2/source/appl/newhelp.hxx
@@ -51,9 +51,9 @@ namespace com { namespace sun { namespace star { namespace text { class XTextRan
class ContentListBox_Impl : public SvTreeListBox
{
private:
- Image const aOpenBookImage;
- Image const aClosedBookImage;
- Image const aDocumentImage;
+ Image aOpenBookImage;
+ Image aClosedBookImage;
+ Image aDocumentImage;
void InitRoot();
void ClearChildren( SvTreeListEntry* pParent );
@@ -291,7 +291,7 @@ private:
Link<SfxHelpIndexWindow_Impl*,void> aSelectFactoryLink;
Link<Control*,bool> aPageDoubleClickLink;
- Link<IndexTabPage_Impl&,void> const aIndexKeywordLink;
+ Link<IndexTabPage_Impl&,void> aIndexKeywordLink;
OUString sKeyword;
VclPtr<SfxHelpWindow_Impl> pParentWin;
@@ -422,10 +422,10 @@ private:
Idle aSelectIdle;
Image aIndexOnImage;
Image aIndexOffImage;
- OUString const aIndexOnText;
- OUString const aIndexOffText;
+ OUString aIndexOnText;
+ OUString aIndexOffText;
OUString aSearchText;
- OUString const aOnStartupText;
+ OUString aOnStartupText;
OUString sCurrentFactory;
VclPtr<SfxHelpWindow_Impl> pHelpWin;
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index 9a8abd3b29bb..4343b7f18b87 100644
--- a/sfx2/source/appl/workwin.cxx
+++ b/sfx2/source/appl/workwin.cxx
@@ -61,7 +61,7 @@ namespace {
struct ResIdToResName
{
- ToolbarId const eId;
+ ToolbarId eId;
const char* pName;
};
diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx
index 060dd47a3d9f..393edfc7f9cd 100644
--- a/sfx2/source/bastyp/fltfnc.cxx
+++ b/sfx2/source/bastyp/fltfnc.cxx
@@ -105,7 +105,7 @@ static OUString ToUpper_Impl( const OUString &rStr )
class SfxFilterContainer_Impl
{
public:
- OUString const aName;
+ OUString aName;
explicit SfxFilterContainer_Impl( const OUString& rName )
: aName( rName )
@@ -211,7 +211,7 @@ std::shared_ptr<const SfxFilter> SfxFilterContainer::GetDefaultFilter_Impl( cons
class SfxFilterMatcher_Impl
{
public:
- OUString const aName;
+ OUString aName;
mutable SfxFilterList_Impl* pList; // is created on demand
void InitForIterating() const;
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx
index 559779e7f127..94a6a2fe50dd 100644
--- a/sfx2/source/control/bindings.cxx
+++ b/sfx2/source/control/bindings.cxx
@@ -66,9 +66,9 @@ typedef std::unordered_map< sal_uInt16, bool > InvalidateSlotMap;
struct SfxFoundCache_Impl
{
- sal_uInt16 const nWhichId; // If available: Which-Id, else: nSlotId
- const SfxSlot* pSlot; // Pointer to <Master-Slot>
- SfxStateCache& rCache; // Pointer to StatusCache
+ sal_uInt16 nWhichId; // If available: Which-Id, else: nSlotId
+ const SfxSlot* pSlot; // Pointer to <Master-Slot>
+ SfxStateCache& rCache; // Pointer to StatusCache
SfxFoundCache_Impl(sal_uInt16 nW, const SfxSlot *pS, SfxStateCache& rC)
: nWhichId(nW)
diff --git a/sfx2/source/control/objface.cxx b/sfx2/source/control/objface.cxx
index 7c48f81c98ef..d794d715a9c2 100644
--- a/sfx2/source/control/objface.cxx
+++ b/sfx2/source/control/objface.cxx
@@ -50,11 +50,11 @@ namespace {
struct SfxObjectUI_Impl
{
- sal_uInt16 const nPos;
- SfxVisibilityFlags const nFlags;
- sal_uInt32 const nObjId;
- bool bContext;
- SfxShellFeature const nFeature;
+ sal_uInt16 nPos;
+ SfxVisibilityFlags nFlags;
+ sal_uInt32 nObjId;
+ bool bContext;
+ SfxShellFeature nFeature;
SfxObjectUI_Impl(sal_uInt16 n, SfxVisibilityFlags f, sal_uInt32 nId, SfxShellFeature nFeat) :
nPos(n),
diff --git a/sfx2/source/control/recentdocsviewitem.hxx b/sfx2/source/control/recentdocsviewitem.hxx
index fd4cddf97da2..fb259c2d3a0a 100644
--- a/sfx2/source/control/recentdocsviewitem.hxx
+++ b/sfx2/source/control/recentdocsviewitem.hxx
@@ -50,16 +50,16 @@ private:
/// Return area where is the icon to remove document from the recent documents.
tools::Rectangle getRemoveIconArea() const;
- OUString const maURL;
+ OUString maURL;
OUString m_sHelpText;
/// Is the icon that the user can click to remove the document from the recent documents highlighted?
bool m_bRemoveIconHighlighted;
- BitmapEx const m_aRemoveRecentBitmap;
+ BitmapEx m_aRemoveRecentBitmap;
- BitmapEx const m_aRemoveRecentBitmapHighlighted;
+ BitmapEx m_aRemoveRecentBitmapHighlighted;
};
#endif // INCLUDED_SFX2_RECENTDOCSVIEWITEM_HXX
diff --git a/sfx2/source/control/thumbnailviewacc.hxx b/sfx2/source/control/thumbnailviewacc.hxx
index c4d10e573c77..1aaed600a9b0 100644
--- a/sfx2/source/control/thumbnailviewacc.hxx
+++ b/sfx2/source/control/thumbnailviewacc.hxx
@@ -259,7 +259,7 @@ private:
mxEventListeners;
::osl::Mutex maMutex;
ThumbnailViewItem* mpParent;
- bool const mbIsTransientChildrenDisabled;
+ bool mbIsTransientChildrenDisabled;
public:
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index d64a1747bc7b..177443586698 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -703,8 +703,8 @@ namespace {
struct ImplDelayedDispatch
{
Reference< XDispatch > xDispatch;
- css::util::URL const aDispatchURL;
- Sequence< PropertyValue > const aArgs;
+ css::util::URL aDispatchURL;
+ Sequence< PropertyValue > aArgs;
ImplDelayedDispatch( const Reference< XDispatch >& i_xDispatch,
const css::util::URL& i_rURL,
diff --git a/sfx2/source/dialog/backingwindow.hxx b/sfx2/source/dialog/backingwindow.hxx
index a029557324ad..15ab2fe0728f 100644
--- a/sfx2/source/dialog/backingwindow.hxx
+++ b/sfx2/source/dialog/backingwindow.hxx
@@ -78,7 +78,7 @@ class BackingWindow : public vcl::Window, public VclBuilderContainer
std::vector< VclPtr<vcl::Window> > maDndWindows;
- Color const maButtonsTextColor;
+ Color maButtonsTextColor;
tools::Rectangle maStartCentButtons;
bool mbInitControls;
diff --git a/sfx2/source/dialog/filtergrouping.cxx b/sfx2/source/dialog/filtergrouping.cxx
index b68a624cdb3d..938853bc81b1 100644
--- a/sfx2/source/dialog/filtergrouping.cxx
+++ b/sfx2/source/dialog/filtergrouping.cxx
@@ -192,7 +192,7 @@ namespace sfx2
struct ReadGlobalFilter
{
protected:
- OConfigurationNode const m_aClassesNode;
+ OConfigurationNode m_aClassesNode;
FilterClassReferrer& m_aClassReferrer;
public:
@@ -266,7 +266,7 @@ namespace sfx2
struct ReadLocalFilter
{
protected:
- OConfigurationNode const m_aClassesNode;
+ OConfigurationNode m_aClassesNode;
FilterClassList& m_rClasses;
public:
@@ -532,7 +532,7 @@ namespace sfx2
struct FindGroupEntry
{
- FilterGroupEntryReferrer::mapped_type const aLookingFor;
+ FilterGroupEntryReferrer::mapped_type aLookingFor;
explicit FindGroupEntry( FilterGroupEntryReferrer::mapped_type const & _rLookingFor ) : aLookingFor( _rLookingFor ) { }
bool operator() ( const MapGroupEntry2GroupEntry::value_type& _rMapEntry )
@@ -722,7 +722,7 @@ namespace sfx2
protected:
Reference< XFilterManager > m_xFilterManager;
FileDialogHelper_Impl* m_pFileDlgImpl;
- bool const m_bAddExtension;
+ bool m_bAddExtension;
public:
AppendFilter( const Reference< XFilterManager >& _rxFilterManager,
diff --git a/sfx2/source/dialog/mgetempl.hxx b/sfx2/source/dialog/mgetempl.hxx
index 26a1a32ca69c..97e1c843eb22 100644
--- a/sfx2/source/dialog/mgetempl.hxx
+++ b/sfx2/source/dialog/mgetempl.hxx
@@ -47,7 +47,7 @@ class SfxManageStyleSheetPage final : public SfxTabPage
OUString aName;
OUString aFollow;
OUString aParent;
- SfxStyleSearchBits const nFlags;
+ SfxStyleSearchBits nFlags;
std::unique_ptr<weld::Entry> m_xName;
std::unique_ptr<weld::CheckButton> m_xAutoCB;
diff --git a/sfx2/source/dialog/securitypage.cxx b/sfx2/source/dialog/securitypage.cxx
index 6268e10e7607..84df48131b99 100644
--- a/sfx2/source/dialog/securitypage.cxx
+++ b/sfx2/source/dialog/securitypage.cxx
@@ -139,7 +139,7 @@ struct SfxSecurityPage_Impl
bool m_bNewPasswordIsValid;
OUString m_aNewPassword;
- OUString const m_aEndRedliningWarning;
+ OUString m_aEndRedliningWarning;
bool m_bEndRedliningWarningDone;
std::unique_ptr<weld::CheckButton> m_xOpenReadonlyCB;
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 210b6fb87dc4..8ad06f98e967 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -52,7 +52,7 @@ namespace {
struct Data_Impl
{
- OString const sId; // The ID
+ OString sId; // The ID
CreateTabPage fnCreatePage; // Pointer to Factory
GetTabPageRanges fnGetRanges; // Pointer to Ranges-Function
std::unique_ptr<SfxTabPage> xTabPage; // The TabPage itself
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index fb6608d6490f..5d09b4b2d119 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -83,7 +83,7 @@ namespace
class StyleLBoxString : public SvLBoxString
{
- SfxStyleFamily const meStyleFamily;
+ SfxStyleFamily meStyleFamily;
SvViewDataItem* mpViewData;
public:
@@ -562,8 +562,8 @@ namespace {
class StyleTree_Impl
{
private:
- OUString const aName;
- OUString const aParent;
+ OUString aName;
+ OUString aParent;
StyleTreeArr_Impl pChildren;
public:
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index f0b8a28e3018..a6e88fe6a834 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -99,7 +99,7 @@ class DocTempl_EntryData_Impl
// the following member must be SfxObjectShellLock since it controls that SfxObjectShell lifetime by design
// and users of this class expect it to be so.
- SfxObjectShellLock const mxObjShell;
+ SfxObjectShellLock mxObjShell;
OUString maTitle;
OUString maOwnURL;
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index e42cf63c13f6..bcb058770d33 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -198,7 +198,7 @@ class DocumentSettingsGuard
bool m_bPreserveReadOnly;
bool m_bReadOnlySupported;
- bool const m_bRestoreSettings;
+ bool m_bRestoreSettings;
public:
DocumentSettingsGuard( const uno::Reference< frame::XModel >& xModel, bool bReadOnly, bool bRestore )
: m_bPreserveReadOnly( false )
diff --git a/sfx2/source/doc/iframe.cxx b/sfx2/source/doc/iframe.cxx
index e896b3843732..aad8ca85fdbb 100644
--- a/sfx2/source/doc/iframe.cxx
+++ b/sfx2/source/doc/iframe.cxx
@@ -57,7 +57,7 @@ class IFrameObject : public ::cppu::WeakImplHelper <
css::uno::Reference < css::uno::XComponentContext > mxContext;
css::uno::Reference < css::frame::XFrame2 > mxFrame;
css::uno::Reference < css::embed::XEmbeddedObject > mxObj;
- SfxItemPropertyMap const maPropMap;
+ SfxItemPropertyMap maPropMap;
SfxFrameDescriptor maFrmDescr;
public:
diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx
index 3267c58dc877..14b6e4863ad6 100644
--- a/sfx2/source/doc/oleprops.cxx
+++ b/sfx2/source/doc/oleprops.cxx
@@ -197,7 +197,7 @@ private:
virtual void ImplSave( SvStream& rStrm ) override;
private:
- uno::Sequence<sal_Int8> const mData;
+ uno::Sequence<sal_Int8> mData;
};
@@ -218,7 +218,7 @@ private:
virtual void ImplSave( SvStream& rStrm ) override;
private:
- uno::Sequence<sal_Int8> const mData;
+ uno::Sequence<sal_Int8> mData;
};
}
diff --git a/sfx2/source/doc/oleprops.hxx b/sfx2/source/doc/oleprops.hxx
index de19ff4b530f..66b4e1c7d1aa 100644
--- a/sfx2/source/doc/oleprops.hxx
+++ b/sfx2/source/doc/oleprops.hxx
@@ -210,7 +210,7 @@ protected:
void SetPropType( sal_Int32 nPropType ) { mnPropType = nPropType; }
private:
- sal_Int32 const mnPropId;
+ sal_Int32 mnPropId;
sal_Int32 mnPropType;
};
@@ -336,7 +336,7 @@ private:
SfxOleCodePageProperty maCodePageProp; /// The codepage property.
SfxOleDictionaryProperty maDictProp; /// The dictionary property.
sal_uInt64 mnStartPos; /// Start stream position of the section.
- bool const mbSupportsDict; /// true = section supports dictionary.
+ bool mbSupportsDict; /// true = section supports dictionary.
};
typedef std::shared_ptr< SfxOleSection > SfxOleSectionRef;
diff --git a/sfx2/source/doc/printhelper.cxx b/sfx2/source/doc/printhelper.cxx
index 47356ce61c3d..821c78f8b897 100644
--- a/sfx2/source/doc/printhelper.cxx
+++ b/sfx2/source/doc/printhelper.cxx
@@ -467,7 +467,7 @@ class ImplUCBPrintWatcher : public ::osl::Thread
/// of course we must know the printer which execute the job
VclPtr<SfxPrinter> m_pPrinter;
/// this describes the target location for the printed temp file
- OUString const m_sTargetURL;
+ OUString m_sTargetURL;
/// it holds the temp file alive, till the print job will finish and remove it from disk automatically if the object die
::utl::TempFile* m_pTempFile;
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index 60b18b5795bf..3979db7cf573 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -132,8 +132,8 @@ public:
private:
- OUString const maKeyword;
- FILTER_APPLICATION const meApp;
+ OUString maKeyword;
+ FILTER_APPLICATION meApp;
};
}
diff --git a/sfx2/source/inc/asyncfunc.hxx b/sfx2/source/inc/asyncfunc.hxx
index 7d4f409b86b3..708750baaf3b 100644
--- a/sfx2/source/inc/asyncfunc.hxx
+++ b/sfx2/source/inc/asyncfunc.hxx
@@ -19,7 +19,7 @@
class AsyncFunc final : public cppu::WeakImplHelper<css::lang::XUnoTunnel>
{
private:
- std::function<void()> const m_pAsyncFunc;
+ std::function<void()> m_pAsyncFunc;
public:
AsyncFunc(const std::function<void()>&);
diff --git a/sfx2/source/inc/objshimp.hxx b/sfx2/source/inc/objshimp.hxx
index 9ffb447bd272..ae0d1ed24c64 100644
--- a/sfx2/source/inc/objshimp.hxx
+++ b/sfx2/source/inc/objshimp.hxx
@@ -39,7 +39,7 @@ class SfxBasicManagerHolder;
class AutoReloadTimer_Impl : public Timer
{
- OUString const aUrl;
+ OUString aUrl;
SfxObjectShell* pObjSh;
public:
diff --git a/sfx2/source/inc/openurlhint.hxx b/sfx2/source/inc/openurlhint.hxx
index 8eac0911fe2b..026d72636157 100644
--- a/sfx2/source/inc/openurlhint.hxx
+++ b/sfx2/source/inc/openurlhint.hxx
@@ -25,7 +25,7 @@
class SfxOpenUrlHint: public SfxHint
{
- OUString const msDocumentURL;
+ OUString msDocumentURL;
public:
SfxOpenUrlHint(const OUString& sDocumentURL);
diff --git a/sfx2/source/inc/statcach.hxx b/sfx2/source/inc/statcach.hxx
index 5b218b9ae9dd..1360db98bc9d 100644
--- a/sfx2/source/inc/statcach.hxx
+++ b/sfx2/source/inc/statcach.hxx
@@ -38,7 +38,7 @@ class BindDispatch_Impl : public ::cppu::WeakImplHelper< css::frame::XStatusLi
{
friend class SfxStateCache;
css::uno::Reference< css::frame::XDispatch > xDisp;
- css::util::URL const aURL;
+ css::util::URL aURL;
css::frame::FeatureStateEvent aStatus;
SfxStateCache* pCache;
const SfxSlot* pSlot;
@@ -62,7 +62,7 @@ class SfxStateCache
friend class BindDispatch_Impl;
rtl::Reference<BindDispatch_Impl>
mxDispatch;
- sal_uInt16 const nId; // Slot-Id
+ sal_uInt16 nId; // Slot-Id
SfxControllerItem* pInternalController;
css::uno::Reference < css::frame::XDispatch > xMyDispatch;
SfxControllerItem* pController; // Pointer to first bound Controller (interlinked with each other)
diff --git a/sfx2/source/inc/workwin.hxx b/sfx2/source/inc/workwin.hxx
index 9eb1d98a10ea..4be7657214f3 100644
--- a/sfx2/source/inc/workwin.hxx
+++ b/sfx2/source/inc/workwin.hxx
@@ -107,7 +107,7 @@ struct SfxChild_Impl
struct SfxChildWin_Impl
{
- sal_uInt16 const nSaveId; // the ChildWindow-Id
+ sal_uInt16 nSaveId; // the ChildWindow-Id
sal_uInt16 nInterfaceId; // the current context
sal_uInt16 nId; // current Id
SfxChildWindow* pWin;
@@ -211,7 +211,7 @@ class SfxWorkWindow final
sal_Int32 m_nLock;
css::uno::Reference< css::lang::XComponent > m_xLayoutManagerListener;
SfxFrame* pMasterFrame;
- SfxFrame* const pFrame;
+ SfxFrame* pFrame;
void CreateChildWin_Impl(SfxChildWin_Impl*,bool);
void RemoveChildWin_Impl(SfxChildWin_Impl*);
diff --git a/sfx2/source/view/classificationhelper.cxx b/sfx2/source/view/classificationhelper.cxx
index 011ccba16dd8..1309bc774418 100644
--- a/sfx2/source/view/classificationhelper.cxx
+++ b/sfx2/source/view/classificationhelper.cxx
@@ -359,7 +359,7 @@ public:
uno::Reference<document::XDocumentProperties> m_xDocumentProperties;
- bool const m_bUseLocalized;
+ bool m_bUseLocalized;
explicit Impl(uno::Reference<document::XDocumentProperties> xDocumentProperties, bool bUseLocalized);
void parsePolicy();
diff --git a/sfx2/source/view/sfxbasecontroller.cxx b/sfx2/source/view/sfxbasecontroller.cxx
index 3d25070a0b08..cf6f2485425d 100644
--- a/sfx2/source/view/sfxbasecontroller.cxx
+++ b/sfx2/source/view/sfxbasecontroller.cxx
@@ -311,7 +311,7 @@ public:
private:
- SfxBaseController* const m_pController;
+ SfxBaseController* m_pController;
} ; // class IMPL_SfxBaseController_ListenerContainer
diff --git a/sfx2/source/view/viewimp.hxx b/sfx2/source/view/viewimp.hxx
index 7046483ec0a3..bb4cea008d2c 100644
--- a/sfx2/source/view/viewimp.hxx
+++ b/sfx2/source/view/viewimp.hxx
@@ -39,7 +39,7 @@ struct SfxViewShell_Impl
::comphelper::OInterfaceContainerHelper2 aInterceptorContainer;
SfxShellArr_Impl aArr;
Size aMargin;
- bool const m_bHasPrintOptions;
+ bool m_bHasPrintOptions;
sal_uInt16 m_nFamily;
::rtl::Reference<SfxBaseController> m_pController;
std::unique_ptr< ::svt::AcceleratorExecute > m_xAccExec;
diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx
index ffb0b568ec7b..57cd026b8990 100644
--- a/sfx2/source/view/viewprn.cxx
+++ b/sfx2/source/view/viewprn.cxx
@@ -61,8 +61,8 @@ using namespace com::sun::star::uno;
class SfxPrinterController : public vcl::PrinterController, public SfxListener
{
- Any const maCompleteSelection;
- Any const maSelection;
+ Any maCompleteSelection;
+ Any maSelection;
Reference< view::XRenderable > mxRenderable;
mutable VclPtr<Printer> mpLastPrinter;
mutable Reference<awt::XDevice> mxDevice;
@@ -70,8 +70,8 @@ class SfxPrinterController : public vcl::PrinterController, public SfxListener
SfxObjectShell* mpObjectShell;
bool m_bOrigStatus;
bool m_bNeedsChange;
- bool const m_bApi;
- bool const m_bTempPrinter;
+ bool m_bApi;
+ bool m_bTempPrinter;
util::DateTime m_aLastPrinted;
OUString m_aLastPrintedBy;
@@ -421,7 +421,7 @@ namespace {
class SfxDialogExecutor_Impl
{
private:
- SfxViewShell* const _pViewSh;
+ SfxViewShell* _pViewSh;
PrinterSetupDialog& _rSetupParent;
std::unique_ptr<SfxItemSet> _pOptions;
bool _bHelpDisabled;
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index a28dc663ade9..c26d0b6352b4 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -125,7 +125,7 @@ public:
AsyncExecuteInfo( AsyncExecuteCmd eCmd, SfxClipboardChangeListener* pListener ) :
m_eCmd( eCmd ), m_xListener( pListener ) {}
- AsyncExecuteCmd const m_eCmd;
+ AsyncExecuteCmd m_eCmd;
rtl::Reference<SfxClipboardChangeListener> m_xListener;
};