diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-10-01 11:12:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-02 16:49:37 +0200 |
commit | 2bc1044279e8708c9d5f6558e1564293f161bc59 (patch) | |
tree | 6872f108e43e4cab771ed4c1c8aa077192d4e43a /fpicker | |
parent | 0101162fc4913f20b82903a69a53f4a8ac4f67e5 (diff) |
-Werror,-Wunused-function
Change-Id: I36275580d20098b9f643a5380805026fb79f0dbf
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/iodlgimp.cxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/fpicker/source/office/iodlgimp.cxx b/fpicker/source/office/iodlgimp.cxx index 4e5cd5cb2211..1817d355412e 100644 --- a/fpicker/source/office/iodlgimp.cxx +++ b/fpicker/source/office/iodlgimp.cxx @@ -43,24 +43,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using namespace ::utl; -// some stuff for easier changes for SvtViewOptions -static const sal_Char* pViewOptDataName = "dialog data"; -#define VIEWOPT_DATANAME OUString::createFromAscii( pViewOptDataName ) - -static inline void SetViewOptUserItem( SvtViewOptions& rOpt, const OUString& rData ) -{ - rOpt.SetUserItem( VIEWOPT_DATANAME, makeAny( OUString( rData ) ) ); -} - -static inline OUString GetViewOptUserItem( const SvtViewOptions& rOpt ) -{ - Any aAny( rOpt.GetUserItem( VIEWOPT_DATANAME ) ); - OUString aUserData; - aAny >>= aUserData; - - return aUserData; -} - //***************************************************************************** // ResMgrHolder / SvtSimpleResId //***************************************************************************** |