diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-04-26 20:41:07 +0300 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-04-27 09:28:37 +0000 |
commit | ec8617568ff091026b2f17cce3b547b1633fa6c4 (patch) | |
tree | 70a54e6853121e2ff178ead66843a2deaa888fa4 /cui/source/inc/optpath.hxx | |
parent | remove now unused src Dialog resources (diff) | |
download | core-ec8617568ff091026b2f17cce3b547b1633fa6c4.tar.gz core-ec8617568ff091026b2f17cce3b547b1633fa6c4.zip |
Bin ugly (ab)use of preprocessor in headers
The time when it made sense to use "clever" #ifdefs to, for performance or
compiler reasons, conditionally bypass private parts of a class declaration
passed a decade or longer ago.
Still more of this in sw and sc. People working on those modules might want to
do it too, or not.
Change-Id: I1053139ca5e5e2631f7b22d99d3bada54fc337be
Reviewed-on: https://gerrit.libreoffice.org/3627
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'cui/source/inc/optpath.hxx')
-rw-r--r-- | cui/source/inc/optpath.hxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cui/source/inc/optpath.hxx b/cui/source/inc/optpath.hxx index e6b8982a828e..f01c5b17c2e3 100644 --- a/cui/source/inc/optpath.hxx +++ b/cui/source/inc/optpath.hxx @@ -52,7 +52,6 @@ private: ::com::sun::star::uno::Reference< ::svt::DialogClosedListener > xDialogListener; ::com::sun::star::uno::Reference< ::com::sun::star::ui::dialogs::XFolderPicker2 > xFolderPicker; -#ifdef _SVX_OPTPATH_CXX void ChangeCurrentEntry( const String& _rFolder ); DECL_LINK(PathHdl_Impl, void *); @@ -68,7 +67,6 @@ private: String& _rUserPath, String& _rWritablePath, sal_Bool& _rReadOnly ); void SetPathList( sal_uInt16 _nPathHandle, const String& _rUserPath, const String& _rWritablePath ); -#endif public: SvxPathTabPage( Window* pParent, const SfxItemSet& rSet ); |