]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetref.C
ws cleanup
[lyx.git] / src / insets / insetref.C
index b35e77e7c7fb81362afe5efa3f48865ace07c28d..1ad1209070c318325ff017d2155ecb05c9e79853 100644 (file)
@@ -25,11 +25,11 @@ InsetRef::InsetRef(InsetCommandParams const & p, Buffer const & buf, bool)
 void InsetRef::edit(BufferView * bv, int, int, unsigned int button)
 {
        // Eventually trigger dialog with button 3 not 1
-       if (button == 3 )
-               bv->owner()->getLyXFunc()->
+       if (button == 3)
+               bv->owner()->getLyXFunc()->
                        dispatch(LFUN_REF_GOTO, getContents());
-       else if (button == 1 )
-               bv->owner()->getDialogs()->showRef( this );
+       else if (button == 1)
+               bv->owner()->getDialogs()->showRef(this);
 }
 
 
@@ -63,7 +63,7 @@ int InsetRef::latex(Buffer const *, ostream & os,
        if (getOptions().empty())
                os << escape(getCommand());
        else {
-               InsetCommandParams p( getCmdName(), getContents(), "" );
+               InsetCommandParams p(getCmdName(), getContents(), "");
                os << escape(p.getCommand());
        }
        return 0;