diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-09-12 23:08:14 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-09-12 23:29:32 +0300 |
commit | 01755200f6c01afc5c5970141501aea084e8b770 (patch) | |
tree | 188839c69a1b40be80c1e4e841a270f4ffdcc24f /fpicker/source/win32/misc/resourceprovider.cxx | |
parent | 5177666536f65915c3ca07090a4b561b57ae6f63 (diff) |
Bin some noise comments and superfluous vertical whitespace
Change-Id: I3c19457bb29cd1392f14598fc8798aed4b1a1a7f
Diffstat (limited to 'fpicker/source/win32/misc/resourceprovider.cxx')
-rw-r--r-- | fpicker/source/win32/misc/resourceprovider.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fpicker/source/win32/misc/resourceprovider.cxx b/fpicker/source/win32/misc/resourceprovider.cxx index 55abde0239e6..25778aac84cf 100644 --- a/fpicker/source/win32/misc/resourceprovider.cxx +++ b/fpicker/source/win32/misc/resourceprovider.cxx @@ -29,21 +29,14 @@ #include <com/sun/star/ui/dialogs/CommonFilePickerElementIds.hpp> #include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp> - -// namespace directives - - using namespace ::com::sun::star::ui::dialogs::ExtendedFilePickerElementIds; using namespace ::com::sun::star::ui::dialogs::CommonFilePickerElementIds; - #define FOLDERPICKER_TITLE 500 #define FOLDER_PICKER_DEF_DESCRIPTION 501 - // we have to translate control ids to resource ids - struct _Entry { sal_Int32 ctrlId; @@ -68,7 +61,6 @@ _Entry CtrlIdToResIdTable[] = { const sal_Int32 SIZE_TABLE = SAL_N_ELEMENTS( CtrlIdToResIdTable ); - sal_Int16 CtrlIdToResId( sal_Int32 aControlId ) { sal_Int16 aResId = -1; @@ -85,7 +77,6 @@ sal_Int16 CtrlIdToResId( sal_Int32 aControlId ) return aResId; } - class CResourceProvider_Impl { public: @@ -130,19 +121,16 @@ public: SimpleResMgr* m_ResMgr; }; - CResourceProvider::CResourceProvider( ) : m_pImpl( new CResourceProvider_Impl() ) { } - CResourceProvider::~CResourceProvider( ) { delete m_pImpl; } - OUString CResourceProvider::getResString( sal_Int16 aId ) { return m_pImpl->getResString( aId ); |