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

Matteo Casalin matteo.casalin at yahoo.com
Wed Aug 21 10:50:33 PDT 2013


 sd/source/ui/animations/SlideTransitionPane.cxx |    3 +--
 sd/source/ui/animations/SlideTransitionPane.hxx |    2 --
 2 files changed, 1 insertion(+), 4 deletions(-)

New commits:
commit eea3cff4a334af7bd1c9b2ce10cc1368e680d3f8
Author: Matteo Casalin <matteo.casalin at yahoo.com>
Date:   Wed Aug 21 19:49:59 2013 +0200

    Drop maSTR_NO_TRANSITION
    
    Change-Id: I0f0ed04eb9ad02bb5082b2f879b932af3a3b5e44

diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx
index 769d0cd..4175ae5 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -458,7 +458,6 @@ SlideTransitionPane::SlideTransitionPane(
     get(mpPB_SLIDE_SHOW, "slide_show");
     get(mpCB_AUTO_PREVIEW, "auto_preview");
 
-    maSTR_NO_TRANSITION = SD_RESSTR(STR_SLIDETRANSITION_NONE);
     mpLB_SLIDE_TRANSITIONS->set_width_request(mpLB_SLIDE_TRANSITIONS->approximate_char_width() * 16);
     mpLB_SLIDE_TRANSITIONS->set_height_request(mpLB_SLIDE_TRANSITIONS->GetTextHeight() * 16);
 
@@ -469,7 +468,7 @@ SlideTransitionPane::SlideTransitionPane(
         mxView.set( mxModel->getCurrentController(), uno::UNO_QUERY );
 
     // fill list box of slide transitions
-    mpLB_SLIDE_TRANSITIONS->InsertEntry( maSTR_NO_TRANSITION );
+    mpLB_SLIDE_TRANSITIONS->InsertEntry( SD_RESSTR( STR_SLIDETRANSITION_NONE ) );
 
     // set defaults
     mpCB_AUTO_PREVIEW->Check();      // automatic preview on
diff --git a/sd/source/ui/animations/SlideTransitionPane.hxx b/sd/source/ui/animations/SlideTransitionPane.hxx
index 3948d38..6ca28ee 100644
--- a/sd/source/ui/animations/SlideTransitionPane.hxx
+++ b/sd/source/ui/animations/SlideTransitionPane.hxx
@@ -117,8 +117,6 @@ private:
     PushButton*   mpPB_SLIDE_SHOW;
     CheckBox*     mpCB_AUTO_PREVIEW;
 
-    OUString     maSTR_NO_TRANSITION;
-
     ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawView >             mxView;
     ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >                  mxModel;
 


More information about the Libreoffice-commits mailing list