Changeset 21393 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jul 8, 2009 1:02:09 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 49763
- Location:
- trunk/src/VBox/Frontends
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp
r20928 r21393 750 750 } 751 751 752 if ( rawdisk.isEmpty())752 if (!rawdisk.length()) 753 753 return errorSyntax(USAGE_LISTPARTITIONS, "Mandatory parameter -rawdisk missing"); 754 754 … … 865 865 if (filename.isEmpty()) 866 866 return errorSyntax(USAGE_CREATERAWVMDK, "Mandatory parameter -filename missing"); 867 if ( rawdisk.isEmpty())867 if (!rawdisk.length()) 868 868 return errorSyntax(USAGE_CREATERAWVMDK, "Mandatory parameter -rawdisk missing"); 869 869 if (!pszPartitions && pszMBRFilename) -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestProp.cpp
r20928 r21393 167 167 { 168 168 HRESULT rc = S_OK; 169 Utf8Str utf8Name 169 Utf8Str utf8Name(name); 170 170 Guid uuid(machineId); 171 if (utf8Name.isNull())172 rc = E_OUTOFMEMORY;173 171 if ( SUCCEEDED (rc) 174 172 && uuid == mUuid -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageImport.cpp
r21369 r21393 202 202 203 203 case VINF_GETOPT_NOT_OPTION: 204 if ( strOvfFilename.isEmpty())204 if (!strOvfFilename.length()) 205 205 strOvfFilename = ValueUnion.psz; 206 206 else … … 225 225 } 226 226 227 if ( strOvfFilename.isEmpty())227 if (!strOvfFilename.length()) 228 228 return errorSyntax(USAGE_IMPORTAPPLIANCE, "Not enough arguments for \"import\" command."); 229 229 -
trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp
r21369 r21393 1178 1178 /* now the text */ 1179 1179 if ( mLabelFont != NULL 1180 && !mSecureLabelText.isEmpty()1180 && mSecureLabelText.length() 1181 1181 ) 1182 1182 {
Note:
See TracChangeset
for help on using the changeset viewer.