summaryrefslogtreecommitdiff
path: root/fpicker/source/aqua/resourceprovider.mm
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 18:51:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-26 04:35:19 -0600
commit2a09751d51332aa413e769d0f7916aca0cf4e742 (patch)
tree7e0b53c491ec182ca48e794cbafcbe0c2eb3a9d3 /fpicker/source/aqua/resourceprovider.mm
parente23ea87cb395fe8dc3cdf5d6160962bc4b4dcd28 (diff)
Remove visual noise from fpicker
Change-Id: I58ae70cc71853e17e638ef64aaded87615e37986 Reviewed-on: https://gerrit.libreoffice.org/8264 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'fpicker/source/aqua/resourceprovider.mm')
-rw-r--r--fpicker/source/aqua/resourceprovider.mm62
1 files changed, 31 insertions, 31 deletions
diff --git a/fpicker/source/aqua/resourceprovider.mm b/fpicker/source/aqua/resourceprovider.mm
index 32b5772bc25f..d80f2f6e8b89 100644
--- a/fpicker/source/aqua/resourceprovider.mm
+++ b/fpicker/source/aqua/resourceprovider.mm
@@ -31,24 +31,24 @@
#include "resourceprovider.hxx"
-//------------------------------------------------------------
+
// namespace directives
-//------------------------------------------------------------
+
using rtl::OUString;
using namespace ::com::sun::star::ui::dialogs::ExtendedFilePickerElementIds;
using namespace ::com::sun::star::ui::dialogs::CommonFilePickerElementIds;
-//------------------------------------------------------------
-//
-//------------------------------------------------------------
+
+
+
static const char* RES_NAME = "fps_office";
static const char* OTHER_RES_NAME = "svt";
-//------------------------------------------------------------
+
// we have to translate control ids to resource ids
-//------------------------------------------------------------
+
struct _Entry
{
@@ -84,9 +84,9 @@ _Entry OtherCtrlIdToResIdTable[] = {
const sal_Int32 SIZE_TABLE = SAL_N_ELEMENTS( CtrlIdToResIdTable );
const sal_Int32 OTHER_SIZE_TABLE = SAL_N_ELEMENTS( OtherCtrlIdToResIdTable );
-//------------------------------------------------------------
-//
-//------------------------------------------------------------
+
+
+
sal_Int16 CtrlIdToResId( sal_Int32 aControlId )
{
@@ -120,17 +120,17 @@ sal_Int16 OtherCtrlIdToResId( sal_Int32 aControlId )
return aResId;
}
-//------------------------------------------------------------
-//
-//------------------------------------------------------------
+
+
+
class CResourceProvider_Impl
{
public:
- //-------------------------------------
- //
- //-------------------------------------
+
+
+
CResourceProvider_Impl( )
{
@@ -138,9 +138,9 @@ public:
m_OtherResMgr = ResMgr::CreateResMgr( OTHER_RES_NAME );
}
- //-------------------------------------
- //
- //-------------------------------------
+
+
+
~CResourceProvider_Impl( )
{
@@ -148,9 +148,9 @@ public:
delete m_OtherResMgr;
}
- //-------------------------------------
- //
- //-------------------------------------
+
+
+
NSString* getResString( sal_Int16 aId )
{
@@ -186,27 +186,27 @@ public:
ResMgr* m_OtherResMgr;
};
-//------------------------------------------------------------
-//
-//------------------------------------------------------------
+
+
+
CResourceProvider::CResourceProvider( ) :
m_pImpl( new CResourceProvider_Impl() )
{
}
-//------------------------------------------------------------
-//
-//------------------------------------------------------------
+
+
+
CResourceProvider::~CResourceProvider( )
{
delete m_pImpl;
}
-//------------------------------------------------------------
-//
-//------------------------------------------------------------
+
+
+
NSString* CResourceProvider::getResString( sal_Int32 aId )
{