diff options
author | gamebusterz <gamebusterz2@gmail.com> | 2015-02-21 00:46:20 +0530 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-02-20 21:25:49 +0000 |
commit | 1d85cf3504f5dcbbf0ae017eee47fc5a302a2739 (patch) | |
tree | 65d578a83fb0e00b4485247344072912f87ef81f /sfx2/source/sidebar/Theme.cxx | |
parent | 5bd8dcd45cb37b093e526c929ff9e3f382b8a758 (diff) |
tdf Removed redundant blank lines in sfx2/source/sidebar (Now one line gap)
Change-Id: I603967833df03c1073b7bcac86da59b28a2835f0
Reviewed-on: https://gerrit.libreoffice.org/14569
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sfx2/source/sidebar/Theme.cxx')
-rw-r--r-- | sfx2/source/sidebar/Theme.cxx | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/sfx2/source/sidebar/Theme.cxx b/sfx2/source/sidebar/Theme.cxx index 19268bd7d18c..e091ccbb240c 100644 --- a/sfx2/source/sidebar/Theme.cxx +++ b/sfx2/source/sidebar/Theme.cxx @@ -30,10 +30,8 @@ using namespace css; using namespace css::uno; - namespace sfx2 { namespace sidebar { - Theme& Theme::GetCurrentTheme() { return SfxGetpApp()->GetSidebarTheme(); @@ -58,12 +56,10 @@ Theme::Theme() SetupPropertyMaps(); } - Theme::~Theme (void) { } - Image Theme::GetImage (const ThemeItem eItem) { const PropertyType eType (GetPropertyType(eItem)); @@ -73,7 +69,6 @@ Image Theme::GetImage (const ThemeItem eItem) return rTheme.maImages[nIndex]; } - Color Theme::GetColor (const ThemeItem eItem) { const PropertyType eType (GetPropertyType(eItem)); @@ -88,7 +83,6 @@ Color Theme::GetColor (const ThemeItem eItem) return COL_WHITE; } - const Paint& Theme::GetPaint (const ThemeItem eItem) { const PropertyType eType (GetPropertyType(eItem)); @@ -98,13 +92,11 @@ const Paint& Theme::GetPaint (const ThemeItem eItem) return rTheme.maPaints[nIndex]; } - const Wallpaper Theme::GetWallpaper (const ThemeItem eItem) { return GetPaint(eItem).GetWallpaper(); } - sal_Int32 Theme::GetInteger (const ThemeItem eItem) { const PropertyType eType (GetPropertyType(eItem)); @@ -114,7 +106,6 @@ sal_Int32 Theme::GetInteger (const ThemeItem eItem) return rTheme.maIntegers[nIndex]; } - bool Theme::GetBoolean (const ThemeItem eItem) { const PropertyType eType (GetPropertyType(eItem)); @@ -124,14 +115,12 @@ bool Theme::GetBoolean (const ThemeItem eItem) return rTheme.maBooleans[nIndex]; } - bool Theme::IsHighContrastMode (void) { const Theme& rTheme (GetCurrentTheme()); return rTheme.mbIsHighContrastMode; } - void Theme::HandleDataChange (void) { Theme& rTheme (GetCurrentTheme()); @@ -146,7 +135,6 @@ void Theme::HandleDataChange (void) GetCurrentTheme().UpdateTheme(); } - void Theme::InitializeTheme (void) { setPropertyValue( @@ -157,7 +145,6 @@ void Theme::InitializeTheme (void) Any(false)); } - void Theme::UpdateTheme (void) { SidebarResource aLocalResource; @@ -353,7 +340,6 @@ void Theme::UpdateTheme (void) Any(true)); */ - // Gradient style Color aGradientStop2 (aBaseBackgroundColor); aGradientStop2.IncreaseLuminance(17); @@ -401,7 +387,6 @@ void Theme::UpdateTheme (void) } } - void SAL_CALL Theme::disposing (void) { ChangeListeners aListeners; @@ -432,13 +417,11 @@ void SAL_CALL Theme::disposing (void) } } - Reference<beans::XPropertySet> Theme::GetPropertySet (void) { return Reference<beans::XPropertySet>(static_cast<XWeak*>(&GetCurrentTheme()), UNO_QUERY); } - Reference<beans::XPropertySetInfo> SAL_CALL Theme::getPropertySetInfo (void) throw(css::uno::RuntimeException, std::exception) { @@ -510,7 +493,6 @@ Any SAL_CALL Theme::getPropertyValue ( return maRawValues[eItem]; } - void SAL_CALL Theme::addPropertyChangeListener( const ::rtl::OUString& rsPropertyName, const css::uno::Reference<css::beans::XPropertyChangeListener>& rxListener) @@ -536,7 +518,6 @@ void SAL_CALL Theme::addPropertyChangeListener( pListeners->push_back(rxListener); } - void SAL_CALL Theme::removePropertyChangeListener( const ::rtl::OUString& rsPropertyName, const css::uno::Reference<css::beans::XPropertyChangeListener>& rxListener) @@ -572,7 +553,6 @@ void SAL_CALL Theme::removePropertyChangeListener( } } - void SAL_CALL Theme::addVetoableChangeListener( const ::rtl::OUString& rsPropertyName, const css::uno::Reference<css::beans::XVetoableChangeListener>& rxListener) @@ -598,7 +578,6 @@ void SAL_CALL Theme::addVetoableChangeListener( pListeners->push_back(rxListener); } - void SAL_CALL Theme::removeVetoableChangeListener( const ::rtl::OUString& rsPropertyName, const css::uno::Reference<css::beans::XVetoableChangeListener>& rxListener) @@ -633,7 +612,6 @@ void SAL_CALL Theme::removeVetoableChangeListener( } } - css::uno::Sequence<css::beans::Property> SAL_CALL Theme::getProperties (void) throw(css::uno::RuntimeException, std::exception) { @@ -659,7 +637,6 @@ css::uno::Sequence<css::beans::Property> SAL_CALL Theme::getProperties (void) aProperties.size()); } - beans::Property SAL_CALL Theme::getPropertyByName (const ::rtl::OUString& rsPropertyName) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) @@ -681,7 +658,6 @@ beans::Property SAL_CALL Theme::getPropertyByName (const ::rtl::OUString& rsProp 0); } - sal_Bool SAL_CALL Theme::hasPropertyByName (const ::rtl::OUString& rsPropertyName) throw(css::uno::RuntimeException, std::exception) { @@ -696,7 +672,6 @@ sal_Bool SAL_CALL Theme::hasPropertyByName (const ::rtl::OUString& rsPropertyNam return sal_True; } - void Theme::SetupPropertyMaps (void) { maPropertyIdToNameMap.resize(__Post_Rect); @@ -772,9 +747,6 @@ void Theme::SetupPropertyMaps (void) maRawValues.resize(maPropertyIdToNameMap.size()); } - - - Theme::PropertyType Theme::GetPropertyType (const ThemeItem eItem) { switch(eItem) @@ -848,7 +820,6 @@ Theme::PropertyType Theme::GetPropertyType (const ThemeItem eItem) } } - css::uno::Type Theme::GetCppuType (const PropertyType eType) { switch(eType) @@ -877,7 +848,6 @@ css::uno::Type Theme::GetCppuType (const PropertyType eType) } } - sal_Int32 Theme::GetIndex (const ThemeItem eItem, const PropertyType eType) { switch(eType) @@ -901,7 +871,6 @@ sal_Int32 Theme::GetIndex (const ThemeItem eItem, const PropertyType eType) } } - Theme::VetoableListenerContainer* Theme::GetVetoableListeners ( const ThemeItem eItem, const bool bCreate) @@ -918,7 +887,6 @@ Theme::VetoableListenerContainer* Theme::GetVetoableListeners ( return NULL; } - Theme::ChangeListenerContainer* Theme::GetChangeListeners ( const ThemeItem eItem, const bool bCreate) @@ -935,7 +903,6 @@ Theme::ChangeListenerContainer* Theme::GetChangeListeners ( return NULL; } - bool Theme::DoVetoableListenersVeto ( const VetoableListenerContainer* pListeners, const beans::PropertyChangeEvent& rEvent) const @@ -966,7 +933,6 @@ bool Theme::DoVetoableListenersVeto ( return false; } - void Theme::BroadcastPropertyChange ( const ChangeListenerContainer* pListeners, const beans::PropertyChangeEvent& rEvent) const @@ -992,7 +958,6 @@ void Theme::BroadcastPropertyChange ( } } - void Theme::ProcessNewValue ( const Any& rValue, const ThemeItem eItem, |