romenu.cxx (72583341) | romenu.cxx (f4f43a21) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 227 unchanged lines hidden (view full) --- 236 eState = pVFrame->GetBindings().QueryState( SID_EDITDOC, pState ); 237 if ( 238 eState < SFX_ITEM_DEFAULT || 239 (rSh.IsGlobalDoc() && rView.GetDocShell()->IsReadOnlyUI()) 240 ) 241 { 242 EnableItem( MN_READONLY_EDITDOC, sal_False ); 243 } | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 227 unchanged lines hidden (view full) --- 236 eState = pVFrame->GetBindings().QueryState( SID_EDITDOC, pState ); 237 if ( 238 eState < SFX_ITEM_DEFAULT || 239 (rSh.IsGlobalDoc() && rView.GetDocShell()->IsReadOnlyUI()) 240 ) 241 { 242 EnableItem( MN_READONLY_EDITDOC, sal_False ); 243 } |
244 delete pState; |
|
244 245 if ( !sURL.Len() ) 246 { 247 EnableItem( MN_READONLY_OPENURL, sal_False ); 248 EnableItem( MN_READONLY_OPENURLNEW, sal_False ); 249 EnableItem( MN_READONLY_COPYLINK, sal_False ); 250 } 251 Check( SID_WIN_FULLSCREEN, SID_WIN_FULLSCREEN, rDis ); --- 272 unchanged lines hidden --- | 245 246 if ( !sURL.Len() ) 247 { 248 EnableItem( MN_READONLY_OPENURL, sal_False ); 249 EnableItem( MN_READONLY_OPENURLNEW, sal_False ); 250 EnableItem( MN_READONLY_COPYLINK, sal_False ); 251 } 252 Check( SID_WIN_FULLSCREEN, SID_WIN_FULLSCREEN, rDis ); --- 272 unchanged lines hidden --- |