[Libreoffice-commits] core.git: extensions/source

Julien Nabet serval2412 at yahoo.fr
Sun May 11 01:25:13 PDT 2014


 extensions/source/bibliography/toolbar.cxx |    2 +-
 extensions/source/plugin/base/plmodel.cxx  |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 8d471d4b373b5d862b5b49814f04ded85e828be9
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun May 11 10:24:46 2014 +0200

    Fix previous commit (extensions part)
    
    Change-Id: I942cca3639e4d823415da557262e35432a798d04

diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx
index e8d8349..3db37df 100644
--- a/extensions/source/bibliography/toolbar.cxx
+++ b/extensions/source/bibliography/toolbar.cxx
@@ -172,7 +172,7 @@ void BibTBEditListener::statusChanged(const frame::FeatureStateEvent& rEvt)throw
         pToolBar->EnableQuery(rEvt.IsEnabled);
 
         uno::Any aState=rEvt.State;
-        if(aState.getValueType()==::cppu::UnoType<OUString>::get()0))
+        if(aState.getValueType()== ::cppu::UnoType<OUString>::get())
         {
             OUString aStr = *(OUString*) aState.getValue();
             pToolBar->SetQueryString(aStr);
diff --git a/extensions/source/plugin/base/plmodel.cxx b/extensions/source/plugin/base/plmodel.cxx
index 0ed2b51..befe3a9 100644
--- a/extensions/source/plugin/base/plmodel.cxx
+++ b/extensions/source/plugin/base/plmodel.cxx
@@ -71,12 +71,12 @@ static ::com::sun::star::beans::Property aProps[] =
     ::com::sun::star::beans::Property(
         OUString::createFromAscii( aMime ),
         1,
-        ::cppu::UnoType<OUString>::get()0),
+        ::cppu::UnoType<OUString>::get(),
         ::com::sun::star::beans::PropertyAttribute::BOUND ),
     ::com::sun::star::beans::Property(
         OUString::createFromAscii( aCreationURL ),
         2,
-        ::cppu::UnoType<OUString>::get()0),
+        ::cppu::UnoType<OUString>::get(),
         ::com::sun::star::beans::PropertyAttribute::BOUND )
 };
 


More information about the Libreoffice-commits mailing list